From a04961c214c167a7bf44a5e0c184fc82c1a0d33a Mon Sep 17 00:00:00 2001 From: GUNJ JOSHI Date: Sun, 16 Nov 2025 01:52:22 +0530 Subject: [PATCH 1/4] chore: add alias_prefix to parent namespaces --- 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: passed - 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: 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 --- --- .../@stdlib/complex/float32/base/package.json | 7 +- .../@stdlib/complex/float64/base/package.json | 7 +- .../@stdlib/math/base/special/package.json | 7 +- .../@stdlib/number/float32/base/package.json | 7 +- .../@stdlib/number/float64/base/package.json | 7 +- .../@stdlib/number/int16/base/package.json | 68 +++++++++++++++++++ .../@stdlib/number/int32/base/package.json | 7 +- .../@stdlib/number/int8/base/package.json | 68 +++++++++++++++++++ .../@stdlib/number/uint16/base/package.json | 7 +- .../@stdlib/number/uint32/base/package.json | 7 +- .../@stdlib/number/uint8/base/package.json | 7 +- 11 files changed, 190 insertions(+), 9 deletions(-) create mode 100644 lib/node_modules/@stdlib/number/int16/base/package.json create mode 100644 lib/node_modules/@stdlib/number/int8/base/package.json diff --git a/lib/node_modules/@stdlib/complex/float32/base/package.json b/lib/node_modules/@stdlib/complex/float32/base/package.json index d113306f12f2..0d003d33d269 100644 --- a/lib/node_modules/@stdlib/complex/float32/base/package.json +++ b/lib/node_modules/@stdlib/complex/float32/base/package.json @@ -58,5 +58,10 @@ "ns", "float32", "base" - ] + ], + "__stdlib__": { + "scaffold": { + "alias_prefix": "stdlib_base_complex64_" + } + } } diff --git a/lib/node_modules/@stdlib/complex/float64/base/package.json b/lib/node_modules/@stdlib/complex/float64/base/package.json index 2d3f356e47f8..394a68e4bd4b 100644 --- a/lib/node_modules/@stdlib/complex/float64/base/package.json +++ b/lib/node_modules/@stdlib/complex/float64/base/package.json @@ -58,5 +58,10 @@ "ns", "float64", "base" - ] + ], + "__stdlib__": { + "scaffold": { + "alias_prefix": "stdlib_base_complex128_" + } + } } diff --git a/lib/node_modules/@stdlib/math/base/special/package.json b/lib/node_modules/@stdlib/math/base/special/package.json index 59fb2077e1e5..094e8ac1ece5 100644 --- a/lib/node_modules/@stdlib/math/base/special/package.json +++ b/lib/node_modules/@stdlib/math/base/special/package.json @@ -56,5 +56,10 @@ "lib", "mathematics", "math" - ] + ], + "__stdlib__": { + "scaffold": { + "alias_prefix": "stdlib_base_" + } + } } diff --git a/lib/node_modules/@stdlib/number/float32/base/package.json b/lib/node_modules/@stdlib/number/float32/base/package.json index 202272711e8a..dc2c6f72708d 100644 --- a/lib/node_modules/@stdlib/number/float32/base/package.json +++ b/lib/node_modules/@stdlib/number/float32/base/package.json @@ -62,5 +62,10 @@ "number", "32-bit", "ieee754" - ] + ], + "__stdlib__": { + "scaffold": { + "alias_prefix": "stdlib_base_float32_" + } + } } diff --git a/lib/node_modules/@stdlib/number/float64/base/package.json b/lib/node_modules/@stdlib/number/float64/base/package.json index e2832c60c4f4..8687def9b5d0 100644 --- a/lib/node_modules/@stdlib/number/float64/base/package.json +++ b/lib/node_modules/@stdlib/number/float64/base/package.json @@ -61,5 +61,10 @@ "number", "64-bit", "ieee754" - ] + ], + "__stdlib__": { + "scaffold": { + "alias_prefix": "stdlib_base_float64_" + } + } } diff --git a/lib/node_modules/@stdlib/number/int16/base/package.json b/lib/node_modules/@stdlib/number/int16/base/package.json new file mode 100644 index 000000000000..b8f5b8f142b3 --- /dev/null +++ b/lib/node_modules/@stdlib/number/int16/base/package.json @@ -0,0 +1,68 @@ +{ + "name": "@stdlib/number/int16/base", + "version": "0.0.0", + "description": "Base utilities for signed 16-bit integers.", + "license": "Apache-2.0", + "author": { + "name": "The Stdlib Authors", + "url": "https://github.com/stdlib-js/stdlib/graphs/contributors" + }, + "contributors": [ + { + "name": "The Stdlib Authors", + "url": "https://github.com/stdlib-js/stdlib/graphs/contributors" + } + ], + "main": "lib/index.js", + "directories": { + "doc": "./docs", + "example": "./examples", + "lib": "./lib", + "test": "./test" + }, + "types": "./docs/types", + "scripts": {}, + "homepage": "https://github.com/stdlib-js/stdlib", + "repository": { + "type": "git", + "url": "git://github.com/stdlib-js/stdlib.git" + }, + "bugs": { + "url": "https://github.com/stdlib-js/stdlib/issues" + }, + "dependencies": {}, + "devDependencies": {}, + "engines": { + "node": ">=0.10.0", + "npm": ">2.7.0" + }, + "os": [ + "aix", + "darwin", + "freebsd", + "linux", + "macos", + "openbsd", + "sunos", + "win32", + "windows" + ], + "keywords": [ + "stdlib", + "stdtypes", + "types", + "base", + "namespace", + "ns", + "int16", + "signed", + "integer", + "int", + "16-bit" + ], + "__stdlib__": { + "scaffold": { + "alias_prefix": "stdlib_base_int16_" + } + } +} diff --git a/lib/node_modules/@stdlib/number/int32/base/package.json b/lib/node_modules/@stdlib/number/int32/base/package.json index d1334e7a8a13..df4021de8203 100644 --- a/lib/node_modules/@stdlib/number/int32/base/package.json +++ b/lib/node_modules/@stdlib/number/int32/base/package.json @@ -59,5 +59,10 @@ "integer", "int", "32-bit" - ] + ], + "__stdlib__": { + "scaffold": { + "alias_prefix": "stdlib_base_int32_" + } + } } diff --git a/lib/node_modules/@stdlib/number/int8/base/package.json b/lib/node_modules/@stdlib/number/int8/base/package.json new file mode 100644 index 000000000000..75731189145b --- /dev/null +++ b/lib/node_modules/@stdlib/number/int8/base/package.json @@ -0,0 +1,68 @@ +{ + "name": "@stdlib/number/int8/base", + "version": "0.0.0", + "description": "Base utilities for signed 8-bit integers.", + "license": "Apache-2.0", + "author": { + "name": "The Stdlib Authors", + "url": "https://github.com/stdlib-js/stdlib/graphs/contributors" + }, + "contributors": [ + { + "name": "The Stdlib Authors", + "url": "https://github.com/stdlib-js/stdlib/graphs/contributors" + } + ], + "main": "lib/index.js", + "directories": { + "doc": "./docs", + "example": "./examples", + "lib": "./lib", + "test": "./test" + }, + "types": "./docs/types", + "scripts": {}, + "homepage": "https://github.com/stdlib-js/stdlib", + "repository": { + "type": "git", + "url": "git://github.com/stdlib-js/stdlib.git" + }, + "bugs": { + "url": "https://github.com/stdlib-js/stdlib/issues" + }, + "dependencies": {}, + "devDependencies": {}, + "engines": { + "node": ">=0.10.0", + "npm": ">2.7.0" + }, + "os": [ + "aix", + "darwin", + "freebsd", + "linux", + "macos", + "openbsd", + "sunos", + "win32", + "windows" + ], + "keywords": [ + "stdlib", + "stdtypes", + "types", + "base", + "namespace", + "ns", + "int8", + "signed", + "integer", + "int", + "8-bit" + ], + "__stdlib__": { + "scaffold": { + "alias_prefix": "stdlib_base_int8_" + } + } +} diff --git a/lib/node_modules/@stdlib/number/uint16/base/package.json b/lib/node_modules/@stdlib/number/uint16/base/package.json index 2462d6bec7f4..a034bfabae6a 100644 --- a/lib/node_modules/@stdlib/number/uint16/base/package.json +++ b/lib/node_modules/@stdlib/number/uint16/base/package.json @@ -59,5 +59,10 @@ "integer", "int", "16-bit" - ] + ], + "__stdlib__": { + "scaffold": { + "alias_prefix": "stdlib_base_uint16_" + } + } } diff --git a/lib/node_modules/@stdlib/number/uint32/base/package.json b/lib/node_modules/@stdlib/number/uint32/base/package.json index e4fd30edd82d..401b3f4dd5f0 100644 --- a/lib/node_modules/@stdlib/number/uint32/base/package.json +++ b/lib/node_modules/@stdlib/number/uint32/base/package.json @@ -59,5 +59,10 @@ "integer", "int", "32-bit" - ] + ], + "__stdlib__": { + "scaffold": { + "alias_prefix": "stdlib_base_uint32_" + } + } } diff --git a/lib/node_modules/@stdlib/number/uint8/base/package.json b/lib/node_modules/@stdlib/number/uint8/base/package.json index 7db588fe3443..893c962e0f33 100644 --- a/lib/node_modules/@stdlib/number/uint8/base/package.json +++ b/lib/node_modules/@stdlib/number/uint8/base/package.json @@ -59,5 +59,10 @@ "integer", "int", "8-bit" - ] + ], + "__stdlib__": { + "scaffold": { + "alias_prefix": "stdlib_base_uint8_" + } + } } From adcdb8a333b68e9334c5294b716b8553db143d34 Mon Sep 17 00:00:00 2001 From: GUNJ JOSHI Date: Sun, 16 Nov 2025 02:00:17 +0530 Subject: [PATCH 2/4] chore: remove directories which do not exist --- 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: passed - 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: 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/number/int16/base/package.json | 7 +------ lib/node_modules/@stdlib/number/int8/base/package.json | 7 +------ 2 files changed, 2 insertions(+), 12 deletions(-) diff --git a/lib/node_modules/@stdlib/number/int16/base/package.json b/lib/node_modules/@stdlib/number/int16/base/package.json index b8f5b8f142b3..44fe6d14ae08 100644 --- a/lib/node_modules/@stdlib/number/int16/base/package.json +++ b/lib/node_modules/@stdlib/number/int16/base/package.json @@ -14,12 +14,7 @@ } ], "main": "lib/index.js", - "directories": { - "doc": "./docs", - "example": "./examples", - "lib": "./lib", - "test": "./test" - }, + "directories": {}, "types": "./docs/types", "scripts": {}, "homepage": "https://github.com/stdlib-js/stdlib", diff --git a/lib/node_modules/@stdlib/number/int8/base/package.json b/lib/node_modules/@stdlib/number/int8/base/package.json index 75731189145b..5319cc486c6a 100644 --- a/lib/node_modules/@stdlib/number/int8/base/package.json +++ b/lib/node_modules/@stdlib/number/int8/base/package.json @@ -14,12 +14,7 @@ } ], "main": "lib/index.js", - "directories": { - "doc": "./docs", - "example": "./examples", - "lib": "./lib", - "test": "./test" - }, + "directories": {}, "types": "./docs/types", "scripts": {}, "homepage": "https://github.com/stdlib-js/stdlib", From 0701f3bc27de7d236e52a5c56da57d7b9e2b3877 Mon Sep 17 00:00:00 2001 From: GUNJ JOSHI Date: Sun, 16 Nov 2025 02:10:20 +0530 Subject: [PATCH 3/4] feat: add index.js and tests --- 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: passed - 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 --- --- .../@stdlib/number/int16/base/lib/index.js | 51 +++++++++++++++++++ .../@stdlib/number/int16/base/test/test.js | 40 +++++++++++++++ .../@stdlib/number/int8/base/lib/index.js | 51 +++++++++++++++++++ .../@stdlib/number/int8/base/test/test.js | 40 +++++++++++++++ 4 files changed, 182 insertions(+) create mode 100644 lib/node_modules/@stdlib/number/int16/base/lib/index.js create mode 100644 lib/node_modules/@stdlib/number/int16/base/test/test.js create mode 100644 lib/node_modules/@stdlib/number/int8/base/lib/index.js create mode 100644 lib/node_modules/@stdlib/number/int8/base/test/test.js diff --git a/lib/node_modules/@stdlib/number/int16/base/lib/index.js b/lib/node_modules/@stdlib/number/int16/base/lib/index.js new file mode 100644 index 000000000000..4e7b02c0327c --- /dev/null +++ b/lib/node_modules/@stdlib/number/int16/base/lib/index.js @@ -0,0 +1,51 @@ +/** +* @license Apache-2.0 +* +* Copyright (c) 2025 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'; + +/* +* When adding modules to the namespace, ensure that they are added in alphabetical order according to module name. +*/ + +// MODULES // + +var setReadOnly = require( '@stdlib/utils/define-read-only-property' ); + + +// MAIN // + +/** +* Top-level namespace. +* +* @namespace ns +*/ +var ns = {}; + +/** +* @name identity +* @memberof ns +* @readonly +* @type {Function} +* @see {@link module:@stdlib/number/int16/base/identity} +*/ +setReadOnly( ns, 'identity', require( '@stdlib/number/int16/base/identity' ) ); + + +// EXPORTS // + +module.exports = ns; diff --git a/lib/node_modules/@stdlib/number/int16/base/test/test.js b/lib/node_modules/@stdlib/number/int16/base/test/test.js new file mode 100644 index 000000000000..85de573de8c2 --- /dev/null +++ b/lib/node_modules/@stdlib/number/int16/base/test/test.js @@ -0,0 +1,40 @@ +/** +* @license Apache-2.0 +* +* Copyright (c) 2025 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 objectKeys = require( '@stdlib/utils/keys' ); +var ns = require( './../lib' ); + + +// TESTS // + +tape( 'main export is an object', function test( t ) { + t.ok( true, __filename ); + t.strictEqual( typeof ns, 'object', 'main export is an object' ); + t.end(); +}); + +tape( 'the exported object contains key-value pairs', function test( t ) { + var keys = objectKeys( ns ); + t.strictEqual( keys.length > 0, true, 'has keys' ); + t.end(); +}); diff --git a/lib/node_modules/@stdlib/number/int8/base/lib/index.js b/lib/node_modules/@stdlib/number/int8/base/lib/index.js new file mode 100644 index 000000000000..afdbdd4ee779 --- /dev/null +++ b/lib/node_modules/@stdlib/number/int8/base/lib/index.js @@ -0,0 +1,51 @@ +/** +* @license Apache-2.0 +* +* Copyright (c) 2025 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'; + +/* +* When adding modules to the namespace, ensure that they are added in alphabetical order according to module name. +*/ + +// MODULES // + +var setReadOnly = require( '@stdlib/utils/define-read-only-property' ); + + +// MAIN // + +/** +* Top-level namespace. +* +* @namespace ns +*/ +var ns = {}; + +/** +* @name identity +* @memberof ns +* @readonly +* @type {Function} +* @see {@link module:@stdlib/number/int8/base/identity} +*/ +setReadOnly( ns, 'identity', require( '@stdlib/number/int8/base/identity' ) ); + + +// EXPORTS // + +module.exports = ns; diff --git a/lib/node_modules/@stdlib/number/int8/base/test/test.js b/lib/node_modules/@stdlib/number/int8/base/test/test.js new file mode 100644 index 000000000000..85de573de8c2 --- /dev/null +++ b/lib/node_modules/@stdlib/number/int8/base/test/test.js @@ -0,0 +1,40 @@ +/** +* @license Apache-2.0 +* +* Copyright (c) 2025 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 objectKeys = require( '@stdlib/utils/keys' ); +var ns = require( './../lib' ); + + +// TESTS // + +tape( 'main export is an object', function test( t ) { + t.ok( true, __filename ); + t.strictEqual( typeof ns, 'object', 'main export is an object' ); + t.end(); +}); + +tape( 'the exported object contains key-value pairs', function test( t ) { + var keys = objectKeys( ns ); + t.strictEqual( keys.length > 0, true, 'has keys' ); + t.end(); +}); From c31b37202c75a9dbf9e708888bd6e17c0a58c5c5 Mon Sep 17 00:00:00 2001 From: GUNJ JOSHI Date: Sun, 16 Nov 2025 02:13:59 +0530 Subject: [PATCH 4/4] chore: update directories --- 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: passed - 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: 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/number/int16/base/package.json | 5 ++++- lib/node_modules/@stdlib/number/int8/base/package.json | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/lib/node_modules/@stdlib/number/int16/base/package.json b/lib/node_modules/@stdlib/number/int16/base/package.json index 44fe6d14ae08..31b64df7cae8 100644 --- a/lib/node_modules/@stdlib/number/int16/base/package.json +++ b/lib/node_modules/@stdlib/number/int16/base/package.json @@ -14,7 +14,10 @@ } ], "main": "lib/index.js", - "directories": {}, + "directories": { + "lib": "./lib", + "test": "./test" + }, "types": "./docs/types", "scripts": {}, "homepage": "https://github.com/stdlib-js/stdlib", diff --git a/lib/node_modules/@stdlib/number/int8/base/package.json b/lib/node_modules/@stdlib/number/int8/base/package.json index 5319cc486c6a..b1ca6776b7ba 100644 --- a/lib/node_modules/@stdlib/number/int8/base/package.json +++ b/lib/node_modules/@stdlib/number/int8/base/package.json @@ -14,7 +14,10 @@ } ], "main": "lib/index.js", - "directories": {}, + "directories": { + "lib": "./lib", + "test": "./test" + }, "types": "./docs/types", "scripts": {}, "homepage": "https://github.com/stdlib-js/stdlib",