diff --git a/.editorconfig b/.editorconfig index 13e9c39..60d743f 100644 --- a/.editorconfig +++ b/.editorconfig @@ -148,11 +148,6 @@ indent_size = 2 indent_style = space indent_size = 2 -# Set properties for `tslint.json` files: -[tslint.json] -indent_style = space -indent_size = 2 - # Set properties for `tsconfig.json` files: [tsconfig.json] indent_style = space diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 0037bdb..8b8977f 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -119,7 +119,7 @@ jobs: # For all dependencies, check in all *.js files if they are still used; if not, remove them: jq -r '.dependencies | keys[]' ./package.json | while read -r dep; do dep=$(echo "$dep" | xargs) - if ! grep -q "$dep" lib/** && ! grep -q -s "$dep" manifest.json && ! grep -q -s "$dep" include.gypi; then + if ! find lib -name "*.js" -exec grep -q "$dep" {} + && ! grep -q -s "$dep" manifest.json && ! grep -q -s "$dep" include.gypi; then jq --indent 2 "del(.dependencies[\"$dep\"])" ./package.json > ./package.json.tmp mv ./package.json.tmp ./package.json fi @@ -129,7 +129,7 @@ jobs: continue fi dep=$(echo "$dep" | xargs) - if ! grep -q "$dep" lib/** && ! grep -q -s "$dep" manifest.json && ! grep -q -s "$dep" include.gypi; then + if ! find lib -name "*.js" -exec grep -q "$dep" {} + && ! grep -q -s "$dep" manifest.json && ! grep -q -s "$dep" include.gypi; then jq --indent 2 "del(.devDependencies[\"$dep\"])" ./package.json > ./package.json.tmp mv ./package.json.tmp ./package.json fi diff --git a/CONTRIBUTORS b/CONTRIBUTORS index 3bc3576..188cda8 100644 --- a/CONTRIBUTORS +++ b/CONTRIBUTORS @@ -9,6 +9,7 @@ Brendan Graetz Bruno Fenzl Christopher Dambamuromo Dan Rose +Daniel Killenberger Dominik Moritz Dorrin Sotoudeh Frank Kovacs diff --git a/README.md b/README.md index 0415426..4eb49b7 100644 --- a/README.md +++ b/README.md @@ -754,7 +754,7 @@ When a `fromIndex` is negative, the starting index is resolved relative to the l ```javascript var arr = new Uint8ClampedArray( [ 1, 2, 3 ] ); -bool = arr.includes( 1, -2 ); +var bool = arr.includes( 1, -2 ); // returns false ``` diff --git a/package.json b/package.json index 3afa225..a09dbb7 100644 --- a/package.json +++ b/package.json @@ -46,7 +46,7 @@ "@stdlib/assert-is-function": "^0.1.1", "@stdlib/assert-is-nonnegative-integer": "^0.1.0", "@stdlib/assert-is-uint8clampedarray": "^0.1.1", - "@stdlib/bench": "^0.2.0", + "@stdlib/bench": "^0.2.1", "@stdlib/math-base-special-pow": "^0.1.0", "@stdlib/math-base-special-round": "^0.1.1", "@stdlib/random-base-randi": "^0.1.0",