diff --git a/lib/node_modules/@stdlib/_tools/github/get/lib/cache.js b/lib/node_modules/@stdlib/_tools/github/get/lib/cache.js deleted file mode 100644 index 31da3bab4bd4..000000000000 --- a/lib/node_modules/@stdlib/_tools/github/get/lib/cache.js +++ /dev/null @@ -1,37 +0,0 @@ -/** -* @license Apache-2.0 -* -* Copyright (c) 2018 The Stdlib Authors. -* -* Licensed under the Apache License, Version 2.0 (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. -*/ - -'use strict'; - -// MAIN // - -/** -* Creates a response cache. -* -* @private -* @param {NonNegativeInteger} size - cache size -* @returns {Array} cache -*/ -function create( size ) { - return new Array( size ); -} - - -// EXPORTS // - -module.exports = create; diff --git a/lib/node_modules/@stdlib/_tools/makie/plugins/makie-install-node-addons/lib/index.js b/lib/node_modules/@stdlib/_tools/makie/plugins/makie-install-node-addons/lib/index.js index 187128b132e8..47847bddc23e 100644 --- a/lib/node_modules/@stdlib/_tools/makie/plugins/makie-install-node-addons/lib/index.js +++ b/lib/node_modules/@stdlib/_tools/makie/plugins/makie-install-node-addons/lib/index.js @@ -24,8 +24,8 @@ * @module @stdlib/_tools/makie/plugins/makie-install-node-addons * * @example -* var plugin = require( '@stdlib/_tools/makie/plugins/makie-install-node-addons' ); * var makie = require( '@stdlib/_tools/makie' ); +* var plugin = require( '@stdlib/_tools/makie/plugins/makie-install-node-addons' ); * var opts = { * 'plugins': { * 'benchmark': plugin @@ -43,4 +43,4 @@ var main = require( './main.js' ); // EXPORTS // -module.exports = main; +module.exports = main; \ No newline at end of file diff --git a/lib/node_modules/@stdlib/_tools/pkgs/browser-entry-points/lib/sync.js b/lib/node_modules/@stdlib/_tools/pkgs/browser-entry-points/lib/sync.js deleted file mode 100644 index 7429d3b90311..000000000000 --- a/lib/node_modules/@stdlib/_tools/pkgs/browser-entry-points/lib/sync.js +++ /dev/null @@ -1,104 +0,0 @@ -/** -* @license Apache-2.0 -* -* Copyright (c) 2020 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 path = require( 'path' ); -var logger = require( 'debug' ); -var isStringArray = require( '@stdlib/assert/is-string-array' ).primitives; -var format = require( '@stdlib/string/format' ); -var copy = require( '@stdlib/utils/copy' ); -var cwd = require( '@stdlib/process/cwd' ); -var defaults = require( './defaults.json' ); -var validate = require( './validate.js' ); -var resolve = require( './resolve.sync.js' ); -var getEntries = require( './entries.sync.js' ); - - -// VARIABLES // - -var debug = logger( 'browser-entry-points:sync' ); - - -// MAIN // - -/** -* Synchronously resolves package browser entry points. -* -* @param {StringArray} pkgs - list of packages -* @param {Options} [options] - function options -* @param {string} [options.dir] - root directory from which to resolve packages -* @throws {TypeError} first argument must be an array of strings -* @throws {TypeError} callback argument must be a function -* @throws {TypeError} options argument must be an object -* @throws {TypeError} must provide valid options -* @returns {ObjectArray} entry points -* -* @example -* var pkgs = [ '/foo/bar/baz' ]; -* -* var entries = entryPoints( pkgs ); -* // returns [{...}] -*/ -function entryPoints( pkgs, options ) { - var results; - var opts; - var err; - var dir; - if ( !isStringArray( pkgs ) ) { - throw new TypeError( format( 'invalid argument. First argument must be an array of strings. Value: `%s`.', pkgs ) ); - } - opts = copy( defaults ); - if ( arguments.length > 1 ) { - err = validate( opts, options ); - if ( err ) { - throw err; - } - } - debug( 'Options: %s', JSON.stringify( opts ) ); - if ( opts.dir ) { - dir = path.resolve( cwd(), opts.dir ); - } else { - dir = cwd(); - } - debug( 'Base directory: %s', dir ); - - debug( 'Resolving packages...' ); - results = resolve( pkgs, dir ); - if ( results instanceof Error ) { - debug( 'Encountered an error when resolving packages: %s', results.message ); - throw results; - } - debug( 'Successfully resolved packages.' ); - - debug( 'Determining entry points...' ); - results = getEntries( results ); - if ( results instanceof Error ) { - debug( 'Encountered an error when determining entry points: %s', results.message ); - throw results; - } - debug( 'Successfully determined entry points.' ); - return results; -} - - -// EXPORTS // - -module.exports = entryPoints; diff --git a/lib/node_modules/@stdlib/ndarray/base/assert/is-allowed-data-type-cast/manifest.json b/lib/node_modules/@stdlib/ndarray/base/assert/is-allowed-data-type-cast/manifest.json deleted file mode 100644 index 59b37351e14f..000000000000 --- a/lib/node_modules/@stdlib/ndarray/base/assert/is-allowed-data-type-cast/manifest.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "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": [ - "./src/main.c" - ], - "include": [ - "./include" - ], - "libraries": [], - "libpath": [], - "dependencies": [ - "@stdlib/ndarray/base/assert/is-safe-data-type-cast", - "@stdlib/ndarray/base/assert/is-mostly-safe-data-type-cast", - "@stdlib/ndarray/base/assert/is-same-kind-data-type-cast", - "@stdlib/ndarray/casting-modes", - "@stdlib/ndarray/dtypes" - ] - } - ] -} diff --git a/lib/node_modules/@stdlib/ndarray/safe-casts/manifest.json b/lib/node_modules/@stdlib/ndarray/safe-casts/manifest.json deleted file mode 100644 index f999b07dc525..000000000000 --- a/lib/node_modules/@stdlib/ndarray/safe-casts/manifest.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "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/ndarray/dtypes" - ] - } - ] -} diff --git a/lib/node_modules/@stdlib/number/float64/base/signbit/manifest.json b/lib/node_modules/@stdlib/number/float64/base/signbit/manifest.json deleted file mode 100644 index e1403e5aa491..000000000000 --- a/lib/node_modules/@stdlib/number/float64/base/signbit/manifest.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "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": [ - "./src/main.c" - ], - "include": [ - "./include" - ], - "libraries": [], - "libpath": [], - "dependencies": [ - "@stdlib/number/float64/base/get-high-word" - ] - } - ] -}