Skip to content

Commit 4c153ce

Browse files
committed
Auto-generated commit
1 parent 29c33d4 commit 4c153ce

14 files changed

+76
-62
lines changed

.github/.keepalive

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2024-02-01T01:58:37.559Z
1+
2024-03-01T01:56:50.298Z

.github/workflows/benchmark.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,8 @@ jobs:
4646

4747
# Install Node.js:
4848
- name: 'Install Node.js'
49-
# Pin action to full length commit SHA corresponding to v3.8.1
50-
uses: actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d
49+
# Pin action to full length commit SHA
50+
uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8 # v4.0.1
5151
with:
5252
node-version: 20
5353
timeout-minutes: 5

.github/workflows/cancel.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,8 @@ jobs:
4444

4545
# Cancel existing workflow runs:
4646
- name: 'Cancel existing workflow runs'
47-
# Pin action to full length commit SHA corresponding to v0.11.0
48-
uses: styfle/cancel-workflow-action@b173b6ec0100793626c2d9e6b90435061f4fc3e5
47+
# Pin action to full length commit SHA
48+
uses: styfle/cancel-workflow-action@85880fa0301c86cca9da44039ee3bb12d3bedbfa # v0.12.1
4949
with:
5050
workflow_id: >-
5151
benchmark.yml,

.github/workflows/examples.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,8 @@ jobs:
4646

4747
# Install Node.js:
4848
- name: 'Install Node.js'
49-
# Pin action to full length commit SHA corresponding to v3.8.1
50-
uses: actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d
49+
# Pin action to full length commit SHA
50+
uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8 # v4.0.1
5151
with:
5252
node-version: 20
5353
timeout-minutes: 5

.github/workflows/npm_downloads.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,8 @@ jobs:
5151

5252
# Install Node.js:
5353
- name: 'Install Node.js'
54-
# Pin action to full length commit SHA corresponding to v3.8.1
55-
uses: actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d
54+
# Pin action to full length commit SHA
55+
uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8 # v4.0.1
5656
with:
5757
node-version: 20
5858
timeout-minutes: 5
@@ -86,8 +86,8 @@ jobs:
8686
8787
# Upload the download data:
8888
- name: 'Upload data'
89-
# Pin action to full length commit SHA corresponding to v3.1.3
90-
uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32
89+
# Pin action to full length commit SHA
90+
uses: actions/upload-artifact@5d5d22a31266ced268874388b861e4b58bb5c2f3 # v4.3.1
9191
with:
9292
# Define a name for the uploaded artifact (ensuring a unique name for each job):
9393
name: npm_downloads

.github/workflows/productionize.yml

+12-12
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,8 @@ jobs:
6868

