Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion lib/node_modules/@stdlib/ndarray/lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* limitations under the License.
*/

'use strict';

Check warning on line 19 in lib/node_modules/@stdlib/ndarray/lib/index.js

View workflow job for this annotation

GitHub Actions / Lint Changed Files

`spread-dimensions` should be exported from namespace `index.js`

Check warning on line 19 in lib/node_modules/@stdlib/ndarray/lib/index.js

View workflow job for this annotation

GitHub Actions / Lint Changed Files

`some` should be exported from namespace `index.js`

Check warning on line 19 in lib/node_modules/@stdlib/ndarray/lib/index.js

View workflow job for this annotation

GitHub Actions / Lint Changed Files

`push` should be exported from namespace `index.js`

Check warning on line 19 in lib/node_modules/@stdlib/ndarray/lib/index.js

View workflow job for this annotation

GitHub Actions / Lint Changed Files

`prepend-singleton-dimensions` should be exported from namespace `index.js`

Check warning on line 19 in lib/node_modules/@stdlib/ndarray/lib/index.js

View workflow job for this annotation

GitHub Actions / Lint Changed Files

`flipud` should be exported from namespace `index.js`

Check warning on line 19 in lib/node_modules/@stdlib/ndarray/lib/index.js

View workflow job for this annotation

GitHub Actions / Lint Changed Files

`fliplr` should be exported from namespace `index.js`

Check warning on line 19 in lib/node_modules/@stdlib/ndarray/lib/index.js

View workflow job for this annotation

GitHub Actions / Lint Changed Files

`flatten-from-by` should be exported from namespace `index.js`

Check warning on line 19 in lib/node_modules/@stdlib/ndarray/lib/index.js

View workflow job for this annotation

GitHub Actions / Lint Changed Files

`find-last` should be exported from namespace `index.js`

Check warning on line 19 in lib/node_modules/@stdlib/ndarray/lib/index.js

View workflow job for this annotation

GitHub Actions / Lint Changed Files

`dispatch-by` should be exported from namespace `index.js`

Check warning on line 19 in lib/node_modules/@stdlib/ndarray/lib/index.js

View workflow job for this annotation

GitHub Actions / Lint Changed Files

`concat1d` should be exported from namespace `index.js`

/*
* When adding modules to the namespace, ensure that they are added in alphabetical order according to module name.
Expand Down Expand Up @@ -160,7 +160,9 @@
* @type {Function}
* @see {@link module:@stdlib/ndarray/ctor}
*/
setReadOnly( ns, 'ndarray', require( '@stdlib/ndarray/ctor' ) );
if ( !Object.prototype.hasOwnProperty.call(ns, 'ndarray') ) {
setReadOnly( ns, 'ndarray', require( '@stdlib/ndarray/ctor' ) );
}

/**
* @name dataBuffer
Expand Down