Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit5974ece

Browse files
committed
Auto-generated commit
1 parentd47faca commit5974ece

File tree

6 files changed

+9
-8
lines changed

6 files changed

+9
-8
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" -execgrep -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" -execgrep -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>

‎README.md‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,7 @@ The function accepts the following `options`:
145145
-**mode**: specifies how to handle indices which exceed array dimensions.
146146

147147
-`throw`: specifies that an[`ndarray`][@stdlib/ndarray/ctor] instance should throw an error when an index exceeds array dimensions.
148+
-`normalize`: specifies that an[`ndarray`][@stdlib/ndarray/ctor] instance should normalize negative indices and throw an error when an index exceeds array dimensions.
148149
-`wrap`: specifies that an[`ndarray`][@stdlib/ndarray/ctor] instance should wrap around an index exceeding array dimensions using modulo arithmetic.
149150
-`clamp`: specifies that an[`ndarray`][@stdlib/ndarray/ctor] instance should set an index exceeding array dimensions to either`0` (minimum index) or the maximum index.
150151

‎docs/repl.txt‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,8 @@
101101

102102
- 'throw': an ndarray instance throws an error when an index exceeds
103103
array dimensions.
104+
- 'normalize': an ndarray instance normalizes negative indices and
105+
throws an error when an index exceeds array dimensions.
104106
- 'wrap': an ndarray instance wraps around indices exceeding array
105107
dimensions using modulo arithmetic.
106108
- 'clamp', an ndarray instance sets an index exceeding array dimensions
@@ -114,6 +116,8 @@
114116

115117
- 'throw': an ndarray instance throws an error when a subscript exceeds
116118
array dimensions.
119+
- 'normalize': an ndarray instance normalizes negative subscripts and
120+
throws an error when a subscript exceeds array dimensions.
117121
- 'wrap': an ndarray instance wraps around subscripts exceeding array
118122
dimensions using modulo arithmetic.
119123
- 'clamp': an ndarray instance sets a subscript exceeding array

‎package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@
7777
},
7878
"devDependencies": {
7979
"@stdlib/array-float32":"^0.1.1",
80-
"@stdlib/bench":"^0.2.0",
80+
"@stdlib/bench":"^0.2.1",
8181
"tape":"git+https://github.com/kgryte/tape.git#fix/globby",
8282
"istanbul":"^0.4.1",
8383
"tap-min":"git+https://github.com/Planeshifter/tap-min.git"

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp