From dd1692d12262b969a7a90bcb9759090463b9eb09 Mon Sep 17 00:00:00 2001 From: MANDEep22332 Date: Thu, 12 Mar 2026 08:56:08 +0000 Subject: [PATCH 1/4] chore: fix lint errors (#10906) --- type: pre_commit_static_analysis_report description: Results of running static analysis checks when committing changes. report: - task: lint_filenames status: passed - task: lint_editorconfig status: passed - task: lint_markdown status: na - task: lint_package_json status: na - task: lint_repl_help status: na - task: lint_javascript_src status: na - task: lint_javascript_cli status: na - task: lint_javascript_examples status: na - task: lint_javascript_tests status: na - task: lint_javascript_benchmarks status: passed - task: lint_python status: na - task: lint_r status: na - task: lint_c_src status: na - task: lint_c_examples status: na - task: lint_c_benchmarks status: na - task: lint_c_tests_fixtures status: na - task: lint_shell status: na - task: lint_typescript_declarations status: passed - task: lint_typescript_tests status: na - task: lint_license_headers status: passed --- --- .../@stdlib/assert/is-negative-zero/benchmark/benchmark.js | 2 +- .../@stdlib/process/umask/scripts/binary_to_symbolic.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/node_modules/@stdlib/assert/is-negative-zero/benchmark/benchmark.js b/lib/node_modules/@stdlib/assert/is-negative-zero/benchmark/benchmark.js index f1f29385cc05..3841b6921b58 100644 --- a/lib/node_modules/@stdlib/assert/is-negative-zero/benchmark/benchmark.js +++ b/lib/node_modules/@stdlib/assert/is-negative-zero/benchmark/benchmark.js @@ -16,7 +16,7 @@ * limitations under the License. */ -/* eslint-disable no-new-wrappers, no-undefined, no-empty-function */ +/* eslint-disable no-undefined, no-empty-function */ 'use strict'; diff --git a/lib/node_modules/@stdlib/process/umask/scripts/binary_to_symbolic.js b/lib/node_modules/@stdlib/process/umask/scripts/binary_to_symbolic.js index f2d67aad14e8..4406a65c4d6b 100644 --- a/lib/node_modules/@stdlib/process/umask/scripts/binary_to_symbolic.js +++ b/lib/node_modules/@stdlib/process/umask/scripts/binary_to_symbolic.js @@ -37,7 +37,7 @@ var j; TOTAL = 8 * 8 * 8 * 8; // For each integer value (octal number), determine the symbolic notation equivalent to the value's binary representation... -masks = new Array( TOTAL ); +masks = []; for ( i = 0; i < TOTAL; i++ ) { tmp = ''; From bc2d455079348f881d6f062f99bb8fe4e4746975 Mon Sep 17 00:00:00 2001 From: MANDEep22332 Date: Fri, 13 Mar 2026 01:58:26 +0000 Subject: [PATCH 2/4] chore: fix javascript error #10906 --- type: pre_commit_static_analysis_report description: Results of running static analysis checks when committing changes. report: - task: lint_filenames status: passed - task: lint_editorconfig status: passed - task: lint_markdown status: na - task: lint_package_json status: na - task: lint_repl_help status: na - task: lint_javascript_src status: na - task: lint_javascript_cli status: na - task: lint_javascript_examples status: na - task: lint_javascript_tests status: na - task: lint_javascript_benchmarks status: passed - task: lint_python status: na - task: lint_r status: na - task: lint_c_src status: na - task: lint_c_examples status: na - task: lint_c_benchmarks status: na - task: lint_c_tests_fixtures status: na - task: lint_shell status: na - task: lint_typescript_declarations status: passed - task: lint_typescript_tests status: na - task: lint_license_headers status: passed --- From a1693bb75a312975dfe2654d57c44c4fd960e4c4 Mon Sep 17 00:00:00 2001 From: MANDEep22332 Date: Wed, 18 Mar 2026 06:20:17 +0000 Subject: [PATCH 3/4] fixing the linting errors --- .../math/strided/special/acoversin-by/test/test.main.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/node_modules/@stdlib/math/strided/special/acoversin-by/test/test.main.js b/lib/node_modules/@stdlib/math/strided/special/acoversin-by/test/test.main.js index 34e5907d4656..e39d2b70d53a 100644 --- a/lib/node_modules/@stdlib/math/strided/special/acoversin-by/test/test.main.js +++ b/lib/node_modules/@stdlib/math/strided/special/acoversin-by/test/test.main.js @@ -74,7 +74,8 @@ tape( 'the function computes the inverse coversed sine via a callback function', acoversinBy( x.length, x, 1, y, 1, accessor ); t.deepEqual( y, expected, 'deep equal' ); - x = new Array( 5 ); // sparse array + x = []; // sparse array + x.length = 5; y = [ 0.0, 0.0, 0.0, 0.0, 0.0 ]; expected = [ 0.0, 0.0, 0.0, 0.0, 0.0 ]; From 1af74db0485d6134ed505ce963805bc542566518 Mon Sep 17 00:00:00 2001 From: MANDEep22332 Date: Wed, 18 Mar 2026 06:36:23 +0000 Subject: [PATCH 4/4] fix lint errors --- cspell.json | 9 +++++++++ .../special/acoversin-by/test/test.main.js | 3 ++- package.json | 18 ++++++++++++++---- 3 files changed, 25 insertions(+), 5 deletions(-) create mode 100644 cspell.json diff --git a/cspell.json b/cspell.json new file mode 100644 index 000000000000..bac919b8dce8 --- /dev/null +++ b/cspell.json @@ -0,0 +1,9 @@ +{ + "version": "0.2", + "words": [ + "ndone", + "nerrors", + "stdlib", + "anyby" + ] +} diff --git a/lib/node_modules/@stdlib/math/strided/special/acoversin-by/test/test.main.js b/lib/node_modules/@stdlib/math/strided/special/acoversin-by/test/test.main.js index e39d2b70d53a..93db498e45ff 100644 --- a/lib/node_modules/@stdlib/math/strided/special/acoversin-by/test/test.main.js +++ b/lib/node_modules/@stdlib/math/strided/special/acoversin-by/test/test.main.js @@ -83,7 +83,8 @@ tape( 'the function computes the inverse coversed sine via a callback function', acoversinBy( x.length, x, 1, y, 1, accessor ); t.deepEqual( y, expected, 'deep equal' ); - x = new Array( 5 ); // sparse array + x = []; // sparse array + x.length = 5; x[ 2 ] = rand(); y = [ 0.0, 0.0, 0.0, 0.0, 0.0 ]; diff --git a/package.json b/package.json index e168d891abb3..e7243fb2a7a6 100644 --- a/package.json +++ b/package.json @@ -118,14 +118,14 @@ }, "devDependencies": { "0x": "^4.10.2", - "@cspell/eslint-plugin": "^8.8.0", "@commitlint/cli": "^17.4.4", "@commitlint/cz-commitlint": "^17.4.4", "@conventional-commits/parser": "^0.4.1", + "@cspell/eslint-plugin": "^8.8.0", "@kaciras/deasync": "^1.0.1", "@types/node": "^13.9.0", - "@typescript-eslint/parser": "^6.9.1", "@typescript-eslint/eslint-plugin": "^6.9.1", + "@typescript-eslint/parser": "^6.9.1", "ajv": "^5.2.2", "browser-pack-flat": "^3.0.0", "browserify": "^17.0.0", @@ -140,10 +140,10 @@ "editorconfig-checker": "^6.0.0", "envify": "^4.0.0", "eslint": "^8.57.0", - "eslint-plugin-node": "^11.1.0", "eslint-plugin-expect-type": "^0.2.3", "eslint-plugin-import": "^2.29.0", "eslint-plugin-jsdoc": "^46.8.2", + "eslint-plugin-node": "^11.1.0", "exorcist": "^2.0.0", "factor-bundle": "^2.5.0", "gh-pages": "git+https://github.com/Planeshifter/gh-pages.git#main", @@ -293,5 +293,15 @@ "ndarray", "numpy", "scipy" - ] + ], + "pnpm": { + "onlyBuiltDependencies": [ + "typedoc" + ], + "ignoredBuiltDependencies": [ + "@kaciras/deasync", + "es5-ext", + "highlight.js" + ] + } }