Skip to content

Commit 294ece5

Browse files
committed
Auto-generated commit
1 parent eb4d0c8 commit 294ece5

14 files changed

+81
-43
lines changed

.github/workflows/benchmark.yml

Lines changed: 2 additions & 2 deletions
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

Lines changed: 2 additions & 2 deletions
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

Lines changed: 2 additions & 2 deletions
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

Lines changed: 2 additions & 2 deletions
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

.github/workflows/productionize.yml

Lines changed: 12 additions & 12 deletions
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

Lines changed: 6 additions & 6 deletions
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
@@ -207,8 +207,8 @@ jobs:
207207
208208
# Publish package to npm:
209209
- 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
210+
# Pin action to full length commit SHA
211+
uses: JS-DevTools/npm-publish@4b07b26a2f6e0a51846e1870223e545bae91c552 # v3.0.1
212212
with:
213213
token: ${{ secrets.NPM_TOKEN }}
214214
access: public
@@ -242,8 +242,8 @@ jobs:
242242

243243
# Cancel any running or queued workflow runs:
244244
- 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
245+
# Pin action to full length commit SHA
246+
uses: styfle/cancel-workflow-action@85880fa0301c86cca9da44039ee3bb12d3bedbfa # v0.12.1
247247
with:
248248
workflow_id: >-
249249
benchmark.yml,

.github/workflows/test.yml

Lines changed: 2 additions & 2 deletions
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

Lines changed: 4 additions & 4 deletions
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

.github/workflows/test_coverage.yml

Lines changed: 8 additions & 4 deletions
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

Lines changed: 2 additions & 2 deletions
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

dist/index.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/index.js.map

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/index.js

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -459,6 +459,24 @@ setReadOnly( ns, 'everyBy', require( '@stdlib/array-base-every-by' ) );
459459
*/
460460
setReadOnly( ns, 'everyByRight', require( '@stdlib/array-base-every-by-right' ) );
461461

