From 0f37cd200806cd521a99c6a822b10ed7b7f05452 Mon Sep 17 00:00:00 2001 From: MANDEep22332 Date: Wed, 1 Apr 2026 08:25:06 +0000 Subject: [PATCH 1/2] fixing the files --- etc/npm/deps.txt | 2 +- .../_tools/licenses/infer/package.json | 5 +- .../_tools/licenses/licenses/package.json | 5 +- .../licenses/reporters/root-deps/package.json | 5 +- package.json | 298 +----------------- 5 files changed, 11 insertions(+), 304 deletions(-) diff --git a/etc/npm/deps.txt b/etc/npm/deps.txt index ce3c5bbaed3f..8b137891791f 100644 --- a/etc/npm/deps.txt +++ b/etc/npm/deps.txt @@ -1 +1 @@ -acorn@"^8.1.0" acorn-loose@"^8.0.2" acorn-walk@"^8.0.2" d3-format@"^1.0.0" d3-scale@"^1.0.0" d3-shape@"^1.0.0" d3-time-format@"^2.0.0" debug@"^2.6.9" glob@"^7.0.5" minimist@"^1.2.0" readable-stream@"^2.1.4" resolve@"^1.1.7" vdom-to-html@"^2.3.0" virtual-dom@"^2.1.1" 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" @kaciras/deasync@"^1.0.1" @types/node@"^13.9.0" @typescript-eslint/parser@"^6.9.1" @typescript-eslint/eslint-plugin@"^6.9.1" ajv@"^5.2.2" browser-pack-flat@"^3.0.0" browserify@"^17.0.0" bundle-collapser@"^1.3.0" c8@"^7.12.0" chai@"^3.5.0" cheerio@"^1.0.0-rc.12" commitizen@"^4.3.0" common-shakeify@"^0.6.0" conventional-changelog-conventionalcommits@"^5.0.0" doctrine@"^3.0.0" 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" exorcist@"^2.0.0" factor-bundle@"^2.5.0" gh-pages@"git+https://github.com/Planeshifter/gh-pages.git#main" inquirer@"^8.0.0" jscodeshift@"^0.15.0" jsdoc@"^3.4.0" lunr@"^2.3.9" mathjax-node@"^2.0.1" mathjax-node-sre@"^3.0.0" mkdirp@"^0.5.1" mustache@"^4.0.0" parse-link-header@"^1.0.1" plato@"^1.5.0" process@"^0.11.10" proxyquire@"^2.0.0" proxyquire-universal@"^2.0.0" proxyquireify@"^3.1.1" read-installed@"^4.0.3" rehype@"^9.0.0" rehype-highlight@"^3.0.0" remark@"^11.0.1" remark-cli@"^7.0.0" remark-frontmatter@"^1.2.0" remark-html@"^10.0.0" remark-lint@"^6.0.0" remark-lint-blockquote-indentation@"^1.0.0" remark-lint-checkbox-character-style@"^1.0.0" remark-lint-checkbox-content-indent@"^1.0.0" remark-lint-code-block-style@"^1.0.0" remark-lint-definition-case@"^1.0.0" remark-lint-definition-spacing@"^1.0.0" remark-lint-emphasis-marker@"^1.0.0" remark-lint-fenced-code-flag@"^1.0.0" remark-lint-fenced-code-marker@"^1.0.0" remark-lint-file-extension@"^1.0.0" remark-lint-final-definition@"^1.0.0" remark-lint-final-newline@"^1.0.0" remark-lint-first-heading-level@"^1.1.0" remark-lint-hard-break-spaces@"^1.0.1" remark-lint-heading-increment@"^1.0.0" remark-lint-heading-style@"^1.0.0" remark-lint-linebreak-style@"^1.0.0" remark-lint-link-title-style@"^1.0.0" remark-lint-list-item-bullet-indent@"^1.0.0" remark-lint-list-item-content-indent@"^1.0.0" remark-lint-list-item-indent@"^1.0.0" remark-lint-list-item-spacing@"^1.1.0" remark-lint-maximum-heading-length@"^1.0.0" remark-lint-maximum-line-length@"^1.0.0" remark-lint-no-auto-link-without-protocol@"^1.0.0" remark-lint-no-blockquote-without-marker@"^2.0.0" remark-lint-no-consecutive-blank-lines@"^1.0.0" remark-lint-no-duplicate-definitions@"^1.0.0" remark-lint-no-duplicate-headings@"^1.0.0" remark-lint-no-duplicate-headings-in-section@"^1.0.0" remark-lint-no-emphasis-as-heading@"^1.0.0" remark-lint-no-empty-url@"^1.0.1" remark-lint-no-file-name-articles@"^1.0.0" remark-lint-no-file-name-consecutive-dashes@"^1.0.0" remark-lint-no-file-name-irregular-characters@"^1.0.0" remark-lint-no-file-name-mixed-case@"^1.0.0" remark-lint-no-file-name-outer-dashes@"^1.0.1" remark-lint-no-heading-content-indent@"^1.0.0" remark-lint-no-heading-indent@"^1.0.0" remark-lint-no-heading-like-paragraph@"^1.0.0" remark-lint-no-heading-punctuation@"^1.0.0" remark-lint-no-html@"^1.0.0" remark-lint-no-inline-padding@"^1.0.0" remark-lint-no-literal-urls@"^1.0.0" remark-lint-no-missing-blank-lines@"^1.0.0" remark-lint-no-multiple-toplevel-headings@"^1.0.0" remark-lint-no-paragraph-content-indent@"^1.0.1" remark-lint-no-reference-like-url@"^1.0.0" remark-lint-no-shell-dollars@"^1.0.0" remark-lint-no-shortcut-reference-image@"^1.0.0" remark-lint-no-shortcut-reference-link@"^1.0.1" remark-lint-no-table-indentation@"^1.0.0" remark-lint-no-tabs@"^1.0.0" remark-lint-no-trailing-spaces@"^3.0.2" remark-lint-no-undefined-references@"^1.0.0" remark-lint-no-unused-definitions@"^1.0.0" remark-lint-ordered-list-marker-style@"^1.0.0" remark-lint-ordered-list-marker-value@"^1.0.0" remark-lint-rule-style@"^1.0.0" remark-lint-strong-marker@"^1.0.0" remark-lint-table-cell-padding@"^1.0.0" remark-lint-table-pipe-alignment@"^1.0.0" remark-lint-table-pipes@"^1.0.0" remark-lint-unordered-list-marker-style@"^1.0.0" remark-slug@"^5.0.0" remark-unlink@"^2.0.0" remark-validate-links@"^9.0.1" remark-vdom@"^8.0.0" semver@"^6.0.0" source-map-explorer@"^2.5.3" spdx-license-ids@"^3.0.0" tap-min@"git+https://github.com/Planeshifter/tap-min.git" tap-spec@"5.x.x" tap-summary@"^4.0.0" tap-xunit@"^2.2.0" tape@"git+https://github.com/kgryte/tape.git#fix/globby" to-vfile@"^6.0.0" typedoc@"git+https://github.com/kgryte/typedoc.git#0.16.11-patch" typescript@"4.3.5" uglify-js@"^3.17.4" uglifyify@"^5.0.0" unified-lint-rule@"^1.0.1" unist-util-visit@"^2.0.0" unist-util-visit-parents@"^3.1.1" yaml@"^1.0.0" node-gyp@"^9.3.1" + diff --git a/lib/node_modules/@stdlib/_tools/licenses/infer/package.json b/lib/node_modules/@stdlib/_tools/licenses/infer/package.json index b944374ee412..92dd8e204479 100644 --- a/lib/node_modules/@stdlib/_tools/licenses/infer/package.json +++ b/lib/node_modules/@stdlib/_tools/licenses/infer/package.json @@ -31,8 +31,9 @@ "bugs": { "url": "https://github.com/stdlib-js/stdlib/issues" }, - "dependencies": {}, - "devDependencies": {}, + "dependencies": { + "debug": "^4.4.3" + }, "engines": { "node": ">=0.10.0", "npm": ">2.7.0" diff --git a/lib/node_modules/@stdlib/_tools/licenses/licenses/package.json b/lib/node_modules/@stdlib/_tools/licenses/licenses/package.json index 077e0db18df4..161c8c821536 100644 --- a/lib/node_modules/@stdlib/_tools/licenses/licenses/package.json +++ b/lib/node_modules/@stdlib/_tools/licenses/licenses/package.json @@ -31,8 +31,9 @@ "bugs": { "url": "https://github.com/stdlib-js/stdlib/issues" }, - "dependencies": {}, - "devDependencies": {}, + "dependencies": { + "debug": "^4.4.3" + }, "engines": { "node": ">=0.10.0", "npm": ">2.7.0" diff --git a/lib/node_modules/@stdlib/_tools/licenses/reporters/root-deps/package.json b/lib/node_modules/@stdlib/_tools/licenses/reporters/root-deps/package.json index 12ea4b639537..11c9834ea5d6 100644 --- a/lib/node_modules/@stdlib/_tools/licenses/reporters/root-deps/package.json +++ b/lib/node_modules/@stdlib/_tools/licenses/reporters/root-deps/package.json @@ -31,8 +31,9 @@ "bugs": { "url": "https://github.com/stdlib-js/stdlib/issues" }, - "dependencies": {}, - "devDependencies": {}, + "dependencies": { + "semver": "^7.7.4" + }, "engines": { "node": ">=0.10.0", "npm": ">2.7.0" diff --git a/package.json b/package.json index e168d891abb3..f28dee7b431c 100644 --- a/package.json +++ b/package.json @@ -1,297 +1 @@ -{ - "name": "@stdlib/stdlib", - "version": "0.3.2", - "description": "Standard library.", - "license": "Apache-2.0 AND BSL-1.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" - } - ], - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/stdlib" - }, - "bin": { - "stdlib": "./bin/cli" - }, - "main": "./lib", - "browser": { - "process": "process/" - }, - "directories": { - "doc": "./docs", - "example": "./examples", - "lib": "./lib", - "test": "./test" - }, - "types": "./docs/types", - "scripts": { - "notes": "make notes", - "lint": "make lint", - "repl": "make repl", - "test": "make test", - "test-cov": "make test-cov", - "view-cov": "make view-cov", - "examples": "make examples", - "benchmark": "make benchmark", - "clean": "make clean", - "check-deps": "make check-deps", - "check-licenses": "make check-licenses", - "postinstall": "tools/scripts/apply_patches" - }, - "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": { - "@stdlib/array": "^0.3.3", - "@stdlib/assert": "^0.3.3", - "@stdlib/bench": "^0.4.3", - "@stdlib/bigint": "^0.3.3", - "@stdlib/blas": "^0.3.3", - "@stdlib/boolean": "^0.3.3", - "@stdlib/buffer": "^0.3.3", - "@stdlib/cli": "^0.3.3", - "@stdlib/complex": "^0.3.3", - "@stdlib/console": "^0.3.3", - "@stdlib/constants": "^0.3.3", - "@stdlib/datasets": "^0.3.0", - "@stdlib/error": "^0.3.3", - "@stdlib/fs": "^0.3.3", - "@stdlib/function": "^0.3.3", - "@stdlib/iter": "^0.3.3", - "@stdlib/lapack": "^0.1.3", - "@stdlib/math": "^0.3.3", - "@stdlib/ml": "^0.3.3", - "@stdlib/namespace": "^0.3.3", - "@stdlib/napi": "^0.3.3", - "@stdlib/ndarray": "^0.3.3", - "@stdlib/net": "^0.3.3", - "@stdlib/nlp": "^0.3.3", - "@stdlib/number": "^0.3.3", - "@stdlib/object": "^0.3.3", - "@stdlib/os": "^0.3.3", - "@stdlib/plot": "^0.3.3", - "@stdlib/process": "^0.3.3", - "@stdlib/proxy": "^0.3.3", - "@stdlib/random": "^0.3.3", - "@stdlib/regexp": "^0.3.3", - "@stdlib/repl": "^0.3.3", - "@stdlib/simulate": "^0.3.3", - "@stdlib/slice": "^0.3.3", - "@stdlib/stats": "^0.3.3", - "@stdlib/streams": "^0.3.3", - "@stdlib/strided": "^0.3.3", - "@stdlib/string": "^0.3.3", - "@stdlib/symbol": "^0.3.3", - "@stdlib/time": "^0.3.3", - "@stdlib/types": "^0.4.3", - "@stdlib/utils": "^0.3.3", - "@stdlib/wasm": "^0.1.1", - "acorn": "^8.1.0", - "acorn-loose": "^8.0.2", - "acorn-walk": "^8.0.2", - "d3-format": "^1.0.0", - "d3-scale": "^1.0.0", - "d3-shape": "^1.0.0", - "d3-time-format": "^2.0.0", - "debug": "^2.6.9", - "glob": "^7.0.5", - "minimist": "^1.2.0", - "readable-stream": "^2.1.4", - "resolve": "^1.1.7", - "vdom-to-html": "^2.3.0", - "virtual-dom": "^2.1.1" - }, - "optionalDependencies": { - "node-gyp": "^9.3.1" - }, - "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", - "@kaciras/deasync": "^1.0.1", - "@types/node": "^13.9.0", - "@typescript-eslint/parser": "^6.9.1", - "@typescript-eslint/eslint-plugin": "^6.9.1", - "ajv": "^5.2.2", - "browser-pack-flat": "^3.0.0", - "browserify": "^17.0.0", - "bundle-collapser": "^1.3.0", - "c8": "^7.12.0", - "chai": "^3.5.0", - "cheerio": "^1.0.0-rc.12", - "commitizen": "^4.3.0", - "common-shakeify": "^0.6.0", - "conventional-changelog-conventionalcommits": "^5.0.0", - "doctrine": "^3.0.0", - "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", - "exorcist": "^2.0.0", - "factor-bundle": "^2.5.0", - "gh-pages": "git+https://github.com/Planeshifter/gh-pages.git#main", - "inquirer": "^8.0.0", - "jscodeshift": "^0.15.0", - "jsdoc": "^3.4.0", - "lunr": "^2.3.9", - "mathjax-node": "^2.0.1", - "mathjax-node-sre": "^3.0.0", - "mkdirp": "^0.5.1", - "mustache": "^4.0.0", - "parse-link-header": "^1.0.1", - "plato": "^1.5.0", - "process": "^0.11.10", - "proxyquire": "^2.0.0", - "proxyquire-universal": "^2.0.0", - "proxyquireify": "^3.1.1", - "read-installed": "^4.0.3", - "rehype": "^9.0.0", - "rehype-highlight": "^3.0.0", - "remark": "^11.0.1", - "remark-cli": "^7.0.0", - "remark-frontmatter": "^1.2.0", - "remark-html": "^10.0.0", - "remark-lint": "^6.0.0", - "remark-lint-blockquote-indentation": "^1.0.0", - "remark-lint-checkbox-character-style": "^1.0.0", - "remark-lint-checkbox-content-indent": "^1.0.0", - "remark-lint-code-block-style": "^1.0.0", - "remark-lint-definition-case": "^1.0.0", - "remark-lint-definition-spacing": "^1.0.0", - "remark-lint-emphasis-marker": "^1.0.0", - "remark-lint-fenced-code-flag": "^1.0.0", - "remark-lint-fenced-code-marker": "^1.0.0", - "remark-lint-file-extension": "^1.0.0", - "remark-lint-final-definition": "^1.0.0", - "remark-lint-final-newline": "^1.0.0", - "remark-lint-first-heading-level": "^1.1.0", - "remark-lint-hard-break-spaces": "^1.0.1", - "remark-lint-heading-increment": "^1.0.0", - "remark-lint-heading-style": "^1.0.0", - "remark-lint-linebreak-style": "^1.0.0", - "remark-lint-link-title-style": "^1.0.0", - "remark-lint-list-item-bullet-indent": "^1.0.0", - "remark-lint-list-item-content-indent": "^1.0.0", - "remark-lint-list-item-indent": "^1.0.0", - "remark-lint-list-item-spacing": "^1.1.0", - "remark-lint-maximum-heading-length": "^1.0.0", - "remark-lint-maximum-line-length": "^1.0.0", - "remark-lint-no-auto-link-without-protocol": "^1.0.0", - "remark-lint-no-blockquote-without-marker": "^2.0.0", - "remark-lint-no-consecutive-blank-lines": "^1.0.0", - "remark-lint-no-duplicate-definitions": "^1.0.0", - "remark-lint-no-duplicate-headings": "^1.0.0", - "remark-lint-no-duplicate-headings-in-section": "^1.0.0", - "remark-lint-no-emphasis-as-heading": "^1.0.0", - "remark-lint-no-empty-url": "^1.0.1", - "remark-lint-no-file-name-articles": "^1.0.0", - "remark-lint-no-file-name-consecutive-dashes": "^1.0.0", - "remark-lint-no-file-name-irregular-characters": "^1.0.0", - "remark-lint-no-file-name-mixed-case": "^1.0.0", - "remark-lint-no-file-name-outer-dashes": "^1.0.1", - "remark-lint-no-heading-content-indent": "^1.0.0", - "remark-lint-no-heading-indent": "^1.0.0", - "remark-lint-no-heading-like-paragraph": "^1.0.0", - "remark-lint-no-heading-punctuation": "^1.0.0", - "remark-lint-no-html": "^1.0.0", - "remark-lint-no-inline-padding": "^1.0.0", - "remark-lint-no-literal-urls": "^1.0.0", - "remark-lint-no-missing-blank-lines": "^1.0.0", - "remark-lint-no-multiple-toplevel-headings": "^1.0.0", - "remark-lint-no-paragraph-content-indent": "^1.0.1", - "remark-lint-no-reference-like-url": "^1.0.0", - "remark-lint-no-shell-dollars": "^1.0.0", - "remark-lint-no-shortcut-reference-image": "^1.0.0", - "remark-lint-no-shortcut-reference-link": "^1.0.1", - "remark-lint-no-table-indentation": "^1.0.0", - "remark-lint-no-tabs": "^1.0.0", - "remark-lint-no-trailing-spaces": "^3.0.2", - "remark-lint-no-undefined-references": "^1.0.0", - "remark-lint-no-unused-definitions": "^1.0.0", - "remark-lint-ordered-list-marker-style": "^1.0.0", - "remark-lint-ordered-list-marker-value": "^1.0.0", - "remark-lint-rule-style": "^1.0.0", - "remark-lint-strong-marker": "^1.0.0", - "remark-lint-table-cell-padding": "^1.0.0", - "remark-lint-table-pipe-alignment": "^1.0.0", - "remark-lint-table-pipes": "^1.0.0", - "remark-lint-unordered-list-marker-style": "^1.0.0", - "remark-slug": "^5.0.0", - "remark-unlink": "^2.0.0", - "remark-validate-links": "^9.0.1", - "remark-vdom": "^8.0.0", - "semver": "^6.0.0", - "source-map-explorer": "^2.5.3", - "spdx-license-ids": "^3.0.0", - "tap-min": "git+https://github.com/Planeshifter/tap-min.git", - "tap-spec": "5.x.x", - "tap-summary": "^4.0.0", - "tap-xunit": "^2.2.0", - "tape": "git+https://github.com/kgryte/tape.git#fix/globby", - "to-vfile": "^6.0.0", - "typedoc": "git+https://github.com/kgryte/typedoc.git#0.16.11-patch", - "typescript": "4.3.5", - "uglify-js": "^3.17.4", - "uglifyify": "^5.0.0", - "unified-lint-rule": "^1.0.1", - "unist-util-visit": "^2.0.0", - "unist-util-visit-parents": "^3.1.1", - "yaml": "^1.0.0" - }, - "engines": { - "node": ">=0.10.0", - "npm": ">2.7.0" - }, - "os": [ - "aix", - "darwin", - "freebsd", - "linux", - "macos", - "openbsd", - "sunos", - "win32", - "windows" - ], - "keywords": [ - "stdlib", - "stdlib-js", - "stdlib.js", - "js-stdlib", - "stdlibjs", - "standard", - "std", - "library", - "lib", - "libstd", - "numerical", - "numeric", - "mathematical", - "mathematics", - "math", - "scientific", - "machine learning", - "machine-learning", - "ml", - "ndarray", - "numpy", - "scipy" - ] -} +{"name":"@stdlib/stdlib","version":"0.0.0"} From 9b227227ae55163fedc3a80f8d7fee27b18ba9cb Mon Sep 17 00:00:00 2001 From: MANDEep22332 Date: Wed, 8 Apr 2026 03:39:13 +0000 Subject: [PATCH 2/2] chore: fix JavaScript lint errors --- 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 --- --- lib/node_modules/@stdlib/error/tools/msg2id/lib/index.js | 2 +- lib/node_modules/@stdlib/math/base/special/roundb/test/test.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/node_modules/@stdlib/error/tools/msg2id/lib/index.js b/lib/node_modules/@stdlib/error/tools/msg2id/lib/index.js index 8b8f704684a7..4a2c2d9a6155 100644 --- a/lib/node_modules/@stdlib/error/tools/msg2id/lib/index.js +++ b/lib/node_modules/@stdlib/error/tools/msg2id/lib/index.js @@ -27,7 +27,7 @@ * var msg2id = require( '@stdlib/error/tools/msg2id' ); * * var v = msg2id( 'invalid option. `%s` option must be an array. Option: `%s`.' ); -* // returns '8t' +* // returns '8Z' */ // MODULES // diff --git a/lib/node_modules/@stdlib/math/base/special/roundb/test/test.js b/lib/node_modules/@stdlib/math/base/special/roundb/test/test.js index ddb755865abd..56f7631234d4 100644 --- a/lib/node_modules/@stdlib/math/base/special/roundb/test/test.js +++ b/lib/node_modules/@stdlib/math/base/special/roundb/test/test.js @@ -162,7 +162,7 @@ tape( 'the function supports rounding a numeric value to a desired number of dec tape( 'due to floating-point rounding error, rounding a numeric value can result in unexpected behavior', function test( t ) { var x; - x = 0.2 + 0.1; // => 0.30000000000000004 + x = 0.2 + 0.1; // returns 0.30000000000000004 t.strictEqual( roundb( x, -16, 10 ), 0.3000000000000001, 'equals 0.3000000000000001 and not 0.3' ); x = 24.616838129811768;