From a4e9b0099c26213924898cab2c247f7028c27642 Mon Sep 17 00:00:00 2001 From: Claude Date: Wed, 29 Apr 2026 04:35:49 +0000 Subject: [PATCH 1/5] docs: align `_tools/lint/pkg-json-names` with namespace JSDoc conventions Normalize `clbk` JSDoc type from `{Function}` to `{Callback}` in `lib/async.js` to match the convention used by 7/8 (87.5%) sibling packages in `_tools/lint`. The package's own `lib/lint.js` already uses `{Callback}`, so this also fixes an internal inconsistency. https://claude.ai/code/session_01UD2CQnJzjycfDbQ5DF4R96 --- .../@stdlib/_tools/lint/pkg-json-names/lib/async.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/node_modules/@stdlib/_tools/lint/pkg-json-names/lib/async.js b/lib/node_modules/@stdlib/_tools/lint/pkg-json-names/lib/async.js index e538e1e0b95b..06de6f8e880e 100644 --- a/lib/node_modules/@stdlib/_tools/lint/pkg-json-names/lib/async.js +++ b/lib/node_modules/@stdlib/_tools/lint/pkg-json-names/lib/async.js @@ -44,7 +44,7 @@ var debug = logger( 'lint:pkg-json-names:async' ); * @param {string} [options.dir] - root directory from which to search for package.json files to lint * @param {string} [options.pattern] - glob pattern * @param {(string|StringArray)} [options.ignore] - glob pattern(s) to exclude -* @param {Function} clbk - callback to invoke upon completion +* @param {Callback} clbk - callback to invoke upon completion * @throws {TypeError} must provide valid options * @throws {TypeError} callback argument must be a function * From 7dfdc9b57c1a3e6e4094314786f26263ee4c34c2 Mon Sep 17 00:00:00 2001 From: Athan Date: Tue, 28 Apr 2026 21:27:21 -0700 Subject: [PATCH 2/5] feat: add `scartesianSquare` to namespace --- 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: passed - task: lint_javascript_cli status: na - task: lint_javascript_examples status: na - task: lint_javascript_tests status: na - task: lint_javascript_benchmarks status: na - 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 --- --- lib/node_modules/@stdlib/blas/ext/base/lib/index.js | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/lib/node_modules/@stdlib/blas/ext/base/lib/index.js b/lib/node_modules/@stdlib/blas/ext/base/lib/index.js index 50dbf0f789b9..9b383f44c2e9 100644 --- a/lib/node_modules/@stdlib/blas/ext/base/lib/index.js +++ b/lib/node_modules/@stdlib/blas/ext/base/lib/index.js @@ -1224,6 +1224,15 @@ setReadOnly( ns, 'sapxsumpw', require( '@stdlib/blas/ext/base/sapxsumpw' ) ); */ setReadOnly( ns, 'sasumpw', require( '@stdlib/blas/ext/base/sasumpw' ) ); +/** +* @name scartesianSquare +* @memberof ns +* @readonly +* @type {Function} +* @see {@link module:@stdlib/blas/ext/base/scartesian-square} +*/ +setReadOnly( ns, 'scartesianSquare', require( '@stdlib/blas/ext/base/scartesian-square' ) ); + /** * @name scircshift * @memberof ns From 532579f961545894f2357811fe49058641fee557 Mon Sep 17 00:00:00 2001 From: Athan Date: Tue, 28 Apr 2026 21:28:05 -0700 Subject: [PATCH 3/5] feat: add `reinterpretComplex` to namespace --- 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: passed - task: lint_javascript_cli status: na - task: lint_javascript_examples status: na - task: lint_javascript_tests status: na - task: lint_javascript_benchmarks status: na - 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 --- --- lib/node_modules/@stdlib/ndarray/base/lib/index.js | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/lib/node_modules/@stdlib/ndarray/base/lib/index.js b/lib/node_modules/@stdlib/ndarray/base/lib/index.js index f0018b07bb94..d90be8015bdd 100644 --- a/lib/node_modules/@stdlib/ndarray/base/lib/index.js +++ b/lib/node_modules/@stdlib/ndarray/base/lib/index.js @@ -1174,6 +1174,15 @@ setReadOnly( ns, 'quinaryBlockSize', require( '@stdlib/ndarray/base/quinary-tili */ setReadOnly( ns, 'reinterpretBoolean', require( '@stdlib/ndarray/base/reinterpret-boolean' ) ); +/** +* @name reinterpretComplex +* @memberof ns +* @readonly +* @type {Function} +* @see {@link module:@stdlib/ndarray/base/reinterpret-complex} +*/ +setReadOnly( ns, 'reinterpretComplex', require( '@stdlib/ndarray/base/reinterpret-complex' ) ); + /** * @name reinterpretComplex64 * @memberof ns From dfa1d6d67a71a903fbdf9e919073a828162c5206 Mon Sep 17 00:00:00 2001 From: Claude Date: Wed, 29 Apr 2026 16:18:28 +0000 Subject: [PATCH 4/5] test: align `_tools/lint/namespace-aliases` with namespace conventions Added the missing `test/test.js` smoke test (present in 89% of siblings in `_tools/lint/*`), verifying the main export is a function and exposes a `.sync` method. https://claude.ai/code/session_01AUoXAip8PZ8HxKqdgZi98C --- .../lint/namespace-aliases/test/test.js | 38 +++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 lib/node_modules/@stdlib/_tools/lint/namespace-aliases/test/test.js diff --git a/lib/node_modules/@stdlib/_tools/lint/namespace-aliases/test/test.js b/lib/node_modules/@stdlib/_tools/lint/namespace-aliases/test/test.js new file mode 100644 index 000000000000..6b594ee7e7a9 --- /dev/null +++ b/lib/node_modules/@stdlib/_tools/lint/namespace-aliases/test/test.js @@ -0,0 +1,38 @@ +/** +* @license Apache-2.0 +* +* Copyright (c) 2018 The Stdlib Authors. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +*/ + +'use strict'; + +// MODULES // + +var tape = require( 'tape' ); +var lint = require( './../lib' ); + + +// TESTS // + +tape( 'main export is a function', function test( t ) { + t.ok( true, __filename ); + t.strictEqual( typeof lint, 'function', 'main export is a function' ); + t.end(); +}); + +tape( 'attached to the main export is a method to synchronously lint namespace aliases', function test( t ) { + t.strictEqual( typeof lint.sync, 'function', 'has sync method' ); + t.end(); +}); From d2d38b223e599046f054dd890207e5e54ffaf253 Mon Sep 17 00:00:00 2001 From: Claude Date: Wed, 29 Apr 2026 16:30:06 +0000 Subject: [PATCH 5/5] chore: bump copyright year to 2026 in newly-added `_tools/lint/namespace-aliases/test/test.js` The `Lint Copyright Years` workflow checks newly-added files for the current year in the copyright notice. Bumping from 2018 (which appears to have been carried over from the boilerplate) to 2026. https://claude.ai/code/session_01UD2CQnJzjycfDbQ5DF4R96 --- .../@stdlib/_tools/lint/namespace-aliases/test/test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/node_modules/@stdlib/_tools/lint/namespace-aliases/test/test.js b/lib/node_modules/@stdlib/_tools/lint/namespace-aliases/test/test.js index 6b594ee7e7a9..7667d0d2795b 100644 --- a/lib/node_modules/@stdlib/_tools/lint/namespace-aliases/test/test.js +++ b/lib/node_modules/@stdlib/_tools/lint/namespace-aliases/test/test.js @@ -1,7 +1,7 @@ /** * @license Apache-2.0 * -* Copyright (c) 2018 The Stdlib Authors. +* Copyright (c) 2026 The Stdlib Authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License.