From a2aed2301ed7adc0086c3433bf2b8b52a163a92c Mon Sep 17 00:00:00 2001 From: Philipp Burckhardt Date: Sun, 15 Mar 2026 13:59:59 -0500 Subject: [PATCH 1/3] build: add JSON and YAML linting via ESLint Ref: https://github.com/stdlib-js/metr-issue-tracker/issues/55 - Add `eslint-plugin-jsonc` and `eslint-plugin-yml` as devDependencies - Create `etc/eslint/rules/json.js` with 10 rules enforcing JSON spec compliance (indent, no-dupe-keys, comma-dangle, etc.) - Create `etc/eslint/rules/yaml.js` with 12 rules for YAML formatting and best practices (indent, block-mapping, quotes as warn, etc.) - Add 5 config blocks to `eslint.config.js`: base JSON, cli_opts.json tab override, package.json key ordering (canonical stdlib order), base YAML, and GitHub Actions workflow key ordering - Un-ignore `.github/` and `.codecov.yml` in global ESLint ignores - Create custom `stdlib/yaml-license-header` rule enforcing Apache-2.0 license header at the start of YAML files - Register the new rule in the stdlib ESLint plugin - Add `lint-json` and `lint-yaml` Make targets with `--cache` - Wire new targets into the top-level `lint` prerequisite --- 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: 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 --- --- eslint.config.js | 105 ++++++++++++ etc/eslint/rules/json.js | 121 ++++++++++++++ etc/eslint/rules/yaml.js | 144 +++++++++++++++++ .../@stdlib/_tools/eslint/rules/lib/index.js | 9 ++ .../rules/yaml-license-header/lib/index.js | 39 +++++ .../rules/yaml-license-header/lib/main.js | 152 ++++++++++++++++++ .../rules/yaml-license-header/package.json | 62 +++++++ .../test/fixtures/invalid.yml.txt | 2 + .../test/fixtures/valid.yml | 19 +++ .../rules/yaml-license-header/test/test.js | 43 +++++ package.json | 2 + tools/make/lib/lint/Makefile | 4 +- tools/make/lib/lint/json/eslint.mk | 64 ++++++++ tools/make/lib/lint/yaml/eslint.mk | 64 ++++++++ 14 files changed, 829 insertions(+), 1 deletion(-) create mode 100644 etc/eslint/rules/json.js create mode 100644 etc/eslint/rules/yaml.js create mode 100644 lib/node_modules/@stdlib/_tools/eslint/rules/yaml-license-header/lib/index.js create mode 100644 lib/node_modules/@stdlib/_tools/eslint/rules/yaml-license-header/lib/main.js create mode 100644 lib/node_modules/@stdlib/_tools/eslint/rules/yaml-license-header/package.json create mode 100644 lib/node_modules/@stdlib/_tools/eslint/rules/yaml-license-header/test/fixtures/invalid.yml.txt create mode 100644 lib/node_modules/@stdlib/_tools/eslint/rules/yaml-license-header/test/fixtures/valid.yml create mode 100644 lib/node_modules/@stdlib/_tools/eslint/rules/yaml-license-header/test/test.js create mode 100644 tools/make/lib/lint/json/eslint.mk create mode 100644 tools/make/lib/lint/yaml/eslint.mk diff --git a/eslint.config.js b/eslint.config.js index 665a1ab0ebfe..32fee239958b 100644 --- a/eslint.config.js +++ b/eslint.config.js @@ -32,10 +32,16 @@ var pluginCspell = require( '@cspell/eslint-plugin' ); var pluginJsdoc = require( 'eslint-plugin-jsdoc' ); var pluginImport = require( 'eslint-plugin-import' ); var pluginExpectType = require( 'eslint-plugin-expect-type' ); +var pluginJsonc = require( 'eslint-plugin-jsonc' ); +var jsoncParser = require( 'jsonc-eslint-parser' ); +var pluginYml = require( 'eslint-plugin-yml' ); +var yamlParser = require( 'yaml-eslint-parser' ); var assign = require( './lib/node_modules/@stdlib/object/assign' ); var stdlibPlugin = require( './lib/node_modules/@stdlib/_tools/eslint/rules/scripts/plugin.js' ); var rules = require( './etc/eslint/rules' ); var tsRules = require( './etc/eslint/rules/typescript.js' ); +var jsonRules = require( './etc/eslint/rules/json.js' ); +var yamlRules = require( './etc/eslint/rules/yaml.js' ); // VARIABLES // @@ -77,10 +83,14 @@ var restrictedSyntaxConfig = [ 'ImportDefaultSpecifier', 'ImportNamespaceSpecifier' ]; +var yamlConfigRules; // MAIN // +yamlConfigRules = assign( {}, yamlRules ); +yamlConfigRules[ 'stdlib/yaml-license-header' ] = 'error'; + var config = [ // Global ignores: { @@ -89,6 +99,8 @@ var config = [ '**/reports/', 'dist/', '.git*', + '!.github/', + '!.codecov.yml', // Un-ignore stdlib source (nested `node_modules` directories remain ignored by ESLint's defaults): '!lib/node_modules/' @@ -193,6 +205,99 @@ var config = [ 'rules': { 'jsdoc/require-jsdoc': 'off' } + }, + + // Base JSON: + { + 'files': [ '**/*.json' ], + 'languageOptions': { + 'parser': jsoncParser + }, + 'plugins': { + 'jsonc': pluginJsonc + }, + 'rules': jsonRules + }, + + // cli_opts.json override (tab-indented per .editorconfig): + { + 'files': [ '**/cli_opts.json' ], + 'rules': { + 'jsonc/indent': [ 'error', 'tab' ] + } + }, + + // package.json key ordering: + { + 'files': [ '**/package.json' ], + 'rules': { + 'jsonc/sort-keys': [ 'error', { + 'pathPattern': '^$', + 'order': [ + 'name', + 'private', + 'version', + 'description', + 'license', + 'licenses', + 'author', + 'maintainers', + 'contributors', + 'funding', + 'bin', + 'main', + 'exports', + 'browser', + 'unpkg', + 'gypfile', + 'directories', + 'types', + 'scripts', + 'homepage', + 'repository', + 'repositories', + 'bugs', + 'dependencies', + 'optionalDependencies', + 'devDependencies', + 'engines', + 'os', + 'keywords', + '__stdlib__' + ] + }] + } + }, + + // Base YAML: + { + 'files': [ '**/*.yml' ], + 'languageOptions': { + 'parser': yamlParser + }, + 'plugins': { + 'yml': pluginYml, + 'stdlib': stdlibPlugin + }, + 'rules': yamlConfigRules + }, + + // GitHub Actions workflow key ordering: + { + 'files': [ '.github/workflows/*.yml' ], + 'rules': { + 'yml/sort-keys': [ 'error', { + 'pathPattern': '^$', + 'order': [ + 'name', + 'on', + 'concurrency', + 'permissions', + 'env', + 'jobs' + ] + }] + } } ]; diff --git a/etc/eslint/rules/json.js b/etc/eslint/rules/json.js new file mode 100644 index 000000000000..a6bf9e3c2d92 --- /dev/null +++ b/etc/eslint/rules/json.js @@ -0,0 +1,121 @@ +/** +* @license Apache-2.0 +* +* 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. +* 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'; + +/** +* ESLint rules for JSON files. +* +* @namespace rules +*/ +var rules = {}; + +/** +* Enforce 2-space indentation per `.editorconfig`. +* +* @name jsonc/indent +* @memberof rules +* @type {Array} +*/ +rules[ 'jsonc/indent' ] = [ 'error', 2 ]; + +/** +* Disallow comments in JSON files. +* +* @name jsonc/no-comments +* @memberof rules +* @type {string} +*/ +rules[ 'jsonc/no-comments' ] = 'error'; + +/** +* Disallow trailing commas. +* +* @name jsonc/comma-dangle +* @memberof rules +* @type {Array} +*/ +rules[ 'jsonc/comma-dangle' ] = [ 'error', 'never' ]; + +/** +* Disallow duplicate keys. +* +* @name jsonc/no-dupe-keys +* @memberof rules +* @type {string} +*/ +rules[ 'jsonc/no-dupe-keys' ] = 'error'; + +/** +* Disallow floating decimals (e.g., `.5` or `1.`). +* +* @name jsonc/no-floating-decimal +* @memberof rules +* @type {string} +*/ +rules[ 'jsonc/no-floating-decimal' ] = 'error'; + +/** +* Disallow irregular whitespace characters. +* +* @name jsonc/no-irregular-whitespace +* @memberof rules +* @type {string} +*/ +rules[ 'jsonc/no-irregular-whitespace' ] = 'error'; + +/** +* Disallow multi-line strings. +* +* @name jsonc/no-multi-str +* @memberof rules +* @type {string} +*/ +rules[ 'jsonc/no-multi-str' ] = 'error'; + +/** +* Disallow octal literals. +* +* @name jsonc/no-octal +* @memberof rules +* @type {string} +*/ +rules[ 'jsonc/no-octal' ] = 'error'; + +/** +* Disallow useless escape characters. +* +* @name jsonc/no-useless-escape +* @memberof rules +* @type {string} +*/ +rules[ 'jsonc/no-useless-escape' ] = 'error'; + +/** +* Enforce valid JSON number literals. +* +* @name jsonc/valid-json-number +* @memberof rules +* @type {string} +*/ +rules[ 'jsonc/valid-json-number' ] = 'error'; + + +// EXPORTS // + +module.exports = rules; diff --git a/etc/eslint/rules/yaml.js b/etc/eslint/rules/yaml.js new file mode 100644 index 000000000000..e4aa6dd0e219 --- /dev/null +++ b/etc/eslint/rules/yaml.js @@ -0,0 +1,144 @@ +/** +* @license Apache-2.0 +* +* 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. +* 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'; + +/** +* ESLint rules for YAML files. +* +* @namespace rules +*/ +var rules = {}; + +/** +* Enforce 2-space indentation per `.editorconfig`. +* +* @name yml/indent +* @memberof rules +* @type {Array} +*/ +rules[ 'yml/indent' ] = [ 'error', 2 ]; + +/** +* Disallow empty YAML documents. +* +* @name yml/no-empty-document +* @memberof rules +* @type {string} +*/ +rules[ 'yml/no-empty-document' ] = 'error'; + +/** +* Disallow empty keys. +* +* @name yml/no-empty-key +* @memberof rules +* @type {string} +*/ +rules[ 'yml/no-empty-key' ] = 'error'; + +/** +* Disallow empty mapping values. +* +* @name yml/no-empty-mapping-value +* @memberof rules +* @type {string} +*/ +rules[ 'yml/no-empty-mapping-value' ] = 'error'; + +/** +* Disallow empty sequence entries. +* +* @name yml/no-empty-sequence-entry +* @memberof rules +* @type {string} +*/ +rules[ 'yml/no-empty-sequence-entry' ] = 'error'; + +/** +* Disallow irregular whitespace characters. +* +* @name yml/no-irregular-whitespace +* @memberof rules +* @type {string} +*/ +rules[ 'yml/no-irregular-whitespace' ] = 'error'; + +/** +* Disallow tab indentation. +* +* @name yml/no-tab-indent +* @memberof rules +* @type {string} +*/ +rules[ 'yml/no-tab-indent' ] = 'error'; + +/** +* Require string keys. +* +* @name yml/require-string-key +* @memberof rules +* @type {string} +*/ +rules[ 'yml/require-string-key' ] = 'error'; + +/** +* Enforce block-style mappings. +* +* @name yml/block-mapping +* @memberof rules +* @type {string} +*/ +rules[ 'yml/block-mapping' ] = 'error'; + +/** +* Enforce block-style sequences. +* +* @name yml/block-sequence +* @memberof rules +* @type {string} +*/ +rules[ 'yml/block-sequence' ] = 'error'; + +/** +* Disallow multiple consecutive empty lines. +* +* @name yml/no-multiple-empty-lines +* @memberof rules +* @type {Array} +*/ +rules[ 'yml/no-multiple-empty-lines' ] = [ 'error', { + 'max': 1 +}]; + +/** +* Prefer single quotes (warn first to assess impact on `${{ }}` expressions). +* +* @name yml/quotes +* @memberof rules +* @type {Array} +*/ +rules[ 'yml/quotes' ] = [ 'warn', { + 'prefer': 'single', + 'avoidEscape': true +}]; + + +// EXPORTS // + +module.exports = rules; diff --git a/lib/node_modules/@stdlib/_tools/eslint/rules/lib/index.js b/lib/node_modules/@stdlib/_tools/eslint/rules/lib/index.js index 35b746a3f735..4ac0b253d1ab 100644 --- a/lib/node_modules/@stdlib/_tools/eslint/rules/lib/index.js +++ b/lib/node_modules/@stdlib/_tools/eslint/rules/lib/index.js @@ -1161,6 +1161,15 @@ setReadOnly( rules, 'uppercase-required-constants', require( '@stdlib/_tools/esl */ setReadOnly( rules, 'vars-order', require( '@stdlib/_tools/eslint/rules/vars-order' ) ); +/** +* @name yaml-license-header +* @memberof rules +* @readonly +* @type {Function} +* @see {@link module:@stdlib/_tools/eslint/rules/yaml-license-header} +*/ +setReadOnly( rules, 'yaml-license-header', require( '@stdlib/_tools/eslint/rules/yaml-license-header' ) ); + // EXPORTS // diff --git a/lib/node_modules/@stdlib/_tools/eslint/rules/yaml-license-header/lib/index.js b/lib/node_modules/@stdlib/_tools/eslint/rules/yaml-license-header/lib/index.js new file mode 100644 index 000000000000..71e35dbae03f --- /dev/null +++ b/lib/node_modules/@stdlib/_tools/eslint/rules/yaml-license-header/lib/index.js @@ -0,0 +1,39 @@ +/** +* @license Apache-2.0 +* +* 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. +* 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'; + +/** +* ESLint rule to enforce Apache-2.0 license header at the start of YAML files. +* +* @module @stdlib/_tools/eslint/rules/yaml-license-header +* +* @example +* var rule = require( '@stdlib/_tools/eslint/rules/yaml-license-header' ); +* +* console.log( rule ); +*/ + +// MODULES // + +var main = require( './main.js' ); + + +// EXPORTS // + +module.exports = main; diff --git a/lib/node_modules/@stdlib/_tools/eslint/rules/yaml-license-header/lib/main.js b/lib/node_modules/@stdlib/_tools/eslint/rules/yaml-license-header/lib/main.js new file mode 100644 index 000000000000..a6a6931f53e0 --- /dev/null +++ b/lib/node_modules/@stdlib/_tools/eslint/rules/yaml-license-header/lib/main.js @@ -0,0 +1,152 @@ +/** +* @license Apache-2.0 +* +* 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. +* 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'; + +// VARIABLES // + +var EXPECTED_LINES = [ + '#/', + '# @license Apache-2.0', + '#', + '# Copyright (c) ', + '#', + '# 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.', + '#/' +]; + +var rule; + + +// FUNCTIONS // + +/** +* Rule for validating that YAML files start with the Apache-2.0 license header. +* +* @param {Object} context - ESLint context +* @returns {Object} validators +*/ +function main( context ) { + /** + * Validates the license header at the start of the YAML file. + * + * @private + * @param {ASTNode} node - program node + */ + function validate( node ) { + var lines; + var text; + var line; + var i; + + text = context.sourceCode.getText( node ); + lines = text.split( '\n' ); + + // Must have at least as many lines as the expected header: + if ( lines.length < EXPECTED_LINES.length ) { + context.report({ + 'node': node, + 'message': 'YAML files must start with the Apache-2.0 license header.', + 'loc': { + 'start': { + 'line': 1, + 'column': 0 + }, + 'end': { + 'line': 1, + 'column': 0 + } + } + }); + return; + } + for ( i = 0; i < EXPECTED_LINES.length; i++ ) { + line = lines[ i ]; + + // Line 3 (index 3) contains the copyright year which varies: + if ( i === 3 ) { + if ( line.indexOf( EXPECTED_LINES[ i ] ) !== 0 ) { + context.report({ + 'node': node, + 'message': 'Missing or malformed copyright line in license header.', + 'loc': { + 'start': { + 'line': i + 1, + 'column': 0 + }, + 'end': { + 'line': i + 1, + 'column': line.length + } + } + }); + return; + } + } else if ( line !== EXPECTED_LINES[ i ] ) { + context.report({ + 'node': node, + 'message': 'YAML files must start with the Apache-2.0 license header. Expected "' + EXPECTED_LINES[ i ] + '" on line ' + ( i + 1 ) + '.', + 'loc': { + 'start': { + 'line': i + 1, + 'column': 0 + }, + 'end': { + 'line': i + 1, + 'column': line.length + } + } + }); + return; + } + } + } + + return { + 'Program': validate + }; +} + + +// MAIN // + +rule = { + 'meta': { + 'docs': { + 'description': 'enforce Apache-2.0 license header at the start of YAML files' + }, + 'schema': [], + 'type': 'suggestion' + }, + 'create': main +}; + + +// EXPORTS // + +module.exports = rule; diff --git a/lib/node_modules/@stdlib/_tools/eslint/rules/yaml-license-header/package.json b/lib/node_modules/@stdlib/_tools/eslint/rules/yaml-license-header/package.json new file mode 100644 index 000000000000..bf827f88e5f2 --- /dev/null +++ b/lib/node_modules/@stdlib/_tools/eslint/rules/yaml-license-header/package.json @@ -0,0 +1,62 @@ +{ + "name": "@stdlib/_tools/eslint/rules/yaml-license-header", + "version": "0.0.0", + "description": "ESLint rule to enforce Apache-2.0 license header at the start of YAML files.", + "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" + } + ], + "bin": {}, + "main": "./lib", + "directories": { + "lib": "./lib", + "test": "./test" + }, + "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", + "tools", + "tool", + "eslint", + "lint", + "custom", + "rules", + "rule", + "plugin", + "yaml", + "license", + "header" + ] +} diff --git a/lib/node_modules/@stdlib/_tools/eslint/rules/yaml-license-header/test/fixtures/invalid.yml.txt b/lib/node_modules/@stdlib/_tools/eslint/rules/yaml-license-header/test/fixtures/invalid.yml.txt new file mode 100644 index 000000000000..632cbb496193 --- /dev/null +++ b/lib/node_modules/@stdlib/_tools/eslint/rules/yaml-license-header/test/fixtures/invalid.yml.txt @@ -0,0 +1,2 @@ +# Missing license header +name: test diff --git a/lib/node_modules/@stdlib/_tools/eslint/rules/yaml-license-header/test/fixtures/valid.yml b/lib/node_modules/@stdlib/_tools/eslint/rules/yaml-license-header/test/fixtures/valid.yml new file mode 100644 index 000000000000..220a0fd872df --- /dev/null +++ b/lib/node_modules/@stdlib/_tools/eslint/rules/yaml-license-header/test/fixtures/valid.yml @@ -0,0 +1,19 @@ +#/ +# @license Apache-2.0 +# +# 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. +# 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. +#/ + +name: test diff --git a/lib/node_modules/@stdlib/_tools/eslint/rules/yaml-license-header/test/test.js b/lib/node_modules/@stdlib/_tools/eslint/rules/yaml-license-header/test/test.js new file mode 100644 index 000000000000..673acd701970 --- /dev/null +++ b/lib/node_modules/@stdlib/_tools/eslint/rules/yaml-license-header/test/test.js @@ -0,0 +1,43 @@ +/** +* @license Apache-2.0 +* +* 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. +* 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 rule = require( './../lib' ); + + +// TESTS // + +tape( 'main export is an object', function test( t ) { + t.ok( true, __filename ); + t.strictEqual( typeof rule, 'object', 'main export is an object' ); + t.end(); +}); + +tape( 'the export has a `create` method', function test( t ) { + t.strictEqual( typeof rule.create, 'function', 'has a create method' ); + t.end(); +}); + +tape( 'the export has a `meta` property', function test( t ) { + t.strictEqual( typeof rule.meta, 'object', 'has a meta property' ); + t.end(); +}); diff --git a/package.json b/package.json index ab37f99fee28..0d1269f621b0 100644 --- a/package.json +++ b/package.json @@ -147,7 +147,9 @@ "eslint-plugin-expect-type": "^0.6.2", "eslint-plugin-import": "^2.29.0", "eslint-plugin-jsdoc": "^46.8.2", + "eslint-plugin-jsonc": "^2.18.0", "eslint-plugin-stdlib": "file:./etc/eslint/plugin", + "eslint-plugin-yml": "^1.16.0", "globals": "^16.1.0", "exorcist": "^2.0.0", "factor-bundle": "^2.5.0", diff --git a/tools/make/lib/lint/Makefile b/tools/make/lib/lint/Makefile index b5cb39596f6e..8e45f02b1e1d 100644 --- a/tools/make/lib/lint/Makefile +++ b/tools/make/lib/lint/Makefile @@ -25,6 +25,7 @@ include $(TOOLS_MAKE_LIB_DIR)/lint/editorconfig.mk include $(TOOLS_MAKE_LIB_DIR)/lint/filenames.mk include $(TOOLS_MAKE_LIB_DIR)/lint/git/Makefile include $(TOOLS_MAKE_LIB_DIR)/lint/javascript/Makefile +include $(TOOLS_MAKE_LIB_DIR)/lint/json/eslint.mk include $(TOOLS_MAKE_LIB_DIR)/lint/julia/Makefile include $(TOOLS_MAKE_LIB_DIR)/lint/license-headers/Makefile include $(TOOLS_MAKE_LIB_DIR)/lint/markdown/Makefile @@ -36,6 +37,7 @@ include $(TOOLS_MAKE_LIB_DIR)/lint/repl_help.mk include $(TOOLS_MAKE_LIB_DIR)/lint/shell/Makefile include $(TOOLS_MAKE_LIB_DIR)/lint/toposort.mk include $(TOOLS_MAKE_LIB_DIR)/lint/typescript/Makefile +include $(TOOLS_MAKE_LIB_DIR)/lint/yaml/eslint.mk # RULES # @@ -51,7 +53,7 @@ include $(TOOLS_MAKE_LIB_DIR)/lint/typescript/Makefile # @example # make lint #/ -lint: lint-filenames lint-javascript lint-markdown lint-c lint-python lint-julia lint-r lint-shell lint-typescript lint-conf lint-pkg-json lint-repl-help lint-license-headers lint-editorconfig +lint: lint-filenames lint-javascript lint-json lint-markdown lint-c lint-python lint-julia lint-r lint-shell lint-typescript lint-yaml lint-conf lint-pkg-json lint-repl-help lint-license-headers lint-editorconfig .PHONY: lint diff --git a/tools/make/lib/lint/json/eslint.mk b/tools/make/lib/lint/json/eslint.mk new file mode 100644 index 000000000000..42ca649a409e --- /dev/null +++ b/tools/make/lib/lint/json/eslint.mk @@ -0,0 +1,64 @@ +#/ +# @license Apache-2.0 +# +# 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. +# 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. +#/ + +# VARIABLES # + +# Define the path to the [ESLint][1] executable. +# +# To install ESLint: +# +# ```bash +# $ npm install eslint +# ``` +# +# [1]: https://eslint.org/ +ESLINT ?= $(BIN_DIR)/eslint + +# Define the command-line options to use when invoking the ESLint executable: +eslint_json_flags := \ + --cache + +# Define user-supplied command-line options: +ESLINT_JSON_FLAGS ?= + +ifeq ($(AUTOFIX),true) + eslint_json_flags += --fix +endif + +# Append user-supplied command-line options: +eslint_json_flags += $(ESLINT_JSON_FLAGS) + + +# RULES # + +#/ +# Lints JSON files using [ESLint][1]. +# +# ## Notes +# +# - Uses `--cache` for performance with large numbers of JSON files. +# +# [1]: https://eslint.org/ +# +# @example +# make lint-json +#/ +lint-json: $(NODE_MODULES) + $(QUIET) $(ESLINT) $(eslint_json_flags) "lib/node_modules/@stdlib/**/package.json" "./*.json" + +.PHONY: lint-json diff --git a/tools/make/lib/lint/yaml/eslint.mk b/tools/make/lib/lint/yaml/eslint.mk new file mode 100644 index 000000000000..e855d28a7f3f --- /dev/null +++ b/tools/make/lib/lint/yaml/eslint.mk @@ -0,0 +1,64 @@ +#/ +# @license Apache-2.0 +# +# 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. +# 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. +#/ + +# VARIABLES # + +# Define the path to the [ESLint][1] executable. +# +# To install ESLint: +# +# ```bash +# $ npm install eslint +# ``` +# +# [1]: https://eslint.org/ +ESLINT ?= $(BIN_DIR)/eslint + +# Define the command-line options to use when invoking the ESLint executable: +eslint_yaml_flags := \ + --cache + +# Define user-supplied command-line options: +ESLINT_YAML_FLAGS ?= + +ifeq ($(AUTOFIX),true) + eslint_yaml_flags += --fix +endif + +# Append user-supplied command-line options: +eslint_yaml_flags += $(ESLINT_YAML_FLAGS) + + +# RULES # + +#/ +# Lints YAML files using [ESLint][1]. +# +# ## Notes +# +# - Uses `--cache` for performance. +# +# [1]: https://eslint.org/ +# +# @example +# make lint-yaml +#/ +lint-yaml: $(NODE_MODULES) + $(QUIET) $(ESLINT) $(eslint_yaml_flags) ".github/**/*.yml" ".codecov.yml" ".github/*.yml" + +.PHONY: lint-yaml From de63e9e4d2e52aba3a109f40bce733e8be6963ce Mon Sep 17 00:00:00 2001 From: Philipp Burckhardt Date: Thu, 29 Oct 2026 01:30:03 -0500 Subject: [PATCH 2/3] build: fix JSON and YAML lint validation and coverage --- .codecov.yml | 2 - .github/dependabot.yml | 56 +- .github/labeler.yml | 24 +- .github/workflows/check_commit_metadata.yml | 2 +- ...eck_contributing_guidelines_acceptance.yml | 2 +- .../create_address_commit_comment_issues.yml | 2 +- .github/workflows/create_todo_issue.yml | 2 +- .github/workflows/deprecate_packages.yml | 10 +- .github/workflows/first_time_greeting.yml | 2 +- .../workflows/generate_pr_commit_message.yml | 4 +- .github/workflows/git_note_amend_message.yml | 6 +- .../workflows/git_note_filter_packages.yml | 6 +- .github/workflows/label_good_first_prs.yml | 2 +- .github/workflows/lint_autofix.yml | 8 +- .github/workflows/lint_changed_files.yml | 8 + .github/workflows/pr_commands_comment.yml | 2 +- .github/workflows/standalone_publish.yml | 10 +- .../workflows/standalone_publish_custom.yml | 16 +- .../workflows/update_pr_copyright_years.yml | 8 +- docs/assets/web/manifest.json | 36 +- eslint.config.js | 16 +- etc/eslint/README.md | 26 + etc/eslint/test/test.js | 125 +++ etc/npm/deps.txt | 2 +- .../rules/yaml-license-header/lib/main.js | 5 +- .../rules/yaml-license-header/test/test.js | 87 ++ .../schema/examples/fixtures/manifest.json | 122 +-- .../manifest-json/schema/lib/schema.json | 164 ++-- .../_tools/modules/pkg-deps/lib/builtins.json | 68 +- .../package-json/schema/lib/schema.json | 4 +- .../@stdlib/array/linspace/lib/defaults.json | 2 +- .../promotion-rules/lib/promotion_rules.json | 2 +- .../blas/base/wasm/dsdot/src/exports.json | 6 +- .../blas/base/wasm/scasum/manifest.json | 70 +- .../blas/base/wasm/scasum/src/exports.json | 6 +- .../blas/ext/base/dapxsum/manifest.json | 6 +- .../ext/base/wasm/dnansumkbn2/manifest.json | 70 +- .../base/wasm/dnansumkbn2/src/exports.json | 6 +- .../float32/base/mul-add/manifest.json | 146 ++-- .../complex/float32/real/manifest.json | 4 +- .../math/base/special/bessely1/manifest.json | 188 ++--- .../special/riemann-zeta/lib/bernoulli.json | 258 +++--- .../math/strided/ops/add/lib/types.json | 748 +++++++++--------- .../math/strided/ops/mul/lib/types.json | 748 +++++++++--------- .../math/strided/ops/mul/manifest.json | 86 +- .../math/strided/ops/sub/lib/types.json | 748 +++++++++--------- .../ml/incr/sgd-regression/lib/defaults.json | 12 +- .../nlp/expand-acronyms/lib/acronyms.json | 180 ++--- .../expand-contractions/lib/contractions.json | 294 +++---- .../nlp/tokenize/lib/abbreviations.json | 204 ++--- .../nlp/tokenize/lib/contractions.json | 372 ++++----- .../@stdlib/nlp/tokenize/lib/emojis.json | 86 +- .../base/ctor/lib/props/engine/engines.json | 2 +- .../ctor/lib/props/render-format/formats.json | 4 +- .../lib/props/x-axis-orient/orientations.json | 4 +- .../svg/axis/lib/events/events.json | 22 +- .../svg/background/lib/events/events.json | 6 +- .../components/svg/canvas/lib/defaults.json | 6 +- .../svg/clip-path/lib/defaults.json | 8 +- .../svg/clip-path/lib/events/events.json | 8 +- .../svg/graph/lib/events/events.json | 6 +- .../components/svg/marks/lib/defaults.json | 4 +- .../svg/marks/lib/events/events.json | 4 +- .../lib/props/orientation/orientations.json | 8 +- .../components/svg/symbols/lib/defaults.json | 22 +- .../svg/symbols/lib/props/symbol/symbols.json | 4 +- .../components/svg/title/lib/defaults.json | 4 +- .../svg/title/lib/events/events.json | 4 +- .../unicode/lib/props/type/chart_types.json | 10 +- .../base/dists/cauchy/quantile/manifest.json | 160 ++-- .../base/dists/geometric/mgf/manifest.json | 156 ++-- .../base/dists/levy/entropy/manifest.json | 164 ++-- .../base/dists/planck/mode/manifest.json | 146 ++-- .../@stdlib/string/acronym/lib/stopwords.json | 292 +++---- package.json | 4 +- tools/make/lib/lint/json/eslint.mk | 4 +- 76 files changed, 3191 insertions(+), 2930 deletions(-) create mode 100644 etc/eslint/test/test.js diff --git a/.codecov.yml b/.codecov.yml index 4e6d1c77d976..7942594a3450 100644 --- a/.codecov.yml +++ b/.codecov.yml @@ -28,7 +28,6 @@ codecov: # Default branch to show (if not set, inherited from repository settings): branch: develop - coverage: # Number of decimals to display in UI: precision: 4 @@ -93,7 +92,6 @@ coverage: # If CI fails, report an "error" commit status: if_ci_failed: error - # Comment settings: comment: layout: "header, diff, changes, sunburst, uncovered, tree" diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 9077f78ef69c..e00db1c18e18 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -18,32 +18,32 @@ version: 2 updates: -- package-ecosystem: github-actions - directory: "/" - schedule: - interval: monthly - ignore: - - dependency-name: "distributhor/workflow-webhook" + - package-ecosystem: github-actions + directory: "/" + schedule: + interval: monthly + ignore: + - dependency-name: "distributhor/workflow-webhook" -- package-ecosystem: npm - directory: "/" - schedule: - interval: monthly - open-pull-requests-limit: 10 - allow: - - dependency-name: "*" - dependency-type: "production" - ignore: - - dependency-name: "remark*" - - dependency-name: "chai" - - dependency-name: "debug" - - dependency-name: "ajv" - - dependency-name: "d3-scale" - - dependency-name: "d3-shape" - - dependency-name: "d3-time-format" - - dependency-name: "d3-format" - - dependency-name: "readable-stream" - - dependency-name: "mkdirp" - - dependency-name: "semver" - - dependency-name: "glob" - - dependency-name: "node-gyp" + - package-ecosystem: npm + directory: "/" + schedule: + interval: monthly + open-pull-requests-limit: 10 + allow: + - dependency-name: "*" + dependency-type: "production" + ignore: + - dependency-name: "remark*" + - dependency-name: "chai" + - dependency-name: "debug" + - dependency-name: "ajv" + - dependency-name: "d3-scale" + - dependency-name: "d3-shape" + - dependency-name: "d3-time-format" + - dependency-name: "d3-format" + - dependency-name: "readable-stream" + - dependency-name: "mkdirp" + - dependency-name: "semver" + - dependency-name: "glob" + - dependency-name: "node-gyp" diff --git a/.github/labeler.yml b/.github/labeler.yml index 2994baf6234e..19f2e306169e 100644 --- a/.github/labeler.yml +++ b/.github/labeler.yml @@ -17,25 +17,25 @@ #/ BLAS: -- changed-files: - - any-glob-to-all-files: '**/blas/**/*' + - changed-files: + - any-glob-to-all-files: '**/blas/**/*' LAPACK: -- changed-files: - - any-glob-to-all-files: '**/lapack/**/*' + - changed-files: + - any-glob-to-all-files: '**/lapack/**/*' Math: -- changed-files: - - any-glob-to-all-files: '**/math/**/*' + - changed-files: + - any-glob-to-all-files: '**/math/**/*' REPL: -- changed-files: - - any-glob-to-all-files: '**/repl/**/*' + - changed-files: + - any-glob-to-all-files: '**/repl/**/*' Statistics: -- changed-files: - - any-glob-to-all-files: '**/stats/**/*' + - changed-files: + - any-glob-to-all-files: '**/stats/**/*' Tools: -- changed-files: - - any-glob-to-all-files: '**/_tools/**/*' + - changed-files: + - any-glob-to-all-files: '**/_tools/**/*' diff --git a/.github/workflows/check_commit_metadata.yml b/.github/workflows/check_commit_metadata.yml index 42aaed7c4063..0e7b37f5b0c1 100644 --- a/.github/workflows/check_commit_metadata.yml +++ b/.github/workflows/check_commit_metadata.yml @@ -55,7 +55,7 @@ jobs: with: # Ensure we have access to the scripts directory: sparse-checkout: | - .github/workflows/scripts + .github/workflows/scripts sparse-checkout-cone-mode: false timeout-minutes: 10 diff --git a/.github/workflows/check_contributing_guidelines_acceptance.yml b/.github/workflows/check_contributing_guidelines_acceptance.yml index 99d55d3fef46..6489cd9babd4 100644 --- a/.github/workflows/check_contributing_guidelines_acceptance.yml +++ b/.github/workflows/check_contributing_guidelines_acceptance.yml @@ -74,7 +74,7 @@ jobs: with: # Ensure we have access to the scripts directory: sparse-checkout: | - .github/workflows/scripts + .github/workflows/scripts sparse-checkout-cone-mode: false timeout-minutes: 10 diff --git a/.github/workflows/create_address_commit_comment_issues.yml b/.github/workflows/create_address_commit_comment_issues.yml index 0c1d711aa527..fb7200698be8 100644 --- a/.github/workflows/create_address_commit_comment_issues.yml +++ b/.github/workflows/create_address_commit_comment_issues.yml @@ -57,7 +57,7 @@ jobs: with: # Ensure we have access to the scripts directory: sparse-checkout: | - .github/workflows/scripts + .github/workflows/scripts sparse-checkout-cone-mode: false timeout-minutes: 10 diff --git a/.github/workflows/create_todo_issue.yml b/.github/workflows/create_todo_issue.yml index 269f27072662..0fe45f19b780 100644 --- a/.github/workflows/create_todo_issue.yml +++ b/.github/workflows/create_todo_issue.yml @@ -89,7 +89,7 @@ jobs: with: # Ensure we have access to the scripts directory: sparse-checkout: | - .github/workflows/scripts + .github/workflows/scripts sparse-checkout-cone-mode: false timeout-minutes: 10 diff --git a/.github/workflows/deprecate_packages.yml b/.github/workflows/deprecate_packages.yml index f26768b19e2b..056b0f2270e4 100644 --- a/.github/workflows/deprecate_packages.yml +++ b/.github/workflows/deprecate_packages.yml @@ -30,11 +30,6 @@ on: message: description: 'Custom deprecation message:' -# Global permissions: -permissions: - # Allow read-only access to the repository contents: - contents: read - # Workflow concurrency group: concurrency: @@ -44,6 +39,11 @@ concurrency: # Specify whether to cancel any currently running workflow in the same concurrency group: cancel-in-progress: false +# Global permissions: +permissions: + # Allow read-only access to the repository contents: + contents: read + # Workflow jobs: jobs: diff --git a/.github/workflows/first_time_greeting.yml b/.github/workflows/first_time_greeting.yml index 09ecd48ea71f..a445c4152fd6 100644 --- a/.github/workflows/first_time_greeting.yml +++ b/.github/workflows/first_time_greeting.yml @@ -59,7 +59,7 @@ jobs: with: # Ensure we have access to the scripts directory: sparse-checkout: | - .github/workflows/scripts + .github/workflows/scripts sparse-checkout-cone-mode: false timeout-minutes: 10 diff --git a/.github/workflows/generate_pr_commit_message.yml b/.github/workflows/generate_pr_commit_message.yml index cd9ad135252e..cb4a075b1c15 100644 --- a/.github/workflows/generate_pr_commit_message.yml +++ b/.github/workflows/generate_pr_commit_message.yml @@ -24,8 +24,8 @@ on: workflow_dispatch: # pull_request_target: - # types: - # - labeled + # types: + # - labeled # Global permissions: permissions: diff --git a/.github/workflows/git_note_amend_message.yml b/.github/workflows/git_note_amend_message.yml index 5a4451392dfd..0e5f64abd371 100644 --- a/.github/workflows/git_note_amend_message.yml +++ b/.github/workflows/git_note_amend_message.yml @@ -135,9 +135,9 @@ jobs: # Commit and push changes: - name: 'Commit and push changes' env: - REPO_GITHUB_TOKEN: ${{ secrets.STDLIB_BOT_GITHUB_TOKEN }} - USER_NAME: stdlib-bot - COMMIT_HASH: ${{ inputs.commit_hash }} + REPO_GITHUB_TOKEN: ${{ secrets.STDLIB_BOT_GITHUB_TOKEN }} + USER_NAME: stdlib-bot + COMMIT_HASH: ${{ inputs.commit_hash }} run: | git config --local user.email "82920195+stdlib-bot@users.noreply.github.com" git config --local user.name "${USER_NAME}" diff --git a/.github/workflows/git_note_filter_packages.yml b/.github/workflows/git_note_filter_packages.yml index 0ee31d2a00d0..6ebc6844a9e6 100644 --- a/.github/workflows/git_note_filter_packages.yml +++ b/.github/workflows/git_note_filter_packages.yml @@ -144,9 +144,9 @@ jobs: # Commit and push changes: - name: 'Commit and push changes' env: - REPO_GITHUB_TOKEN: ${{ secrets.STDLIB_BOT_GITHUB_TOKEN }} - USER_NAME: stdlib-bot - COMMIT_HASH: ${{ inputs.commit_hash }} + REPO_GITHUB_TOKEN: ${{ secrets.STDLIB_BOT_GITHUB_TOKEN }} + USER_NAME: stdlib-bot + COMMIT_HASH: ${{ inputs.commit_hash }} run: | git config --local user.email "82920195+stdlib-bot@users.noreply.github.com" git config --local user.name "${USER_NAME}" diff --git a/.github/workflows/label_good_first_prs.yml b/.github/workflows/label_good_first_prs.yml index 8e060bbe4ec7..1618bdb2e1ea 100644 --- a/.github/workflows/label_good_first_prs.yml +++ b/.github/workflows/label_good_first_prs.yml @@ -58,7 +58,7 @@ jobs: with: # Ensure we have access to the scripts directory: sparse-checkout: | - .github/workflows/scripts + .github/workflows/scripts sparse-checkout-cone-mode: false timeout-minutes: 10 diff --git a/.github/workflows/lint_autofix.yml b/.github/workflows/lint_autofix.yml index 03e1d67092ba..4a3fcee6ef2d 100644 --- a/.github/workflows/lint_autofix.yml +++ b/.github/workflows/lint_autofix.yml @@ -177,10 +177,10 @@ jobs: # Commit and push changes: - name: 'Commit and push changes' env: - REPO_GITHUB_TOKEN: ${{ secrets.STDLIB_BOT_GITHUB_TOKEN }} - USER_NAME: stdlib-bot - BRANCH_NAME: ${{ steps.pr-details.outputs.branch }} - REPO_NAME: ${{ steps.pr-details.outputs.repository }} + REPO_GITHUB_TOKEN: ${{ secrets.STDLIB_BOT_GITHUB_TOKEN }} + USER_NAME: stdlib-bot + BRANCH_NAME: ${{ steps.pr-details.outputs.branch }} + REPO_NAME: ${{ steps.pr-details.outputs.repository }} run: | git config --local user.email "82920195+stdlib-bot@users.noreply.github.com" git config --local user.name "$USER_NAME" diff --git a/.github/workflows/lint_changed_files.yml b/.github/workflows/lint_changed_files.yml index 0be64d8b94b1..06dbb907a4d0 100644 --- a/.github/workflows/lint_changed_files.yml +++ b/.github/workflows/lint_changed_files.yml @@ -188,6 +188,14 @@ jobs: make FILES="${files}" lint-shell-files fi + # Exercise JSON/YAML rules and lint the complete file sets: + - name: 'Lint JSON and YAML files' + if: success() || failure() + run: | + node etc/eslint/test/test.js + node lib/node_modules/@stdlib/_tools/eslint/rules/yaml-license-header/test/test.js + make lint-json lint-yaml + # Lint package.json files: - name: 'Lint package.json files' if: success() || failure() diff --git a/.github/workflows/pr_commands_comment.yml b/.github/workflows/pr_commands_comment.yml index 2649793de573..d4d9bd122c70 100644 --- a/.github/workflows/pr_commands_comment.yml +++ b/.github/workflows/pr_commands_comment.yml @@ -83,7 +83,7 @@ jobs: with: # Ensure we have access to the scripts directory: sparse-checkout: | - .github/workflows/scripts + .github/workflows/scripts sparse-checkout-cone-mode: false timeout-minutes: 10 diff --git a/.github/workflows/standalone_publish.yml b/.github/workflows/standalone_publish.yml index c3bb5d38255e..4704ccff975f 100644 --- a/.github/workflows/standalone_publish.yml +++ b/.github/workflows/standalone_publish.yml @@ -29,11 +29,11 @@ on: description: 'Type of release to create' default: 'none' options: - - none - - patch - - minor - - major - - auto + - none + - patch + - minor + - major + - auto dry-run: type: boolean description: 'Skip uploading packages (dry run):' diff --git a/.github/workflows/standalone_publish_custom.yml b/.github/workflows/standalone_publish_custom.yml index 3724845fc5cc..12d29999c167 100644 --- a/.github/workflows/standalone_publish_custom.yml +++ b/.github/workflows/standalone_publish_custom.yml @@ -28,9 +28,9 @@ on: type: choice description: 'Skip individual or toplevel package publishing?' options: - - none - - skip-toplevel - - skip-individual + - none + - skip-toplevel + - skip-individual packages: description: 'List of packages to publish (space separated):' pattern: @@ -44,11 +44,11 @@ on: description: 'Type of release to create' default: 'none' options: - - none - - patch - - minor - - major - - auto + - none + - patch + - minor + - major + - auto only-unpublished: type: boolean description: 'Only publish packages that have not yet been published' diff --git a/.github/workflows/update_pr_copyright_years.yml b/.github/workflows/update_pr_copyright_years.yml index 4f649c706dc5..58df3438ffb6 100644 --- a/.github/workflows/update_pr_copyright_years.yml +++ b/.github/workflows/update_pr_copyright_years.yml @@ -140,10 +140,10 @@ jobs: # Commit and push changes: - name: 'Commit and push changes' env: - REPO_GITHUB_TOKEN: ${{ secrets.STDLIB_BOT_GITHUB_TOKEN }} - USER_NAME: stdlib-bot - BRANCH_NAME: ${{ steps.pr-details.outputs.branch }} - REPO_NAME: ${{ steps.pr-details.outputs.repository }} + REPO_GITHUB_TOKEN: ${{ secrets.STDLIB_BOT_GITHUB_TOKEN }} + USER_NAME: stdlib-bot + BRANCH_NAME: ${{ steps.pr-details.outputs.branch }} + REPO_NAME: ${{ steps.pr-details.outputs.repository }} run: | git config --local user.email "82920195+stdlib-bot@users.noreply.github.com" git config --local user.name "$USER_NAME" diff --git a/docs/assets/web/manifest.json b/docs/assets/web/manifest.json index 21b4f6714f05..160d777246a7 100644 --- a/docs/assets/web/manifest.json +++ b/docs/assets/web/manifest.json @@ -1,20 +1,20 @@ { - "name": "", - "icons": [ - { - "src": "/android-chrome-192x192.png", - "sizes": "192x192", - "type": "image/png" - }, - { - "src": "/android-chrome-512x512.png", - "sizes": "512x512", - "type": "image/png" - } - ], - "theme_color": "#ffffff", - "background_color": "#ffffff", - "display": "standalone", - "start_url": "", - "prefer_related_applications": true + "name": "", + "icons": [ + { + "src": "/android-chrome-192x192.png", + "sizes": "192x192", + "type": "image/png" + }, + { + "src": "/android-chrome-512x512.png", + "sizes": "512x512", + "type": "image/png" + } + ], + "theme_color": "#ffffff", + "background_color": "#ffffff", + "display": "standalone", + "start_url": "", + "prefer_related_applications": true } diff --git a/eslint.config.js b/eslint.config.js index 32fee239958b..427aba91ada9 100644 --- a/eslint.config.js +++ b/eslint.config.js @@ -84,6 +84,7 @@ var restrictedSyntaxConfig = [ 'ImportNamespaceSpecifier' ]; var yamlConfigRules; +var config; // MAIN // @@ -91,7 +92,7 @@ var yamlConfigRules; yamlConfigRules = assign( {}, yamlRules ); yamlConfigRules[ 'stdlib/yaml-license-header' ] = 'error'; -var config = [ +config = [ // Global ignores: { 'ignores': [ @@ -102,6 +103,12 @@ var config = [ '!.github/', '!.codecov.yml', + // Test data can deliberately contain malformed JSON: + '**/test/**/fixtures/**/*.json', + + // Imported and generated data use their source formats: + '**/data/**/*.json', + // Un-ignore stdlib source (nested `node_modules` directories remain ignored by ESLint's defaults): '!lib/node_modules/' ] @@ -211,7 +218,10 @@ var config = [ { 'files': [ '**/*.json' ], 'languageOptions': { - 'parser': jsoncParser + 'parser': jsoncParser, + 'parserOptions': { + 'jsonSyntax': 'JSON' + } }, 'plugins': { 'jsonc': pluginJsonc @@ -286,6 +296,8 @@ var config = [ { 'files': [ '.github/workflows/*.yml' ], 'rules': { + // Empty mappings are valid event declarations (e.g., workflow_dispatch): + 'yml/no-empty-mapping-value': 'off', 'yml/sort-keys': [ 'error', { 'pathPattern': '^$', 'order': [ diff --git a/etc/eslint/README.md b/etc/eslint/README.md index aaa77f2454af..0c0b0a91a4d6 100644 --- a/etc/eslint/README.md +++ b/etc/eslint/README.md @@ -1,3 +1,23 @@ + + # ESLint > [ESLint][eslint] configuration. @@ -16,6 +36,12 @@ This directory contains [ESLint][eslint] configuration files.
+- Run `make lint-json lint-yaml` to lint project JSON files, GitHub YAML configuration, and `.codecov.yml`. Both targets are included in `make lint`; use `AUTOFIX=true` to apply supported fixes. +- JSON must use strict JSON syntax. The configuration enforces two-space indentation, except for tab-indented `cli_opts.json`, and the canonical root key order for `package.json`. +- JSON test fixtures and imported or generated files under `data/` are excluded. Test fixtures can intentionally contain invalid documents; data files retain their source formats. Build output and external dependencies use the shared ESLint ignores. +- YAML files require the stdlib Apache-2.0 header, including a four-digit copyright year and `The Stdlib Authors.`. Empty mapping values are allowed in GitHub Actions workflows to support event declarations such as `workflow_dispatch:`. +- Run `node etc/eslint/test/test.js` for configuration regression tests and `node lib/node_modules/@stdlib/_tools/eslint/rules/yaml-license-header/test/test.js` for license-rule tests. CI runs both suites and the complete JSON/YAML lint targets. +
diff --git a/etc/eslint/test/test.js b/etc/eslint/test/test.js new file mode 100644 index 000000000000..bf1ef7eac3cf --- /dev/null +++ b/etc/eslint/test/test.js @@ -0,0 +1,125 @@ +/** +* @license Apache-2.0 +* +* 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. +* 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. +*/ + +// These are configuration integration tests, not tests of a module export: +/* eslint-disable stdlib/first-unit-test */ + +'use strict'; + +// MODULES // + +var join = require( 'path' ).join; +var tape = require( 'tape' ); +var ESLint = require( 'eslint' ).ESLint; +var readFile = require( '@stdlib/fs/read-file' ).sync; +var rootDir = require( '@stdlib/_tools/utils/root-dir' ); + + +// VARIABLES // + +var YAML = readFile( join( __dirname, '../../../lib/node_modules/@stdlib/_tools/eslint/rules/yaml-license-header/test/fixtures/valid.yml' ), 'utf8' ); +var eslint = new ESLint({ + 'cwd': rootDir() +}); + + +// FUNCTIONS // + +/** +* Checks a document against the repository ESLint configuration. +* +* @private +* @param {Object} t - test object +* @param {string} code - document +* @param {string} filePath - document path +* @param {number} expected - expected number of errors +*/ +function check( t, code, filePath, expected ) { + eslint.lintText( code, { + 'filePath': filePath + }).then( onResults, onError ); + + /** + * Checks lint results. + * + * @private + * @param {Array} results - lint results + */ + function onResults( results ) { + t.strictEqual( results[ 0 ].errorCount, expected, 'expected number of errors' ); + t.end(); + } + + /** + * Handles lint failures. + * + * @private + * @param {Error} err - error + */ + function onError( err ) { + t.fail( err.message ); + t.end(); + } +} + + +// TESTS // + +tape( 'the JSON configuration accepts strict JSON', function test( t ) { + check( t, '{\n "foo": "bar"\n}\n', 'etc/example.json', 0 ); +}); + +tape( 'the JSON configuration rejects unquoted keys', function test( t ) { + check( t, '{\n foo: 1\n}\n', 'etc/example.json', 1 ); +}); + +tape( 'the JSON configuration rejects single-quoted strings', function test( t ) { + check( t, "{\n \"foo\": 'bar'\n}\n", 'etc/example.json', 1 ); +}); + +tape( 'the JSON configuration rejects comments', function test( t ) { + check( t, '{\n // comment\n "foo": 1\n}\n', 'etc/example.json', 1 ); +}); + +tape( 'the JSON configuration rejects trailing commas', function test( t ) { + check( t, '{\n "foo": 1,\n}\n', 'etc/example.json', 1 ); +}); + +tape( 'the JSON configuration rejects duplicate keys', function test( t ) { + check( t, '{\n "foo": 1,\n "foo": 2\n}\n', 'etc/example.json', 1 ); +}); + +tape( 'the CLI options configuration accepts tab indentation', function test( t ) { + check( t, '{\n\t"options": []\n}\n', 'bin/cli_opts.json', 0 ); +}); + +tape( 'the CLI options configuration rejects space indentation', function test( t ) { + check( t, '{\n "options": []\n}\n', 'bin/cli_opts.json', 1 ); +}); + +tape( 'the package configuration enforces root key ordering', function test( t ) { + check( t, '{\n "version": "1.0.0",\n "name": "example"\n}\n', 'package.json', 1 ); +}); + +tape( 'the workflow configuration accepts empty event mappings', function test( t ) { + check( t, YAML + '\non:\n workflow_dispatch:\n', '.github/workflows/example.yml', 0 ); +}); + +tape( 'the YAML configuration rejects empty mappings outside workflows', function test( t ) { + check( t, YAML + '\nfoo:\n', '.github/example.yml', 1 ); +}); diff --git a/etc/npm/deps.txt b/etc/npm/deps.txt index 114b9e768c8a..2bcb5ceeb171 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.1.0" @types/node@"^13.9.0" @typescript-eslint/parser@"^8.57.0" @typescript-eslint/eslint-plugin@"^8.57.0" 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" @stylistic/eslint-plugin-ts@"^2.13.0" eslint@"^9.0.0" eslint-plugin-n@"^17.17.0" eslint-plugin-expect-type@"^0.6.2" eslint-plugin-import@"^2.29.0" eslint-plugin-jsdoc@"^46.8.2" eslint-plugin-stdlib@"file:./etc/eslint/plugin" globals@"^16.1.0" 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.9.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" +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.1.0" @types/node@"^13.9.0" @typescript-eslint/parser@"^8.57.0" @typescript-eslint/eslint-plugin@"^8.57.0" 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" @stylistic/eslint-plugin-ts@"^2.13.0" eslint@"^9.0.0" eslint-plugin-n@"^17.17.0" eslint-plugin-expect-type@"^0.6.2" eslint-plugin-import@"^2.29.0" eslint-plugin-jsdoc@"^46.8.2" eslint-plugin-jsonc@"^2.18.0" eslint-plugin-stdlib@"file:./etc/eslint/plugin" eslint-plugin-yml@"^1.16.0" globals@"^16.1.0" 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" jsonc-eslint-parser@"^2.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.9.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" yaml-eslint-parser@"^1.3.0" node-gyp@"^9.3.1" diff --git a/lib/node_modules/@stdlib/_tools/eslint/rules/yaml-license-header/lib/main.js b/lib/node_modules/@stdlib/_tools/eslint/rules/yaml-license-header/lib/main.js index a6a6931f53e0..86f640358775 100644 --- a/lib/node_modules/@stdlib/_tools/eslint/rules/yaml-license-header/lib/main.js +++ b/lib/node_modules/@stdlib/_tools/eslint/rules/yaml-license-header/lib/main.js @@ -20,6 +20,7 @@ // VARIABLES // +var RE_COPYRIGHT = /^# Copyright \(c\) [0-9]{4} The Stdlib Authors\.$/; var EXPECTED_LINES = [ '#/', '# @license Apache-2.0', @@ -88,9 +89,9 @@ function main( context ) { for ( i = 0; i < EXPECTED_LINES.length; i++ ) { line = lines[ i ]; - // Line 3 (index 3) contains the copyright year which varies: + // Line 4 (index 3) contains the copyright year which varies: if ( i === 3 ) { - if ( line.indexOf( EXPECTED_LINES[ i ] ) !== 0 ) { + if ( !RE_COPYRIGHT.test( line ) ) { context.report({ 'node': node, 'message': 'Missing or malformed copyright line in license header.', diff --git a/lib/node_modules/@stdlib/_tools/eslint/rules/yaml-license-header/test/test.js b/lib/node_modules/@stdlib/_tools/eslint/rules/yaml-license-header/test/test.js index 673acd701970..9c720073340d 100644 --- a/lib/node_modules/@stdlib/_tools/eslint/rules/yaml-license-header/test/test.js +++ b/lib/node_modules/@stdlib/_tools/eslint/rules/yaml-license-header/test/test.js @@ -20,10 +20,25 @@ // MODULES // +var join = require( 'path' ).join; var tape = require( 'tape' ); +var RuleTester = require( 'eslint' ).RuleTester; +var parser = require( 'yaml-eslint-parser' ); +var readFile = require( '@stdlib/fs/read-file' ).sync; var rule = require( './../lib' ); +// VARIABLES // + +var RE_COPYRIGHT = /^# Copyright.*$/m; + + +// FIXTURES // + +var valid = readFile( join( __dirname, 'fixtures', 'valid.yml' ), 'utf8' ); +var invalid = readFile( join( __dirname, 'fixtures', 'invalid.yml.txt' ), 'utf8' ); + + // TESTS // tape( 'main export is an object', function test( t ) { @@ -41,3 +56,75 @@ tape( 'the export has a `meta` property', function test( t ) { t.strictEqual( typeof rule.meta, 'object', 'has a meta property' ); t.end(); }); + +tape( 'the rule validates YAML license headers and copyright notices', function test( t ) { + var tester = new RuleTester({ + 'languageOptions': { + 'parser': parser + } + }); + + try { + tester.run( 'yaml-license-header', rule, { + 'valid': [ + valid, + valid.replace( RE_COPYRIGHT, '# Copyright (c) 2017 The Stdlib Authors.' ) + ], + 'invalid': [ + { + 'code': invalid, + 'errors': [{ + 'message': 'YAML files must start with the Apache-2.0 license header.', + 'line': 1 + }] + }, + { + 'code': valid.replace( RE_COPYRIGHT, '# Copyright (c) nonsense' ), + 'errors': [{ + 'message': 'Missing or malformed copyright line in license header.', + 'line': 4 + }] + }, + { + 'code': valid.replace( RE_COPYRIGHT, '# Copyright (c) The Stdlib Authors.' ), + 'errors': [{ + 'message': 'Missing or malformed copyright line in license header.', + 'line': 4 + }] + }, + { + 'code': valid.replace( RE_COPYRIGHT, '# Copyright (c) 26 The Stdlib Authors.' ), + 'errors': [{ + 'message': 'Missing or malformed copyright line in license header.', + 'line': 4 + }] + }, + { + 'code': valid.replace( 'The Stdlib Authors.', 'Someone Else.' ), + 'errors': [{ + 'message': 'Missing or malformed copyright line in license header.', + 'line': 4 + }] + }, + { + 'code': valid.replace( '# @license Apache-2.0', '# @license MIT' ), + 'errors': [{ + 'message': 'YAML files must start with the Apache-2.0 license header. Expected "# @license Apache-2.0" on line 2.', + 'line': 2 + }] + }, + { + 'code': '\n' + valid, + 'errors': [{ + 'message': 'YAML files must start with the Apache-2.0 license header. Expected "#/" on line 1.', + 'line': 1 + }] + } + ] + }); + t.pass( 'passed without errors' ); + } catch ( err ) { + t.fail( 'encountered an error: ' + err.message ); + } + t.end(); +}); diff --git a/lib/node_modules/@stdlib/_tools/manifest-json/schema/examples/fixtures/manifest.json b/lib/node_modules/@stdlib/_tools/manifest-json/schema/examples/fixtures/manifest.json index afec7e43875b..b22308ec4477 100644 --- a/lib/node_modules/@stdlib/_tools/manifest-json/schema/examples/fixtures/manifest.json +++ b/lib/node_modules/@stdlib/_tools/manifest-json/schema/examples/fixtures/manifest.json @@ -1,62 +1,62 @@ { - "fields": [ - { - "field": "src", - "resolve": true, - "relative": true - }, - { - "field": "include", - "resolve": true, - "relative": true - }, - { - "field": "libraries", - "resolve": false, - "relative": false - }, - { - "field": "libpath", - "resolve": true, - "relative": false - } - ], - "confs": [ - { - "task": "build", - "src": [ - "./src/main.c" - ], - "include": [ - "./include" - ], - "libraries": [], - "libpath": [], - "dependencies": [] - }, - { - "task": "benchmark", - "src": [ - "./src/main.c" - ], - "include": [ - "./include" - ], - "libraries": [], - "libpath": [], - "dependencies": [] - }, - { - "task": "examples", - "src": [ - "./src/main.c" - ], - "include": [ - "./include" - ], - "libraries": [], - "libpath": [], - "dependencies": [] - } - ] - } + "fields": [ + { + "field": "src", + "resolve": true, + "relative": true + }, + { + "field": "include", + "resolve": true, + "relative": true + }, + { + "field": "libraries", + "resolve": false, + "relative": false + }, + { + "field": "libpath", + "resolve": true, + "relative": false + } + ], + "confs": [ + { + "task": "build", + "src": [ + "./src/main.c" + ], + "include": [ + "./include" + ], + "libraries": [], + "libpath": [], + "dependencies": [] + }, + { + "task": "benchmark", + "src": [ + "./src/main.c" + ], + "include": [ + "./include" + ], + "libraries": [], + "libpath": [], + "dependencies": [] + }, + { + "task": "examples", + "src": [ + "./src/main.c" + ], + "include": [ + "./include" + ], + "libraries": [], + "libpath": [], + "dependencies": [] + } + ] +} diff --git a/lib/node_modules/@stdlib/_tools/manifest-json/schema/lib/schema.json b/lib/node_modules/@stdlib/_tools/manifest-json/schema/lib/schema.json index bff94034a571..cca6ad900e04 100644 --- a/lib/node_modules/@stdlib/_tools/manifest-json/schema/lib/schema.json +++ b/lib/node_modules/@stdlib/_tools/manifest-json/schema/lib/schema.json @@ -1,94 +1,94 @@ { - "$schema": "http://json-schema.org/draft-06/schema#", - "type": "object", - "properties": { - "options": { + "$schema": "http://json-schema.org/draft-06/schema#", + "type": "object", + "properties": { + "options": { + "type": "object", + "description": "Key-value pairs where each key corresponds to a field in 'confs' and may be used to conditionally select a configuration. Each value corresponds to the key's default value.", + "additionalProperties": true + }, + "fields": { + "type": "array", + "items": { "type": "object", - "description": "Key-value pairs where each key corresponds to a field in 'confs' and may be used to conditionally select a configuration. Each value corresponds to the key's default value.", - "additionalProperties": true + "properties": { + "field": { + "type": "string", + "description": "Key name corresponding to a field in 'confs'.", + "minLength": 1 + }, + "resolve": { + "type": "boolean", + "description": "Indicates whether to resolve field values as file paths. If 'true', all field values are resolved relative to the manifest file." + }, + "relative": { + "type": "boolean", + "description": "Indicates whether to resolve field values as relative file paths. This field is only considered when a manifest is a root manifest. If 'true', all field values, including those originating from dependencies, are resolved as relative file paths relative to the root manifest." + } + }, + "required": ["field", "resolve", "relative"], + "additionalProperties": false }, - "fields": { - "type": "array", - "items": { - "type": "object", - "properties": { - "field": { + "uniqueItems": true + }, + "confs": { + "type": "array", + "items": { + "type": "object", + "properties": { + "src": { + "type": "array", + "items": { "type": "string", - "description": "Key name corresponding to a field in 'confs'.", "minLength": 1 }, - "resolve": { - "type": "boolean", - "description": "Indicates whether to resolve field values as file paths. If 'true', all field values are resolved relative to the manifest file." - }, - "relative": { - "type": "boolean", - "description": "Indicates whether to resolve field values as relative file paths. This field is only considered when a manifest is a root manifest. If 'true', all field values, including those originating from dependencies, are resolved as relative file paths relative to the root manifest." - } + "description": "Array of source files.", + "uniqueItems": true, + "minItems": 1 }, - "required": ["field", "resolve", "relative"], - "additionalProperties": false - }, - "uniqueItems": true - }, - "confs": { - "type": "array", - "items": { - "type": "object", - "properties": { - "src": { - "type": "array", - "items": { - "type": "string", - "minLength": 1 - }, - "description": "Array of source files.", - "uniqueItems": true, - "minItems": 1 - }, - "include": { - "type": "array", - "items": { - "type": "string", - "minLength": 1 - }, - "description": "Array of include directories.", - "uniqueItems": true + "include": { + "type": "array", + "items": { + "type": "string", + "minLength": 1 }, - "libraries": { - "type": "array", - "items": { - "type": "string", - "minLength": 1 - }, - "description": "Array of linked library dependencies.", - "uniqueItems": true + "description": "Array of include directories.", + "uniqueItems": true + }, + "libraries": { + "type": "array", + "items": { + "type": "string", + "minLength": 1 }, - "libpath": { - "type": "array", - "items": { - "type": "string", - "minLength": 1 - }, - "description": "Array of linked library paths.", - "uniqueItems": true + "description": "Array of linked library dependencies.", + "uniqueItems": true + }, + "libpath": { + "type": "array", + "items": { + "type": "string", + "minLength": 1 }, - "dependencies": { - "type": "array", - "items": { - "type": "string", - "minLength": 1 - }, - "description": "Array of package dependencies containing source files.", - "uniqueItems": true - } + "description": "Array of linked library paths.", + "uniqueItems": true }, - "required": ["src", "include", "libraries", "libpath", "dependencies"], - "additionalProperties": true + "dependencies": { + "type": "array", + "items": { + "type": "string", + "minLength": 1 + }, + "description": "Array of package dependencies containing source files.", + "uniqueItems": true + } }, - "uniqueItems": true - } - }, - "required": ["options", "fields", "confs"], - "additionalProperties": false - } + "required": ["src", "include", "libraries", "libpath", "dependencies"], + "additionalProperties": true + }, + "uniqueItems": true + } + }, + "required": ["options", "fields", "confs"], + "additionalProperties": false +} diff --git a/lib/node_modules/@stdlib/_tools/modules/pkg-deps/lib/builtins.json b/lib/node_modules/@stdlib/_tools/modules/pkg-deps/lib/builtins.json index bff545ecad49..2df0881894d9 100644 --- a/lib/node_modules/@stdlib/_tools/modules/pkg-deps/lib/builtins.json +++ b/lib/node_modules/@stdlib/_tools/modules/pkg-deps/lib/builtins.json @@ -1,36 +1,36 @@ [ - "assert", - "buffer", - "child_process", - "cluster", - "console", - "constants", - "crypto", - "_debugger", - "dgram", - "dns", - "domain", - "events", - "fs", - "http", - "https", - "_linklist", - "module", - "net", - "os", - "path", - "punycode", - "querystring", - "readline", - "repl", - "stream", - "string_decoder", - "sys", - "timers", - "tls", - "tty", - "url", - "util", - "vm", - "zlib" + "assert", + "buffer", + "child_process", + "cluster", + "console", + "constants", + "crypto", + "_debugger", + "dgram", + "dns", + "domain", + "events", + "fs", + "http", + "https", + "_linklist", + "module", + "net", + "os", + "path", + "punycode", + "querystring", + "readline", + "repl", + "stream", + "string_decoder", + "sys", + "timers", + "tls", + "tty", + "url", + "util", + "vm", + "zlib" ] diff --git a/lib/node_modules/@stdlib/_tools/package-json/schema/lib/schema.json b/lib/node_modules/@stdlib/_tools/package-json/schema/lib/schema.json index 17e78cdceeed..13cf6b834dc7 100644 --- a/lib/node_modules/@stdlib/_tools/package-json/schema/lib/schema.json +++ b/lib/node_modules/@stdlib/_tools/package-json/schema/lib/schema.json @@ -55,11 +55,11 @@ }, "uri-http": { "type": "string", - "pattern": "^https?:\/\/" + "pattern": "^https?://" }, "uri-git": { "type": "string", - "pattern": "^git:\/\/" + "pattern": "^git://" }, "repo-object": { "type": "object", diff --git a/lib/node_modules/@stdlib/array/linspace/lib/defaults.json b/lib/node_modules/@stdlib/array/linspace/lib/defaults.json index 0afc16c6aaec..05a6bc55bce3 100644 --- a/lib/node_modules/@stdlib/array/linspace/lib/defaults.json +++ b/lib/node_modules/@stdlib/array/linspace/lib/defaults.json @@ -1,3 +1,3 @@ { - "endpoint": true + "endpoint": true } diff --git a/lib/node_modules/@stdlib/array/promotion-rules/lib/promotion_rules.json b/lib/node_modules/@stdlib/array/promotion-rules/lib/promotion_rules.json index 16525ec20469..2bdbcc1be4cd 100644 --- a/lib/node_modules/@stdlib/array/promotion-rules/lib/promotion_rules.json +++ b/lib/node_modules/@stdlib/array/promotion-rules/lib/promotion_rules.json @@ -191,7 +191,7 @@ "bool": -1, "generic": "generic" }, - "bool": { + "bool": { "float64": -1, "float32": -1, "float16": -1, diff --git a/lib/node_modules/@stdlib/blas/base/wasm/dsdot/src/exports.json b/lib/node_modules/@stdlib/blas/base/wasm/dsdot/src/exports.json index ce531d92cbcc..99fb3809fdad 100644 --- a/lib/node_modules/@stdlib/blas/base/wasm/dsdot/src/exports.json +++ b/lib/node_modules/@stdlib/blas/base/wasm/dsdot/src/exports.json @@ -1,4 +1,4 @@ [ - "_c_dsdot", - "_c_dsdot_ndarray" - ] + "_c_dsdot", + "_c_dsdot_ndarray" +] diff --git a/lib/node_modules/@stdlib/blas/base/wasm/scasum/manifest.json b/lib/node_modules/@stdlib/blas/base/wasm/scasum/manifest.json index 9c41d69e8615..cb6fa5a51d64 100644 --- a/lib/node_modules/@stdlib/blas/base/wasm/scasum/manifest.json +++ b/lib/node_modules/@stdlib/blas/base/wasm/scasum/manifest.json @@ -1,36 +1,36 @@ { - "options": {}, - "fields": [ - { - "field": "src", - "resolve": true, - "relative": true - }, - { - "field": "include", - "resolve": true, - "relative": true - }, - { - "field": "libraries", - "resolve": false, - "relative": false - }, - { - "field": "libpath", - "resolve": true, - "relative": false - } - ], - "confs": [ - { - "src": [], - "include": [], - "libraries": [], - "libpath": [], - "dependencies": [ - "@stdlib/blas/base/scasum" - ] - } - ] - } + "options": {}, + "fields": [ + { + "field": "src", + "resolve": true, + "relative": true + }, + { + "field": "include", + "resolve": true, + "relative": true + }, + { + "field": "libraries", + "resolve": false, + "relative": false + }, + { + "field": "libpath", + "resolve": true, + "relative": false + } + ], + "confs": [ + { + "src": [], + "include": [], + "libraries": [], + "libpath": [], + "dependencies": [ + "@stdlib/blas/base/scasum" + ] + } + ] +} diff --git a/lib/node_modules/@stdlib/blas/base/wasm/scasum/src/exports.json b/lib/node_modules/@stdlib/blas/base/wasm/scasum/src/exports.json index c796f6f74e68..a57c7ab25f31 100644 --- a/lib/node_modules/@stdlib/blas/base/wasm/scasum/src/exports.json +++ b/lib/node_modules/@stdlib/blas/base/wasm/scasum/src/exports.json @@ -1,4 +1,4 @@ [ - "_c_scasum", - "_c_scasum_ndarray" - ] + "_c_scasum", + "_c_scasum_ndarray" +] diff --git a/lib/node_modules/@stdlib/blas/ext/base/dapxsum/manifest.json b/lib/node_modules/@stdlib/blas/ext/base/dapxsum/manifest.json index 1f065ce34fd1..4ac5bed62f91 100644 --- a/lib/node_modules/@stdlib/blas/ext/base/dapxsum/manifest.json +++ b/lib/node_modules/@stdlib/blas/ext/base/dapxsum/manifest.json @@ -5,9 +5,9 @@ }, "fields": [ { - "field": "src", - "resolve": true, - "relative": true + "field": "src", + "resolve": true, + "relative": true }, { "field": "include", diff --git a/lib/node_modules/@stdlib/blas/ext/base/wasm/dnansumkbn2/manifest.json b/lib/node_modules/@stdlib/blas/ext/base/wasm/dnansumkbn2/manifest.json index 83471c579196..2ba26c117f7f 100644 --- a/lib/node_modules/@stdlib/blas/ext/base/wasm/dnansumkbn2/manifest.json +++ b/lib/node_modules/@stdlib/blas/ext/base/wasm/dnansumkbn2/manifest.json @@ -1,36 +1,36 @@ { - "options": {}, - "fields": [ - { - "field": "src", - "resolve": true, - "relative": true - }, - { - "field": "include", - "resolve": true, - "relative": true - }, - { - "field": "libraries", - "resolve": false, - "relative": false - }, - { - "field": "libpath", - "resolve": true, - "relative": false - } - ], - "confs": [ - { - "src": [], - "include": [], - "libraries": [], - "libpath": [], - "dependencies": [ - "@stdlib/blas/ext/base/dnansumkbn2" - ] - } - ] - } + "options": {}, + "fields": [ + { + "field": "src", + "resolve": true, + "relative": true + }, + { + "field": "include", + "resolve": true, + "relative": true + }, + { + "field": "libraries", + "resolve": false, + "relative": false + }, + { + "field": "libpath", + "resolve": true, + "relative": false + } + ], + "confs": [ + { + "src": [], + "include": [], + "libraries": [], + "libpath": [], + "dependencies": [ + "@stdlib/blas/ext/base/dnansumkbn2" + ] + } + ] +} diff --git a/lib/node_modules/@stdlib/blas/ext/base/wasm/dnansumkbn2/src/exports.json b/lib/node_modules/@stdlib/blas/ext/base/wasm/dnansumkbn2/src/exports.json index 383f963b32a8..d5fbf6cc804e 100644 --- a/lib/node_modules/@stdlib/blas/ext/base/wasm/dnansumkbn2/src/exports.json +++ b/lib/node_modules/@stdlib/blas/ext/base/wasm/dnansumkbn2/src/exports.json @@ -1,4 +1,4 @@ [ - "_stdlib_strided_dnansumkbn2", - "_stdlib_strided_dnansumkbn2_ndarray" - ] + "_stdlib_strided_dnansumkbn2", + "_stdlib_strided_dnansumkbn2_ndarray" +] diff --git a/lib/node_modules/@stdlib/complex/float32/base/mul-add/manifest.json b/lib/node_modules/@stdlib/complex/float32/base/mul-add/manifest.json index 0f3ab02d3442..c9ec3c3088e7 100755 --- a/lib/node_modules/@stdlib/complex/float32/base/mul-add/manifest.json +++ b/lib/node_modules/@stdlib/complex/float32/base/mul-add/manifest.json @@ -1,75 +1,75 @@ { - "options": { - "task": "build" + "options": { + "task": "build" + }, + "fields": [ + { + "field": "src", + "resolve": true, + "relative": true }, - "fields": [ - { - "field": "src", - "resolve": true, - "relative": true - }, - { - "field": "include", - "resolve": true, - "relative": true - }, - { - "field": "libraries", - "resolve": false, - "relative": false - }, - { - "field": "libpath", - "resolve": true, - "relative": false - } - ], - "confs": [ - { - "task": "build", - "src": [ - "./src/main.c" - ], - "include": [ - "./include" - ], - "libraries": [], - "libpath": [], - "dependencies": [ - "@stdlib/math/base/napi/ternary", - "@stdlib/complex/float32/ctor", - "@stdlib/complex/float32/reim" - ] - }, - { - "task": "benchmark", - "src": [ - "./src/main.c" - ], - "include": [ - "./include" - ], - "libraries": [], - "libpath": [], - "dependencies": [ - "@stdlib/complex/float32/ctor", - "@stdlib/complex/float32/reim" - ] - }, - { - "task": "examples", - "src": [ - "./src/main.c" - ], - "include": [ - "./include" - ], - "libraries": [], - "libpath": [], - "dependencies": [ - "@stdlib/complex/float32/ctor", - "@stdlib/complex/float32/reim" - ] - } - ] - } + { + "field": "include", + "resolve": true, + "relative": true + }, + { + "field": "libraries", + "resolve": false, + "relative": false + }, + { + "field": "libpath", + "resolve": true, + "relative": false + } + ], + "confs": [ + { + "task": "build", + "src": [ + "./src/main.c" + ], + "include": [ + "./include" + ], + "libraries": [], + "libpath": [], + "dependencies": [ + "@stdlib/math/base/napi/ternary", + "@stdlib/complex/float32/ctor", + "@stdlib/complex/float32/reim" + ] + }, + { + "task": "benchmark", + "src": [ + "./src/main.c" + ], + "include": [ + "./include" + ], + "libraries": [], + "libpath": [], + "dependencies": [ + "@stdlib/complex/float32/ctor", + "@stdlib/complex/float32/reim" + ] + }, + { + "task": "examples", + "src": [ + "./src/main.c" + ], + "include": [ + "./include" + ], + "libraries": [], + "libpath": [], + "dependencies": [ + "@stdlib/complex/float32/ctor", + "@stdlib/complex/float32/reim" + ] + } + ] +} diff --git a/lib/node_modules/@stdlib/complex/float32/real/manifest.json b/lib/node_modules/@stdlib/complex/float32/real/manifest.json index 66b8c5b04453..fde543aaee20 100644 --- a/lib/node_modules/@stdlib/complex/float32/real/manifest.json +++ b/lib/node_modules/@stdlib/complex/float32/real/manifest.json @@ -33,8 +33,8 @@ "libraries": [], "libpath": [], "dependencies": [ - "@stdlib/complex/float32/ctor" - ] + "@stdlib/complex/float32/ctor" + ] } ] } diff --git a/lib/node_modules/@stdlib/math/base/special/bessely1/manifest.json b/lib/node_modules/@stdlib/math/base/special/bessely1/manifest.json index 524dcf064741..6cd2f11a3bdc 100644 --- a/lib/node_modules/@stdlib/math/base/special/bessely1/manifest.json +++ b/lib/node_modules/@stdlib/math/base/special/bessely1/manifest.json @@ -1,96 +1,96 @@ { - "options": { - "task": "build" + "options": { + "task": "build" + }, + "fields": [ + { + "field": "src", + "resolve": true, + "relative": true }, - "fields": [ - { - "field": "src", - "resolve": true, - "relative": true - }, - { - "field": "include", - "resolve": true, - "relative": true - }, - { - "field": "libraries", - "resolve": false, - "relative": false - }, - { - "field": "libpath", - "resolve": true, - "relative": false - } - ], - "confs": [ - { - "task": "build", - "src": [ - "./src/main.c" - ], - "include": [ - "./include" - ], - "libraries": [], - "libpath": [], - "dependencies": [ - "@stdlib/math/base/napi/unary", - "@stdlib/math/base/special/sqrt", - "@stdlib/math/base/special/besselj1", - "@stdlib/math/base/special/ln", - "@stdlib/math/base/special/sincos", - "@stdlib/constants/float64/pinf", - "@stdlib/constants/float64/ninf", - "@stdlib/constants/float64/pi", - "@stdlib/constants/float64/sqrt-pi", - "@stdlib/constants/float64/nan" - ] - }, - { - "task": "benchmark", - "src": [ - "./src/main.c" - ], - "include": [ - "./include" - ], - "libraries": [], - "libpath": [], - "dependencies": [ - "@stdlib/math/base/special/sqrt", - "@stdlib/math/base/special/besselj1", - "@stdlib/math/base/special/ln", - "@stdlib/math/base/special/sincos", - "@stdlib/constants/float64/pinf", - "@stdlib/constants/float64/ninf", - "@stdlib/constants/float64/pi", - "@stdlib/constants/float64/sqrt-pi", - "@stdlib/constants/float64/nan" - ] - }, - { - "task": "examples", - "src": [ - "./src/main.c" - ], - "include": [ - "./include" - ], - "libraries": [], - "libpath": [], - "dependencies": [ - "@stdlib/math/base/special/sqrt", - "@stdlib/math/base/special/besselj1", - "@stdlib/math/base/special/ln", - "@stdlib/math/base/special/sincos", - "@stdlib/constants/float64/pinf", - "@stdlib/constants/float64/ninf", - "@stdlib/constants/float64/pi", - "@stdlib/constants/float64/sqrt-pi", - "@stdlib/constants/float64/nan" - ] - } - ] - } + { + "field": "include", + "resolve": true, + "relative": true + }, + { + "field": "libraries", + "resolve": false, + "relative": false + }, + { + "field": "libpath", + "resolve": true, + "relative": false + } + ], + "confs": [ + { + "task": "build", + "src": [ + "./src/main.c" + ], + "include": [ + "./include" + ], + "libraries": [], + "libpath": [], + "dependencies": [ + "@stdlib/math/base/napi/unary", + "@stdlib/math/base/special/sqrt", + "@stdlib/math/base/special/besselj1", + "@stdlib/math/base/special/ln", + "@stdlib/math/base/special/sincos", + "@stdlib/constants/float64/pinf", + "@stdlib/constants/float64/ninf", + "@stdlib/constants/float64/pi", + "@stdlib/constants/float64/sqrt-pi", + "@stdlib/constants/float64/nan" + ] + }, + { + "task": "benchmark", + "src": [ + "./src/main.c" + ], + "include": [ + "./include" + ], + "libraries": [], + "libpath": [], + "dependencies": [ + "@stdlib/math/base/special/sqrt", + "@stdlib/math/base/special/besselj1", + "@stdlib/math/base/special/ln", + "@stdlib/math/base/special/sincos", + "@stdlib/constants/float64/pinf", + "@stdlib/constants/float64/ninf", + "@stdlib/constants/float64/pi", + "@stdlib/constants/float64/sqrt-pi", + "@stdlib/constants/float64/nan" + ] + }, + { + "task": "examples", + "src": [ + "./src/main.c" + ], + "include": [ + "./include" + ], + "libraries": [], + "libpath": [], + "dependencies": [ + "@stdlib/math/base/special/sqrt", + "@stdlib/math/base/special/besselj1", + "@stdlib/math/base/special/ln", + "@stdlib/math/base/special/sincos", + "@stdlib/constants/float64/pinf", + "@stdlib/constants/float64/ninf", + "@stdlib/constants/float64/pi", + "@stdlib/constants/float64/sqrt-pi", + "@stdlib/constants/float64/nan" + ] + } + ] +} diff --git a/lib/node_modules/@stdlib/math/base/special/riemann-zeta/lib/bernoulli.json b/lib/node_modules/@stdlib/math/base/special/riemann-zeta/lib/bernoulli.json index 796c4a1a0e32..1069211e0d97 100644 --- a/lib/node_modules/@stdlib/math/base/special/riemann-zeta/lib/bernoulli.json +++ b/lib/node_modules/@stdlib/math/base/special/riemann-zeta/lib/bernoulli.json @@ -1,130 +1,130 @@ [1.00000000000000000000000000000000000000000, -0.166666666666666666666666666666666666666667, --0.0333333333333333333333333333333333333333333, -0.0238095238095238095238095238095238095238095, --0.0333333333333333333333333333333333333333333, -0.0757575757575757575757575757575757575757576, --0.253113553113553113553113553113553113553114, -1.16666666666666666666666666666666666666667, --7.09215686274509803921568627450980392156863, -54.9711779448621553884711779448621553884712, --529.124242424242424242424242424242424242424, -6192.12318840579710144927536231884057971014, --86580.2531135531135531135531135531135531136, -1.42551716666666666666666666666666666666667e6, --2.72982310678160919540229885057471264367816e7, -6.01580873900642368384303868174835916771401e8, --1.51163157670921568627450980392156862745098e10, -4.29614643061166666666666666666666666666667e11, --1.37116552050883327721590879485616327721591e13, -4.88332318973593166666666666666666666666667e14, --1.92965793419400681486326681448632668144863e16, -8.41693047573682615000553709856035437430786e17, --4.03380718540594554130768115942028985507246e19, -2.11507486380819916056014539007092198581560e21, --1.20866265222965259346027311937082525317819e23, -7.50086674607696436685572007575757575757576e24, --5.03877810148106891413789303052201257861635e26, -3.65287764848181233351104308429711779448622e28, --2.84987693024508822262691464329106781609195e30, -2.38654274996836276446459819192192149717514e32, --2.13999492572253336658107447651910973926742e34, -2.05009757234780975699217330956723102516667e36, --2.09380059113463784090951852900279701847092e38, -2.27526964884635155596492603527692645814700e40, --2.62577102862395760473030497361582020814490e42, -3.21250821027180325182047923042649852435219e44, --4.15982781667947109139170744952623589366896e46, -5.69206954820352800238834562191210586444805e48, --8.21836294197845756922906534686173330145509e50, -1.25029043271669930167323398297028955241772e53, --2.00155832332483702749253291988132987687242e55, -3.36749829153643742333966769033387530162196e57, --5.94709705031354477186604968440515408405791e59, -1.10119103236279775595641307904376916046305e62, --2.13552595452535011886583850190410656789733e64, -4.33288969866411924196166130593792062184514e66, --9.18855282416693282262005552155018971389604e68, -2.03468967763290744934550279902200200659751e71, --4.70038339580357310785752555350060606545967e73, -1.13180434454842492706751862577339342678904e76, --2.83822495706937069592641563364817647382847e78, -7.40642489796788506297508271409209841768797e80, --2.00964548027566044834656196727153631868673e83, -5.66571700508059414457193460305193569614195e85, --1.65845111541362169158237133743199123014950e88, -5.03688599504923774192894219151801548124424e90, --1.58614682376581863693634015729664387827410e93, -5.17567436175456269840732406825071225612408e95, --1.74889218402171173396900258776181591451415e98, -6.11605199949521852558245252642641677807677e100, --2.21227769127078349422883234567129324455732e103, -8.27227767987709698542210624599845957312047e105, --3.19589251114157095835916343691808148735263e108, -1.27500822233877929823100243029266798669572e111, --5.25009230867741338994028246245651754469199e113, -2.23018178942416252098692981988387281437383e116, --9.76845219309552044386335133989802393011669e118, -4.40983619784529542722726228748131691918758e121, --2.05085708864640888397293377275830154864566e124, -9.82144332797912771075729696020975210414919e126, --4.84126007982088805087891967099634127611305e129, -2.45530888014809826097834674040886903996737e132, --1.28069268040847475487825132786017857218118e135, -6.86761671046685811921018885984644004360924e137, --3.78464685819691046949789954163795568144895e140, -2.14261012506652915508713231351482720966602e143, --1.24567271371836950070196429616376072194583e146, -7.43457875510001525436796683940520613117807e148, --4.55357953046417048940633332233212748767721e151, -2.86121128168588683453638472510172325229190e154, --1.84377235520338697276882026536287854875414e157, -1.21811545362210466995013165065995213558174e160, --8.24821871853141215484818457296893447301419e162, -5.72258779378329433296516498142978615918685e165, --4.06685305250591047267679693831158655602196e168, -2.95960920646420500628752695815851870426379e171, --2.20495225651894575090311752273445984836379e174, -1.68125970728895998058311525151360665754464e177, --1.31167362135569576486452806355817153004431e180, -1.04678940094780380821832853929823089643829e183, --8.54328935788337077185982546299082774593270e185, -7.12878213224865423522884066771438224721245e188, --6.08029314555358993000847118686477458461988e191, -5.29967764248499239300942910043247266228490e194, --4.71942591687458626443646229013379911103761e197, -4.29284137914029810894168296541074669045521e200, --3.98767449682322074434477655542938795106651e203, -3.78197804193588827138944181161393327898220e206, --3.66142336836811912436858082151197348755196e209, -3.61760902723728623488554609298914089477541e212, --3.64707726451913543621383088655499449048682e215, -3.75087554364544090983452410104814189306842e218, --3.93458672964390282694891288533713429355657e221, -4.20882111481900820046571171111494898242731e224, --4.59022962206179186559802940573325591059371e227, -5.10317257726295759279198185106496768539760e230, --5.78227623036569554015377271242917142512200e233, -6.67624821678358810322637794412809363451080e236, --7.85353076444504163225916259639312444428230e239, -9.41068940670587255245443288258762485293948e242, --1.14849338734651839938498599206805592548354e246, -1.42729587428487856771416320087122499897180e249, --1.80595595869093090142285728117654560926719e252, -2.32615353076608052161297985184708876161736e255, --3.04957517154995947681942819261542593785327e258, -4.06858060764339734424012124124937318633684e261, --5.52310313219743616252320044093186392324280e264, -7.62772793964343924869949690204961215533859e267, --1.07155711196978863132793524001065396932667e271, -1.53102008959691884453440916153355334355847e274, --2.22448916821798346676602348865048510824835e277, -3.28626791906901391668189736436895275365183e280, --4.93559289559603449020711938191575963496999e283, -7.53495712008325067212266049779283956727824e286, --1.16914851545841777278088924731655041783900e290, -1.84352614678389394126646201597702232396492e293, --2.95368261729680829728014917350525183485207e296, -4.80793212775015697668878704043264072227967e299, --7.95021250458852528538243631671158693036798e302, -1.33527841873546338750122832017820518292039e306] + 0.166666666666666666666666666666666666666667, + -0.0333333333333333333333333333333333333333333, + 0.0238095238095238095238095238095238095238095, + -0.0333333333333333333333333333333333333333333, + 0.0757575757575757575757575757575757575757576, + -0.253113553113553113553113553113553113553114, + 1.16666666666666666666666666666666666666667, + -7.09215686274509803921568627450980392156863, + 54.9711779448621553884711779448621553884712, + -529.124242424242424242424242424242424242424, + 6192.12318840579710144927536231884057971014, + -86580.2531135531135531135531135531135531136, + 1.42551716666666666666666666666666666666667e6, + -2.72982310678160919540229885057471264367816e7, + 6.01580873900642368384303868174835916771401e8, + -1.51163157670921568627450980392156862745098e10, + 4.29614643061166666666666666666666666666667e11, + -1.37116552050883327721590879485616327721591e13, + 4.88332318973593166666666666666666666666667e14, + -1.92965793419400681486326681448632668144863e16, + 8.41693047573682615000553709856035437430786e17, + -4.03380718540594554130768115942028985507246e19, + 2.11507486380819916056014539007092198581560e21, + -1.20866265222965259346027311937082525317819e23, + 7.50086674607696436685572007575757575757576e24, + -5.03877810148106891413789303052201257861635e26, + 3.65287764848181233351104308429711779448622e28, + -2.84987693024508822262691464329106781609195e30, + 2.38654274996836276446459819192192149717514e32, + -2.13999492572253336658107447651910973926742e34, + 2.05009757234780975699217330956723102516667e36, + -2.09380059113463784090951852900279701847092e38, + 2.27526964884635155596492603527692645814700e40, + -2.62577102862395760473030497361582020814490e42, + 3.21250821027180325182047923042649852435219e44, + -4.15982781667947109139170744952623589366896e46, + 5.69206954820352800238834562191210586444805e48, + -8.21836294197845756922906534686173330145509e50, + 1.25029043271669930167323398297028955241772e53, + -2.00155832332483702749253291988132987687242e55, + 3.36749829153643742333966769033387530162196e57, + -5.94709705031354477186604968440515408405791e59, + 1.10119103236279775595641307904376916046305e62, + -2.13552595452535011886583850190410656789733e64, + 4.33288969866411924196166130593792062184514e66, + -9.18855282416693282262005552155018971389604e68, + 2.03468967763290744934550279902200200659751e71, + -4.70038339580357310785752555350060606545967e73, + 1.13180434454842492706751862577339342678904e76, + -2.83822495706937069592641563364817647382847e78, + 7.40642489796788506297508271409209841768797e80, + -2.00964548027566044834656196727153631868673e83, + 5.66571700508059414457193460305193569614195e85, + -1.65845111541362169158237133743199123014950e88, + 5.03688599504923774192894219151801548124424e90, + -1.58614682376581863693634015729664387827410e93, + 5.17567436175456269840732406825071225612408e95, + -1.74889218402171173396900258776181591451415e98, + 6.11605199949521852558245252642641677807677e100, + -2.21227769127078349422883234567129324455732e103, + 8.27227767987709698542210624599845957312047e105, + -3.19589251114157095835916343691808148735263e108, + 1.27500822233877929823100243029266798669572e111, + -5.25009230867741338994028246245651754469199e113, + 2.23018178942416252098692981988387281437383e116, + -9.76845219309552044386335133989802393011669e118, + 4.40983619784529542722726228748131691918758e121, + -2.05085708864640888397293377275830154864566e124, + 9.82144332797912771075729696020975210414919e126, + -4.84126007982088805087891967099634127611305e129, + 2.45530888014809826097834674040886903996737e132, + -1.28069268040847475487825132786017857218118e135, + 6.86761671046685811921018885984644004360924e137, + -3.78464685819691046949789954163795568144895e140, + 2.14261012506652915508713231351482720966602e143, + -1.24567271371836950070196429616376072194583e146, + 7.43457875510001525436796683940520613117807e148, + -4.55357953046417048940633332233212748767721e151, + 2.86121128168588683453638472510172325229190e154, + -1.84377235520338697276882026536287854875414e157, + 1.21811545362210466995013165065995213558174e160, + -8.24821871853141215484818457296893447301419e162, + 5.72258779378329433296516498142978615918685e165, + -4.06685305250591047267679693831158655602196e168, + 2.95960920646420500628752695815851870426379e171, + -2.20495225651894575090311752273445984836379e174, + 1.68125970728895998058311525151360665754464e177, + -1.31167362135569576486452806355817153004431e180, + 1.04678940094780380821832853929823089643829e183, + -8.54328935788337077185982546299082774593270e185, + 7.12878213224865423522884066771438224721245e188, + -6.08029314555358993000847118686477458461988e191, + 5.29967764248499239300942910043247266228490e194, + -4.71942591687458626443646229013379911103761e197, + 4.29284137914029810894168296541074669045521e200, + -3.98767449682322074434477655542938795106651e203, + 3.78197804193588827138944181161393327898220e206, + -3.66142336836811912436858082151197348755196e209, + 3.61760902723728623488554609298914089477541e212, + -3.64707726451913543621383088655499449048682e215, + 3.75087554364544090983452410104814189306842e218, + -3.93458672964390282694891288533713429355657e221, + 4.20882111481900820046571171111494898242731e224, + -4.59022962206179186559802940573325591059371e227, + 5.10317257726295759279198185106496768539760e230, + -5.78227623036569554015377271242917142512200e233, + 6.67624821678358810322637794412809363451080e236, + -7.85353076444504163225916259639312444428230e239, + 9.41068940670587255245443288258762485293948e242, + -1.14849338734651839938498599206805592548354e246, + 1.42729587428487856771416320087122499897180e249, + -1.80595595869093090142285728117654560926719e252, + 2.32615353076608052161297985184708876161736e255, + -3.04957517154995947681942819261542593785327e258, + 4.06858060764339734424012124124937318633684e261, + -5.52310313219743616252320044093186392324280e264, + 7.62772793964343924869949690204961215533859e267, + -1.07155711196978863132793524001065396932667e271, + 1.53102008959691884453440916153355334355847e274, + -2.22448916821798346676602348865048510824835e277, + 3.28626791906901391668189736436895275365183e280, + -4.93559289559603449020711938191575963496999e283, + 7.53495712008325067212266049779283956727824e286, + -1.16914851545841777278088924731655041783900e290, + 1.84352614678389394126646201597702232396492e293, + -2.95368261729680829728014917350525183485207e296, + 4.80793212775015697668878704043264072227967e299, + -7.95021250458852528538243631671158693036798e302, + 1.33527841873546338750122832017820518292039e306] diff --git a/lib/node_modules/@stdlib/math/strided/ops/add/lib/types.json b/lib/node_modules/@stdlib/math/strided/ops/add/lib/types.json index b9a5af1e3cf7..9cf4a27e11e4 100644 --- a/lib/node_modules/@stdlib/math/strided/ops/add/lib/types.json +++ b/lib/node_modules/@stdlib/math/strided/ops/add/lib/types.json @@ -1,375 +1,375 @@ ["complex64","complex64","complex64", -"complex64","complex64","complex128", -"complex64","complex64","generic", -"complex64","complex128","complex128", -"complex64","complex128","generic", -"complex64","float32","complex64", -"complex64","float32","complex128", -"complex64","float32","generic", -"complex64","float64","complex128", -"complex64","float64","generic", -"complex64","generic","generic", -"complex64","int16","complex64", -"complex64","int16","complex128", -"complex64","int16","generic", -"complex64","int32","complex128", -"complex64","int32","generic", -"complex64","int8","complex64", -"complex64","int8","complex128", -"complex64","int8","generic", -"complex64","uint16","complex64", -"complex64","uint16","complex128", -"complex64","uint16","generic", -"complex64","uint32","complex128", -"complex64","uint32","generic", -"complex64","uint8","complex64", -"complex64","uint8","complex128", -"complex64","uint8","generic", -"complex128","complex64","complex128", -"complex128","complex64","generic", -"complex128","complex128","complex128", -"complex128","complex128","generic", -"complex128","float32","complex128", -"complex128","float32","generic", -"complex128","float64","complex128", -"complex128","float64","generic", -"complex128","generic","generic", -"complex128","int16","complex128", -"complex128","int16","generic", -"complex128","int32","complex128", -"complex128","int32","generic", -"complex128","int8","complex128", -"complex128","int8","generic", -"complex128","uint16","complex128", -"complex128","uint16","generic", -"complex128","uint32","complex128", -"complex128","uint32","generic", -"complex128","uint8","complex128", -"complex128","uint8","generic", -"float32","complex64","complex64", -"float32","complex64","complex128", -"float32","complex64","generic", -"float32","complex128","complex128", -"float32","complex128","generic", -"float32","float32","float32", -"float32","float32","complex128", -"float32","float32","complex64", -"float32","float32","float64", -"float32","float32","generic", -"float32","float64","float64", -"float32","float64","complex128", -"float32","float64","generic", -"float32","generic","generic", -"float32","int16","float32", -"float32","int16","complex128", -"float32","int16","complex64", -"float32","int16","float64", -"float32","int16","generic", -"float32","int32","float64", -"float32","int32","complex128", -"float32","int32","generic", -"float32","int8","float32", -"float32","int8","complex128", -"float32","int8","complex64", -"float32","int8","float64", -"float32","int8","generic", -"float32","uint16","float32", -"float32","uint16","complex128", -"float32","uint16","complex64", -"float32","uint16","float64", -"float32","uint16","generic", -"float32","uint32","float64", -"float32","uint32","complex128", -"float32","uint32","generic", -"float32","uint8","float32", -"float32","uint8","complex128", -"float32","uint8","complex64", -"float32","uint8","float64", -"float32","uint8","generic", -"float64","complex64","complex128", -"float64","complex64","generic", -"float64","complex128","complex128", -"float64","complex128","generic", -"float64","float32","float64", -"float64","float32","complex128", -"float64","float32","generic", -"float64","float64","float64", -"float64","float64","complex128", -"float64","float64","generic", -"float64","generic","generic", -"float64","int16","float64", -"float64","int16","complex128", -"float64","int16","generic", -"float64","int32","float64", -"float64","int32","complex128", -"float64","int32","generic", -"float64","int8","float64", -"float64","int8","complex128", -"float64","int8","generic", -"float64","uint16","float64", -"float64","uint16","complex128", -"float64","uint16","generic", -"float64","uint32","float64", -"float64","uint32","complex128", -"float64","uint32","generic", -"float64","uint8","float64", -"float64","uint8","complex128", -"float64","uint8","generic", -"generic","complex64","generic", -"generic","complex128","generic", -"generic","float32","generic", -"generic","float64","generic", -"generic","generic","generic", -"generic","int16","generic", -"generic","int32","generic", -"generic","int8","generic", -"generic","uint16","generic", -"generic","uint32","generic", -"generic","uint8","generic", -"int16","complex64","complex64", -"int16","complex64","complex128", -"int16","complex64","generic", -"int16","complex128","complex128", -"int16","complex128","generic", -"int16","float32","float32", -"int16","float32","complex128", -"int16","float32","complex64", -"int16","float32","float64", -"int16","float32","generic", -"int16","float64","float64", -"int16","float64","complex128", -"int16","float64","generic", -"int16","generic","generic", -"int16","int16","int16", -"int16","int16","complex128", -"int16","int16","complex64", -"int16","int16","float32", -"int16","int16","float64", -"int16","int16","generic", -"int16","int16","int32", -"int16","int32","int32", -"int16","int32","complex128", -"int16","int32","float64", -"int16","int32","generic", -"int16","int8","int16", -"int16","int8","complex128", -"int16","int8","complex64", -"int16","int8","float32", -"int16","int8","float64", -"int16","int8","generic", -"int16","int8","int32", -"int16","uint16","int32", -"int16","uint16","complex128", -"int16","uint16","float64", -"int16","uint16","generic", -"int16","uint32","generic", -"int16","uint8","int16", -"int16","uint8","complex128", -"int16","uint8","complex64", -"int16","uint8","float32", -"int16","uint8","float64", -"int16","uint8","generic", -"int16","uint8","int32", -"int32","complex64","complex128", -"int32","complex64","generic", -"int32","complex128","complex128", -"int32","complex128","generic", -"int32","float32","float64", -"int32","float32","complex128", -"int32","float32","generic", -"int32","float64","float64", -"int32","float64","complex128", -"int32","float64","generic", -"int32","generic","generic", -"int32","int16","int32", -"int32","int16","complex128", -"int32","int16","float64", -"int32","int16","generic", -"int32","int32","int32", -"int32","int32","complex128", -"int32","int32","float64", -"int32","int32","generic", -"int32","int8","int32", -"int32","int8","complex128", -"int32","int8","float64", -"int32","int8","generic", -"int32","uint16","int32", -"int32","uint16","complex128", -"int32","uint16","float64", -"int32","uint16","generic", -"int32","uint32","generic", -"int32","uint8","int32", -"int32","uint8","complex128", -"int32","uint8","float64", -"int32","uint8","generic", -"int8","complex64","complex64", -"int8","complex64","complex128", -"int8","complex64","generic", -"int8","complex128","complex128", -"int8","complex128","generic", -"int8","float32","float32", -"int8","float32","complex128", -"int8","float32","complex64", -"int8","float32","float64", -"int8","float32","generic", -"int8","float64","float64", -"int8","float64","complex128", -"int8","float64","generic", -"int8","generic","generic", -"int8","int16","int16", -"int8","int16","complex128", -"int8","int16","complex64", -"int8","int16","float32", -"int8","int16","float64", -"int8","int16","generic", -"int8","int16","int32", -"int8","int32","int32", -"int8","int32","complex128", -"int8","int32","float64", -"int8","int32","generic", -"int8","int8","int8", -"int8","int8","complex128", -"int8","int8","complex64", -"int8","int8","float32", -"int8","int8","float64", -"int8","int8","generic", -"int8","int8","int16", -"int8","int8","int32", -"int8","uint16","int32", -"int8","uint16","complex128", -"int8","uint16","float64", -"int8","uint16","generic", -"int8","uint32","generic", -"int8","uint8","int16", -"int8","uint8","complex128", -"int8","uint8","complex64", -"int8","uint8","float32", -"int8","uint8","float64", -"int8","uint8","generic", -"int8","uint8","int32", -"uint16","complex64","complex64", -"uint16","complex64","complex128", -"uint16","complex64","generic", -"uint16","complex128","complex128", -"uint16","complex128","generic", -"uint16","float32","float32", -"uint16","float32","complex128", -"uint16","float32","complex64", -"uint16","float32","float64", -"uint16","float32","generic", -"uint16","float64","float64", -"uint16","float64","complex128", -"uint16","float64","generic", -"uint16","generic","generic", -"uint16","int16","int32", -"uint16","int16","complex128", -"uint16","int16","float64", -"uint16","int16","generic", -"uint16","int32","int32", -"uint16","int32","complex128", -"uint16","int32","float64", -"uint16","int32","generic", -"uint16","int8","int32", -"uint16","int8","complex128", -"uint16","int8","float64", -"uint16","int8","generic", -"uint16","uint16","uint16", -"uint16","uint16","complex128", -"uint16","uint16","complex64", -"uint16","uint16","float32", -"uint16","uint16","float64", -"uint16","uint16","generic", -"uint16","uint16","int32", -"uint16","uint16","uint32", -"uint16","uint32","uint32", -"uint16","uint32","complex128", -"uint16","uint32","float64", -"uint16","uint32","generic", -"uint16","uint8","uint16", -"uint16","uint8","complex128", -"uint16","uint8","complex64", -"uint16","uint8","float32", -"uint16","uint8","float64", -"uint16","uint8","generic", -"uint16","uint8","int32", -"uint16","uint8","uint32", -"uint32","complex64","complex128", -"uint32","complex64","generic", -"uint32","complex128","complex128", -"uint32","complex128","generic", -"uint32","float32","float64", -"uint32","float32","complex128", -"uint32","float32","generic", -"uint32","float64","float64", -"uint32","float64","complex128", -"uint32","float64","generic", -"uint32","generic","generic", -"uint32","int16","generic", -"uint32","int32","generic", -"uint32","int8","generic", -"uint32","uint16","uint32", -"uint32","uint16","complex128", -"uint32","uint16","float64", -"uint32","uint16","generic", -"uint32","uint32","uint32", -"uint32","uint32","complex128", -"uint32","uint32","float64", -"uint32","uint32","generic", -"uint32","uint8","uint32", -"uint32","uint8","complex128", -"uint32","uint8","float64", -"uint32","uint8","generic", -"uint8","complex64","complex64", -"uint8","complex64","complex128", -"uint8","complex64","generic", -"uint8","complex128","complex128", -"uint8","complex128","generic", -"uint8","float32","float32", -"uint8","float32","complex128", -"uint8","float32","complex64", -"uint8","float32","float64", -"uint8","float32","generic", -"uint8","float64","float64", -"uint8","float64","complex128", -"uint8","float64","generic", -"uint8","generic","generic", -"uint8","int16","int16", -"uint8","int16","complex128", -"uint8","int16","complex64", -"uint8","int16","float32", -"uint8","int16","float64", -"uint8","int16","generic", -"uint8","int16","int32", -"uint8","int32","int32", -"uint8","int32","complex128", -"uint8","int32","float64", -"uint8","int32","generic", -"uint8","int8","int16", -"uint8","int8","complex128", -"uint8","int8","complex64", -"uint8","int8","float32", -"uint8","int8","float64", -"uint8","int8","generic", -"uint8","int8","int32", -"uint8","uint16","uint16", -"uint8","uint16","complex128", -"uint8","uint16","complex64", -"uint8","uint16","float32", -"uint8","uint16","float64", -"uint8","uint16","generic", -"uint8","uint16","int32", -"uint8","uint16","uint32", -"uint8","uint32","uint32", -"uint8","uint32","complex128", -"uint8","uint32","float64", -"uint8","uint32","generic", -"uint8","uint8","uint8", -"uint8","uint8","complex128", -"uint8","uint8","complex64", -"uint8","uint8","float32", -"uint8","uint8","float64", -"uint8","uint8","generic", -"uint8","uint8","int16", -"uint8","uint8","int32", -"uint8","uint8","uint16", -"uint8","uint8","uint32"] + "complex64","complex64","complex128", + "complex64","complex64","generic", + "complex64","complex128","complex128", + "complex64","complex128","generic", + "complex64","float32","complex64", + "complex64","float32","complex128", + "complex64","float32","generic", + "complex64","float64","complex128", + "complex64","float64","generic", + "complex64","generic","generic", + "complex64","int16","complex64", + "complex64","int16","complex128", + "complex64","int16","generic", + "complex64","int32","complex128", + "complex64","int32","generic", + "complex64","int8","complex64", + "complex64","int8","complex128", + "complex64","int8","generic", + "complex64","uint16","complex64", + "complex64","uint16","complex128", + "complex64","uint16","generic", + "complex64","uint32","complex128", + "complex64","uint32","generic", + "complex64","uint8","complex64", + "complex64","uint8","complex128", + "complex64","uint8","generic", + "complex128","complex64","complex128", + "complex128","complex64","generic", + "complex128","complex128","complex128", + "complex128","complex128","generic", + "complex128","float32","complex128", + "complex128","float32","generic", + "complex128","float64","complex128", + "complex128","float64","generic", + "complex128","generic","generic", + "complex128","int16","complex128", + "complex128","int16","generic", + "complex128","int32","complex128", + "complex128","int32","generic", + "complex128","int8","complex128", + "complex128","int8","generic", + "complex128","uint16","complex128", + "complex128","uint16","generic", + "complex128","uint32","complex128", + "complex128","uint32","generic", + "complex128","uint8","complex128", + "complex128","uint8","generic", + "float32","complex64","complex64", + "float32","complex64","complex128", + "float32","complex64","generic", + "float32","complex128","complex128", + "float32","complex128","generic", + "float32","float32","float32", + "float32","float32","complex128", + "float32","float32","complex64", + "float32","float32","float64", + "float32","float32","generic", + "float32","float64","float64", + "float32","float64","complex128", + "float32","float64","generic", + "float32","generic","generic", + "float32","int16","float32", + "float32","int16","complex128", + "float32","int16","complex64", + "float32","int16","float64", + "float32","int16","generic", + "float32","int32","float64", + "float32","int32","complex128", + "float32","int32","generic", + "float32","int8","float32", + "float32","int8","complex128", + "float32","int8","complex64", + "float32","int8","float64", + "float32","int8","generic", + "float32","uint16","float32", + "float32","uint16","complex128", + "float32","uint16","complex64", + "float32","uint16","float64", + "float32","uint16","generic", + "float32","uint32","float64", + "float32","uint32","complex128", + "float32","uint32","generic", + "float32","uint8","float32", + "float32","uint8","complex128", + "float32","uint8","complex64", + "float32","uint8","float64", + "float32","uint8","generic", + "float64","complex64","complex128", + "float64","complex64","generic", + "float64","complex128","complex128", + "float64","complex128","generic", + "float64","float32","float64", + "float64","float32","complex128", + "float64","float32","generic", + "float64","float64","float64", + "float64","float64","complex128", + "float64","float64","generic", + "float64","generic","generic", + "float64","int16","float64", + "float64","int16","complex128", + "float64","int16","generic", + "float64","int32","float64", + "float64","int32","complex128", + "float64","int32","generic", + "float64","int8","float64", + "float64","int8","complex128", + "float64","int8","generic", + "float64","uint16","float64", + "float64","uint16","complex128", + "float64","uint16","generic", + "float64","uint32","float64", + "float64","uint32","complex128", + "float64","uint32","generic", + "float64","uint8","float64", + "float64","uint8","complex128", + "float64","uint8","generic", + "generic","complex64","generic", + "generic","complex128","generic", + "generic","float32","generic", + "generic","float64","generic", + "generic","generic","generic", + "generic","int16","generic", + "generic","int32","generic", + "generic","int8","generic", + "generic","uint16","generic", + "generic","uint32","generic", + "generic","uint8","generic", + "int16","complex64","complex64", + "int16","complex64","complex128", + "int16","complex64","generic", + "int16","complex128","complex128", + "int16","complex128","generic", + "int16","float32","float32", + "int16","float32","complex128", + "int16","float32","complex64", + "int16","float32","float64", + "int16","float32","generic", + "int16","float64","float64", + "int16","float64","complex128", + "int16","float64","generic", + "int16","generic","generic", + "int16","int16","int16", + "int16","int16","complex128", + "int16","int16","complex64", + "int16","int16","float32", + "int16","int16","float64", + "int16","int16","generic", + "int16","int16","int32", + "int16","int32","int32", + "int16","int32","complex128", + "int16","int32","float64", + "int16","int32","generic", + "int16","int8","int16", + "int16","int8","complex128", + "int16","int8","complex64", + "int16","int8","float32", + "int16","int8","float64", + "int16","int8","generic", + "int16","int8","int32", + "int16","uint16","int32", + "int16","uint16","complex128", + "int16","uint16","float64", + "int16","uint16","generic", + "int16","uint32","generic", + "int16","uint8","int16", + "int16","uint8","complex128", + "int16","uint8","complex64", + "int16","uint8","float32", + "int16","uint8","float64", + "int16","uint8","generic", + "int16","uint8","int32", + "int32","complex64","complex128", + "int32","complex64","generic", + "int32","complex128","complex128", + "int32","complex128","generic", + "int32","float32","float64", + "int32","float32","complex128", + "int32","float32","generic", + "int32","float64","float64", + "int32","float64","complex128", + "int32","float64","generic", + "int32","generic","generic", + "int32","int16","int32", + "int32","int16","complex128", + "int32","int16","float64", + "int32","int16","generic", + "int32","int32","int32", + "int32","int32","complex128", + "int32","int32","float64", + "int32","int32","generic", + "int32","int8","int32", + "int32","int8","complex128", + "int32","int8","float64", + "int32","int8","generic", + "int32","uint16","int32", + "int32","uint16","complex128", + "int32","uint16","float64", + "int32","uint16","generic", + "int32","uint32","generic", + "int32","uint8","int32", + "int32","uint8","complex128", + "int32","uint8","float64", + "int32","uint8","generic", + "int8","complex64","complex64", + "int8","complex64","complex128", + "int8","complex64","generic", + "int8","complex128","complex128", + "int8","complex128","generic", + "int8","float32","float32", + "int8","float32","complex128", + "int8","float32","complex64", + "int8","float32","float64", + "int8","float32","generic", + "int8","float64","float64", + "int8","float64","complex128", + "int8","float64","generic", + "int8","generic","generic", + "int8","int16","int16", + "int8","int16","complex128", + "int8","int16","complex64", + "int8","int16","float32", + "int8","int16","float64", + "int8","int16","generic", + "int8","int16","int32", + "int8","int32","int32", + "int8","int32","complex128", + "int8","int32","float64", + "int8","int32","generic", + "int8","int8","int8", + "int8","int8","complex128", + "int8","int8","complex64", + "int8","int8","float32", + "int8","int8","float64", + "int8","int8","generic", + "int8","int8","int16", + "int8","int8","int32", + "int8","uint16","int32", + "int8","uint16","complex128", + "int8","uint16","float64", + "int8","uint16","generic", + "int8","uint32","generic", + "int8","uint8","int16", + "int8","uint8","complex128", + "int8","uint8","complex64", + "int8","uint8","float32", + "int8","uint8","float64", + "int8","uint8","generic", + "int8","uint8","int32", + "uint16","complex64","complex64", + "uint16","complex64","complex128", + "uint16","complex64","generic", + "uint16","complex128","complex128", + "uint16","complex128","generic", + "uint16","float32","float32", + "uint16","float32","complex128", + "uint16","float32","complex64", + "uint16","float32","float64", + "uint16","float32","generic", + "uint16","float64","float64", + "uint16","float64","complex128", + "uint16","float64","generic", + "uint16","generic","generic", + "uint16","int16","int32", + "uint16","int16","complex128", + "uint16","int16","float64", + "uint16","int16","generic", + "uint16","int32","int32", + "uint16","int32","complex128", + "uint16","int32","float64", + "uint16","int32","generic", + "uint16","int8","int32", + "uint16","int8","complex128", + "uint16","int8","float64", + "uint16","int8","generic", + "uint16","uint16","uint16", + "uint16","uint16","complex128", + "uint16","uint16","complex64", + "uint16","uint16","float32", + "uint16","uint16","float64", + "uint16","uint16","generic", + "uint16","uint16","int32", + "uint16","uint16","uint32", + "uint16","uint32","uint32", + "uint16","uint32","complex128", + "uint16","uint32","float64", + "uint16","uint32","generic", + "uint16","uint8","uint16", + "uint16","uint8","complex128", + "uint16","uint8","complex64", + "uint16","uint8","float32", + "uint16","uint8","float64", + "uint16","uint8","generic", + "uint16","uint8","int32", + "uint16","uint8","uint32", + "uint32","complex64","complex128", + "uint32","complex64","generic", + "uint32","complex128","complex128", + "uint32","complex128","generic", + "uint32","float32","float64", + "uint32","float32","complex128", + "uint32","float32","generic", + "uint32","float64","float64", + "uint32","float64","complex128", + "uint32","float64","generic", + "uint32","generic","generic", + "uint32","int16","generic", + "uint32","int32","generic", + "uint32","int8","generic", + "uint32","uint16","uint32", + "uint32","uint16","complex128", + "uint32","uint16","float64", + "uint32","uint16","generic", + "uint32","uint32","uint32", + "uint32","uint32","complex128", + "uint32","uint32","float64", + "uint32","uint32","generic", + "uint32","uint8","uint32", + "uint32","uint8","complex128", + "uint32","uint8","float64", + "uint32","uint8","generic", + "uint8","complex64","complex64", + "uint8","complex64","complex128", + "uint8","complex64","generic", + "uint8","complex128","complex128", + "uint8","complex128","generic", + "uint8","float32","float32", + "uint8","float32","complex128", + "uint8","float32","complex64", + "uint8","float32","float64", + "uint8","float32","generic", + "uint8","float64","float64", + "uint8","float64","complex128", + "uint8","float64","generic", + "uint8","generic","generic", + "uint8","int16","int16", + "uint8","int16","complex128", + "uint8","int16","complex64", + "uint8","int16","float32", + "uint8","int16","float64", + "uint8","int16","generic", + "uint8","int16","int32", + "uint8","int32","int32", + "uint8","int32","complex128", + "uint8","int32","float64", + "uint8","int32","generic", + "uint8","int8","int16", + "uint8","int8","complex128", + "uint8","int8","complex64", + "uint8","int8","float32", + "uint8","int8","float64", + "uint8","int8","generic", + "uint8","int8","int32", + "uint8","uint16","uint16", + "uint8","uint16","complex128", + "uint8","uint16","complex64", + "uint8","uint16","float32", + "uint8","uint16","float64", + "uint8","uint16","generic", + "uint8","uint16","int32", + "uint8","uint16","uint32", + "uint8","uint32","uint32", + "uint8","uint32","complex128", + "uint8","uint32","float64", + "uint8","uint32","generic", + "uint8","uint8","uint8", + "uint8","uint8","complex128", + "uint8","uint8","complex64", + "uint8","uint8","float32", + "uint8","uint8","float64", + "uint8","uint8","generic", + "uint8","uint8","int16", + "uint8","uint8","int32", + "uint8","uint8","uint16", + "uint8","uint8","uint32"] diff --git a/lib/node_modules/@stdlib/math/strided/ops/mul/lib/types.json b/lib/node_modules/@stdlib/math/strided/ops/mul/lib/types.json index b9a5af1e3cf7..9cf4a27e11e4 100644 --- a/lib/node_modules/@stdlib/math/strided/ops/mul/lib/types.json +++ b/lib/node_modules/@stdlib/math/strided/ops/mul/lib/types.json @@ -1,375 +1,375 @@ ["complex64","complex64","complex64", -"complex64","complex64","complex128", -"complex64","complex64","generic", -"complex64","complex128","complex128", -"complex64","complex128","generic", -"complex64","float32","complex64", -"complex64","float32","complex128", -"complex64","float32","generic", -"complex64","float64","complex128", -"complex64","float64","generic", -"complex64","generic","generic", -"complex64","int16","complex64", -"complex64","int16","complex128", -"complex64","int16","generic", -"complex64","int32","complex128", -"complex64","int32","generic", -"complex64","int8","complex64", -"complex64","int8","complex128", -"complex64","int8","generic", -"complex64","uint16","complex64", -"complex64","uint16","complex128", -"complex64","uint16","generic", -"complex64","uint32","complex128", -"complex64","uint32","generic", -"complex64","uint8","complex64", -"complex64","uint8","complex128", -"complex64","uint8","generic", -"complex128","complex64","complex128", -"complex128","complex64","generic", -"complex128","complex128","complex128", -"complex128","complex128","generic", -"complex128","float32","complex128", -"complex128","float32","generic", -"complex128","float64","complex128", -"complex128","float64","generic", -"complex128","generic","generic", -"complex128","int16","complex128", -"complex128","int16","generic", -"complex128","int32","complex128", -"complex128","int32","generic", -"complex128","int8","complex128", -"complex128","int8","generic", -"complex128","uint16","complex128", -"complex128","uint16","generic", -"complex128","uint32","complex128", -"complex128","uint32","generic", -"complex128","uint8","complex128", -"complex128","uint8","generic", -"float32","complex64","complex64", -"float32","complex64","complex128", -"float32","complex64","generic", -"float32","complex128","complex128", -"float32","complex128","generic", -"float32","float32","float32", -"float32","float32","complex128", -"float32","float32","complex64", -"float32","float32","float64", -"float32","float32","generic", -"float32","float64","float64", -"float32","float64","complex128", -"float32","float64","generic", -"float32","generic","generic", -"float32","int16","float32", -"float32","int16","complex128", -"float32","int16","complex64", -"float32","int16","float64", -"float32","int16","generic", -"float32","int32","float64", -"float32","int32","complex128", -"float32","int32","generic", -"float32","int8","float32", -"float32","int8","complex128", -"float32","int8","complex64", -"float32","int8","float64", -"float32","int8","generic", -"float32","uint16","float32", -"float32","uint16","complex128", -"float32","uint16","complex64", -"float32","uint16","float64", -"float32","uint16","generic", -"float32","uint32","float64", -"float32","uint32","complex128", -"float32","uint32","generic", -"float32","uint8","float32", -"float32","uint8","complex128", -"float32","uint8","complex64", -"float32","uint8","float64", -"float32","uint8","generic", -"float64","complex64","complex128", -"float64","complex64","generic", -"float64","complex128","complex128", -"float64","complex128","generic", -"float64","float32","float64", -"float64","float32","complex128", -"float64","float32","generic", -"float64","float64","float64", -"float64","float64","complex128", -"float64","float64","generic", -"float64","generic","generic", -"float64","int16","float64", -"float64","int16","complex128", -"float64","int16","generic", -"float64","int32","float64", -"float64","int32","complex128", -"float64","int32","generic", -"float64","int8","float64", -"float64","int8","complex128", -"float64","int8","generic", -"float64","uint16","float64", -"float64","uint16","complex128", -"float64","uint16","generic", -"float64","uint32","float64", -"float64","uint32","complex128", -"float64","uint32","generic", -"float64","uint8","float64", -"float64","uint8","complex128", -"float64","uint8","generic", -"generic","complex64","generic", -"generic","complex128","generic", -"generic","float32","generic", -"generic","float64","generic", -"generic","generic","generic", -"generic","int16","generic", -"generic","int32","generic", -"generic","int8","generic", -"generic","uint16","generic", -"generic","uint32","generic", -"generic","uint8","generic", -"int16","complex64","complex64", -"int16","complex64","complex128", -"int16","complex64","generic", -"int16","complex128","complex128", -"int16","complex128","generic", -"int16","float32","float32", -"int16","float32","complex128", -"int16","float32","complex64", -"int16","float32","float64", -"int16","float32","generic", -"int16","float64","float64", -"int16","float64","complex128", -"int16","float64","generic", -"int16","generic","generic", -"int16","int16","int16", -"int16","int16","complex128", -"int16","int16","complex64", -"int16","int16","float32", -"int16","int16","float64", -"int16","int16","generic", -"int16","int16","int32", -"int16","int32","int32", -"int16","int32","complex128", -"int16","int32","float64", -"int16","int32","generic", -"int16","int8","int16", -"int16","int8","complex128", -"int16","int8","complex64", -"int16","int8","float32", -"int16","int8","float64", -"int16","int8","generic", -"int16","int8","int32", -"int16","uint16","int32", -"int16","uint16","complex128", -"int16","uint16","float64", -"int16","uint16","generic", -"int16","uint32","generic", -"int16","uint8","int16", -"int16","uint8","complex128", -"int16","uint8","complex64", -"int16","uint8","float32", -"int16","uint8","float64", -"int16","uint8","generic", -"int16","uint8","int32", -"int32","complex64","complex128", -"int32","complex64","generic", -"int32","complex128","complex128", -"int32","complex128","generic", -"int32","float32","float64", -"int32","float32","complex128", -"int32","float32","generic", -"int32","float64","float64", -"int32","float64","complex128", -"int32","float64","generic", -"int32","generic","generic", -"int32","int16","int32", -"int32","int16","complex128", -"int32","int16","float64", -"int32","int16","generic", -"int32","int32","int32", -"int32","int32","complex128", -"int32","int32","float64", -"int32","int32","generic", -"int32","int8","int32", -"int32","int8","complex128", -"int32","int8","float64", -"int32","int8","generic", -"int32","uint16","int32", -"int32","uint16","complex128", -"int32","uint16","float64", -"int32","uint16","generic", -"int32","uint32","generic", -"int32","uint8","int32", -"int32","uint8","complex128", -"int32","uint8","float64", -"int32","uint8","generic", -"int8","complex64","complex64", -"int8","complex64","complex128", -"int8","complex64","generic", -"int8","complex128","complex128", -"int8","complex128","generic", -"int8","float32","float32", -"int8","float32","complex128", -"int8","float32","complex64", -"int8","float32","float64", -"int8","float32","generic", -"int8","float64","float64", -"int8","float64","complex128", -"int8","float64","generic", -"int8","generic","generic", -"int8","int16","int16", -"int8","int16","complex128", -"int8","int16","complex64", -"int8","int16","float32", -"int8","int16","float64", -"int8","int16","generic", -"int8","int16","int32", -"int8","int32","int32", -"int8","int32","complex128", -"int8","int32","float64", -"int8","int32","generic", -"int8","int8","int8", -"int8","int8","complex128", -"int8","int8","complex64", -"int8","int8","float32", -"int8","int8","float64", -"int8","int8","generic", -"int8","int8","int16", -"int8","int8","int32", -"int8","uint16","int32", -"int8","uint16","complex128", -"int8","uint16","float64", -"int8","uint16","generic", -"int8","uint32","generic", -"int8","uint8","int16", -"int8","uint8","complex128", -"int8","uint8","complex64", -"int8","uint8","float32", -"int8","uint8","float64", -"int8","uint8","generic", -"int8","uint8","int32", -"uint16","complex64","complex64", -"uint16","complex64","complex128", -"uint16","complex64","generic", -"uint16","complex128","complex128", -"uint16","complex128","generic", -"uint16","float32","float32", -"uint16","float32","complex128", -"uint16","float32","complex64", -"uint16","float32","float64", -"uint16","float32","generic", -"uint16","float64","float64", -"uint16","float64","complex128", -"uint16","float64","generic", -"uint16","generic","generic", -"uint16","int16","int32", -"uint16","int16","complex128", -"uint16","int16","float64", -"uint16","int16","generic", -"uint16","int32","int32", -"uint16","int32","complex128", -"uint16","int32","float64", -"uint16","int32","generic", -"uint16","int8","int32", -"uint16","int8","complex128", -"uint16","int8","float64", -"uint16","int8","generic", -"uint16","uint16","uint16", -"uint16","uint16","complex128", -"uint16","uint16","complex64", -"uint16","uint16","float32", -"uint16","uint16","float64", -"uint16","uint16","generic", -"uint16","uint16","int32", -"uint16","uint16","uint32", -"uint16","uint32","uint32", -"uint16","uint32","complex128", -"uint16","uint32","float64", -"uint16","uint32","generic", -"uint16","uint8","uint16", -"uint16","uint8","complex128", -"uint16","uint8","complex64", -"uint16","uint8","float32", -"uint16","uint8","float64", -"uint16","uint8","generic", -"uint16","uint8","int32", -"uint16","uint8","uint32", -"uint32","complex64","complex128", -"uint32","complex64","generic", -"uint32","complex128","complex128", -"uint32","complex128","generic", -"uint32","float32","float64", -"uint32","float32","complex128", -"uint32","float32","generic", -"uint32","float64","float64", -"uint32","float64","complex128", -"uint32","float64","generic", -"uint32","generic","generic", -"uint32","int16","generic", -"uint32","int32","generic", -"uint32","int8","generic", -"uint32","uint16","uint32", -"uint32","uint16","complex128", -"uint32","uint16","float64", -"uint32","uint16","generic", -"uint32","uint32","uint32", -"uint32","uint32","complex128", -"uint32","uint32","float64", -"uint32","uint32","generic", -"uint32","uint8","uint32", -"uint32","uint8","complex128", -"uint32","uint8","float64", -"uint32","uint8","generic", -"uint8","complex64","complex64", -"uint8","complex64","complex128", -"uint8","complex64","generic", -"uint8","complex128","complex128", -"uint8","complex128","generic", -"uint8","float32","float32", -"uint8","float32","complex128", -"uint8","float32","complex64", -"uint8","float32","float64", -"uint8","float32","generic", -"uint8","float64","float64", -"uint8","float64","complex128", -"uint8","float64","generic", -"uint8","generic","generic", -"uint8","int16","int16", -"uint8","int16","complex128", -"uint8","int16","complex64", -"uint8","int16","float32", -"uint8","int16","float64", -"uint8","int16","generic", -"uint8","int16","int32", -"uint8","int32","int32", -"uint8","int32","complex128", -"uint8","int32","float64", -"uint8","int32","generic", -"uint8","int8","int16", -"uint8","int8","complex128", -"uint8","int8","complex64", -"uint8","int8","float32", -"uint8","int8","float64", -"uint8","int8","generic", -"uint8","int8","int32", -"uint8","uint16","uint16", -"uint8","uint16","complex128", -"uint8","uint16","complex64", -"uint8","uint16","float32", -"uint8","uint16","float64", -"uint8","uint16","generic", -"uint8","uint16","int32", -"uint8","uint16","uint32", -"uint8","uint32","uint32", -"uint8","uint32","complex128", -"uint8","uint32","float64", -"uint8","uint32","generic", -"uint8","uint8","uint8", -"uint8","uint8","complex128", -"uint8","uint8","complex64", -"uint8","uint8","float32", -"uint8","uint8","float64", -"uint8","uint8","generic", -"uint8","uint8","int16", -"uint8","uint8","int32", -"uint8","uint8","uint16", -"uint8","uint8","uint32"] + "complex64","complex64","complex128", + "complex64","complex64","generic", + "complex64","complex128","complex128", + "complex64","complex128","generic", + "complex64","float32","complex64", + "complex64","float32","complex128", + "complex64","float32","generic", + "complex64","float64","complex128", + "complex64","float64","generic", + "complex64","generic","generic", + "complex64","int16","complex64", + "complex64","int16","complex128", + "complex64","int16","generic", + "complex64","int32","complex128", + "complex64","int32","generic", + "complex64","int8","complex64", + "complex64","int8","complex128", + "complex64","int8","generic", + "complex64","uint16","complex64", + "complex64","uint16","complex128", + "complex64","uint16","generic", + "complex64","uint32","complex128", + "complex64","uint32","generic", + "complex64","uint8","complex64", + "complex64","uint8","complex128", + "complex64","uint8","generic", + "complex128","complex64","complex128", + "complex128","complex64","generic", + "complex128","complex128","complex128", + "complex128","complex128","generic", + "complex128","float32","complex128", + "complex128","float32","generic", + "complex128","float64","complex128", + "complex128","float64","generic", + "complex128","generic","generic", + "complex128","int16","complex128", + "complex128","int16","generic", + "complex128","int32","complex128", + "complex128","int32","generic", + "complex128","int8","complex128", + "complex128","int8","generic", + "complex128","uint16","complex128", + "complex128","uint16","generic", + "complex128","uint32","complex128", + "complex128","uint32","generic", + "complex128","uint8","complex128", + "complex128","uint8","generic", + "float32","complex64","complex64", + "float32","complex64","complex128", + "float32","complex64","generic", + "float32","complex128","complex128", + "float32","complex128","generic", + "float32","float32","float32", + "float32","float32","complex128", + "float32","float32","complex64", + "float32","float32","float64", + "float32","float32","generic", + "float32","float64","float64", + "float32","float64","complex128", + "float32","float64","generic", + "float32","generic","generic", + "float32","int16","float32", + "float32","int16","complex128", + "float32","int16","complex64", + "float32","int16","float64", + "float32","int16","generic", + "float32","int32","float64", + "float32","int32","complex128", + "float32","int32","generic", + "float32","int8","float32", + "float32","int8","complex128", + "float32","int8","complex64", + "float32","int8","float64", + "float32","int8","generic", + "float32","uint16","float32", + "float32","uint16","complex128", + "float32","uint16","complex64", + "float32","uint16","float64", + "float32","uint16","generic", + "float32","uint32","float64", + "float32","uint32","complex128", + "float32","uint32","generic", + "float32","uint8","float32", + "float32","uint8","complex128", + "float32","uint8","complex64", + "float32","uint8","float64", + "float32","uint8","generic", + "float64","complex64","complex128", + "float64","complex64","generic", + "float64","complex128","complex128", + "float64","complex128","generic", + "float64","float32","float64", + "float64","float32","complex128", + "float64","float32","generic", + "float64","float64","float64", + "float64","float64","complex128", + "float64","float64","generic", + "float64","generic","generic", + "float64","int16","float64", + "float64","int16","complex128", + "float64","int16","generic", + "float64","int32","float64", + "float64","int32","complex128", + "float64","int32","generic", + "float64","int8","float64", + "float64","int8","complex128", + "float64","int8","generic", + "float64","uint16","float64", + "float64","uint16","complex128", + "float64","uint16","generic", + "float64","uint32","float64", + "float64","uint32","complex128", + "float64","uint32","generic", + "float64","uint8","float64", + "float64","uint8","complex128", + "float64","uint8","generic", + "generic","complex64","generic", + "generic","complex128","generic", + "generic","float32","generic", + "generic","float64","generic", + "generic","generic","generic", + "generic","int16","generic", + "generic","int32","generic", + "generic","int8","generic", + "generic","uint16","generic", + "generic","uint32","generic", + "generic","uint8","generic", + "int16","complex64","complex64", + "int16","complex64","complex128", + "int16","complex64","generic", + "int16","complex128","complex128", + "int16","complex128","generic", + "int16","float32","float32", + "int16","float32","complex128", + "int16","float32","complex64", + "int16","float32","float64", + "int16","float32","generic", + "int16","float64","float64", + "int16","float64","complex128", + "int16","float64","generic", + "int16","generic","generic", + "int16","int16","int16", + "int16","int16","complex128", + "int16","int16","complex64", + "int16","int16","float32", + "int16","int16","float64", + "int16","int16","generic", + "int16","int16","int32", + "int16","int32","int32", + "int16","int32","complex128", + "int16","int32","float64", + "int16","int32","generic", + "int16","int8","int16", + "int16","int8","complex128", + "int16","int8","complex64", + "int16","int8","float32", + "int16","int8","float64", + "int16","int8","generic", + "int16","int8","int32", + "int16","uint16","int32", + "int16","uint16","complex128", + "int16","uint16","float64", + "int16","uint16","generic", + "int16","uint32","generic", + "int16","uint8","int16", + "int16","uint8","complex128", + "int16","uint8","complex64", + "int16","uint8","float32", + "int16","uint8","float64", + "int16","uint8","generic", + "int16","uint8","int32", + "int32","complex64","complex128", + "int32","complex64","generic", + "int32","complex128","complex128", + "int32","complex128","generic", + "int32","float32","float64", + "int32","float32","complex128", + "int32","float32","generic", + "int32","float64","float64", + "int32","float64","complex128", + "int32","float64","generic", + "int32","generic","generic", + "int32","int16","int32", + "int32","int16","complex128", + "int32","int16","float64", + "int32","int16","generic", + "int32","int32","int32", + "int32","int32","complex128", + "int32","int32","float64", + "int32","int32","generic", + "int32","int8","int32", + "int32","int8","complex128", + "int32","int8","float64", + "int32","int8","generic", + "int32","uint16","int32", + "int32","uint16","complex128", + "int32","uint16","float64", + "int32","uint16","generic", + "int32","uint32","generic", + "int32","uint8","int32", + "int32","uint8","complex128", + "int32","uint8","float64", + "int32","uint8","generic", + "int8","complex64","complex64", + "int8","complex64","complex128", + "int8","complex64","generic", + "int8","complex128","complex128", + "int8","complex128","generic", + "int8","float32","float32", + "int8","float32","complex128", + "int8","float32","complex64", + "int8","float32","float64", + "int8","float32","generic", + "int8","float64","float64", + "int8","float64","complex128", + "int8","float64","generic", + "int8","generic","generic", + "int8","int16","int16", + "int8","int16","complex128", + "int8","int16","complex64", + "int8","int16","float32", + "int8","int16","float64", + "int8","int16","generic", + "int8","int16","int32", + "int8","int32","int32", + "int8","int32","complex128", + "int8","int32","float64", + "int8","int32","generic", + "int8","int8","int8", + "int8","int8","complex128", + "int8","int8","complex64", + "int8","int8","float32", + "int8","int8","float64", + "int8","int8","generic", + "int8","int8","int16", + "int8","int8","int32", + "int8","uint16","int32", + "int8","uint16","complex128", + "int8","uint16","float64", + "int8","uint16","generic", + "int8","uint32","generic", + "int8","uint8","int16", + "int8","uint8","complex128", + "int8","uint8","complex64", + "int8","uint8","float32", + "int8","uint8","float64", + "int8","uint8","generic", + "int8","uint8","int32", + "uint16","complex64","complex64", + "uint16","complex64","complex128", + "uint16","complex64","generic", + "uint16","complex128","complex128", + "uint16","complex128","generic", + "uint16","float32","float32", + "uint16","float32","complex128", + "uint16","float32","complex64", + "uint16","float32","float64", + "uint16","float32","generic", + "uint16","float64","float64", + "uint16","float64","complex128", + "uint16","float64","generic", + "uint16","generic","generic", + "uint16","int16","int32", + "uint16","int16","complex128", + "uint16","int16","float64", + "uint16","int16","generic", + "uint16","int32","int32", + "uint16","int32","complex128", + "uint16","int32","float64", + "uint16","int32","generic", + "uint16","int8","int32", + "uint16","int8","complex128", + "uint16","int8","float64", + "uint16","int8","generic", + "uint16","uint16","uint16", + "uint16","uint16","complex128", + "uint16","uint16","complex64", + "uint16","uint16","float32", + "uint16","uint16","float64", + "uint16","uint16","generic", + "uint16","uint16","int32", + "uint16","uint16","uint32", + "uint16","uint32","uint32", + "uint16","uint32","complex128", + "uint16","uint32","float64", + "uint16","uint32","generic", + "uint16","uint8","uint16", + "uint16","uint8","complex128", + "uint16","uint8","complex64", + "uint16","uint8","float32", + "uint16","uint8","float64", + "uint16","uint8","generic", + "uint16","uint8","int32", + "uint16","uint8","uint32", + "uint32","complex64","complex128", + "uint32","complex64","generic", + "uint32","complex128","complex128", + "uint32","complex128","generic", + "uint32","float32","float64", + "uint32","float32","complex128", + "uint32","float32","generic", + "uint32","float64","float64", + "uint32","float64","complex128", + "uint32","float64","generic", + "uint32","generic","generic", + "uint32","int16","generic", + "uint32","int32","generic", + "uint32","int8","generic", + "uint32","uint16","uint32", + "uint32","uint16","complex128", + "uint32","uint16","float64", + "uint32","uint16","generic", + "uint32","uint32","uint32", + "uint32","uint32","complex128", + "uint32","uint32","float64", + "uint32","uint32","generic", + "uint32","uint8","uint32", + "uint32","uint8","complex128", + "uint32","uint8","float64", + "uint32","uint8","generic", + "uint8","complex64","complex64", + "uint8","complex64","complex128", + "uint8","complex64","generic", + "uint8","complex128","complex128", + "uint8","complex128","generic", + "uint8","float32","float32", + "uint8","float32","complex128", + "uint8","float32","complex64", + "uint8","float32","float64", + "uint8","float32","generic", + "uint8","float64","float64", + "uint8","float64","complex128", + "uint8","float64","generic", + "uint8","generic","generic", + "uint8","int16","int16", + "uint8","int16","complex128", + "uint8","int16","complex64", + "uint8","int16","float32", + "uint8","int16","float64", + "uint8","int16","generic", + "uint8","int16","int32", + "uint8","int32","int32", + "uint8","int32","complex128", + "uint8","int32","float64", + "uint8","int32","generic", + "uint8","int8","int16", + "uint8","int8","complex128", + "uint8","int8","complex64", + "uint8","int8","float32", + "uint8","int8","float64", + "uint8","int8","generic", + "uint8","int8","int32", + "uint8","uint16","uint16", + "uint8","uint16","complex128", + "uint8","uint16","complex64", + "uint8","uint16","float32", + "uint8","uint16","float64", + "uint8","uint16","generic", + "uint8","uint16","int32", + "uint8","uint16","uint32", + "uint8","uint32","uint32", + "uint8","uint32","complex128", + "uint8","uint32","float64", + "uint8","uint32","generic", + "uint8","uint8","uint8", + "uint8","uint8","complex128", + "uint8","uint8","complex64", + "uint8","uint8","float32", + "uint8","uint8","float64", + "uint8","uint8","generic", + "uint8","uint8","int16", + "uint8","uint8","int32", + "uint8","uint8","uint16", + "uint8","uint8","uint32"] diff --git a/lib/node_modules/@stdlib/math/strided/ops/mul/manifest.json b/lib/node_modules/@stdlib/math/strided/ops/mul/manifest.json index 21f99564f7a7..d2050615006b 100644 --- a/lib/node_modules/@stdlib/math/strided/ops/mul/manifest.json +++ b/lib/node_modules/@stdlib/math/strided/ops/mul/manifest.json @@ -1,45 +1,45 @@ { - "options": {}, - "fields": [ - { - "field": "src", - "resolve": true, - "relative": true - }, - { - "field": "include", - "resolve": true, - "relative": true - }, - { - "field": "libraries", - "resolve": false, - "relative": false - }, - { - "field": "libpath", - "resolve": true, - "relative": false - } - ], - "confs": [ - { - "src": [], - "include": [ - "./include" - ], - "libraries": [], - "libpath": [], - "dependencies": [ - "@stdlib/number/float64/base/mul", - "@stdlib/number/float32/base/mul", - "@stdlib/complex/float64/base/mul", - "@stdlib/complex/float32/base/mul", - "@stdlib/strided/base/function-object", - "@stdlib/strided/base/binary", - "@stdlib/strided/dtypes", - "@stdlib/strided/napi/binary" - ] - } - ] + "options": {}, + "fields": [ + { + "field": "src", + "resolve": true, + "relative": true + }, + { + "field": "include", + "resolve": true, + "relative": true + }, + { + "field": "libraries", + "resolve": false, + "relative": false + }, + { + "field": "libpath", + "resolve": true, + "relative": false + } + ], + "confs": [ + { + "src": [], + "include": [ + "./include" + ], + "libraries": [], + "libpath": [], + "dependencies": [ + "@stdlib/number/float64/base/mul", + "@stdlib/number/float32/base/mul", + "@stdlib/complex/float64/base/mul", + "@stdlib/complex/float32/base/mul", + "@stdlib/strided/base/function-object", + "@stdlib/strided/base/binary", + "@stdlib/strided/dtypes", + "@stdlib/strided/napi/binary" + ] + } + ] } diff --git a/lib/node_modules/@stdlib/math/strided/ops/sub/lib/types.json b/lib/node_modules/@stdlib/math/strided/ops/sub/lib/types.json index b9a5af1e3cf7..9cf4a27e11e4 100644 --- a/lib/node_modules/@stdlib/math/strided/ops/sub/lib/types.json +++ b/lib/node_modules/@stdlib/math/strided/ops/sub/lib/types.json @@ -1,375 +1,375 @@ ["complex64","complex64","complex64", -"complex64","complex64","complex128", -"complex64","complex64","generic", -"complex64","complex128","complex128", -"complex64","complex128","generic", -"complex64","float32","complex64", -"complex64","float32","complex128", -"complex64","float32","generic", -"complex64","float64","complex128", -"complex64","float64","generic", -"complex64","generic","generic", -"complex64","int16","complex64", -"complex64","int16","complex128", -"complex64","int16","generic", -"complex64","int32","complex128", -"complex64","int32","generic", -"complex64","int8","complex64", -"complex64","int8","complex128", -"complex64","int8","generic", -"complex64","uint16","complex64", -"complex64","uint16","complex128", -"complex64","uint16","generic", -"complex64","uint32","complex128", -"complex64","uint32","generic", -"complex64","uint8","complex64", -"complex64","uint8","complex128", -"complex64","uint8","generic", -"complex128","complex64","complex128", -"complex128","complex64","generic", -"complex128","complex128","complex128", -"complex128","complex128","generic", -"complex128","float32","complex128", -"complex128","float32","generic", -"complex128","float64","complex128", -"complex128","float64","generic", -"complex128","generic","generic", -"complex128","int16","complex128", -"complex128","int16","generic", -"complex128","int32","complex128", -"complex128","int32","generic", -"complex128","int8","complex128", -"complex128","int8","generic", -"complex128","uint16","complex128", -"complex128","uint16","generic", -"complex128","uint32","complex128", -"complex128","uint32","generic", -"complex128","uint8","complex128", -"complex128","uint8","generic", -"float32","complex64","complex64", -"float32","complex64","complex128", -"float32","complex64","generic", -"float32","complex128","complex128", -"float32","complex128","generic", -"float32","float32","float32", -"float32","float32","complex128", -"float32","float32","complex64", -"float32","float32","float64", -"float32","float32","generic", -"float32","float64","float64", -"float32","float64","complex128", -"float32","float64","generic", -"float32","generic","generic", -"float32","int16","float32", -"float32","int16","complex128", -"float32","int16","complex64", -"float32","int16","float64", -"float32","int16","generic", -"float32","int32","float64", -"float32","int32","complex128", -"float32","int32","generic", -"float32","int8","float32", -"float32","int8","complex128", -"float32","int8","complex64", -"float32","int8","float64", -"float32","int8","generic", -"float32","uint16","float32", -"float32","uint16","complex128", -"float32","uint16","complex64", -"float32","uint16","float64", -"float32","uint16","generic", -"float32","uint32","float64", -"float32","uint32","complex128", -"float32","uint32","generic", -"float32","uint8","float32", -"float32","uint8","complex128", -"float32","uint8","complex64", -"float32","uint8","float64", -"float32","uint8","generic", -"float64","complex64","complex128", -"float64","complex64","generic", -"float64","complex128","complex128", -"float64","complex128","generic", -"float64","float32","float64", -"float64","float32","complex128", -"float64","float32","generic", -"float64","float64","float64", -"float64","float64","complex128", -"float64","float64","generic", -"float64","generic","generic", -"float64","int16","float64", -"float64","int16","complex128", -"float64","int16","generic", -"float64","int32","float64", -"float64","int32","complex128", -"float64","int32","generic", -"float64","int8","float64", -"float64","int8","complex128", -"float64","int8","generic", -"float64","uint16","float64", -"float64","uint16","complex128", -"float64","uint16","generic", -"float64","uint32","float64", -"float64","uint32","complex128", -"float64","uint32","generic", -"float64","uint8","float64", -"float64","uint8","complex128", -"float64","uint8","generic", -"generic","complex64","generic", -"generic","complex128","generic", -"generic","float32","generic", -"generic","float64","generic", -"generic","generic","generic", -"generic","int16","generic", -"generic","int32","generic", -"generic","int8","generic", -"generic","uint16","generic", -"generic","uint32","generic", -"generic","uint8","generic", -"int16","complex64","complex64", -"int16","complex64","complex128", -"int16","complex64","generic", -"int16","complex128","complex128", -"int16","complex128","generic", -"int16","float32","float32", -"int16","float32","complex128", -"int16","float32","complex64", -"int16","float32","float64", -"int16","float32","generic", -"int16","float64","float64", -"int16","float64","complex128", -"int16","float64","generic", -"int16","generic","generic", -"int16","int16","int16", -"int16","int16","complex128", -"int16","int16","complex64", -"int16","int16","float32", -"int16","int16","float64", -"int16","int16","generic", -"int16","int16","int32", -"int16","int32","int32", -"int16","int32","complex128", -"int16","int32","float64", -"int16","int32","generic", -"int16","int8","int16", -"int16","int8","complex128", -"int16","int8","complex64", -"int16","int8","float32", -"int16","int8","float64", -"int16","int8","generic", -"int16","int8","int32", -"int16","uint16","int32", -"int16","uint16","complex128", -"int16","uint16","float64", -"int16","uint16","generic", -"int16","uint32","generic", -"int16","uint8","int16", -"int16","uint8","complex128", -"int16","uint8","complex64", -"int16","uint8","float32", -"int16","uint8","float64", -"int16","uint8","generic", -"int16","uint8","int32", -"int32","complex64","complex128", -"int32","complex64","generic", -"int32","complex128","complex128", -"int32","complex128","generic", -"int32","float32","float64", -"int32","float32","complex128", -"int32","float32","generic", -"int32","float64","float64", -"int32","float64","complex128", -"int32","float64","generic", -"int32","generic","generic", -"int32","int16","int32", -"int32","int16","complex128", -"int32","int16","float64", -"int32","int16","generic", -"int32","int32","int32", -"int32","int32","complex128", -"int32","int32","float64", -"int32","int32","generic", -"int32","int8","int32", -"int32","int8","complex128", -"int32","int8","float64", -"int32","int8","generic", -"int32","uint16","int32", -"int32","uint16","complex128", -"int32","uint16","float64", -"int32","uint16","generic", -"int32","uint32","generic", -"int32","uint8","int32", -"int32","uint8","complex128", -"int32","uint8","float64", -"int32","uint8","generic", -"int8","complex64","complex64", -"int8","complex64","complex128", -"int8","complex64","generic", -"int8","complex128","complex128", -"int8","complex128","generic", -"int8","float32","float32", -"int8","float32","complex128", -"int8","float32","complex64", -"int8","float32","float64", -"int8","float32","generic", -"int8","float64","float64", -"int8","float64","complex128", -"int8","float64","generic", -"int8","generic","generic", -"int8","int16","int16", -"int8","int16","complex128", -"int8","int16","complex64", -"int8","int16","float32", -"int8","int16","float64", -"int8","int16","generic", -"int8","int16","int32", -"int8","int32","int32", -"int8","int32","complex128", -"int8","int32","float64", -"int8","int32","generic", -"int8","int8","int8", -"int8","int8","complex128", -"int8","int8","complex64", -"int8","int8","float32", -"int8","int8","float64", -"int8","int8","generic", -"int8","int8","int16", -"int8","int8","int32", -"int8","uint16","int32", -"int8","uint16","complex128", -"int8","uint16","float64", -"int8","uint16","generic", -"int8","uint32","generic", -"int8","uint8","int16", -"int8","uint8","complex128", -"int8","uint8","complex64", -"int8","uint8","float32", -"int8","uint8","float64", -"int8","uint8","generic", -"int8","uint8","int32", -"uint16","complex64","complex64", -"uint16","complex64","complex128", -"uint16","complex64","generic", -"uint16","complex128","complex128", -"uint16","complex128","generic", -"uint16","float32","float32", -"uint16","float32","complex128", -"uint16","float32","complex64", -"uint16","float32","float64", -"uint16","float32","generic", -"uint16","float64","float64", -"uint16","float64","complex128", -"uint16","float64","generic", -"uint16","generic","generic", -"uint16","int16","int32", -"uint16","int16","complex128", -"uint16","int16","float64", -"uint16","int16","generic", -"uint16","int32","int32", -"uint16","int32","complex128", -"uint16","int32","float64", -"uint16","int32","generic", -"uint16","int8","int32", -"uint16","int8","complex128", -"uint16","int8","float64", -"uint16","int8","generic", -"uint16","uint16","uint16", -"uint16","uint16","complex128", -"uint16","uint16","complex64", -"uint16","uint16","float32", -"uint16","uint16","float64", -"uint16","uint16","generic", -"uint16","uint16","int32", -"uint16","uint16","uint32", -"uint16","uint32","uint32", -"uint16","uint32","complex128", -"uint16","uint32","float64", -"uint16","uint32","generic", -"uint16","uint8","uint16", -"uint16","uint8","complex128", -"uint16","uint8","complex64", -"uint16","uint8","float32", -"uint16","uint8","float64", -"uint16","uint8","generic", -"uint16","uint8","int32", -"uint16","uint8","uint32", -"uint32","complex64","complex128", -"uint32","complex64","generic", -"uint32","complex128","complex128", -"uint32","complex128","generic", -"uint32","float32","float64", -"uint32","float32","complex128", -"uint32","float32","generic", -"uint32","float64","float64", -"uint32","float64","complex128", -"uint32","float64","generic", -"uint32","generic","generic", -"uint32","int16","generic", -"uint32","int32","generic", -"uint32","int8","generic", -"uint32","uint16","uint32", -"uint32","uint16","complex128", -"uint32","uint16","float64", -"uint32","uint16","generic", -"uint32","uint32","uint32", -"uint32","uint32","complex128", -"uint32","uint32","float64", -"uint32","uint32","generic", -"uint32","uint8","uint32", -"uint32","uint8","complex128", -"uint32","uint8","float64", -"uint32","uint8","generic", -"uint8","complex64","complex64", -"uint8","complex64","complex128", -"uint8","complex64","generic", -"uint8","complex128","complex128", -"uint8","complex128","generic", -"uint8","float32","float32", -"uint8","float32","complex128", -"uint8","float32","complex64", -"uint8","float32","float64", -"uint8","float32","generic", -"uint8","float64","float64", -"uint8","float64","complex128", -"uint8","float64","generic", -"uint8","generic","generic", -"uint8","int16","int16", -"uint8","int16","complex128", -"uint8","int16","complex64", -"uint8","int16","float32", -"uint8","int16","float64", -"uint8","int16","generic", -"uint8","int16","int32", -"uint8","int32","int32", -"uint8","int32","complex128", -"uint8","int32","float64", -"uint8","int32","generic", -"uint8","int8","int16", -"uint8","int8","complex128", -"uint8","int8","complex64", -"uint8","int8","float32", -"uint8","int8","float64", -"uint8","int8","generic", -"uint8","int8","int32", -"uint8","uint16","uint16", -"uint8","uint16","complex128", -"uint8","uint16","complex64", -"uint8","uint16","float32", -"uint8","uint16","float64", -"uint8","uint16","generic", -"uint8","uint16","int32", -"uint8","uint16","uint32", -"uint8","uint32","uint32", -"uint8","uint32","complex128", -"uint8","uint32","float64", -"uint8","uint32","generic", -"uint8","uint8","uint8", -"uint8","uint8","complex128", -"uint8","uint8","complex64", -"uint8","uint8","float32", -"uint8","uint8","float64", -"uint8","uint8","generic", -"uint8","uint8","int16", -"uint8","uint8","int32", -"uint8","uint8","uint16", -"uint8","uint8","uint32"] + "complex64","complex64","complex128", + "complex64","complex64","generic", + "complex64","complex128","complex128", + "complex64","complex128","generic", + "complex64","float32","complex64", + "complex64","float32","complex128", + "complex64","float32","generic", + "complex64","float64","complex128", + "complex64","float64","generic", + "complex64","generic","generic", + "complex64","int16","complex64", + "complex64","int16","complex128", + "complex64","int16","generic", + "complex64","int32","complex128", + "complex64","int32","generic", + "complex64","int8","complex64", + "complex64","int8","complex128", + "complex64","int8","generic", + "complex64","uint16","complex64", + "complex64","uint16","complex128", + "complex64","uint16","generic", + "complex64","uint32","complex128", + "complex64","uint32","generic", + "complex64","uint8","complex64", + "complex64","uint8","complex128", + "complex64","uint8","generic", + "complex128","complex64","complex128", + "complex128","complex64","generic", + "complex128","complex128","complex128", + "complex128","complex128","generic", + "complex128","float32","complex128", + "complex128","float32","generic", + "complex128","float64","complex128", + "complex128","float64","generic", + "complex128","generic","generic", + "complex128","int16","complex128", + "complex128","int16","generic", + "complex128","int32","complex128", + "complex128","int32","generic", + "complex128","int8","complex128", + "complex128","int8","generic", + "complex128","uint16","complex128", + "complex128","uint16","generic", + "complex128","uint32","complex128", + "complex128","uint32","generic", + "complex128","uint8","complex128", + "complex128","uint8","generic", + "float32","complex64","complex64", + "float32","complex64","complex128", + "float32","complex64","generic", + "float32","complex128","complex128", + "float32","complex128","generic", + "float32","float32","float32", + "float32","float32","complex128", + "float32","float32","complex64", + "float32","float32","float64", + "float32","float32","generic", + "float32","float64","float64", + "float32","float64","complex128", + "float32","float64","generic", + "float32","generic","generic", + "float32","int16","float32", + "float32","int16","complex128", + "float32","int16","complex64", + "float32","int16","float64", + "float32","int16","generic", + "float32","int32","float64", + "float32","int32","complex128", + "float32","int32","generic", + "float32","int8","float32", + "float32","int8","complex128", + "float32","int8","complex64", + "float32","int8","float64", + "float32","int8","generic", + "float32","uint16","float32", + "float32","uint16","complex128", + "float32","uint16","complex64", + "float32","uint16","float64", + "float32","uint16","generic", + "float32","uint32","float64", + "float32","uint32","complex128", + "float32","uint32","generic", + "float32","uint8","float32", + "float32","uint8","complex128", + "float32","uint8","complex64", + "float32","uint8","float64", + "float32","uint8","generic", + "float64","complex64","complex128", + "float64","complex64","generic", + "float64","complex128","complex128", + "float64","complex128","generic", + "float64","float32","float64", + "float64","float32","complex128", + "float64","float32","generic", + "float64","float64","float64", + "float64","float64","complex128", + "float64","float64","generic", + "float64","generic","generic", + "float64","int16","float64", + "float64","int16","complex128", + "float64","int16","generic", + "float64","int32","float64", + "float64","int32","complex128", + "float64","int32","generic", + "float64","int8","float64", + "float64","int8","complex128", + "float64","int8","generic", + "float64","uint16","float64", + "float64","uint16","complex128", + "float64","uint16","generic", + "float64","uint32","float64", + "float64","uint32","complex128", + "float64","uint32","generic", + "float64","uint8","float64", + "float64","uint8","complex128", + "float64","uint8","generic", + "generic","complex64","generic", + "generic","complex128","generic", + "generic","float32","generic", + "generic","float64","generic", + "generic","generic","generic", + "generic","int16","generic", + "generic","int32","generic", + "generic","int8","generic", + "generic","uint16","generic", + "generic","uint32","generic", + "generic","uint8","generic", + "int16","complex64","complex64", + "int16","complex64","complex128", + "int16","complex64","generic", + "int16","complex128","complex128", + "int16","complex128","generic", + "int16","float32","float32", + "int16","float32","complex128", + "int16","float32","complex64", + "int16","float32","float64", + "int16","float32","generic", + "int16","float64","float64", + "int16","float64","complex128", + "int16","float64","generic", + "int16","generic","generic", + "int16","int16","int16", + "int16","int16","complex128", + "int16","int16","complex64", + "int16","int16","float32", + "int16","int16","float64", + "int16","int16","generic", + "int16","int16","int32", + "int16","int32","int32", + "int16","int32","complex128", + "int16","int32","float64", + "int16","int32","generic", + "int16","int8","int16", + "int16","int8","complex128", + "int16","int8","complex64", + "int16","int8","float32", + "int16","int8","float64", + "int16","int8","generic", + "int16","int8","int32", + "int16","uint16","int32", + "int16","uint16","complex128", + "int16","uint16","float64", + "int16","uint16","generic", + "int16","uint32","generic", + "int16","uint8","int16", + "int16","uint8","complex128", + "int16","uint8","complex64", + "int16","uint8","float32", + "int16","uint8","float64", + "int16","uint8","generic", + "int16","uint8","int32", + "int32","complex64","complex128", + "int32","complex64","generic", + "int32","complex128","complex128", + "int32","complex128","generic", + "int32","float32","float64", + "int32","float32","complex128", + "int32","float32","generic", + "int32","float64","float64", + "int32","float64","complex128", + "int32","float64","generic", + "int32","generic","generic", + "int32","int16","int32", + "int32","int16","complex128", + "int32","int16","float64", + "int32","int16","generic", + "int32","int32","int32", + "int32","int32","complex128", + "int32","int32","float64", + "int32","int32","generic", + "int32","int8","int32", + "int32","int8","complex128", + "int32","int8","float64", + "int32","int8","generic", + "int32","uint16","int32", + "int32","uint16","complex128", + "int32","uint16","float64", + "int32","uint16","generic", + "int32","uint32","generic", + "int32","uint8","int32", + "int32","uint8","complex128", + "int32","uint8","float64", + "int32","uint8","generic", + "int8","complex64","complex64", + "int8","complex64","complex128", + "int8","complex64","generic", + "int8","complex128","complex128", + "int8","complex128","generic", + "int8","float32","float32", + "int8","float32","complex128", + "int8","float32","complex64", + "int8","float32","float64", + "int8","float32","generic", + "int8","float64","float64", + "int8","float64","complex128", + "int8","float64","generic", + "int8","generic","generic", + "int8","int16","int16", + "int8","int16","complex128", + "int8","int16","complex64", + "int8","int16","float32", + "int8","int16","float64", + "int8","int16","generic", + "int8","int16","int32", + "int8","int32","int32", + "int8","int32","complex128", + "int8","int32","float64", + "int8","int32","generic", + "int8","int8","int8", + "int8","int8","complex128", + "int8","int8","complex64", + "int8","int8","float32", + "int8","int8","float64", + "int8","int8","generic", + "int8","int8","int16", + "int8","int8","int32", + "int8","uint16","int32", + "int8","uint16","complex128", + "int8","uint16","float64", + "int8","uint16","generic", + "int8","uint32","generic", + "int8","uint8","int16", + "int8","uint8","complex128", + "int8","uint8","complex64", + "int8","uint8","float32", + "int8","uint8","float64", + "int8","uint8","generic", + "int8","uint8","int32", + "uint16","complex64","complex64", + "uint16","complex64","complex128", + "uint16","complex64","generic", + "uint16","complex128","complex128", + "uint16","complex128","generic", + "uint16","float32","float32", + "uint16","float32","complex128", + "uint16","float32","complex64", + "uint16","float32","float64", + "uint16","float32","generic", + "uint16","float64","float64", + "uint16","float64","complex128", + "uint16","float64","generic", + "uint16","generic","generic", + "uint16","int16","int32", + "uint16","int16","complex128", + "uint16","int16","float64", + "uint16","int16","generic", + "uint16","int32","int32", + "uint16","int32","complex128", + "uint16","int32","float64", + "uint16","int32","generic", + "uint16","int8","int32", + "uint16","int8","complex128", + "uint16","int8","float64", + "uint16","int8","generic", + "uint16","uint16","uint16", + "uint16","uint16","complex128", + "uint16","uint16","complex64", + "uint16","uint16","float32", + "uint16","uint16","float64", + "uint16","uint16","generic", + "uint16","uint16","int32", + "uint16","uint16","uint32", + "uint16","uint32","uint32", + "uint16","uint32","complex128", + "uint16","uint32","float64", + "uint16","uint32","generic", + "uint16","uint8","uint16", + "uint16","uint8","complex128", + "uint16","uint8","complex64", + "uint16","uint8","float32", + "uint16","uint8","float64", + "uint16","uint8","generic", + "uint16","uint8","int32", + "uint16","uint8","uint32", + "uint32","complex64","complex128", + "uint32","complex64","generic", + "uint32","complex128","complex128", + "uint32","complex128","generic", + "uint32","float32","float64", + "uint32","float32","complex128", + "uint32","float32","generic", + "uint32","float64","float64", + "uint32","float64","complex128", + "uint32","float64","generic", + "uint32","generic","generic", + "uint32","int16","generic", + "uint32","int32","generic", + "uint32","int8","generic", + "uint32","uint16","uint32", + "uint32","uint16","complex128", + "uint32","uint16","float64", + "uint32","uint16","generic", + "uint32","uint32","uint32", + "uint32","uint32","complex128", + "uint32","uint32","float64", + "uint32","uint32","generic", + "uint32","uint8","uint32", + "uint32","uint8","complex128", + "uint32","uint8","float64", + "uint32","uint8","generic", + "uint8","complex64","complex64", + "uint8","complex64","complex128", + "uint8","complex64","generic", + "uint8","complex128","complex128", + "uint8","complex128","generic", + "uint8","float32","float32", + "uint8","float32","complex128", + "uint8","float32","complex64", + "uint8","float32","float64", + "uint8","float32","generic", + "uint8","float64","float64", + "uint8","float64","complex128", + "uint8","float64","generic", + "uint8","generic","generic", + "uint8","int16","int16", + "uint8","int16","complex128", + "uint8","int16","complex64", + "uint8","int16","float32", + "uint8","int16","float64", + "uint8","int16","generic", + "uint8","int16","int32", + "uint8","int32","int32", + "uint8","int32","complex128", + "uint8","int32","float64", + "uint8","int32","generic", + "uint8","int8","int16", + "uint8","int8","complex128", + "uint8","int8","complex64", + "uint8","int8","float32", + "uint8","int8","float64", + "uint8","int8","generic", + "uint8","int8","int32", + "uint8","uint16","uint16", + "uint8","uint16","complex128", + "uint8","uint16","complex64", + "uint8","uint16","float32", + "uint8","uint16","float64", + "uint8","uint16","generic", + "uint8","uint16","int32", + "uint8","uint16","uint32", + "uint8","uint32","uint32", + "uint8","uint32","complex128", + "uint8","uint32","float64", + "uint8","uint32","generic", + "uint8","uint8","uint8", + "uint8","uint8","complex128", + "uint8","uint8","complex64", + "uint8","uint8","float32", + "uint8","uint8","float64", + "uint8","uint8","generic", + "uint8","uint8","int16", + "uint8","uint8","int32", + "uint8","uint8","uint16", + "uint8","uint8","uint32"] diff --git a/lib/node_modules/@stdlib/ml/incr/sgd-regression/lib/defaults.json b/lib/node_modules/@stdlib/ml/incr/sgd-regression/lib/defaults.json index ab0238d867f7..ba6ff0cfb6c5 100644 --- a/lib/node_modules/@stdlib/ml/incr/sgd-regression/lib/defaults.json +++ b/lib/node_modules/@stdlib/ml/incr/sgd-regression/lib/defaults.json @@ -1,8 +1,8 @@ { - "epsilon": 0.1, - "eta0": 0.02, - "intercept": true, - "lambda": 1e-3, - "learningRate": "basic", - "loss": "squaredError" + "epsilon": 0.1, + "eta0": 0.02, + "intercept": true, + "lambda": 1e-3, + "learningRate": "basic", + "loss": "squaredError" } diff --git a/lib/node_modules/@stdlib/nlp/expand-acronyms/lib/acronyms.json b/lib/node_modules/@stdlib/nlp/expand-acronyms/lib/acronyms.json index 5379e7a0f602..a85e1399bd44 100644 --- a/lib/node_modules/@stdlib/nlp/expand-acronyms/lib/acronyms.json +++ b/lib/node_modules/@stdlib/nlp/expand-acronyms/lib/acronyms.json @@ -1,92 +1,92 @@ { - "afaik": "as far as I know", - "afk": "away from keyboard", - "ama": "ask me anything", - "asap": "as soon as possible", - "b2b": "business to business", - "bbl": "be back later", - "bbs": "be back soon", - "bday": "birthday", - "brb": "be right back", - "btw": "by the way", - "cc": "carbon copy", - "cmon": "come on", - "cu": "see you", - "cya": "see you", - "cys": "check your settings", - "d2d": "direct to direct", - "dr": "doctor", - "e2e": "end to end", - "faq": "frequently asked question", - "fav": "favorite", - "favs": "favorites", - "ffs": "for f*ck's sake", - "foaf": "friend of a friend", - "ftw": "for the win", - "fyi": "for your information", - "g2g": "got to go", - "g2m": "got to meet you", - "gj": "good job", - "gm": "good morning", - "gmta": "great minds think alike", - "hth": "hope this helps", - "ianal": "I am not a lawyer", - "ianars": "I am not a rocket scientist", - "ic": "I see", - "icymi": "in case you missed it", - "idk": "i do not know", - "iirc": "if I recall correctly", - "ikr": "i know right", - "imho": "in my humble opinion", - "imnsho": "in my not so humble opinion", - "imo": "in my opinion", - "iow": "in other words", - "irl": "in real life", - "jj": "just joking", - "jk": "just kidding", - "jooc": "just out of curiosity", - "kk": "okay", - "l8": "late", - "l8r": "later", - "lmao": "laugh my a** off", - "lol": "laughing out loud", - "mfw": "my face when", - "myob": "mind your own business", - "nm": "never mind", - "noyb": "none of your business", - "np": "no problem", - "nvm": "never mind", - "oic": "oh, i see", - "omfg": "oh my f*cking god", - "omg": "oh my god", - "omw": "on my way", - "ooc": "out of character", - "oof": "out of focus", - "ot": "off topic", - "otoh": "on the other hand", - "p2p": "peer to peer", - "pfo": "please f*ck off", - "pita": "pain in the a**", - "plz": "please", - "pms": "personal messages", - "r8": "right", - "rofl": "rolling on the floor laughing", - "roflmao": "rolling on the floor laughing my a** off", - "rp": "reply", - "rps": "rock paper scissors", - "rpsls": "rock paper scissors lizard spock", - "rtfa": "read the f*cking article", - "rtfm": "read the f*cking manual", - "ru": "are you", - "s2s": "same to same", - "smh": "shake my head", - "tbh": "to be honest", - "thx": "thanks", - "tia": "thanks in advance", - "tldr": "too long did not read", - "ttyl": "talk to you later", - "wtf": "what the f*ck", - "wtg": "way to go", - "wtgp": "way to go pal", - "ymmv": "your mileage may vary" + "afaik": "as far as I know", + "afk": "away from keyboard", + "ama": "ask me anything", + "asap": "as soon as possible", + "b2b": "business to business", + "bbl": "be back later", + "bbs": "be back soon", + "bday": "birthday", + "brb": "be right back", + "btw": "by the way", + "cc": "carbon copy", + "cmon": "come on", + "cu": "see you", + "cya": "see you", + "cys": "check your settings", + "d2d": "direct to direct", + "dr": "doctor", + "e2e": "end to end", + "faq": "frequently asked question", + "fav": "favorite", + "favs": "favorites", + "ffs": "for f*ck's sake", + "foaf": "friend of a friend", + "ftw": "for the win", + "fyi": "for your information", + "g2g": "got to go", + "g2m": "got to meet you", + "gj": "good job", + "gm": "good morning", + "gmta": "great minds think alike", + "hth": "hope this helps", + "ianal": "I am not a lawyer", + "ianars": "I am not a rocket scientist", + "ic": "I see", + "icymi": "in case you missed it", + "idk": "i do not know", + "iirc": "if I recall correctly", + "ikr": "i know right", + "imho": "in my humble opinion", + "imnsho": "in my not so humble opinion", + "imo": "in my opinion", + "iow": "in other words", + "irl": "in real life", + "jj": "just joking", + "jk": "just kidding", + "jooc": "just out of curiosity", + "kk": "okay", + "l8": "late", + "l8r": "later", + "lmao": "laugh my a** off", + "lol": "laughing out loud", + "mfw": "my face when", + "myob": "mind your own business", + "nm": "never mind", + "noyb": "none of your business", + "np": "no problem", + "nvm": "never mind", + "oic": "oh, i see", + "omfg": "oh my f*cking god", + "omg": "oh my god", + "omw": "on my way", + "ooc": "out of character", + "oof": "out of focus", + "ot": "off topic", + "otoh": "on the other hand", + "p2p": "peer to peer", + "pfo": "please f*ck off", + "pita": "pain in the a**", + "plz": "please", + "pms": "personal messages", + "r8": "right", + "rofl": "rolling on the floor laughing", + "roflmao": "rolling on the floor laughing my a** off", + "rp": "reply", + "rps": "rock paper scissors", + "rpsls": "rock paper scissors lizard spock", + "rtfa": "read the f*cking article", + "rtfm": "read the f*cking manual", + "ru": "are you", + "s2s": "same to same", + "smh": "shake my head", + "tbh": "to be honest", + "thx": "thanks", + "tia": "thanks in advance", + "tldr": "too long did not read", + "ttyl": "talk to you later", + "wtf": "what the f*ck", + "wtg": "way to go", + "wtgp": "way to go pal", + "ymmv": "your mileage may vary" } diff --git a/lib/node_modules/@stdlib/nlp/expand-contractions/lib/contractions.json b/lib/node_modules/@stdlib/nlp/expand-contractions/lib/contractions.json index dd2a0f2bb455..bb5a724dc350 100644 --- a/lib/node_modules/@stdlib/nlp/expand-contractions/lib/contractions.json +++ b/lib/node_modules/@stdlib/nlp/expand-contractions/lib/contractions.json @@ -1,149 +1,149 @@ { - "'s": "is", - "'S": "Is", - "aren't": "are not", - "arent": "are not", - "can't": "can not", - "cant": "can not", - "can't've": "can not have", - "'cause": "because", - "cannot": "can not", - "could've": "could have", - "couldve": "could have", - "couldn't": "could not", - "couldnt": "could not", - "couldn't've": "could not have", - "couldntve": "could not have", - "didn't": "did not", - "didnt": "did not", - "doesn't": "does not", - "doesnt": "does not", - "don't": "do not", - "dont": "do not", - "hadn't": "had not", - "hadnt": "had not", - "hadn't've": "had not have", - "hasn't": "has not", - "hasnt": "has not", - "haven't": "have not", - "havent": "have not", - "he'd": "he would", - "hed": "he would", - "he'd've": "he would have", - "hedve": "he would have", - "he'll": "he will", - "he'll've": "he will have", - "he's": "he is", - "hes": "he is", - "how'd": "how did", - "howd": "how did", - "how'd'y": "how did you", - "how'll": "how will", - "howll": "how will", - "how's": "how is", - "hows": "how is", - "i'd": "i would", - "i'd've": "i would have", - "i'll": "i will", - "i'll've": "i will have", - "i'm": "i am", - "im": "i am", - "i'ma": "i am going to", - "i've": "i have", - "isn't": "is not", - "isnt": "is not", - "it'd": "it would", - "it'd've": "it would have", - "it'll've": "it will have", - "it'll": "it will", - "itll": "it will", - "it's": "it is", - "let's": "let us", - "lets": "let us", - "ma'am": "madam", - "mayn't": "may not", - "mightn't": "it might not", - "mightn't've": "might not have", - "might've": "might have", - "mustn't": "must not", - "mustn't've": "must not have", - "must've": "must have", - "needn't": "need not", - "needn't've": "need not have", - "not've": "not have", - "oughtn't": "ought not", - "oughtn't've": "ought not to have", - "so've": "so have", - "so's": "so is", - "shan't": "shall not", - "sha'n't": "shall not", - "shan't've": "shall not have", - "she'd": "she would", - "she'd've": "she would have", - "she'll": "she will", - "she'll've": "she will have", - "she's": "she is", - "should've": "should have", - "shouldn't": "should not", - "shouldn't've": "should not have", - "that'd": "that would", - "that'd've": "that would have", - "that's": "that is", - "thats": "that is", - "there'd": "there would", - "there'd've": "there would have", - "there's": "there is", - "they'd": "they would", - "they'd've": "they would have", - "they'll": "they will", - "they'll've": "they will have", - "they're": "they are", - "they've": "they have", - "to've": "to have", - "wasn't": "was not", - "we'd": "we would", - "we'd've": "we would have", - "we'll": "we will", - "we'll've": "we will have", - "we're": "we are", - "we've": "we have", - "weren't": "were not", - "what'll": "what will", - "what'll've": "what will have", - "what're": "what are", - "what's": "what has/is", - "what've": "what have", - "when's": "when is", - "when've": "when have", - "where'd": "where would", - "where's": "where is", - "where've": "where have", - "who'd": "who would", - "who'll": "who will", - "who'll've": "who will have", - "who're": "who are", - "who's": "who is", - "who've": "who have", - "why've": "why have", - "why'll": "why will", - "why're": "why are", - "why's": "why is", - "will've": "will have", - "won't": "will not", - "wont": "will not", - "won't've": "will not have", - "would've": "would have", - "wouldn't": "would not", - "wouldn't've": "would not have", - "y'all": "you all", - "y'all'd": "you all would", - "y'all'd've": "you all would have", - "y'all're": "you all are", - "y'all've": "you all have", - "you'd": "you would", - "you'd've": "you would have", - "you'll": "you will", - "you'll've": "you will have", - "you're": "you are", - "you've": "you have" + "'s": "is", + "'S": "Is", + "aren't": "are not", + "arent": "are not", + "can't": "can not", + "cant": "can not", + "can't've": "can not have", + "'cause": "because", + "cannot": "can not", + "could've": "could have", + "couldve": "could have", + "couldn't": "could not", + "couldnt": "could not", + "couldn't've": "could not have", + "couldntve": "could not have", + "didn't": "did not", + "didnt": "did not", + "doesn't": "does not", + "doesnt": "does not", + "don't": "do not", + "dont": "do not", + "hadn't": "had not", + "hadnt": "had not", + "hadn't've": "had not have", + "hasn't": "has not", + "hasnt": "has not", + "haven't": "have not", + "havent": "have not", + "he'd": "he would", + "hed": "he would", + "he'd've": "he would have", + "hedve": "he would have", + "he'll": "he will", + "he'll've": "he will have", + "he's": "he is", + "hes": "he is", + "how'd": "how did", + "howd": "how did", + "how'd'y": "how did you", + "how'll": "how will", + "howll": "how will", + "how's": "how is", + "hows": "how is", + "i'd": "i would", + "i'd've": "i would have", + "i'll": "i will", + "i'll've": "i will have", + "i'm": "i am", + "im": "i am", + "i'ma": "i am going to", + "i've": "i have", + "isn't": "is not", + "isnt": "is not", + "it'd": "it would", + "it'd've": "it would have", + "it'll've": "it will have", + "it'll": "it will", + "itll": "it will", + "it's": "it is", + "let's": "let us", + "lets": "let us", + "ma'am": "madam", + "mayn't": "may not", + "mightn't": "it might not", + "mightn't've": "might not have", + "might've": "might have", + "mustn't": "must not", + "mustn't've": "must not have", + "must've": "must have", + "needn't": "need not", + "needn't've": "need not have", + "not've": "not have", + "oughtn't": "ought not", + "oughtn't've": "ought not to have", + "so've": "so have", + "so's": "so is", + "shan't": "shall not", + "sha'n't": "shall not", + "shan't've": "shall not have", + "she'd": "she would", + "she'd've": "she would have", + "she'll": "she will", + "she'll've": "she will have", + "she's": "she is", + "should've": "should have", + "shouldn't": "should not", + "shouldn't've": "should not have", + "that'd": "that would", + "that'd've": "that would have", + "that's": "that is", + "thats": "that is", + "there'd": "there would", + "there'd've": "there would have", + "there's": "there is", + "they'd": "they would", + "they'd've": "they would have", + "they'll": "they will", + "they'll've": "they will have", + "they're": "they are", + "they've": "they have", + "to've": "to have", + "wasn't": "was not", + "we'd": "we would", + "we'd've": "we would have", + "we'll": "we will", + "we'll've": "we will have", + "we're": "we are", + "we've": "we have", + "weren't": "were not", + "what'll": "what will", + "what'll've": "what will have", + "what're": "what are", + "what's": "what has/is", + "what've": "what have", + "when's": "when is", + "when've": "when have", + "where'd": "where would", + "where's": "where is", + "where've": "where have", + "who'd": "who would", + "who'll": "who will", + "who'll've": "who will have", + "who're": "who are", + "who's": "who is", + "who've": "who have", + "why've": "why have", + "why'll": "why will", + "why're": "why are", + "why's": "why is", + "will've": "will have", + "won't": "will not", + "wont": "will not", + "won't've": "will not have", + "would've": "would have", + "wouldn't": "would not", + "wouldn't've": "would not have", + "y'all": "you all", + "y'all'd": "you all would", + "y'all'd've": "you all would have", + "y'all're": "you all are", + "y'all've": "you all have", + "you'd": "you would", + "you'd've": "you would have", + "you'll": "you will", + "you'll've": "you will have", + "you're": "you are", + "you've": "you have" } diff --git a/lib/node_modules/@stdlib/nlp/tokenize/lib/abbreviations.json b/lib/node_modules/@stdlib/nlp/tokenize/lib/abbreviations.json index 98e3a4b0a4c0..636c350d57b6 100644 --- a/lib/node_modules/@stdlib/nlp/tokenize/lib/abbreviations.json +++ b/lib/node_modules/@stdlib/nlp/tokenize/lib/abbreviations.json @@ -1,104 +1,104 @@ { - "i.e.": ["i.e."], - "I.e.": ["I.e."], - "I.E.": ["I.E."], - "e.g.": ["e.g."], - "E.g.": ["E.g."], - "E.G.": ["E.G."], - "et al.": ["et al."], - "etc.": ["etc."], - "vs.": ["vs."], - "A.S.A.P": ["A.S.A.P"], - "E.T.A.": ["E.T.A."], - "D.I.Y": ["D.I.Y"], - "R.S.V.P": ["R.S.V.P"], - "P.S.": ["P.S."], - "B.Y.O.B": ["B.Y.O.B"], - "Ms.": ["Ms."], - "Mr.": ["Mr."], - "Dr.": ["Dr."], - "Prof.": ["Prof."], - "Mrs.": ["Mrs."], - "Messrs.": ["Messrs."], - "Gov.": ["Gov."], - "Gen.": ["Gen."], - "Lt.": ["Lt."], - "Col.":["Col."], - "Mt.": ["Mt."], - "Bros.": ["Bros."], - "Corp.": ["Corp."], - "Co.": ["Co."], - "co.": ["co."], - "Inc.": ["Inc."], - "Ltd.": ["Ltd."], - "Rep.": ["Rep."], - "Sen.": ["Sen."], - "Jr.": ["Jr."], - "Sr.": ["Sr."], - "Ph.D.": ["Ph.D."], - "J.D.": ["J.D."], - "M.D.": ["M.D."], - "Rev.": ["Rev."], - "Adm.": ["Adm."], - "St.": ["St."], - "a.m.": ["a.m."], - "p.m.": ["p.m."], - "b.c.": ["b.c."], - "B.C.": ["B.C."], - "a.d.": ["a.d."], - "A.D.": ["A.D."], - "b.c.e.": ["b.c.e."], - "B.C.E.": ["B.C.E."], - "Jan.": ["Jan."], - "Feb.": ["Feb."], - "Mar.": ["Mar."], - "Apr.": ["Apr."], - "May.": ["May."], - "Jun.": ["Jun."], - "Jul.": ["Jul."], - "Aug.": ["Aug."], - "Sep.": ["Sep."], - "Sept.": ["Sept."], - "Oct.": ["Oct."], - "Nov.": ["Nov."], - "Dec.": ["Dec."], - "Ala.": ["Ala."], - "Ariz.": ["Ariz."], - "Ark.": [ "Ark."], - "Calif.": ["Calif."], - "Colo.": ["Colo."], - "Conn.": ["Conn."], - "Del.": [ "Del."], - "D.C.": ["D.C."], - "Fla.": [ "Fla."], - "Ga.": ["Ga."], - "Ill.": ["Ill."], - "Ind.": ["Ind."], - "Kans.": ["Kans."], - "Kan.": ["Kan."], - "Ky.": ["Ky."], - "La.": ["La."], - "Md.": ["Md."], - "Mass.": ["Mass."], - "Mich.": ["Mich."], - "Minn.": ["Minn."], - "Miss.": ["Miss."], - "Mo.": ["Mo."], - "Mont.": ["Mont."], - "Nebr.": ["Nebr."], - "Neb.": ["Neb."], - "Nev.": [ "Nev."], - "N.H.": ["N.H."], - "N.J.": ["N.J."], - "N.M.": ["N.M."], - "N.Y.": ["N.Y."], - "N.C.": ["N.C."], - "N.D.": ["N.D."], - "Okla.": ["Okla."], - "Ore.": ["Ore."], - "Pa.": ["Pa."], - "Tenn.": ["Tenn."], - "Va.": ["Va."], - "Wash.": ["Wash."], - "Wis.": ["Wis."] + "i.e.": ["i.e."], + "I.e.": ["I.e."], + "I.E.": ["I.E."], + "e.g.": ["e.g."], + "E.g.": ["E.g."], + "E.G.": ["E.G."], + "et al.": ["et al."], + "etc.": ["etc."], + "vs.": ["vs."], + "A.S.A.P": ["A.S.A.P"], + "E.T.A.": ["E.T.A."], + "D.I.Y": ["D.I.Y"], + "R.S.V.P": ["R.S.V.P"], + "P.S.": ["P.S."], + "B.Y.O.B": ["B.Y.O.B"], + "Ms.": ["Ms."], + "Mr.": ["Mr."], + "Dr.": ["Dr."], + "Prof.": ["Prof."], + "Mrs.": ["Mrs."], + "Messrs.": ["Messrs."], + "Gov.": ["Gov."], + "Gen.": ["Gen."], + "Lt.": ["Lt."], + "Col.":["Col."], + "Mt.": ["Mt."], + "Bros.": ["Bros."], + "Corp.": ["Corp."], + "Co.": ["Co."], + "co.": ["co."], + "Inc.": ["Inc."], + "Ltd.": ["Ltd."], + "Rep.": ["Rep."], + "Sen.": ["Sen."], + "Jr.": ["Jr."], + "Sr.": ["Sr."], + "Ph.D.": ["Ph.D."], + "J.D.": ["J.D."], + "M.D.": ["M.D."], + "Rev.": ["Rev."], + "Adm.": ["Adm."], + "St.": ["St."], + "a.m.": ["a.m."], + "p.m.": ["p.m."], + "b.c.": ["b.c."], + "B.C.": ["B.C."], + "a.d.": ["a.d."], + "A.D.": ["A.D."], + "b.c.e.": ["b.c.e."], + "B.C.E.": ["B.C.E."], + "Jan.": ["Jan."], + "Feb.": ["Feb."], + "Mar.": ["Mar."], + "Apr.": ["Apr."], + "May.": ["May."], + "Jun.": ["Jun."], + "Jul.": ["Jul."], + "Aug.": ["Aug."], + "Sep.": ["Sep."], + "Sept.": ["Sept."], + "Oct.": ["Oct."], + "Nov.": ["Nov."], + "Dec.": ["Dec."], + "Ala.": ["Ala."], + "Ariz.": ["Ariz."], + "Ark.": [ "Ark."], + "Calif.": ["Calif."], + "Colo.": ["Colo."], + "Conn.": ["Conn."], + "Del.": [ "Del."], + "D.C.": ["D.C."], + "Fla.": [ "Fla."], + "Ga.": ["Ga."], + "Ill.": ["Ill."], + "Ind.": ["Ind."], + "Kans.": ["Kans."], + "Kan.": ["Kan."], + "Ky.": ["Ky."], + "La.": ["La."], + "Md.": ["Md."], + "Mass.": ["Mass."], + "Mich.": ["Mich."], + "Minn.": ["Minn."], + "Miss.": ["Miss."], + "Mo.": ["Mo."], + "Mont.": ["Mont."], + "Nebr.": ["Nebr."], + "Neb.": ["Neb."], + "Nev.": [ "Nev."], + "N.H.": ["N.H."], + "N.J.": ["N.J."], + "N.M.": ["N.M."], + "N.Y.": ["N.Y."], + "N.C.": ["N.C."], + "N.D.": ["N.D."], + "Okla.": ["Okla."], + "Ore.": ["Ore."], + "Pa.": ["Pa."], + "Tenn.": ["Tenn."], + "Va.": ["Va."], + "Wash.": ["Wash."], + "Wis.": ["Wis."] } diff --git a/lib/node_modules/@stdlib/nlp/tokenize/lib/contractions.json b/lib/node_modules/@stdlib/nlp/tokenize/lib/contractions.json index 036b8a98099d..75b997e5b5ab 100644 --- a/lib/node_modules/@stdlib/nlp/tokenize/lib/contractions.json +++ b/lib/node_modules/@stdlib/nlp/tokenize/lib/contractions.json @@ -1,188 +1,188 @@ { - "'s": ["'s"], - "'S": ["'S"], - "ain't": ["ai", "n't"], - "aint": ["ai", "nt"], - "Ain't": ["Ai", "n't"], - "aren't": ["are", "n't"], - "arent": ["are", "nt"], - "Aren't": ["Are", "n't"], - "can't": ["ca", "n't"], - "cant": ["ca", "nt"], - "Can't": ["Ca", "n't"], - "can't've": ["ca", "n't", "'ve"], - "'cause": ["'cause'"], - "cannot": ["can", "not"], - "Cannot": ["Can", "not"], - "could've": ["could", "'ve"], - "couldve": ["could", "ve"], - "Could've": ["Could", "'ve"], - "couldn't": ["could", "n't"], - "couldnt": ["could", "nt"], - "Couldn't": ["Could", "n't"], - "couldn't've": ["could", "n't", "'ve"], - "couldntve": ["could", "nt", "ve"], - "Couldn't've": ["Could", "n't", "'ve"], - "didn't": ["did", "n't"], - "didnt": ["did", "nt"], - "Didn't": ["Did", "n't"], - "doesn't": ["does", "n't"], - "doesnt": ["does", "nt"], - "Doesn't": ["Does", "n't"], - "don't": ["do", "n't"], - "dont": ["do", "nt"], - "Don't": ["Do", "n't"], - "hadn't": ["had", "n't"], - "hadnt": ["had", "nt"], - "Hadn't": ["Had", "n't"], - "hadn't've": ["had", "n't", "'ve"], - "hasn't": ["has", "n't"], - "hasnt": ["has", "nt"], - "haven't": ["have", "n't"], - "havent": ["have", "nt"], - "he'd": ["he", "'d"], - "hed": ["he", "d"], - "he'd've": ["he", "'d", "'ve"], - "hedve": ["he", "d", "ve"], - "he'll": ["he", "'ll"], - "he'll've": ["he", "'ll", "'ve"], - "he's": ["he", "'s"], - "hes": ["he", "s"], - "how'd": ["how", "'d"], - "howd": ["how", "d"], - "how'd'y": [ "how", "'d", "'y" ], - "how'll": ["how", "'ll"], - "howll": ["how", "ll"], - "how's": ["how", "'s"], - "hows": ["how", "s"], - "I'd": ["I", "'d"], - "I'd've": ["I", "'d", "'ve"], - "I'll": ["I", "'ll"], - "i'll": ["i", "'ll"], - "I'll've": ["I", "'ll", "'ve"], - "i'll've": ["i", "'ll", "'ve"], - "I'm": ["I", "'m"], - "i'm": ["i", "'m"], - "Im": ["I", "m"], - "im": ["i", "m"], - "I'ma": ["I", "'ma"], - "i'ma": ["i", "'ma"], - "I've": ["I", "'ve"], - "i've": ["i", "'ve"], - "isn't": ["is", "n't"], - "isnt": ["is", "nt"], - "Isn't": ["Is", "n't"], - "It'd": ["It", "'d"], - "it'd": ["it", "'d"], - "it'd've": ["it", "'d", "'ve"], - "it'll've": ["it", "'ll", "'ve"], - "it'll": ["it", "'ll"], - "itll": ["it", "ll"], - "it's": ["it", "'s"], - "let's": ["let", "'s"], - "lets": ["let", "s"], - "ma'am": ["ma'am"], - "mayn't": ["may", "n't"], - "mightn't": ["might", "n't"], - "mightn't've": ["might", "n't", "'ve"], - "might've": ["might", "'ve"], - "mustn't": ["must", "n't"], - "mustn't've": ["must", "n't","'ve"], - "must've": ["must", "'ve"], - "needn't": ["need", "n't"], - "needn't've": ["need", "n't", "'ve"], - "not've": ["not", "'ve"], - "o'clock": ["o'clock"], - "oughtn't": ["ought", "n't"], - "oughtn't've": ["ought", "n't", "'ve"], - "so've": ["so", "'ve"], - "so's": ["so", "'s"], - "shan't": ["sha", "n't"], - "sha'n't": ["sha'", "n't"], - "shan't've": ["sha", "n't", "'ve"], - "she'd": ["she", "'d"], - "she'd've": ["she", "'d", "'ve"], - "she'll": ["she", "'ll"], - "she'll've": ["she", "'ll", "'ve"], - "she's": ["she", "'s"], - "should've": ["should", "'ve"], - "shouldn't": ["should", "n't"], - "shouldn't've": ["should", "n't", "'ve"], - "that'd": ["that", "'d"], - "that'd've": ["that", "'d", "'ve"], - "that's": ["that", "'s"], - "thats": ["that", "s"], - "there'd": ["there", "'d"], - "there'd've": ["there", "'d", "'ve"], - "there's": ["there", "'s"], - "they'd": ["they", "'d"], - "They'd": ["They", "'d"], - "they'd've": ["they", "'d", "'ve"], - "They'd've": ["They", "'d", "'ve"], - "they'll": ["they", "'ll"], - "They'll": ["They", "'ll"], - "they'll've": ["they", "'ll", "'ve"], - "They'll've": ["They", "'ll", "'ve"], - "they're": ["they", "'re"], - "They're": ["They", "'re"], - "they've": ["they", "'ve"], - "They've": ["They", "'ve"], - "to've": ["to", "'ve"], - "wasn't": ["was", "n't"], - "we'd": ["we", "'d"], - "We'd": ["We", "'d"], - "we'd've": ["we", "'d", "'ve"], - "we'll": ["we", "'ll"], - "We'll": ["We", "'ll"], - "we'll've": ["we", "'ll", "'ve"], - "We'll've": ["We", "'ll", "'ve"], - "we're": ["we", "'re"], - "We're": ["We", "'re"], - "we've": ["we", "'ve"], - "We've": ["We", "'ve"], - "weren't": ["were", "n't"], - "what'll": ["what", "'ll"], - "what'll've": ["what", "'ll", "'ve"], - "what're": ["what", "'re"], - "what's": ["what", "'s"], - "what've": ["what", "'ve"], - "when's": ["when", "'s"], - "when've": ["when", "'ve"], - "where'd": ["where", "'d"], - "where's": ["where", "'s"], - "where've": ["where", "'ve"], - "who'd": ["who", "'d"], - "who'll": ["who", "'ll"], - "who'll've": ["who", "'ll'", "'ve'"], - "who're": ["who", "'re"], - "who's": ["who", "'s"], - "who've": ["who", "'ve"], - "why've": ["why", "'ve"], - "why'll": ["why", "'ll"], - "why're": ["why", "'re"], - "why's": ["why", "'s"], - "will've": ["will", "'ve"], - "won't": ["wo", "n't"], - "wont": ["wo", "nt"], - "won't've": ["wo", "n't", "'ve"], - "would've": ["would", "'ve"], - "wouldn't": ["would", "n't"], - "wouldn't've": ["would", "n't", "'ve"], - "y'all": ["y'", "all"], - "y'all'd": ["y'", "all", "'d"], - "y'all'd've": ["y'","all", "'d", "'ve"], - "y'all're": [ "y'", "all", "'re'"], - "y'all've": [ "y'", "all", "ve"], - "you'd": ["you", "'d"], - "You'd": ["You", "'d"], - "you'd've": ["you", "'d", "'ve"], - "You'd've": ["You", "'d", "'ve"], - "you'll": ["you", "'ll"], - "You'll": ["You", "'ll"], - "you'll've": ["you", "'ll", "'ve"], - "You'll've": ["You", "'ll", "'ve"], - "you're": ["you", "'re"], - "You're": ["You", "'re"], - "you've": ["you", "'ve"], - "You've": ["You", "'ve"] + "'s": ["'s"], + "'S": ["'S"], + "ain't": ["ai", "n't"], + "aint": ["ai", "nt"], + "Ain't": ["Ai", "n't"], + "aren't": ["are", "n't"], + "arent": ["are", "nt"], + "Aren't": ["Are", "n't"], + "can't": ["ca", "n't"], + "cant": ["ca", "nt"], + "Can't": ["Ca", "n't"], + "can't've": ["ca", "n't", "'ve"], + "'cause": ["'cause'"], + "cannot": ["can", "not"], + "Cannot": ["Can", "not"], + "could've": ["could", "'ve"], + "couldve": ["could", "ve"], + "Could've": ["Could", "'ve"], + "couldn't": ["could", "n't"], + "couldnt": ["could", "nt"], + "Couldn't": ["Could", "n't"], + "couldn't've": ["could", "n't", "'ve"], + "couldntve": ["could", "nt", "ve"], + "Couldn't've": ["Could", "n't", "'ve"], + "didn't": ["did", "n't"], + "didnt": ["did", "nt"], + "Didn't": ["Did", "n't"], + "doesn't": ["does", "n't"], + "doesnt": ["does", "nt"], + "Doesn't": ["Does", "n't"], + "don't": ["do", "n't"], + "dont": ["do", "nt"], + "Don't": ["Do", "n't"], + "hadn't": ["had", "n't"], + "hadnt": ["had", "nt"], + "Hadn't": ["Had", "n't"], + "hadn't've": ["had", "n't", "'ve"], + "hasn't": ["has", "n't"], + "hasnt": ["has", "nt"], + "haven't": ["have", "n't"], + "havent": ["have", "nt"], + "he'd": ["he", "'d"], + "hed": ["he", "d"], + "he'd've": ["he", "'d", "'ve"], + "hedve": ["he", "d", "ve"], + "he'll": ["he", "'ll"], + "he'll've": ["he", "'ll", "'ve"], + "he's": ["he", "'s"], + "hes": ["he", "s"], + "how'd": ["how", "'d"], + "howd": ["how", "d"], + "how'd'y": [ "how", "'d", "'y" ], + "how'll": ["how", "'ll"], + "howll": ["how", "ll"], + "how's": ["how", "'s"], + "hows": ["how", "s"], + "I'd": ["I", "'d"], + "I'd've": ["I", "'d", "'ve"], + "I'll": ["I", "'ll"], + "i'll": ["i", "'ll"], + "I'll've": ["I", "'ll", "'ve"], + "i'll've": ["i", "'ll", "'ve"], + "I'm": ["I", "'m"], + "i'm": ["i", "'m"], + "Im": ["I", "m"], + "im": ["i", "m"], + "I'ma": ["I", "'ma"], + "i'ma": ["i", "'ma"], + "I've": ["I", "'ve"], + "i've": ["i", "'ve"], + "isn't": ["is", "n't"], + "isnt": ["is", "nt"], + "Isn't": ["Is", "n't"], + "It'd": ["It", "'d"], + "it'd": ["it", "'d"], + "it'd've": ["it", "'d", "'ve"], + "it'll've": ["it", "'ll", "'ve"], + "it'll": ["it", "'ll"], + "itll": ["it", "ll"], + "it's": ["it", "'s"], + "let's": ["let", "'s"], + "lets": ["let", "s"], + "ma'am": ["ma'am"], + "mayn't": ["may", "n't"], + "mightn't": ["might", "n't"], + "mightn't've": ["might", "n't", "'ve"], + "might've": ["might", "'ve"], + "mustn't": ["must", "n't"], + "mustn't've": ["must", "n't","'ve"], + "must've": ["must", "'ve"], + "needn't": ["need", "n't"], + "needn't've": ["need", "n't", "'ve"], + "not've": ["not", "'ve"], + "o'clock": ["o'clock"], + "oughtn't": ["ought", "n't"], + "oughtn't've": ["ought", "n't", "'ve"], + "so've": ["so", "'ve"], + "so's": ["so", "'s"], + "shan't": ["sha", "n't"], + "sha'n't": ["sha'", "n't"], + "shan't've": ["sha", "n't", "'ve"], + "she'd": ["she", "'d"], + "she'd've": ["she", "'d", "'ve"], + "she'll": ["she", "'ll"], + "she'll've": ["she", "'ll", "'ve"], + "she's": ["she", "'s"], + "should've": ["should", "'ve"], + "shouldn't": ["should", "n't"], + "shouldn't've": ["should", "n't", "'ve"], + "that'd": ["that", "'d"], + "that'd've": ["that", "'d", "'ve"], + "that's": ["that", "'s"], + "thats": ["that", "s"], + "there'd": ["there", "'d"], + "there'd've": ["there", "'d", "'ve"], + "there's": ["there", "'s"], + "they'd": ["they", "'d"], + "They'd": ["They", "'d"], + "they'd've": ["they", "'d", "'ve"], + "They'd've": ["They", "'d", "'ve"], + "they'll": ["they", "'ll"], + "They'll": ["They", "'ll"], + "they'll've": ["they", "'ll", "'ve"], + "They'll've": ["They", "'ll", "'ve"], + "they're": ["they", "'re"], + "They're": ["They", "'re"], + "they've": ["they", "'ve"], + "They've": ["They", "'ve"], + "to've": ["to", "'ve"], + "wasn't": ["was", "n't"], + "we'd": ["we", "'d"], + "We'd": ["We", "'d"], + "we'd've": ["we", "'d", "'ve"], + "we'll": ["we", "'ll"], + "We'll": ["We", "'ll"], + "we'll've": ["we", "'ll", "'ve"], + "We'll've": ["We", "'ll", "'ve"], + "we're": ["we", "'re"], + "We're": ["We", "'re"], + "we've": ["we", "'ve"], + "We've": ["We", "'ve"], + "weren't": ["were", "n't"], + "what'll": ["what", "'ll"], + "what'll've": ["what", "'ll", "'ve"], + "what're": ["what", "'re"], + "what's": ["what", "'s"], + "what've": ["what", "'ve"], + "when's": ["when", "'s"], + "when've": ["when", "'ve"], + "where'd": ["where", "'d"], + "where's": ["where", "'s"], + "where've": ["where", "'ve"], + "who'd": ["who", "'d"], + "who'll": ["who", "'ll"], + "who'll've": ["who", "'ll'", "'ve'"], + "who're": ["who", "'re"], + "who's": ["who", "'s"], + "who've": ["who", "'ve"], + "why've": ["why", "'ve"], + "why'll": ["why", "'ll"], + "why're": ["why", "'re"], + "why's": ["why", "'s"], + "will've": ["will", "'ve"], + "won't": ["wo", "n't"], + "wont": ["wo", "nt"], + "won't've": ["wo", "n't", "'ve"], + "would've": ["would", "'ve"], + "wouldn't": ["would", "n't"], + "wouldn't've": ["would", "n't", "'ve"], + "y'all": ["y'", "all"], + "y'all'd": ["y'", "all", "'d"], + "y'all'd've": ["y'","all", "'d", "'ve"], + "y'all're": [ "y'", "all", "'re'"], + "y'all've": [ "y'", "all", "ve"], + "you'd": ["you", "'d"], + "You'd": ["You", "'d"], + "you'd've": ["you", "'d", "'ve"], + "You'd've": ["You", "'d", "'ve"], + "you'll": ["you", "'ll"], + "You'll": ["You", "'ll"], + "you'll've": ["you", "'ll", "'ve"], + "You'll've": ["You", "'ll", "'ve"], + "you're": ["you", "'re"], + "You're": ["You", "'re"], + "you've": ["you", "'ve"], + "You've": ["You", "'ve"] } diff --git a/lib/node_modules/@stdlib/nlp/tokenize/lib/emojis.json b/lib/node_modules/@stdlib/nlp/tokenize/lib/emojis.json index 4798bb2e3391..843b473665eb 100644 --- a/lib/node_modules/@stdlib/nlp/tokenize/lib/emojis.json +++ b/lib/node_modules/@stdlib/nlp/tokenize/lib/emojis.json @@ -1,45 +1,45 @@ { - "^_^": ["^_^"], - "=D": ["=D"], - ";-p": [";-p"], - ":O": [":O"], - ":-/": [":-/"], - "xD": ["xD"], - "V_V": ["V_V"], - ";(": [";("], - "(:": ["(:"], - "\")": ["\")"], - ":Y": [":Y"], - ":]": [":]"], - ":3": [":3"], - ":(": [":("], - ":-)": [":-)"], - "=3": ["=3"], - ":))": [":))"], - ":>": [":>"], - ";p": [";p"], - ":p": [":p"], - "=[[": ["=[["], - "xDD": ["xDD"], - "<333": ["<333"], - "<33": ["<33"], - ":P": [":P"], - "o.O": ["o.O"], - "<3": ["<3"], - ";-)": [";-)"], - ":)": [":)"], - "-_-": ["-_-"], - ":')": [":')"], - "o_O": ["o_O"], - ";)": [";)"], - "=]": ["=]"], - "(=": ["(="], - "-__-": ["-__-"], - ":/": [":/"], - ":0": [":0"], - "(^_^)": ["(^_^)"], - ";D": [";D"], - "o_o": ["o_o"], - ":((": [":(("], - "=)": ["=)"] + "^_^": ["^_^"], + "=D": ["=D"], + ";-p": [";-p"], + ":O": [":O"], + ":-/": [":-/"], + "xD": ["xD"], + "V_V": ["V_V"], + ";(": [";("], + "(:": ["(:"], + "\")": ["\")"], + ":Y": [":Y"], + ":]": [":]"], + ":3": [":3"], + ":(": [":("], + ":-)": [":-)"], + "=3": ["=3"], + ":))": [":))"], + ":>": [":>"], + ";p": [";p"], + ":p": [":p"], + "=[[": ["=[["], + "xDD": ["xDD"], + "<333": ["<333"], + "<33": ["<33"], + ":P": [":P"], + "o.O": ["o.O"], + "<3": ["<3"], + ";-)": [";-)"], + ":)": [":)"], + "-_-": ["-_-"], + ":')": [":')"], + "o_O": ["o_O"], + ";)": [";)"], + "=]": ["=]"], + "(=": ["(="], + "-__-": ["-__-"], + ":/": [":/"], + ":0": [":0"], + "(^_^)": ["(^_^)"], + ";D": [";D"], + "o_o": ["o_o"], + ":((": [":(("], + "=)": ["=)"] } diff --git a/lib/node_modules/@stdlib/plot/base/ctor/lib/props/engine/engines.json b/lib/node_modules/@stdlib/plot/base/ctor/lib/props/engine/engines.json index 00a90ebbc0fc..208221057c58 100644 --- a/lib/node_modules/@stdlib/plot/base/ctor/lib/props/engine/engines.json +++ b/lib/node_modules/@stdlib/plot/base/ctor/lib/props/engine/engines.json @@ -1,3 +1,3 @@ [ - "svg" + "svg" ] diff --git a/lib/node_modules/@stdlib/plot/base/ctor/lib/props/render-format/formats.json b/lib/node_modules/@stdlib/plot/base/ctor/lib/props/render-format/formats.json index 7479e772e50e..28311cd5d3ba 100644 --- a/lib/node_modules/@stdlib/plot/base/ctor/lib/props/render-format/formats.json +++ b/lib/node_modules/@stdlib/plot/base/ctor/lib/props/render-format/formats.json @@ -1,4 +1,4 @@ [ - "vdom", - "html" + "vdom", + "html" ] diff --git a/lib/node_modules/@stdlib/plot/base/ctor/lib/props/x-axis-orient/orientations.json b/lib/node_modules/@stdlib/plot/base/ctor/lib/props/x-axis-orient/orientations.json index 1e375c31f6f7..bd39084e3446 100644 --- a/lib/node_modules/@stdlib/plot/base/ctor/lib/props/x-axis-orient/orientations.json +++ b/lib/node_modules/@stdlib/plot/base/ctor/lib/props/x-axis-orient/orientations.json @@ -1,4 +1,4 @@ [ - "bottom", - "top" + "bottom", + "top" ] diff --git a/lib/node_modules/@stdlib/plot/components/svg/axis/lib/events/events.json b/lib/node_modules/@stdlib/plot/components/svg/axis/lib/events/events.json index 2a5ecc0ace26..1d3fddb0833d 100644 --- a/lib/node_modules/@stdlib/plot/components/svg/axis/lib/events/events.json +++ b/lib/node_modules/@stdlib/plot/components/svg/axis/lib/events/events.json @@ -1,13 +1,13 @@ { - "label": "change", - "numTicks": "change", - "orientation": "change", - "scale": "change", - "tickFormat": "change", - "tickPadding": "change", - "ticks": "change", - "tickSize": "change", - "innerTickSize": "change", - "outerTickSize": "change", - "autoRender": "change" + "label": "change", + "numTicks": "change", + "orientation": "change", + "scale": "change", + "tickFormat": "change", + "tickPadding": "change", + "ticks": "change", + "tickSize": "change", + "innerTickSize": "change", + "outerTickSize": "change", + "autoRender": "change" } diff --git a/lib/node_modules/@stdlib/plot/components/svg/background/lib/events/events.json b/lib/node_modules/@stdlib/plot/components/svg/background/lib/events/events.json index de277aabe209..a118aa7a4f15 100644 --- a/lib/node_modules/@stdlib/plot/components/svg/background/lib/events/events.json +++ b/lib/node_modules/@stdlib/plot/components/svg/background/lib/events/events.json @@ -1,5 +1,5 @@ { - "width": "change", - "height": "change", - "autoRender": "change" + "width": "change", + "height": "change", + "autoRender": "change" } diff --git a/lib/node_modules/@stdlib/plot/components/svg/canvas/lib/defaults.json b/lib/node_modules/@stdlib/plot/components/svg/canvas/lib/defaults.json index 93a4318963e3..292f22bf7413 100644 --- a/lib/node_modules/@stdlib/plot/components/svg/canvas/lib/defaults.json +++ b/lib/node_modules/@stdlib/plot/components/svg/canvas/lib/defaults.json @@ -1,5 +1,5 @@ { - "width": 400, - "height": 400, - "autoRender": false + "width": 400, + "height": 400, + "autoRender": false } diff --git a/lib/node_modules/@stdlib/plot/components/svg/clip-path/lib/defaults.json b/lib/node_modules/@stdlib/plot/components/svg/clip-path/lib/defaults.json index 914f1d7574f9..f9f5df0afeaa 100644 --- a/lib/node_modules/@stdlib/plot/components/svg/clip-path/lib/defaults.json +++ b/lib/node_modules/@stdlib/plot/components/svg/clip-path/lib/defaults.json @@ -1,6 +1,6 @@ { - "width": 400, - "height": 400, - "id": "", - "autoRender": false + "width": 400, + "height": 400, + "id": "", + "autoRender": false } diff --git a/lib/node_modules/@stdlib/plot/components/svg/clip-path/lib/events/events.json b/lib/node_modules/@stdlib/plot/components/svg/clip-path/lib/events/events.json index 8f7744c0b74b..1b7afda24f6d 100644 --- a/lib/node_modules/@stdlib/plot/components/svg/clip-path/lib/events/events.json +++ b/lib/node_modules/@stdlib/plot/components/svg/clip-path/lib/events/events.json @@ -1,6 +1,6 @@ { - "width": "change", - "height": "change", - "id": "change", - "autoRender": "change" + "width": "change", + "height": "change", + "id": "change", + "autoRender": "change" } diff --git a/lib/node_modules/@stdlib/plot/components/svg/graph/lib/events/events.json b/lib/node_modules/@stdlib/plot/components/svg/graph/lib/events/events.json index 54b6080da6b1..bedf4e394d37 100644 --- a/lib/node_modules/@stdlib/plot/components/svg/graph/lib/events/events.json +++ b/lib/node_modules/@stdlib/plot/components/svg/graph/lib/events/events.json @@ -1,5 +1,5 @@ { - "translateX": "change", - "translateY": "change", - "autoRender": "change" + "translateX": "change", + "translateY": "change", + "autoRender": "change" } diff --git a/lib/node_modules/@stdlib/plot/components/svg/marks/lib/defaults.json b/lib/node_modules/@stdlib/plot/components/svg/marks/lib/defaults.json index f77788efee5f..2ff6e912a759 100644 --- a/lib/node_modules/@stdlib/plot/components/svg/marks/lib/defaults.json +++ b/lib/node_modules/@stdlib/plot/components/svg/marks/lib/defaults.json @@ -1,4 +1,4 @@ { - "clipPathId": "", - "autoRender": false + "clipPathId": "", + "autoRender": false } diff --git a/lib/node_modules/@stdlib/plot/components/svg/marks/lib/events/events.json b/lib/node_modules/@stdlib/plot/components/svg/marks/lib/events/events.json index 3496bcb34947..4d85fb6eb981 100644 --- a/lib/node_modules/@stdlib/plot/components/svg/marks/lib/events/events.json +++ b/lib/node_modules/@stdlib/plot/components/svg/marks/lib/events/events.json @@ -1,4 +1,4 @@ { - "clipPathId": "change", - "autoRender": "change" + "clipPathId": "change", + "autoRender": "change" } diff --git a/lib/node_modules/@stdlib/plot/components/svg/rug/lib/props/orientation/orientations.json b/lib/node_modules/@stdlib/plot/components/svg/rug/lib/props/orientation/orientations.json index c3d57be9dcb8..59012048fab1 100644 --- a/lib/node_modules/@stdlib/plot/components/svg/rug/lib/props/orientation/orientations.json +++ b/lib/node_modules/@stdlib/plot/components/svg/rug/lib/props/orientation/orientations.json @@ -1,6 +1,6 @@ [ - "bottom", - "left", - "right", - "top" + "bottom", + "left", + "right", + "top" ] diff --git a/lib/node_modules/@stdlib/plot/components/svg/symbols/lib/defaults.json b/lib/node_modules/@stdlib/plot/components/svg/symbols/lib/defaults.json index 76679ca89cac..43206d2cedba 100644 --- a/lib/node_modules/@stdlib/plot/components/svg/symbols/lib/defaults.json +++ b/lib/node_modules/@stdlib/plot/components/svg/symbols/lib/defaults.json @@ -1,13 +1,13 @@ { - "autoRender": false, - "color": "#000", - "isDefined": null, - "label": "", - "opacity": 0.9, - "size": 6, - "symbol": "closed-circle", - "x": [], - "xScale": null, - "y": [], - "yScale": null + "autoRender": false, + "color": "#000", + "isDefined": null, + "label": "", + "opacity": 0.9, + "size": 6, + "symbol": "closed-circle", + "x": [], + "xScale": null, + "y": [], + "yScale": null } diff --git a/lib/node_modules/@stdlib/plot/components/svg/symbols/lib/props/symbol/symbols.json b/lib/node_modules/@stdlib/plot/components/svg/symbols/lib/props/symbol/symbols.json index 0f0345a38e1c..d37c411c54b4 100644 --- a/lib/node_modules/@stdlib/plot/components/svg/symbols/lib/props/symbol/symbols.json +++ b/lib/node_modules/@stdlib/plot/components/svg/symbols/lib/props/symbol/symbols.json @@ -1,4 +1,4 @@ [ - "closed-circle", - "open-circle" + "closed-circle", + "open-circle" ] diff --git a/lib/node_modules/@stdlib/plot/components/svg/title/lib/defaults.json b/lib/node_modules/@stdlib/plot/components/svg/title/lib/defaults.json index c835193348ce..2531b4d1a36f 100644 --- a/lib/node_modules/@stdlib/plot/components/svg/title/lib/defaults.json +++ b/lib/node_modules/@stdlib/plot/components/svg/title/lib/defaults.json @@ -1,4 +1,4 @@ { - "text": "", - "autoRender": false + "text": "", + "autoRender": false } diff --git a/lib/node_modules/@stdlib/plot/components/svg/title/lib/events/events.json b/lib/node_modules/@stdlib/plot/components/svg/title/lib/events/events.json index 31e673d21b55..5fc5ec325959 100644 --- a/lib/node_modules/@stdlib/plot/components/svg/title/lib/events/events.json +++ b/lib/node_modules/@stdlib/plot/components/svg/title/lib/events/events.json @@ -1,4 +1,4 @@ { - "text": "change", - "autoRender": "change" + "text": "change", + "autoRender": "change" } diff --git a/lib/node_modules/@stdlib/plot/sparklines/unicode/lib/props/type/chart_types.json b/lib/node_modules/@stdlib/plot/sparklines/unicode/lib/props/type/chart_types.json index c135503a2ceb..59c86320ad22 100644 --- a/lib/node_modules/@stdlib/plot/sparklines/unicode/lib/props/type/chart_types.json +++ b/lib/node_modules/@stdlib/plot/sparklines/unicode/lib/props/type/chart_types.json @@ -1,7 +1,7 @@ [ - "column", - "line", - "tristate", - "up-down", - "win-loss" + "column", + "line", + "tristate", + "up-down", + "win-loss" ] diff --git a/lib/node_modules/@stdlib/stats/base/dists/cauchy/quantile/manifest.json b/lib/node_modules/@stdlib/stats/base/dists/cauchy/quantile/manifest.json index 0bdf155bffcc..23287b55ba7e 100644 --- a/lib/node_modules/@stdlib/stats/base/dists/cauchy/quantile/manifest.json +++ b/lib/node_modules/@stdlib/stats/base/dists/cauchy/quantile/manifest.json @@ -1,84 +1,84 @@ { - "options": { + "options": { + "task": "build", + "wasm": false + }, + "fields": [ + { + "field": "src", + "resolve": true, + "relative": true + }, + { + "field": "include", + "resolve": true, + "relative": true + }, + { + "field": "libraries", + "resolve": false, + "relative": false + }, + { + "field": "libpath", + "resolve": true, + "relative": false + } + ], + "confs": [ + { "task": "build", - "wasm": false + "wasm": false, + "src": [ + "./src/main.c" + ], + "include": [ + "./include" + ], + "libraries": [], + "libpath": [], + "dependencies": [ + "@stdlib/math/base/napi/ternary", + "@stdlib/math/base/assert/is-nan", + "@stdlib/math/base/special/tan", + "@stdlib/constants/float64/pi" + ] + }, + { + "task": "benchmark", + "wasm": false, + "src": [ + "./src/main.c" + ], + "include": [ + "./include" + ], + "libraries": [], + "libpath": [], + "dependencies": [ + "@stdlib/math/base/assert/is-nan", + "@stdlib/math/base/special/tan", + "@stdlib/constants/float64/eps", + "@stdlib/constants/float64/pi" + ] }, - "fields": [ - { - "field": "src", - "resolve": true, - "relative": true - }, - { - "field": "include", - "resolve": true, - "relative": true - }, - { - "field": "libraries", - "resolve": false, - "relative": false - }, - { - "field": "libpath", - "resolve": true, - "relative": false - } - ], - "confs": [ - { - "task": "build", - "wasm": false, - "src": [ - "./src/main.c" - ], - "include": [ - "./include" - ], - "libraries": [], - "libpath": [], - "dependencies": [ - "@stdlib/math/base/napi/ternary", - "@stdlib/math/base/assert/is-nan", - "@stdlib/math/base/special/tan", - "@stdlib/constants/float64/pi" - ] - }, - { - "task": "benchmark", - "wasm": false, - "src": [ - "./src/main.c" - ], - "include": [ - "./include" - ], - "libraries": [], - "libpath": [], - "dependencies": [ - "@stdlib/math/base/assert/is-nan", - "@stdlib/math/base/special/tan", - "@stdlib/constants/float64/eps", - "@stdlib/constants/float64/pi" - ] - }, - { - "task": "examples", - "wasm": false, - "src": [ - "./src/main.c" - ], - "include": [ - "./include" - ], - "libraries": [], - "libpath": [], - "dependencies": [ - "@stdlib/math/base/assert/is-nan", - "@stdlib/math/base/special/tan", - "@stdlib/constants/float64/eps", - "@stdlib/constants/float64/pi" - ] - } - ] + { + "task": "examples", + "wasm": false, + "src": [ + "./src/main.c" + ], + "include": [ + "./include" + ], + "libraries": [], + "libpath": [], + "dependencies": [ + "@stdlib/math/base/assert/is-nan", + "@stdlib/math/base/special/tan", + "@stdlib/constants/float64/eps", + "@stdlib/constants/float64/pi" + ] + } + ] } diff --git a/lib/node_modules/@stdlib/stats/base/dists/geometric/mgf/manifest.json b/lib/node_modules/@stdlib/stats/base/dists/geometric/mgf/manifest.json index 3521c0073988..a9fba8a77f59 100644 --- a/lib/node_modules/@stdlib/stats/base/dists/geometric/mgf/manifest.json +++ b/lib/node_modules/@stdlib/stats/base/dists/geometric/mgf/manifest.json @@ -1,82 +1,82 @@ { - "options": { + "options": { + "task": "build", + "wasm": false + }, + "fields": [ + { + "field": "src", + "resolve": true, + "relative": true + }, + { + "field": "include", + "resolve": true, + "relative": true + }, + { + "field": "libraries", + "resolve": false, + "relative": false + }, + { + "field": "libpath", + "resolve": true, + "relative": false + } + ], + "confs": [ + { "task": "build", - "wasm": false + "wasm": false, + "src": [ + "./src/main.c" + ], + "include": [ + "./include" + ], + "libraries": [], + "libpath": [], + "dependencies": [ + "@stdlib/math/base/napi/binary", + "@stdlib/math/base/assert/is-nan", + "@stdlib/math/base/special/exp", + "@stdlib/math/base/special/ln" + ] + }, + { + "task": "benchmark", + "wasm": false, + "src": [ + "./src/main.c" + ], + "include": [ + "./include" + ], + "libraries": [], + "libpath": [], + "dependencies": [ + "@stdlib/math/base/assert/is-nan", + "@stdlib/math/base/special/exp", + "@stdlib/math/base/special/ln" + ] }, - "fields": [ - { - "field": "src", - "resolve": true, - "relative": true - }, - { - "field": "include", - "resolve": true, - "relative": true - }, - { - "field": "libraries", - "resolve": false, - "relative": false - }, - { - "field": "libpath", - "resolve": true, - "relative": false - } - ], - "confs": [ - { - "task": "build", - "wasm": false, - "src": [ - "./src/main.c" - ], - "include": [ - "./include" - ], - "libraries": [], - "libpath": [], - "dependencies": [ - "@stdlib/math/base/napi/binary", - "@stdlib/math/base/assert/is-nan", - "@stdlib/math/base/special/exp", - "@stdlib/math/base/special/ln" - ] - }, - { - "task": "benchmark", - "wasm": false, - "src": [ - "./src/main.c" - ], - "include": [ - "./include" - ], - "libraries": [], - "libpath": [], - "dependencies": [ - "@stdlib/math/base/assert/is-nan", - "@stdlib/math/base/special/exp", - "@stdlib/math/base/special/ln" - ] - }, - { - "task": "examples", - "wasm": false, - "src": [ - "./src/main.c" - ], - "include": [ - "./include" - ], - "libraries": [], - "libpath": [], - "dependencies": [ - "@stdlib/math/base/assert/is-nan", - "@stdlib/math/base/special/exp", - "@stdlib/math/base/special/ln" - ] - } - ] + { + "task": "examples", + "wasm": false, + "src": [ + "./src/main.c" + ], + "include": [ + "./include" + ], + "libraries": [], + "libpath": [], + "dependencies": [ + "@stdlib/math/base/assert/is-nan", + "@stdlib/math/base/special/exp", + "@stdlib/math/base/special/ln" + ] + } + ] } diff --git a/lib/node_modules/@stdlib/stats/base/dists/levy/entropy/manifest.json b/lib/node_modules/@stdlib/stats/base/dists/levy/entropy/manifest.json index 14baaba20e69..74f755785dff 100644 --- a/lib/node_modules/@stdlib/stats/base/dists/levy/entropy/manifest.json +++ b/lib/node_modules/@stdlib/stats/base/dists/levy/entropy/manifest.json @@ -1,86 +1,86 @@ { "options": { + "task": "build", + "wasm": false + }, + "fields": [ + { + "field": "src", + "resolve": true, + "relative": true + }, + { + "field": "include", + "resolve": true, + "relative": true + }, + { + "field": "libraries", + "resolve": false, + "relative": false + }, + { + "field": "libpath", + "resolve": true, + "relative": false + } + ], + "confs": [ + { "task": "build", - "wasm": false + "wasm": false, + "src": [ + "./src/main.c" + ], + "include": [ + "./include" + ], + "libraries": [], + "libpath": [], + "dependencies": [ + "@stdlib/math/base/napi/binary", + "@stdlib/math/base/assert/is-nan", + "@stdlib/math/base/special/ln", + "@stdlib/constants/float64/eulergamma", + "@stdlib/constants/float64/pi" + ] + }, + { + "task": "benchmark", + "wasm": false, + "src": [ + "./src/main.c" + ], + "include": [ + "./include" + ], + "libraries": [], + "libpath": [], + "dependencies": [ + "@stdlib/math/base/assert/is-nan", + "@stdlib/math/base/special/ln", + "@stdlib/constants/float64/eulergamma", + "@stdlib/constants/float64/pi", + "@stdlib/constants/float64/eps" + ] }, - "fields": [ - { - "field": "src", - "resolve": true, - "relative": true - }, - { - "field": "include", - "resolve": true, - "relative": true - }, - { - "field": "libraries", - "resolve": false, - "relative": false - }, - { - "field": "libpath", - "resolve": true, - "relative": false - } - ], - "confs": [ - { - "task": "build", - "wasm": false, - "src": [ - "./src/main.c" - ], - "include": [ - "./include" - ], - "libraries": [], - "libpath": [], - "dependencies": [ - "@stdlib/math/base/napi/binary", - "@stdlib/math/base/assert/is-nan", - "@stdlib/math/base/special/ln", - "@stdlib/constants/float64/eulergamma", - "@stdlib/constants/float64/pi" - ] - }, - { - "task": "benchmark", - "wasm": false, - "src": [ - "./src/main.c" - ], - "include": [ - "./include" - ], - "libraries": [], - "libpath": [], - "dependencies": [ - "@stdlib/math/base/assert/is-nan", - "@stdlib/math/base/special/ln", - "@stdlib/constants/float64/eulergamma", - "@stdlib/constants/float64/pi", - "@stdlib/constants/float64/eps" - ] - }, - { - "task": "examples", - "wasm": false, - "src": [ - "./src/main.c" - ], - "include": [ - "./include" - ], - "libraries": [], - "libpath": [], - "dependencies": [ - "@stdlib/math/base/assert/is-nan", - "@stdlib/math/base/special/ln", - "@stdlib/constants/float64/eulergamma", - "@stdlib/constants/float64/pi" - ] - } - ] - } + { + "task": "examples", + "wasm": false, + "src": [ + "./src/main.c" + ], + "include": [ + "./include" + ], + "libraries": [], + "libpath": [], + "dependencies": [ + "@stdlib/math/base/assert/is-nan", + "@stdlib/math/base/special/ln", + "@stdlib/constants/float64/eulergamma", + "@stdlib/constants/float64/pi" + ] + } + ] +} diff --git a/lib/node_modules/@stdlib/stats/base/dists/planck/mode/manifest.json b/lib/node_modules/@stdlib/stats/base/dists/planck/mode/manifest.json index ea970fc42784..7b4b4c8eae44 100644 --- a/lib/node_modules/@stdlib/stats/base/dists/planck/mode/manifest.json +++ b/lib/node_modules/@stdlib/stats/base/dists/planck/mode/manifest.json @@ -1,76 +1,76 @@ { - "options": { + "options": { + "task": "build", + "wasm": false + }, + "fields": [ + { + "field": "src", + "resolve": true, + "relative": true + }, + { + "field": "include", + "resolve": true, + "relative": true + }, + { + "field": "libraries", + "resolve": false, + "relative": false + }, + { + "field": "libpath", + "resolve": true, + "relative": false + } + ], + "confs": [ + { "task": "build", - "wasm": false + "wasm": false, + "src": [ + "./src/main.c" + ], + "include": [ + "./include" + ], + "libraries": [], + "libpath": [], + "dependencies": [ + "@stdlib/math/base/napi/unary", + "@stdlib/math/base/assert/is-nan" + ] + }, + { + "task": "benchmark", + "wasm": false, + "src": [ + "./src/main.c" + ], + "include": [ + "./include" + ], + "libraries": [], + "libpath": [], + "dependencies": [ + "@stdlib/math/base/assert/is-nan" + ] }, - "fields": [ - { - "field": "src", - "resolve": true, - "relative": true - }, - { - "field": "include", - "resolve": true, - "relative": true - }, - { - "field": "libraries", - "resolve": false, - "relative": false - }, - { - "field": "libpath", - "resolve": true, - "relative": false - } - ], - "confs": [ - { - "task": "build", - "wasm": false, - "src": [ - "./src/main.c" - ], - "include": [ - "./include" - ], - "libraries": [], - "libpath": [], - "dependencies": [ - "@stdlib/math/base/napi/unary", - "@stdlib/math/base/assert/is-nan" - ] - }, - { - "task": "benchmark", - "wasm": false, - "src": [ - "./src/main.c" - ], - "include": [ - "./include" - ], - "libraries": [], - "libpath": [], - "dependencies": [ - "@stdlib/math/base/assert/is-nan" - ] - }, - { - "task": "examples", - "wasm": false, - "src": [ - "./src/main.c" - ], - "include": [ - "./include" - ], - "libraries": [], - "libpath": [], - "dependencies": [ - "@stdlib/math/base/assert/is-nan" - ] - } - ] - } + { + "task": "examples", + "wasm": false, + "src": [ + "./src/main.c" + ], + "include": [ + "./include" + ], + "libraries": [], + "libpath": [], + "dependencies": [ + "@stdlib/math/base/assert/is-nan" + ] + } + ] +} diff --git a/lib/node_modules/@stdlib/string/acronym/lib/stopwords.json b/lib/node_modules/@stdlib/string/acronym/lib/stopwords.json index dd4828370501..f3c828c25c81 100644 --- a/lib/node_modules/@stdlib/string/acronym/lib/stopwords.json +++ b/lib/node_modules/@stdlib/string/acronym/lib/stopwords.json @@ -1,148 +1,148 @@ [ - "a", - "all", - "also", - "although", - "an", - "and", - "any", - "are", - "as", - "at", - "b", - "be", - "been", - "but", - "by", - "c", - "could", - "d", - "e", - "each", - "eg", - "either", - "even", - "ever", - "ex", - "except", - "f", - "far", - "few", - "for", - "from", - "further", - "g", - "get", - "gets", - "given", - "gives", - "go", - "going", - "got", - "h", - "had", - "has", - "have", - "having", - "he", - "her", - "here", - "herself", - "him", - "himself", - "his", - "how", - "i", - "ie", - "if", - "in", - "into", - "is", - "it", - "its", - "itself", - "j", - "just", - "k", - "l", - "less", - "let", - "m", - "many", - "may", - "me", - "might", - "must", - "my", - "myself", - "n", - "need", - "needs", - "next", - "no", - "non", - "not", - "now", - "o", - "of", - "off", - "old", - "on", - "once", - "only", - "or", - "our", - "out", - "p", - "per", - "put", - "q", - "r", - "s", - "same", - "shall", - "she", - "should", - "since", - "so", - "such", - "sure", - "t", - "than", - "that", - "the", - "their", - "them", - "then", - "there", - "these", - "they", - "this", - "those", - "though", - "thus", - "to", - "too", - "u", - "us", - "v", - "w", - "was", - "we", - "well", - "went", - "were", - "what", - "when", - "where", - "which", - "who", - "whose", - "why", - "will", - "would", - "x", - "y", - "yet", - "z" + "a", + "all", + "also", + "although", + "an", + "and", + "any", + "are", + "as", + "at", + "b", + "be", + "been", + "but", + "by", + "c", + "could", + "d", + "e", + "each", + "eg", + "either", + "even", + "ever", + "ex", + "except", + "f", + "far", + "few", + "for", + "from", + "further", + "g", + "get", + "gets", + "given", + "gives", + "go", + "going", + "got", + "h", + "had", + "has", + "have", + "having", + "he", + "her", + "here", + "herself", + "him", + "himself", + "his", + "how", + "i", + "ie", + "if", + "in", + "into", + "is", + "it", + "its", + "itself", + "j", + "just", + "k", + "l", + "less", + "let", + "m", + "many", + "may", + "me", + "might", + "must", + "my", + "myself", + "n", + "need", + "needs", + "next", + "no", + "non", + "not", + "now", + "o", + "of", + "off", + "old", + "on", + "once", + "only", + "or", + "our", + "out", + "p", + "per", + "put", + "q", + "r", + "s", + "same", + "shall", + "she", + "should", + "since", + "so", + "such", + "sure", + "t", + "than", + "that", + "the", + "their", + "them", + "then", + "there", + "these", + "they", + "this", + "those", + "though", + "thus", + "to", + "too", + "u", + "us", + "v", + "w", + "was", + "we", + "well", + "went", + "were", + "what", + "when", + "where", + "which", + "who", + "whose", + "why", + "will", + "would", + "x", + "y", + "yet", + "z" ] diff --git a/package.json b/package.json index 0d1269f621b0..6907a3a1351e 100644 --- a/package.json +++ b/package.json @@ -157,6 +157,7 @@ "inquirer": "^8.0.0", "jscodeshift": "^0.15.0", "jsdoc": "^3.4.0", + "jsonc-eslint-parser": "^2.4.0", "lunr": "^2.3.9", "mathjax-node": "^2.0.1", "mathjax-node-sre": "^3.0.0", @@ -260,7 +261,8 @@ "unified-lint-rule": "^1.0.1", "unist-util-visit": "^2.0.0", "unist-util-visit-parents": "^3.1.1", - "yaml": "^1.0.0" + "yaml": "^1.0.0", + "yaml-eslint-parser": "^1.3.0" }, "engines": { "node": ">=0.10.0", diff --git a/tools/make/lib/lint/json/eslint.mk b/tools/make/lib/lint/json/eslint.mk index 42ca649a409e..0c57f4193337 100644 --- a/tools/make/lib/lint/json/eslint.mk +++ b/tools/make/lib/lint/json/eslint.mk @@ -51,6 +51,8 @@ eslint_json_flags += $(ESLINT_JSON_FLAGS) # # ## Notes # +# - Covers project JSON files, including CLI options and tool configuration. +# - Test fixtures and imported/generated data are excluded in `eslint.config.js`. # - Uses `--cache` for performance with large numbers of JSON files. # # [1]: https://eslint.org/ @@ -59,6 +61,6 @@ eslint_json_flags += $(ESLINT_JSON_FLAGS) # make lint-json #/ lint-json: $(NODE_MODULES) - $(QUIET) $(ESLINT) $(eslint_json_flags) "lib/node_modules/@stdlib/**/package.json" "./*.json" + $(QUIET) $(ESLINT) $(eslint_json_flags) "**/*.json" .PHONY: lint-json From 2a52e41fec33d55968c5c0987f7fc0c0c35d4b5a Mon Sep 17 00:00:00 2001 From: Philipp Burckhardt Date: Thu, 29 Oct 2026 01:40:34 -0500 Subject: [PATCH 3/3] ci: initialize local package resolution for lint tests --- .github/workflows/lint_changed_files.yml | 2 ++ etc/eslint/README.md | 2 +- .../_tools/eslint/rules/yaml-license-header/test/test.js | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/lint_changed_files.yml b/.github/workflows/lint_changed_files.yml index 06dbb907a4d0..0d34af4a3e45 100644 --- a/.github/workflows/lint_changed_files.yml +++ b/.github/workflows/lint_changed_files.yml @@ -191,6 +191,8 @@ jobs: # Exercise JSON/YAML rules and lint the complete file sets: - name: 'Lint JSON and YAML files' if: success() || failure() + env: + NODE_PATH: ${{ github.workspace }}/lib/node_modules run: | node etc/eslint/test/test.js node lib/node_modules/@stdlib/_tools/eslint/rules/yaml-license-header/test/test.js diff --git a/etc/eslint/README.md b/etc/eslint/README.md index 0c0b0a91a4d6..9a3c393d0552 100644 --- a/etc/eslint/README.md +++ b/etc/eslint/README.md @@ -40,7 +40,7 @@ This directory contains [ESLint][eslint] configuration files. - JSON must use strict JSON syntax. The configuration enforces two-space indentation, except for tab-indented `cli_opts.json`, and the canonical root key order for `package.json`. - JSON test fixtures and imported or generated files under `data/` are excluded. Test fixtures can intentionally contain invalid documents; data files retain their source formats. Build output and external dependencies use the shared ESLint ignores. - YAML files require the stdlib Apache-2.0 header, including a four-digit copyright year and `The Stdlib Authors.`. Empty mapping values are allowed in GitHub Actions workflows to support event declarations such as `workflow_dispatch:`. -- Run `node etc/eslint/test/test.js` for configuration regression tests and `node lib/node_modules/@stdlib/_tools/eslint/rules/yaml-license-header/test/test.js` for license-rule tests. CI runs both suites and the complete JSON/YAML lint targets. +- Run `NODE_PATH=./lib/node_modules node etc/eslint/test/test.js` for configuration regression tests and `node lib/node_modules/@stdlib/_tools/eslint/rules/yaml-license-header/test/test.js` for license-rule tests. CI runs both suites and the complete JSON/YAML lint targets. diff --git a/lib/node_modules/@stdlib/_tools/eslint/rules/yaml-license-header/test/test.js b/lib/node_modules/@stdlib/_tools/eslint/rules/yaml-license-header/test/test.js index 9c720073340d..1a55a72228b0 100644 --- a/lib/node_modules/@stdlib/_tools/eslint/rules/yaml-license-header/test/test.js +++ b/lib/node_modules/@stdlib/_tools/eslint/rules/yaml-license-header/test/test.js @@ -68,7 +68,7 @@ tape( 'the rule validates YAML license headers and copyright notices', function tester.run( 'yaml-license-header', rule, { 'valid': [ valid, - valid.replace( RE_COPYRIGHT, '# Copyright (c) 2017 The Stdlib Authors.' ) + valid.replace( /[0-9]{4}/, '2017' ) ], 'invalid': [ {