6969
# Install Node.js:
7070
- name: 'Install Node.js'
71-
# Pin action to full length commit SHA corresponding to v3.8.1
72-
uses: actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d
71+
# Pin action to full length commit SHA
72+
uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8 # v4.0.1
7373
with:
7474
node-version: 20
7575
timeout-minutes: 5
@@ -143,8 +143,8 @@ jobs:
143143
# Install Node.js:
144144
- name: 'Install Node.js'
145145
if: ${{ github.event.inputs.require-passing-tests == 'true' }}
146-
# Pin action to full length commit SHA corresponding to v3.8.1
147-
uses: actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d
146+
# Pin action to full length commit SHA
147+
uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8 # v4.0.1
148148
with:
149149
node-version: 20
150150
timeout-minutes: 5
@@ -256,8 +256,8 @@ jobs:
256256
257257
# Install Node.js:
258258
- name: 'Install Node.js'
259-
# Pin action to full length commit SHA corresponding to v3.8.1
260-
uses: actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d
259+
# Pin action to full length commit SHA
260+
uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8 # v4.0.1
261261
with:
262262
node-version: 20
263263
timeout-minutes: 5
@@ -283,7 +283,7 @@ jobs:
283283
find ./deno -type f -name '*.md' -print0 | xargs -0 sed -Ei "/\/tree\/main/b; /^\[@stdlib[^:]+: https:\/\/github.com\/stdlib-js\// s/(.*)/\\1\/tree\/deno/";
284284
285285
# Replace reference to `@stdlib/types` with CDN link:
286-
find ./deno -type f -name '*.ts' -print0 | xargs -0 sed -Ei "s/\/\/\/ <reference types=\"@stdlib\/types\"\/>/\/\/\/ <reference types=\"https:\/\/cdn.jsdelivr.net\/gh\/stdlib-js\/types@main\/index.d.ts\"\/>/g"
286+
find ./deno -type f -name '*.ts' -print0 | xargs -0 -r sed -Ei "s/\/\/\/ <reference types=\"@stdlib\/types\"\/>/\/\/\/ <reference types=\"https:\/\/cdn.jsdelivr.net\/gh\/stdlib-js\/types@main\/index.d.ts\"\/>/g"
287287
288288
# Change wording of project description to avoid reference to JavaScript and Node.js:
289289
find ./deno -type f -name '*.md' -print0 | xargs -0 sed -Ei "s/a standard library for JavaScript and Node.js, /a standard library /g"
@@ -424,8 +424,8 @@ jobs:
424424
425425
# Install Node.js
426426
- name: 'Install Node.js'
427-
# Pin action to full length commit SHA corresponding to v3.8.1
428-
uses: actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d
427+
# Pin action to full length commit SHA
428+
uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8 # v4.0.1
429429
with:
430430
node-version: 20
431431
timeout-minutes: 5
@@ -606,8 +606,8 @@ jobs:
606606
607607
# Install Node.js:
608608
- name: 'Install Node.js'
609-
# Pin action to full length commit SHA corresponding to v3.8.1
610-
uses: actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d
609+
# Pin action to full length commit SHA
610+
uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8 # v4.0.1
611611
with:
612612
node-version: 20
613613
timeout-minutes: 5
@@ -634,7 +634,7 @@ jobs:
634634
find ./esm -type f -name '*.md' -print0 | xargs -0 sed -Ei "/\/tree\/main/b; /^\[@stdlib[^:]+: https:\/\/github.com\/stdlib-js\// s/(.*)/\\1\/tree\/esm/";
635635
636636
# Replace reference to `@stdlib/types` with esm link:
637-
find ./esm -type f -name '*.ts' -print0 | xargs -0 sed -Ei "s/\/\/\/ <reference types=\"@stdlib\/types\"\/>/\/\/\/ <reference types=\"https:\/\/cdn.jsdelivr.net\/gh\/stdlib-js\/types@esm\/index.d.ts\"\/>/g"
637+
find ./esm -type f -name '*.ts' -print0 | xargs -0 -r sed -Ei "s/\/\/\/ <reference types=\"@stdlib\/types\"\/>/\/\/\/ <reference types=\"https:\/\/cdn.jsdelivr.net\/gh\/stdlib-js\/types@esm\/index.d.ts\"\/>/g"
638638
639639
# Change wording of project description to avoid reference to JavaScript and Node.js:
640640
find ./esm -type f -name '*.md' -print0 | xargs -0 sed -Ei "s/a standard library for JavaScript and Node.js, /a standard library /g"

.github/workflows/publish.yml

+10-16
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,8 @@ jobs:
6666

6767
# Install Node.js:
6868
- name: 'Install Node.js'
69-
# Pin action to full length commit SHA corresponding to v3.8.1
70-
uses: actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d
69+
# Pin action to full length commit SHA
70+
uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8 # v4.0.1
7171
with:
7272
node-version: 20
7373
timeout-minutes: 5
@@ -124,16 +124,10 @@ jobs:
124124
mv ./package.json.tmp ./package.json
125125
fi
126126
done
127-
jq -r '.devDependencies | keys[]' ./package.json | while read -r dep; do
128-
if [[ "$dep" != "@stdlib"* ]]; then
129-
continue
130-
fi
131-
dep=$(echo "$dep" | xargs)
132-
if ! find lib -name "*.js" -exec grep -q "$dep" {} + && ! grep -q -s "$dep" manifest.json && ! grep -q -s "$dep" include.gypi; then
133-
jq --indent 2 "del(.devDependencies[\"$dep\"])" ./package.json > ./package.json.tmp
134-
mv ./package.json.tmp ./package.json
135-
fi
136-
done
127+
128+
# Set `devDependencies` to an empty object:
129+
jq --indent 2 '.devDependencies = {}' ./package.json > ./package.json.tmp
130+
mv ./package.json.tmp ./package.json
137131
138132
# Remove CLI section:
139133
find . -type f -name '*.md' -print0 | xargs -0 perl -0777 -i -pe "s/(\* \* \*\n+)?<section class=\"cli\">[\s\S]+?<\!\-\- \/.cli \-\->//"
@@ -207,8 +201,8 @@ jobs:
207201
208202
# Publish package to npm:
209203
- name: 'Publish package to npm'
210-
# Pin action to full length commit SHA corresponding to v2.2.2
211-
uses: JS-DevTools/npm-publish@fe72237be0920f7a0cafd6a966c9b929c9466e9b
204+
# Pin action to full length commit SHA
205+
uses: JS-DevTools/npm-publish@4b07b26a2f6e0a51846e1870223e545bae91c552 # v3.0.1
212206
with:
213207
token: ${{ secrets.NPM_TOKEN }}
214208
access: public
@@ -242,8 +236,8 @@ jobs:
242236

