8000 Auto-generated commit · stdlib-js/ndarray-zeros-like@61a1c43 · GitHub
[go: up one dir, main page]

Skip to content

Commit 61a1c43

Browse files
committed
Auto-generated commit
1 parent fa4e9ab commit 61a1c43

File tree

5 files changed

+16
-16
lines changed

5 files changed

+16
-16
lines changed

.editorconfig

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -148,11 +148,6 @@ indent_size = 2
148148
indent_style = space
149149
indent_size = 2
150150

151-
# Set properties for `tslint.json` files:
152-
[tslint.json]
153-
indent_style = space
154-
indent_size = 2
155-
156151
# Set properties for `tsconfig.json` files:
157152
[tsconfig.json]
158153
indent_style = space

.github/workflows/publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ jobs:
119119
# For all dependencies, check in all *.js files if they are still used; if not, remove them:
120120
jq -r '.dependencies | keys[]' ./package.json | while read -r dep; do
121121
dep=$(echo "$dep" | xargs)
122-
if ! grep -q "$dep" lib/** && ! grep -q -s "$dep" manifest.json && ! grep -q -s "$dep" include.gypi; then
122+
if ! find lib -name "*.js" -exec grep -q "$dep" {} + && ! grep -q -s "$dep" manifest.json && ! grep -q -s "$dep" include.gypi; then
123123
jq --indent 2 "del(.dependencies[\"$dep\"])" ./package.json > ./package.json.tmp
124124
mv ./package.json.tmp ./package.json
125125
fi
@@ -129,7 +129,7 @@ jobs:
129129
continue
130130
fi
131131
dep=$(echo "$dep" | xargs)
132-
if ! grep -q "$dep" lib/** && ! grep -q -s "$dep" manifest.json && ! grep -q -s "$dep" include.gypi; then
132+
if ! find lib -name "*.js" -exec grep -q "$dep" {} + && ! grep -q -s "$dep" manifest.json && ! grep -q -s "$dep" include.gypi; then
133133
jq --indent 2 "del(.devDependencies[\"$dep\"])" ./package.json > ./package.json.tmp
134134
mv ./package.json.tmp ./package.json
135135
fi

CONTRIBUTORS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ Brendan Graetz <bguiz@users.noreply.github.com>
99
Bruno Fenzl <brunofenzl@gmail.com>
1010
Christopher Dambamuromo <chridam@gmail.com>
1111
Dan Rose <danoftheroses@gmail.com>
12+
Daniel Killenberger <daniel.killenberger@gmail.com>
1213
Dominik Moritz <domoritz@gmail.com>
1314
Dorrin Sotoudeh <dorrinsotoudeh123@gmail.com>
1415
Frank Kovacs <fran70kk@gmail.com>

docs/repl.txt

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -31,21 +31,25 @@
3131
options.mode: string (optional)
3232
Specifies how to handle indices which exceed array dimensions. If equal
3333
to 'throw', an ndarray instance throws an error when an index exceeds
34+
array dimensions. If equal to 'normalize', an ndarray instance
35+
normalizes negative indices and throws an error when an index exceeds
3436
array dimensions. If equal to 'wrap', an ndarray instance wraps around
3537
indices exceeding array dimensions using modulo arithmetic. If equal to
36-
'clamp', an ndarray instance sets an index exceeding array dimensions to
37-
either `0` (minimum index) or the maximum index. Default: 'throw'.
38+
'clamp', an ndarray instance sets an index exceeding array dimensions
39+
to either `0` (minimum index) or the maximum index. Default: 'throw'.
3840

3941
options.submode: Array<string> (optional)
4042
Specifies how to handle subscripts which exceed array dimensions. If a
4143
mode for a corresponding dimension is equal to 'throw', an ndarray
4244
instance throws an error when a subscript exceeds array dimensions. If
43-
equal to 'wrap', an ndarray instance wraps around subscripts exceeding
44-
array dimensions using modulo arithmetic. If equal to 'clamp', an
45-
ndarray instance sets a subscript exceeding array dimensions to either
46-
`0` (minimum index) or the maximum index. If the number of modes is
47-
fewer than the number of dimensions, the function recycles modes using
48-
modulo arithmetic. Default: [ options.mode ].
45+
equal to 'normalize', an ndarray instance normalizes negative
46+
subscripts and throws an error when a subscript exceeds array
47+
dimensions. If equal to 'wrap', an ndarray instance wraps around
48+
subscripts exceeding array dimensions using modulo arithmetic. If equal
49+
to 'clamp', an ndarray instance sets a subscript exceeding array
50+
dimensions to either `0` (minimum index) or the maximum index. If the
51+
number of modes is fewer than the number of dimensions, the function
52+
recycles modes using modulo arithmetic. Default: [ options.mode ].
4953

5054
options.readonly: boolean (optional)
5155
Boolean indicating whether an array should be read-only. Default: false.

package.json

Lines changed: 1 addition & 1 deletion
32D2
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@
6565
"@stdlib/array-uint8": "^0.1.1",
6666
"@stdlib/array-uint8c": "^0.1.1",
6767
"@stdlib/assert-instance-of": "^0.1.1",
68-
"@stdlib/bench": "^0.2.0",
68+
"@stdlib/bench": "^0.2.1",
6969
"@stdlib/math-base-special-pow": "^0.1.0",
7070
"@stdlib/ndarray-base-zeros": "^0.1.0",
7171
"@stdlib/ndarray-dtypes": "^0.1.0",

0 commit comments

Comments
 (0)
0