Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit e46388e

Browse files
committedJul 27, 2024·
Release v0.2.2
1 parent a7beec4 commit e46388e

12 files changed

+290
-42
lines changed
 

‎.gitattributes

Lines changed: 23 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,27 @@
4040
*.mov binary
4141

4242
# Override what is considered "vendored" by GitHub's linguist:
43-
/deps/** linguist-vendored=false
44-
/lib/node_modules/** linguist-vendored=false linguist-generated=false
45-
test/fixtures/** linguist-vendored=false
46-
tools/** linguist-vendored=false
43+
/lib/node_modules/** -linguist-vendored -linguist-generated
4744

48-
# Override what is considered "documentation" by GitHub's linguist:
49-
examples/** linguist-documentation=false
45+
# Configure directories which should *not* be included in GitHub language statistics:
46+
/deps/** linguist-vendored
47+
/dist/** linguist-generated
48+
/workshops/** linguist-vendored
49+
50+
benchmark/** linguist-vendored
51+
docs/* linguist-documentation
52+
etc/** linguist-vendored
53+
examples/** linguist-documentation
54+
scripts/** linguist-vendored
55+
test/** linguist-vendored
56+
tools/** linguist-vendored
57+
58+
# Configure files which should *not* be included in GitHub language statistics:
59+
Makefile linguist-vendored
60+
*.mk linguist-vendored
61+
*.jl linguist-vendored
62+
*.py linguist-vendored
63+
*.R linguist-vendored
64+
65+
# Configure files which should be included in GitHub language statistics:
66+
docs/types/*.d.ts -linguist-documentation

‎.github/workflows/productionize.yml

Lines changed: 10 additions & 13 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"
@@ -344,7 +344,6 @@ jobs:
344344
uses: 8398a7/action-slack@28ba43ae48961b90635b50953d216767a6bea486 # v3.16.2
345345
with:
346346
status: ${{ job.status }}
347-
steps: ${{ toJson(steps) }}
348347
channel: '#npm-ci'
349348
if: failure()
350349

@@ -367,8 +366,8 @@ jobs:
367366
# Pin action to full length commit SHA
368367
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0
369368

370-
# Configure git:
371-
- name: 'Configure git'
369+
# Configure Git:
370+
- name: 'Configure Git'
372371
run: |
373372
git config --local user.email "noreply@stdlib.io"
374373
git config --local user.name "stdlib-bot"
@@ -518,7 +517,6 @@ jobs:
518517
uses: 8398a7/action-slack@28ba43ae48961b90635b50953d216767a6bea486 # v3.16.2
519518
with:
520519
status: ${{ job.status }}
521-
steps: ${{ toJson(steps) }}
522520
channel: '#npm-ci'
523521
if: failure()
524522

@@ -541,8 +539,8 @@ jobs:
541539
# Pin action to full length commit SHA
542540
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0
543541

544-
# Configure git:
545-
- name: 'Configure git'
542+
# Configure Git:
543+
- name: 'Configure Git'
546544
run: |
547545
git config --local user.email "noreply@stdlib.io"
548546
git config --local user.name "stdlib-bot"
@@ -698,7 +696,6 @@ jobs:
698696
uses: 8398a7/action-slack@28ba43ae48961b90635b50953d216767a6bea486 # v3.16.2
699697
with:
700698
status: ${{ job.status }}
701-
steps: ${{ toJson(steps) }}
702699
channel: '#npm-ci'
703700
if: failure()
704701

@@ -738,8 +735,8 @@ jobs:
738735
echo "bump=true" >> $GITHUB_OUTPUT
739736
fi
740737
741-
# Configure git:
742-
- name: 'Configure git'
738+
# Configure Git:
739+
- name: 'Configure Git'
743740
if: steps.check-if-bump.outputs.bump
744741
run: |
745742
git config --local user.email "noreply@stdlib.io"

‎.github/workflows/publish.yml

Lines changed: 7 additions & 4 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"
@@ -94,6 +94,10 @@ jobs:
9494
# Replace branch in README.md link definitions for badges with the new version:
9595
find . -type f -name '*.md' -print0 | xargs -0 sed -Ei "s/branch([=:])[^ ]+/branch\1v${NEW_VERSION}/g"
9696
97+
# Rewrite CHANGELOG.md to replace "Unreleased" with the new version:
98+
sed -Ei "s/Unreleased/${NEW_VERSION}/g" CHANGELOG.md
99+
sed -Ei "s/unreleased/v${NEW_VERSION}/g" CHANGELOG.md
100+
97101
# Create a new commit and tag:
98102
git add package.json README.md
99103
git commit -m "Release v${NEW_VERSION}"
@@ -202,7 +206,7 @@ jobs:
202206
# Publish package to npm:
203207
- name: 'Publish package to npm'
204208
# Pin action to full length commit SHA
205-
uses: JS-DevTools/npm-publish@4b07b26a2f6e0a51846e1870223e545bae91c552 # v3.0.1
209+
uses: JS-DevTools/npm-publish@19c28f1ef146469e409470805ea4279d47c3d35c # v3.1.1
206210
with:
207211
token: ${{ secrets.NPM_TOKEN }}
208212
access: public
@@ -218,7 +222,6 @@ jobs:
218222
uses: 8398a7/action-slack@28ba43ae48961b90635b50953d216767a6bea486 # v3.16.2
219223
with:
220224
status: ${{ job.status }}
221-
steps: ${{ toJson(steps) }}
222225
channel: '#npm-ci'
223226
if: failure()
224227

‎.github/workflows/test.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,5 @@ jobs:
9595
uses: 8398a7/action-slack@28ba43ae48961b90635b50953d216767a6bea486 # v3.16.2
9696
with:
9797
status: ${{ job.status }}
98-
steps: ${{ toJson(steps) }}
9998
channel: '#npm-ci'
10099
if: failure()

‎.github/workflows/test_bundles.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,6 @@ jobs:
9494
uses: 8398a7/action-slack@28ba43ae48961b90635b50953d216767a6bea486 # v3.16.2
9595
with:
9696
status: ${{ job.status }}
97-
steps: ${{ toJson(steps) }}
9897
channel: '#npm-ci'
9998
if: failure()
10099

@@ -139,7 +138,6 @@ jobs:
139138
uses: 8398a7/action-slack@28ba43ae48961b90635b50953d216767a6bea486 # v3.16.2
140139
with:
141140
status: ${{ job.status }}
142-
steps: ${{ toJson(steps) }}
143141
channel: '#npm-ci'
144142
if: failure()
145143

@@ -184,6 +182,5 @@ jobs:
184182
uses: 8398a7/action-slack@28ba43ae48961b90635b50953d216767a6bea486 # v3.16.2
185183
with:
186184
status: ${{ job.status }}
187-
steps: ${{ toJson(steps) }}
188185
channel: '#npm-ci'
189186
if: failure()

‎.github/workflows/test_coverage.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,6 @@ jobs:
119119
uses: 8398a7/action-slack@28ba43ae48961b90635b50953d216767a6bea486 # v3.16.2
120120
with:
121121
status: ${{ job.status }}
122-
steps: ${{ toJson(steps) }}
123122
channel: '#npm-ci'
124123
if: failure()
125124

‎.github/workflows/test_install.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,5 @@ jobs:
8181
uses: 8398a7/action-slack@28ba43ae48961b90635b50953d216767a6bea486 # v3.16.2
8282
with:
8383
status: ${{ job.status }}
84-
steps: ${{ toJson(steps) }}
8584
channel: '#npm-ci'
8685
if: failure()

‎.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: 228 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,231 @@
22

33
> Package changelog.
44
5-
See [GitHub Releases](https://github.com/stdlib-js/assert-is-integer/releases) for the changelog.
5+
<section class="release" id="v0.2.2">
6+
7+
## 0.2.2 (2024-07-27)
8+
9+
<section class="bug-fixes">
10+
11+
### Bug Fixes
12+
13+
- [`b77ddf7`](https://github.com/stdlib-js/stdlib/commit/b77ddf74c62c7031c7a542d8a661a51e19fd6ebd) - replace use of type guards with boolean return type
14+
15+
</section>
16+
17+
<!-- /.bug-fixes -->
18+
19+
<section class="commits">
20+
21+
### Commits
22+
23+
<details>
24+
25+
- [`b77ddf7`](https://github.com/stdlib-js/stdlib/commit/b77ddf74c62c7031c7a542d8a661a51e19fd6ebd) - **fix:** replace use of type guards with boolean return type _(by Philipp Burckhardt)_
26+
27+
</details>
28+
29+
</section>
30+
31+
<!-- /.commits -->
32+
33+
<section class="contributors">
34+
35+
### Contributors
36+
37+
A total of 1 person contributed to this release. Thank you to this contributor:
38+
39+
- Philipp Burckhardt
40+
41+
</section>
42+
43+
<!-- /.contributors -->
44+
45+
</section>
46+
47+
<!-- /.release -->
48+
49+
<section class="release" id="v0.2.1">
50+
51+
## 0.2.1 (2024-02-24)
52+
53+
No changes reported for this release.
54+
55+
</section>
56+
57+
<!-- /.release -->
58+
59+
<section class="release" id="v0.2.0">
60+
61+
## 0.2.0 (2024-02-14)
62+
63+
<section class="commits">
64+
65+
### Commits
66+
67+
<details>
68+
69+
- [`710ba8a`](https://github.com/stdlib-js/stdlib/commit/710ba8a93eda1c94667d3c610c0b286be84e7463) - **build:** replace tslint directive _(by Philipp Burckhardt)_
70+
71+
</details>
72+
73+
</section>
74+
75+
<!-- /.commits -->
76+
77+
<section class="contributors">
78+
79+
### Contributors
80+
81+
A total of 1 person contributed to this release. Thank you to this contributor:
82+
83+
- Philipp Burckhardt
84+
85+
</section>
86+
87+
<!-- /.contributors -->
88+
89+
</section>
90+
91+
<!-- /.release -->
92+
93+
<section class="release" id="v0.1.0">
94+
95+
## 0.1.0 (2023-09-23)
96+
97+
<section class="features">
98+
99+
### Features
100+
101+
- [`5200ce2`](https://github.com/stdlib-js/stdlib/commit/5200ce2447b32d7a8d351daa5b1868194878d7be) - update minimum TypeScript version
102+
- [`9c1c9f8`](https://github.com/stdlib-js/stdlib/commit/9c1c9f823881c9bbe150f8d23a0d2f061e4df672) - use type predicates for narrowing
103+
104+
</section>
105+
106+
<!-- /.features -->
107+
108+
<section class="breaking-changes">
109+
110+
### BREAKING CHANGES
111+
112+
- [`5200ce2`](https://github.com/stdlib-js/stdlib/commit/5200ce2447b32d7a8d351daa5b1868194878d7be): update minimum TypeScript version
113+
- [`5200ce2`](https://github.com/stdlib-js/stdlib/commit/5200ce2447b32d7a8d351daa5b1868194878d7be): update minimum TypeScript version to 4.1
114+
115+
- To migrate, users should upgrade their TypeScript version to at least version 4.1.
116+
117+
</section>
118+
119+
<!-- /.breaking-changes -->
120+
121+
<section class="commits">
122+
123+
### Commits
124+
125+
<details>
126+
127+
- [`5200ce2`](https://github.com/stdlib-js/stdlib/commit/5200ce2447b32d7a8d351daa5b1868194878d7be) - **feat:** update minimum TypeScript version _(by Philipp Burckhardt)_
128+
- [`3f60609`](https://github.com/stdlib-js/stdlib/commit/3f6060905121938ee8c8a7d9c6ab93d5d82ed2be) - **test:** use strictEqual checks _(by Philipp Burckhardt)_
129+
- [`9c1c9f8`](https://github.com/stdlib-js/stdlib/commit/9c1c9f823881c9bbe150f8d23a0d2f061e4df672) - **feat:** use type predicates for narrowing _(by Philipp Burckhardt)_
130+
131+
</details>
132+
133+
</section>
134+
135+
<!-- /.commits -->
136+
137+
<section class="contributors">
138+
139+
### Contributors
140+
141+
A total of 1 person contributed to this release. Thank you to this contributor:
142+
143+
- Philipp Burckhardt
144+
145+
</section>
146+
147+
<!-- /.contributors -->
148+
149+
</section>
150+
151+
<!-- /.release -->
152+
153+
<section class="release" id="v0.0.8">
154+
155+
## 0.0.8 (2022-02-16)
156+
157+
No changes reported for this release.
158+
159+
</section>
160+
161+
<!-- /.release -->
162+
163+
<section class="release" id="v0.0.7">
164+
165+
## 0.0.7 (2021-08-23)
166+
167+
No changes reported for this release.
168+
169+
</section>
170+
171+
<!-- /.release -->
172+
173+
<section class="release" id="v0.0.6">
174+
175+
## 0.0.6 (2021-07-09)
176+
177+
No changes reported for this release.
178+
179+
</section>
180+
181+
<!-- /.release -->
182+
183+
<section class="release" id="v0.0.5">
184+
185+
## 0.0.5 (2021-07-07)
186+
187+
No changes reported for this release.
188+
189+
</section>
190+
191+
<!-- /.release -->
192+
193+
<section class="release" id="v0.0.4">
194+
195+
## 0.0.4 (2021-06-27)
196+
197+
No changes reported for this release.
198+
199+
</section>
200+
201+
<!-- /.release -->
202+
203+
<section class="release" id="v0.0.3">
204+
205+
## 0.0.3 (2021-06-16)
206+
207+
No changes reported for this release.
208+
209+
</section>
210+
211+
<!-- /.release -->
212+
213+
<section class="release" id="v0.0.2">
214+
215+
## 0.0.2 (2021-06-15)
216+
217+
No changes reported for this release.
218+
219+
</section>
220+
221+
<!-- /.release -->
222+
223+
<section class="release" id="v0.0.1">
224+
225+
## 0.0.1 (2021-06-14)
226+
227+
No changes reported for this release.
228+
229+
</section>
230+
231+
<!-- /.release -->
232+

‎CONTRIBUTORS

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
Adarsh Palaskar <adarshpalaskar99@gmail.com>
66
Aditya Sapra <adityaework@gmail.com>
77
AgPriyanshu18 <113460573+AgPriyanshu18@users.noreply.github.com>
8+
Aleksandr <112382387+alextes90@users.noreply.github.com>
89
Ali Salesi <ali_sal1381@yahoo.com>
910
Aman Bhansali <bhansali.1@iitj.ac.in>
1011
Amit Jimiwal <amitjimiwal45@gmail.com>
@@ -18,13 +19,15 @@ Chinmay Joshi <86140365+JawHawk@users.noreply.github.com>
1819
Christopher Dambamuromo <chridam@gmail.com>
1920
Dan Rose <danoftheroses@gmail.com>
2021
Daniel Killenberger <daniel.killenberger@gmail.com>
22+
Daniel Yu <40680511+Daniel777y@users.noreply.github.com>
2123
Dominik Moritz <domoritz@gmail.com>
2224
Dorrin Sotoudeh <dorrinsotoudeh123@gmail.com>
2325
EuniceSim142 <77243938+EuniceSim142@users.noreply.github.com>
2426
Frank Kovacs <fran70kk@gmail.com>
2527
Golden Kumar <103646877+AuenKr@users.noreply.github.com>
2628
Gunj Joshi <gunjjoshi8372@gmail.com>
2729
Harshita Kalani <harshitakalani02@gmail.com>
30+
Hridyanshu <124202756+HRIDYANSHU054@users.noreply.github.com>
2831
Jaimin Godhani <112328542+Jai0401@users.noreply.github.com>
2932
James Gelok <jdgelok@gmail.com>
3033
Jaysukh Makvana <jaysukhmakvana2004@gmail.com>
@@ -48,6 +51,7 @@ Muhammad Haris <harriskhan047@outlook.com>
4851
Naresh Jagadeesan <naresh.naresh000@gmail.com>
4952
NightKnight <Ahmedatwa866@yahoo.com>
5053
Nithin Katta <88046362+nithinkatta@users.noreply.github.com>
54+
Nourhan Hasan <109472010+TheNourhan@users.noreply.github.com>
5155
Ognjen Jevremović <ognjenjevremovic@users.noreply.github.com>
5256
Oneday12323 <107678750+Oneday12323@users.noreply.github.com>
5357
Philipp Burckhardt <pburckhardt@outlook.com>
@@ -60,6 +64,7 @@ Pushpendra Chandravanshi <pushpendrachandravanshi4@gmail.com>
6064
Raunak Kumar Gupta <raunakmodanwal321@gmail.com>
6165
Rejoan Sardar <119718513+Rejoan-Sardar@users.noreply.github.com>
6266
Ricky Reusser <rsreusser@gmail.com>
67+
Ridam Garg <67867319+RidamGarg@users.noreply.github.com>
6368
Robert Gislason <gztown2216@yahoo.com>
6469
Roman Stetsyk <25715951+romanstetsyk@users.noreply.github.com>
6570
Rutam <138517416+performant23@users.noreply.github.com>
@@ -69,8 +74,11 @@ Seyyed Parsa Neshaei <spneshaei@users.noreply.github.com>
6974
Shashank Shekhar Singh <shashankshekharsingh1205@gmail.com>
7075
Shivam <11shivam00@gmail.com>
7176
Shraddheya Shendre <shendreshraddheya@gmail.com>
77+
Shubh Mehta <93862397+Shubh942@users.noreply.github.com>
7278
Shubham Mishra <shubh622005@gmail.com>
73-
Snehil Shah <130062020+Snehil-Shah@users.noreply.github.com>
79+
Sivam Das <100067002+Sivam2313@users.noreply.github.com>
80+
Snehil Shah <snehilshah.989@gmail.com>
81+
Soumajit Chatterjee <121816890+soumajit23@users.noreply.github.com>
7482
Spandan Barve <contact@marsian.dev>
7583
Stephannie Jiménez Gacha <steff456@hotmail.com>
7684
Suraj kumar <125961509+kumarsuraj212003@users.noreply.github.com>
@@ -79,8 +87,10 @@ Tudor Pagu <104032457+tudor-pagu@users.noreply.github.com>
7987
Utkarsh <http://utkarsh11105@gmail.com>
8088
Utkarsh Raj <rajutkarsh2505@gmail.com>
8189
Varad Gupta <varadgupta21@gmail.com>
90+
Xiaochuan Ye <tap91624@gmail.com>
8291
Yernar Yergaziyev <yernar.yergaziyev@erg.kz>
8392
naveen <stupiddint@gmail.com>
8493
nishant-s7 <97207366+nishant-s7@users.noreply.github.com>
8594
orimiles5 <97595296+orimiles5@users.noreply.github.com>
95+
rainn <88160429+AmCodesLame@users.noreply.github.com>
8696
rei2hu <reimu@reimu.ws>

‎README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -215,8 +215,8 @@ Copyright &copy; 2016-2024. The Stdlib [Authors][stdlib-authors].
215215
[npm-image]: http://img.shields.io/npm/v/@stdlib/assert-is-integer.svg
216216
[npm-url]: https://npmjs.org/package/@stdlib/assert-is-integer
217217

218-
[test-image]: https://github.com/stdlib-js/assert-is-integer/actions/workflows/test.yml/badge.svg?branch=main
219-
[test-url]: https://github.com/stdlib-js/assert-is-integer/actions/workflows/test.yml?query=branch:main
218+
[test-image]: https://github.com/stdlib-js/assert-is-integer/actions/workflows/test.yml/badge.svg?branch=v0.2.2
219+
[test-url]: https://github.com/stdlib-js/assert-is-integer/actions/workflows/test.yml?query=branch:v0.2.2
220220

221221
[coverage-image]: https://img.shields.io/codecov/c/github/stdlib-js/assert-is-integer/main.svg
222222
[coverage-url]: https://codecov.io/github/stdlib-js/assert-is-integer?branch=main

‎package.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@stdlib/assert-is-integer",
3-
"version": "0.2.1",
3+
"version": "0.2.2",
44
"description": "Test if a value is a number having an integer value.",
55
"license": "Apache-2.0",
66
"author": {
@@ -37,15 +37,15 @@
3737
"url": "https://github.com/stdlib-js/stdlib/issues"
3838
},
3939
"dependencies": {
40-
"@stdlib/assert-is-number": "^0.2.1",
41-
"@stdlib/constants-float64-ninf": "^0.2.1",
42-
"@stdlib/constants-float64-pinf": "^0.2.1",
40+
"@stdlib/assert-is-number": "^0.2.2",
41+
"@stdlib/constants-float64-ninf": "^0.2.2",
42+
"@stdlib/constants-float64-pinf": "^0.2.2",
4343
"@stdlib/math-base-assert-is-integer": "^0.2.4",
44-
"@stdlib/utils-define-nonenumerable-read-only-property": "^0.2.1"
44+
"@stdlib/utils-define-nonenumerable-read-only-property": "^0.2.2"
4545
},
4646
"devDependencies": {
47-
"@stdlib/assert-is-boolean": "^0.2.1",
48-
"@stdlib/number-ctor": "^0.2.1",
47+
"@stdlib/assert-is-boolean": "^0.2.2",
48+
"@stdlib/number-ctor": "^0.2.2",
4949
"tape": "git+https://github.com/kgryte/tape.git#fix/globby",
5050
"istanbul": "^0.4.1",
5151
"tap-min": "git+https://github.com/Planeshifter/tap-min.git",

0 commit comments

Comments
 (0)
Please sign in to comment.