243237
# Cancel any running or queued workflow runs:
244238
- name: 'Cancel running or queued workflow runs'
245-
# Pin action to full length commit SHA corresponding to v0.11.0
246-
uses: styfle/cancel-workflow-action@b173b6ec0100793626c2d9e6b90435061f4fc3e5
239+
# Pin action to full length commit SHA
240+
uses: styfle/cancel-workflow-action@85880fa0301c86cca9da44039ee3bb12d3bedbfa # v0.12.1
247241
with:
248242
workflow_id: >-
249243
benchmark.yml,

.github/workflows/test.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,8 @@ jobs:
6363

6464
# Install Node.js:
6565
- name: 'Install Node.js'
66-
# Pin action to full length commit SHA corresponding to v3.8.1
67-
uses: actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d
66+
# Pin action to full length commit SHA
67+
uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8 # v4.0.1
6868
with:
6969
node-version: 20
7070
timeout-minutes: 5

.github/workflows/test_bundles.yml

+6-6
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,8 @@ jobs:
5656

5757
# Install Node.js:
5858
- name: 'Install Node.js'
59-
# Pin action to full length commit SHA corresponding to v3.8.1
60-
uses: actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d
59+
# Pin action to full length commit SHA
60+
uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8 # v4.0.1
6161
with:
6262
node-version: 20
6363

@@ -123,8 +123,8 @@ jobs:
123123

124124
# Install Node.js:
125125
- name: 'Install Node.js'
126-
# Pin action to full length commit SHA corresponding to v3.8.1
127-
uses: actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d
126+
# Pin action to full length commit SHA
127+
uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8 # v4.0.1
128128
with:
129129
node-version: 20
130130

@@ -168,8 +168,8 @@ jobs:
168168

169169
# Install Deno:
170170
- name: 'Install Deno'
171-
# Pin action to full length commit SHA corresponding to v1.1.2
172-
uses: denoland/setup-deno@61fe2df320078202e33d7d5ad347e7dcfa0e8f31
171+
# Pin action to full length commit SHA
172+
uses: denoland/setup-deno@041b854f97b325bd60e53e9dc2de9cb9f9ac0cba # v1.1.4
173173
with:
174174
deno-version: vx.x.x
175175

.github/workflows/test_coverage.yml

+8-4
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,10 @@ jobs:
4141
# Define the type of virtual host machine on which to run the job:
4242
runs-on: ubuntu-latest
4343

44+
# Define environment variables:
45+
env:
46+
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
47+
4448
# Define the sequence of job steps...
4549
steps:
4650

@@ -51,8 +55,8 @@ jobs:
5155

5256
# Install Node.js:
5357
- name: 'Install Node.js'
54-
# Pin action to full length commit SHA corresponding to v3.8.1
55-
uses: actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d
58+
# Pin action to full length commit SHA
59+
uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8 # v4.0.1
5660
with:
5761
node-version: 20
5862
timeout-minutes: 5
@@ -79,8 +83,8 @@ jobs:
7983
# Upload coverage report to Codecov:
8084
- name: 'Upload coverage to Codecov'
8185
id: upload
82-
# Pin action to full length commit SHA corresponding to v3.1.4
83-
uses: codecov/codecov-action@eaaf4bedf32dbdc6b720b63067d99c4d77d6047d
86+
# Pin action to full length commit SHA
87+
uses: codecov/codecov-action@eaaf4bedf32dbdc6b720b63067d99c4d77d6047d # v3.1.4
8488
with:
8589
directory: reports/coverage
8690
flags: unittests

.github/workflows/test_install.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,8 @@ jobs:
6363

6464
# Install Node.js:
6565
- name: 'Install Node.js'
66-
# Pin action to full length commit SHA corresponding to v3.8.1
67-
uses: actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d
66+
# Pin action to full length commit SHA
67+
uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8 # v4.0.1
6868
with:
6969
node-version: 20
7070
timeout-minutes: 5

