8000 Release v0.2.2 · stdlib-js/utils-async-if-then@6416df4 · GitHub
[go: up one dir, main page]

Skip to content

Commit 6416df4

Browse files
committed
Release v0.2.2
1 parent d2f6ce3 commit 6416df4

File tree

8 files changed

+235
-26
lines changed

8 files changed

+235
-26
lines changed

.github/.keepalive

Lines changed: 0 additions & 1 deletion
This file was deleted.

.github/workflows/productionize.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -94,8 +94,8 @@ jobs:
9494
node -e "var pkg = require( './package.json' ); pkg.dependencies[ '@stdlib/error-tools-fmtprodmsg' ] = '^$PKG_VERSION'; require( 'fs' ).writeFileSync( 'package.json', JSON.stringify( pkg, null, 2 ) );"
9595
fi
9696
97-
# Configure git:
98-
- name: 'Configure git'
97+
# Configure Git:
98+
- name: 'Configure Git'
9999
run: |
100100
git config --local user.email "noreply@stdlib.io"
101101
git config --local user.name "stdlib-bot"
@@ -191,8 +191,8 @@ jobs:
191191
# Pin action to full length commit SHA
192192
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0
193193

194-
# Configure git:
195-
- name: 'Configure git'
194+
# Configure Git:
195+
- name: 'Configure Git'
196196
run: |
197197
git config --local user.email "noreply@stdlib.io"
198198
git config --local user.name "stdlib-bot"
@@ -366,8 +366,8 @@ jobs:
366366
# Pin action to full length commit SHA
367367
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0
368368

369-
# Configure git:
370-
- name: 'Configure git'
369+
# Configure Git:
370+
- name: 'Configure Git'
371371
run: |
372372
git config --local user.email "noreply@stdlib.io"
373373
git config --local user.name "stdlib-bot"
@@ -539,8 +539,8 @@ jobs:
539539
# Pin action to full length commit SHA
540540
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0
541541

542-
# Configure git:
543-
- name: 'Configure git'
542+
# Configure Git:
543+
- name: 'Configure Git'
544544
run: |
545545
git config --local user.email "noreply@stdlib.io"
546546
git config --local user.name "stdlib-bot"
@@ -735,8 +735,8 @@ jobs:
735735
echo "bump=true" >> $GITHUB_OUTPUT
736736
fi
737737
738-
# Configure git:
739-
- name: 'Configure git'
738+
# Configure Git:
739+
- name: 'Configure Git'
740740
if: steps.check-if-bump.outputs.bump
741741
run: |
742742
git config --local user.email "noreply@stdlib.io"

.github/workflows/publish.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,8 @@ jobs:
7272
node-version: 20
7373
timeout-minutes: 5
7474

75-
# Configure git:
76-
- name: 'Configure git'
75+
# Configure Git:
76+
- name: 'Configure Git'
7777
run: |
7878
git config --local user.email "noreply@stdlib.io"
7979
git config --local user.name "stdlib-bot"
@@ -206,7 +206,7 @@ jobs:
206206
# Publish package to npm:
207207
- name: 'Publish package to npm'
208208
# Pin action to full length commit SHA
209-
uses: JS-DevTools/npm-publish@4b07b26a2f6e0a51846e1870223e545bae91c552 # v3.0.1
209+
uses: JS-DevTools/npm-publish@19c28f1ef146469e409470805ea4279d47c3d35c # v3.1.1
210210
with:
211211
token: ${{ secrets.NPM_TOKEN }}
212212
access: public

.npmrc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,5 +27,5 @@ shrinkwrap = false
2727
# Disable automatically "saving" dependencies on install:
2828
save = false
2929

30-
# Generate provenance metadata:
31-
provenance = true
30+
# Do not generate provenance metadata:
31+
provenance = false

CHANGELOG.md

Lines changed: 213 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,156 @@
22

33
> Package changelog.
44
5-
<section class="release" id="unreleased">
5+
<section class="release" id="v0.2.2">
66