462+
/**
463+
* @name fancySlice
464+
* @memberof ns
465+
* @readonly
466+
* @type {Function}
467+
* @see {@link module:@stdlib/array/base/fancy-slice}
468+
*/
469+
setReadOnly( ns, 'fancySlice', require( '@stdlib/array-base-fancy-slice' ) );
470+
471+
/**
472+
* @name fancySliceAssign
473+
* @memberof ns
474+
* @readonly
475+
* @type {Function}
476+
* @see {@link module:@stdlib/array/base/fancy-slice-assign}
477+
*/
478+
setReadOnly( ns, 'fancySliceAssign', require( '@stdlib/array-base-fancy-slice-assign' ) );
479+
462480
/**
463481
* @name filled
464482
* @memberof ns

package.json

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,8 @@
8383
"@stdlib/array-base-every": "^0.1.0",
8484
"@stdlib/array-base-every-by": "^0.1.0",
8585
"@stdlib/array-base-every-by-right": "^0.1.0",
86+
"@stdlib/array-base-fancy-slice": "github:stdlib-js/array-base-fancy-slice#main",
87+
"@stdlib/array-base-fancy-slice-assign": "github:stdlib-js/array-base-fancy-slice-assign#main",
8688
"@stdlib/array-base-filled": "^0.1.0",
8789
"@stdlib/array-base-filled-by": "^0.1.0",
8890
"@stdlib/array-base-filled2d": "^0.1.0",
@@ -135,7 +137,7 @@
135137
"@stdlib/array-base-map5d": "^0.1.0",
136138
"@stdlib/array-base-mskbinary2d": "^0.1.0",
137139
"@stdlib/array-base-mskfilter": "^0.1.0",
138-
"@stdlib/array-base-mskreject": "github:stdlib-js/array-base-mskreject#main",
140+
"@stdlib/array-base-mskreject": "^0.1.0",
139141
"@stdlib/array-base-mskunary2d": "^0.1.0",
140142
"@stdlib/array-base-mskunary3d": "^0.1.0",
141143
"@stdlib/array-base-n-cartesian-product": "^0.1.0",
@@ -157,7 +159,7 @@
157159
"@stdlib/array-base-quinary3d": "^0.1.0",
158160
"@stdlib/array-base-quinary4d": "^0.1.0",
159161
"@stdlib/array-base-quinary5d": "^0.1.0",
160-
"@stdlib/array-base-reject": "github:stdlib-js/array-base-reject#main",
162+
"@stdlib/array-base-reject": "^0.1.0",
161163
"@stdlib/array-base-resolve-getter": "^0.1.0",
162164
"@stdlib/array-base-resolve-setter": "github:stdlib-js/array-base-resolve-setter#main",
163165
"@stdlib/array-base-reverse": "^0.1.0",
@@ -200,6 +202,10 @@
200202
"@stdlib/array-base-assert-is-accessor-array": "^0.1.0",
201203
"@stdlib/array-base-assert-is-complex128array": "^0.1.0",
202204
"@stdlib/array-base-assert-is-complex64array": "^0.1.0",
205+
"@stdlib/array-base-assert-is-mostly-safe-data-type-cast": "github:stdlib-js/array-base-assert-is-mostly-safe-data-type-cast#main",
206+
"@stdlib/array-base-assert-is-safe-data-type-cast": "github:stdlib-js/array-base-assert-is-safe-data-type-cast#main",
207+
"@stdlib/array-base-assert-is-same-kind-data-type-cast": "github:stdlib-js/array-base-assert-is-same-kind-data-type-cast#main",
208+
"@stdlib/array-cartesian-square": "github:stdlib-js/array-cartesian-square#main",
203209
"@stdlib/array-complex128": "^0.1.0",
204210
"@stdlib/array-complex64": "^0.1.0",
205211
"@stdlib/array-dtype": "^0.1.0",
@@ -211,11 +217,16 @@
211217
"@stdlib/array-int16": "^0.1.1",
212218
"@stdlib/array-int32": "^0.1.1",
213219
"@stdlib/array-int8": "^0.1.1",
220+
"@stdlib/array-mostly-safe-casts": "github:stdlib-js/array-mostly-safe-casts#main",
221+
"@stdlib/array-safe-casts": "^0.1.0",
222+
"@stdlib/array-same-kind-casts": "^0.1.0",
214223
"@stdlib/array-typed-real-dtypes": "^0.1.1",
215224
"@stdlib/array-uint16": "^0.1.1",
216225
"@stdlib/array-uint32": "^0.1.1",
217226
"@stdlib/array-uint8": "^0.1.1",
218227
"@stdlib/array-uint8c": "^0.1.1",
228+
"@stdlib/array-zero-to": "^0.1.0",
229+
"@stdlib/array-zeros": "^0.1.0",
219230
"@stdlib/assert-has-own-property": "^0.1.1",
220231
"@stdlib/assert-instance-of": "^0.1.1",
221232
"@stdlib/assert-is-array": "^0.1.1",
@@ -227,6 +238,7 @@
227238
"@stdlib/assert-is-function": "^0.1.1",
228239
"@stdlib/assert-is-int32array": "^0.1.1",
229240
"@stdlib/assert-is-integer": "^0.1.0",
241+
"@stdlib/assert-is-nan": "^0.1.1",
230242
"@stdlib/assert-is-negative-integer": "^0.1.0",
231243
"@stdlib/assert-is-nonnegative-integer": "^0.1.0",
232244
"@stdlib/assert-is-plain-object": "^0.1.1",
@@ -237,6 +249,7 @@
237249
"@stdlib/assert-is-same-complex64array": "^0.1.0",
238250
"@stdlib/assert-is-same-float64array": "^0.1.0",
239251
"@stdlib/assert-is-same-value": "^0.1.1",
252+
"@stdlib/blas-base-gcopy": "^0.1.0",
240253
"@stdlib/blas-base-gscal": "^0.1.1",
241254
"@stdlib/blas-ext-base-gfill": "^0.1.0",
242255
"@stdlib/blas-ext-base-grev": "^0.1.0",
@@ -275,6 +288,9 @@
275288
"@stdlib/random-base-discrete-uniform": "^0.1.0",
276289
"@stdlib/random-base-randu": "^0.1.0",
277290
"@stdlib/random-base-uniform": "^0.1.0",
291+
"@stdlib/slice-base-length": "^0.1.1",
292+
"@stdlib/slice-base-normalize-slice": "^0.1.0",
293+
"@stdlib/slice-ctor": "^0.1.0",
278294
"@stdlib/strided-base-reinterpret-complex128": "^0.1.1",
279295
"@stdlib/strided-base-reinterpret-complex64": "^0.1.1",
280296
"@stdlib/string-format": "^0.1.1",

0 commit comments

Comments
 (0)