.npmignore

+2-1
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,9 @@ branches.md
2929
.postinstall.json
3030
Makefile
3131

32-
# Ignore `binding.gyp` file to avoid compilation of native addon when installing package:
32+
# Ignore files to avoid compilation of native addon when installing package:
3333
binding.gyp
34+
include.gypi
3435

3536
# Directories #
3637
###############

CONTRIBUTORS

+15
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,22 @@
22
#
33
# Contributors listed in alphabetical order.
44

5+
Aditya Sapra <[email protected]>
6+
AgPriyanshu18 <[email protected]>
57
Ali Salesi <[email protected]>
68
Amit Jimiwal <[email protected]>
79
Athan Reines <[email protected]>
810
Brendan Graetz <[email protected]>
911
Bruno Fenzl <[email protected]>
12+
Chinmay J <[email protected]>
1013
Christopher Dambamuromo <[email protected]>
1114
1215
Daniel Killenberger <[email protected]>
1316
Dominik Moritz <[email protected]>
1417
Dorrin Sotoudeh <[email protected]>
1518
Frank Kovacs <[email protected]>
19+
GUNJ JOSHI <[email protected]>
20+
1621
Harshita Kalani <[email protected]>
1722
James Gelok <[email protected]>
1823
Jaysukh Makvana <[email protected]>
@@ -21,21 +26,31 @@ Joey Reed <[email protected]>
2126
Jordan Gallivan <[email protected]>
2227
Joris Labie <[email protected]>
2328
Justin Dennison <[email protected]>
29+
Karthik Prakash <[email protected]>
30+
2431
Marcus Fantham <[email protected]>
2532
Matt Cochrane <[email protected]>
33+
Mihir Pandit <[email protected]>
2634
Milan Raj <[email protected]>
2735
Momtchil Momtchev <[email protected]>
2836
Naresh Jagadeesan <[email protected]>
2937
Nithin Katta <[email protected]>
3038
Ognjen Jevremović <[email protected]>
3139
Philipp Burckhardt <[email protected]>
40+
Prajwal Kulkarni <[email protected]>
3241
Pranav Goswami <[email protected]>
42+
43+
3344
Ricky Reusser <[email protected]>
3445
Robert Gislason <[email protected]>
3546
Roman Stetsyk <[email protected]>
47+
3648
Ryan Seal <[email protected]>
3749
Seyyed Parsa Neshaei <[email protected]>
3850
Shraddheya Shendre <[email protected]>
51+
52+
Snehil Shah <[email protected]>
53+
Spandan Barve <[email protected]>
3954
Stephannie Jiménez Gacha <[email protected]>
4055
Yernar Yergaziyev <[email protected]>
4156
orimiles5 <[email protected]>

package.json

+8-8
Original file line numberDiff line numberDiff line change
@@ -40,19 +40,19 @@
4040
"url": "https://github.com/stdlib-js/stdlib/issues"
4141
},
4242
"dependencies": {
43-
"@stdlib/napi-argv": "^0.1.1",
44-
"@stdlib/napi-argv-double": "^0.1.1",
45-
"@stdlib/napi-export": "^0.1.1",
46-
"@stdlib/utils-library-manifest": "^0.1.1"
43+
"@stdlib/napi-argv": "^0.2.1",
44+
"@stdlib/napi-argv-double": "^0.2.1",
45+
"@stdlib/napi-export": "^0.2.1",
46+
"@stdlib/utils-library-manifest": "^0.2.1"
4747
},
4848
"devDependencies": {
49-
"@stdlib/assert-is-boolean": "^0.1.1",
50-
"@stdlib/boolean-ctor": "^0.1.1",
51-
"@stdlib/utils-try-require": "^0.1.1",
49+
"@stdlib/assert-is-boolean": "^0.2.1",
50+
"@stdlib/boolean-ctor": "^0.2.1",
51+
"@stdlib/utils-try-require": "^0.2.1",
5252
"tape": "git+https://github.com/kgryte/tape.git#fix/globby",
5353
"istanbul": "^0.4.1",
5454
"tap-min": "git+https://github.com/Planeshifter/tap-min.git",
55-
"@stdlib/bench-harness": "^0.1.2"
55+
"@stdlib/bench-harness": "^0.2.1"
5656
},
5757
"engines": {
5858
"node": ">=0.10.0",

0 commit comments

Comments
 (0)