7-
## Unreleased (2024-07-01)
7+
## 0.2.2 (2024-07-27)
8+
9+
<section class="bug-fixes">
10+
11+
### Bug Fixes
12+
13+
- [`19106ca`](https://github.com/stdlib-js/stdlib/commit/19106ca820dcd737e7fcf1b022d9b1b7346c5b52) - update unary predicate error type to include null
14+
- [`952ea72`](https://github.com/stdlib-js/stdlib/commit/952ea72db18b6ff6b06bf89a3559d9f99a69cae5) - properly type predicate error parameter
15+
16+
</section>
17+
18+
<!-- /.bug-fixes -->
19+
20+
<section class="issues">
21+
22+
### Closed Issues
23+
24+
This release closes the following issue:
25+
26+
[#1096](https://github.com/stdlib-js/stdlib/issues/1096)
27+
28+
</section>
29+
30+
<!-- /.issues -->
31+
32+
<section class="commits">
33+
34+
### Commits
35+
36+
<details>
37+
38+
- [`19106ca`](https://github.com/stdlib-js/stdlib/commit/19106ca820dcd737e7fcf1b022d9b1b7346c5b52) - **fix:** update unary predicate error type to include null _(by Philipp Burckhardt)_
39+
- [`952ea72`](https://github.com/stdlib-js/stdlib/commit/952ea72db18b6ff6b06bf89a3559d9f99a69cae5) - **fix:** properly type predicate error parameter _(by Philipp Burckhardt)_
40+
- [`174544f`](https://github.com/stdlib-js/stdlib/commit/174544f854a5dd7e839ecf9eb2c46095728f62dd) - **refactor:** use generics to improve type declarations for async/if then [(#1366)](https://github.com/stdlib-js/stdlib/pull/1366) _(by Prajwal Kulkarni)_
41+
42+
</details>
43+
44+
</section>
45+
46+
<!-- /.commits -->
47+
48+
<section class="contributors">
49+
50+
### Contributors
51+
52+
A total of 2 people contributed to this release. Thank you to the following contributors:
53+
54+
- Philipp Burckhardt
55+
- Prajwal Kulkarni
56+
57+
</section>
58+
59+
<!-- /.contributors -->
60+
61+
</section>
62+
63+
<!-- /.release -->
64+
65+
<section class="release" id="v0.2.1">
66+
67+
## 0.2.1 (2024-02-22)
68+
69+
No changes reported for this release.
70+
71+
</section>
72+
73+
<!-- /.release -->
74+
75+
<section class="release" id="v0.2.0">
76+
77+
## 0.2.0 (2024-02-14)
78+
79+
<section class="commits">
80+
81+
### Commits
82+
83+
<details>
84+
85+
- [`97992ab`](https://github.com/stdlib-js/stdlib/commit/97992abedd7d2a3d6daf644c6b12e979642c6783) - **docs:** update related packages sections [(#1301)](https://github.com/stdlib-js/stdlib/pull/1301) _(by stdlib-bot)_
86+
- [`dea49e0`](https://github.com/stdlib-js/stdlib/commit/dea49e03ab5571233e3da26835a6a6d3256d5737) - **docs:** use single quotes in require calls instead of backticks _(by Philipp Burckhardt)_
87+
- [`453dd85`](https://github.com/stdlib-js/stdlib/commit/453dd85b5dd186d2b4d458256fe84906e1503fe2) - **build:** remove tslint directives _(by Philipp Burckhardt)_
88+
89+
</details>
90+
91+
</section>
92+
93+
<!-- /.commits -->
94+
95+
<section class="contributors">
96+
97+
### Contributors
98+
99+
A total of 1 person contributed to this release. Thank you to this contributor:
100+
101+
- Philipp Burckhardt
102+
103+
</section>
104+
105+
<!-- /.contributors -->
106+
107+
</section>
108+
109+
<!-- /.release -->
110+
111+
<section class="release" id="v0.1.1">
112+
113+
## 0.1.1 (2023-10-03)
114+
115+
No changes reported for this release.
116+
117+
</section>
118+
119+
<!-- /.release -->
120+
121+
<section class="release" id="v0.1.0">
122+
123+
## 0.1.0 (2023-09-22)
124+
125+
<section class="features">
126+
127+
### Features
128+
129+
- [`ace728f`](https://github.com/stdlib-js/stdlib/commit/ace728f330033182c28199dc9e13d75eda18cfe0) - update minimum TypeScript version
130+
131+
</section>
132+
133+
<!-- /.features -->
134+
135+
<section class="breaking-changes">
136+
137+
### BREAKING CHANGES
138+
139+
- [`ace728f`](https://github.com/stdlib-js/stdlib/commit/ace728f330033182c28199dc9e13d75eda18cfe0): update minimum TypeScript version
140+
- [`ace728f`](https://github.com/stdlib-js/stdlib/commit/ace728f330033182c28199dc9e13d75eda18cfe0): update minimum TypeScript version to 4.1
141+
142+
- To migrate, users should upgrade their TypeScript version to at least version 4.1.
143+
144+
</section>
145+
146+
<!-- /.breaking-changes -->
8147

9148
<section class="commits">
10149

11150
### Commits
12151

13152
<details>
14153

15-
- [`a591e05`](https://github.com/stdlib-js/stdlib/commit/a591e052cf1b1515c267781b914c6a482e150425) - **test:** fix test configuration _(by Athan Reines)_
154+
- [`ace728f`](https://github.com/stdlib-js/stdlib/commit/ace728f330033182c28199dc9e13d75eda18cfe0) - **feat:** update minimum TypeScript version _(by Philipp Burckhardt)_
16155

17156
</details>
18157

@@ -26,7 +165,7 @@
26165

27166
A total of 1 person contributed to this release. Thank you to this contributor:
28167

29-
- Athan Reines
168+
- Philipp Burckhardt
30169

31170
</section>
32171

@@ -36,3 +175,73 @@ A total of 1 person contributed to this release. Thank you to this contributor:
36175

37176
<!-- /.release -->
38177

178+
<section class="release" id="v0.0.7">
179+
180+
## 0.0.7 (2022-02-16)
181+
182+
No changes reported for this release.
183+
184+
</section>
185+
186+
<!-- /.release -->
187+
188+
<section class="release" id="v0.0.6">
189+
190+
## 0.0.6 (2021-08-22)
191+
192+
No changes reported for this release.
193+
194+
</section>
195+
196+
<!-- /.release -->
197+
198+
<section class="release" id="v0.0.5">
199+
200+
## 0.0.5 (2021-07-06)
201+
202+
No changes reported for this release.
203+
204+
</section>
205+
206+
<!-- /.release -->
207+
208+
<section class="release" id="v0.0.4">
209+
210+
## 0.0.4 (2021-06-27)
211+
212+
No changes reported for this release.
213+
214+
</section>
215+
216+
<!-- /.release -->
217+
218+
<section class="release" id="v0.0.3">
219+
220+
## 0.0.3 (2021-06-16)
221+
222+
No changes reported for this release.
223+
224+
</section>
225+
226+
<!-- /.release -->
227+
228+
<section class="release" id="v0.0.2">
229+
230+
## 0.0.2 (2021-06-15)
231+
232+
No changes reported for this release.
233+
234+
</section>
235+
236+
<!-- /.release -->
237+
238+
<section class="release" id="v0.0.1">
239+
240+
## 0.0.1 (2021-06-14)
241+
242+
No changes reported for this release.
243+
244+
</section>
245+
246+
<!-- /.release -->
247+

CONTRIBUTORS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ Muhammad Haris <harriskhan047@outlook.com>
5151
Naresh Jagadeesan <naresh.naresh000@gmail.com>
5252
NightKnight <Ahmedatwa866@yahoo.com>
5353
Nithin Katta <88046362+nithinkatta@users.noreply.github.com>
54+
Nourhan Hasan <109472010+TheNourhan@users.noreply.github.com>
5455
Ognjen Jevremović <ognjenjevremovic@users.noreply.github.com>
5556
Oneday12323 <107678750+Oneday12323@users.noreply.github.com>
5657
Philipp Burckhardt <pburckhardt@outlook.com>

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -301,8 +301,8 @@ Copyright &copy; 2016-2024. The Stdlib [Authors][stdlib-authors].
301301
[npm-image]: http://img.shields.io/npm/v/@stdlib/utils-async-if-then.svg
302302
[npm-url]: https://npmjs.org/package/@stdlib/utils-async-if-then
303303

304-
[test-image]: https://github.com/stdlib-js/utils-async-if-then/actions/workflows/test.yml/badge.svg?branch=main
305-
[test-url]: https://github.com/stdlib-js/utils-async-if-then/actions/workflows/test.yml?query=branch:main
304+
[test-image]: https://github.com/stdlib-js/utils-async-if-then/actions/workflows/test.yml/badge.svg?branch=v0.2.2
305+
[test-url]: https://github.com/stdlib-js/utils-async-if-then/actions/workflows/test.yml?query=branch:v0.2.2
306306

307307
[coverage-image]: https://img.shields.io/codecov/c/github/stdlib-js/utils-async-if-then/main.svg
308308
[coverage-url]: https://codecov.io/github/stdlib-js/utils-async-if-then?branch=main

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@stdlib/utils-async-if-then",
3-
"version": "0.2.1",
3+
"version": "0.2.2",
44
"description": "If a predicate function returns a truthy value, invoke `x`; otherwise, invoke `y`.",
55
"license": "Apache-2.0",
66
"author": {
@@ -38,15 +38,15 @@
3838
},
3939
"dependencies": {
4040
"@stdlib/assert-is-function": "^0.2.1",
41-
"@stdlib/string-format": "^0.2.1",
42-
"@stdlib/error-tools-fmtprodmsg": "^0.2.1"
41+
"@stdlib/string-format": "^0.2.2",
42+
"@stdlib/error-tools-fmtprodmsg": "^0.2.2"
4343
},
4444
"devDependencies": {
4545
"@stdlib/assert-is-nan": "^0.2.1",
4646
"@stdlib/math-base-special-ceil": "^0.2.1",
4747
"@stdlib/random-base-randu": "^0.2.1",
4848
"@stdlib/string-repeat": "^0.2.1",
49-
"@stdlib/utils-noop": "^0.2.1",
49+
"@stdlib/utils-noop": "^0.2.2",
5050
"tape": "git+https://github.com/kgryte/tape.git#fix/globby",
5151
"istanbul": "^0.4.1",
5252
"tap-min": "git+https://github.com/Planeshifter/tap-min.git",

0 commit comments

Comments
 (0)
0