Skip to content

Commit 669f20c

Browse files
Merge branch 'stdlib-js:develop' into feat/round-nearest-even
2 parents 8b10eb4 + d38aee3 commit 669f20c

File tree

1,517 files changed

+66747
-3408
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,517 files changed

+66747
-3408
lines changed

.github/workflows/terminal.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,6 @@ jobs:
8888
git_commit_gpgsign: true
8989

9090
# Setup a terminal session:
91-
- name: 'Setup upterm session'
91+
- name: 'Setup tmate session'
9292
# Pin action to full length commit SHA
93-
uses: lhotari/action-upterm@b0357f23233f5ea6d58947c0c402e0631bab7334 # v1.0.0
93+
uses: mxschmitt/action-tmate@7b6a61a73bbb9793cb80ad69b8dd8ac19261834c # v3.2.2

etc/eslint/rules/typescript.js

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1366,7 +1366,7 @@ rules[ 'import/no-deprecated' ] = 'error';
13661366
* @name import/no-extraneous-dependencies
13671367
* @memberof rules
13681368
* @type {string}
1369-
* @default 'error'
1369+
* @default 'off'
13701370
* @see [import/no-extraneous-dependencies]{@link https://github.com/benmosher/eslint-plugin-import/blob/master/docs/rules/no-extraneous-dependencies.md}
13711371
*
13721372
* @example
@@ -1376,22 +1376,28 @@ rules[ 'import/no-deprecated' ] = 'error';
13761376
* // Bad...
13771377
* import foo from 'some-extranous-module';
13781378
*/
1379-
rules[ 'import/no-extraneous-dependencies' ] = 'error';
1379+
rules[ 'import/no-extraneous-dependencies' ] = 'off'; // NOTE: disabled to allow imports of `@stdlib/*` type declarations
13801380

13811381
/**
13821382
* Prevents importing the submodules of other modules.
13831383
*
13841384
* @name import/no-internal-modules
13851385
* @memberof rules
13861386
* @type {string}
1387-
* @default 'error'
1387+
* @default 'off'
13881388
* @see [import/no-internal-modules]{@link https://github.com/benmosher/eslint-plugin-import/blob/master/docs/rules/no-internal-modules.md}
13891389
*
13901390
* @example
13911391
* // Bad...
13921392
* import something from 'module/some/internal/path';
13931393
*/
1394-
rules[ 'import/no-internal-modules' ] = 'error';
1394+
rules[ 'import/no-internal-modules' ] = [
1395+
'error', {
1396+
'allow': [
1397+
'@stdlib/**'
1398+
]
1399+
}
1400+
];
13951401

13961402
/**
13971403
* Forbids import statements that import nothing.

lib/node_modules/@stdlib/_tools/benchmarks/browser-build/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ function clbk( error, bool ) {
102102
}
103103
```
104104

105-
To mount a bundle on a URL path, set the `mount`option.
105+
To mount a bundle on a URL path, set the `mount` option.
106106

107107
<!-- eslint-disable stdlib/no-redeclare -->
108108

@@ -226,7 +226,7 @@ Options:
226226

227227
### Notes
228228

229-
- If not provided a root directory, the root directory is the current working directory.
229+
- If not provided a root directory, the root directory is the current working directory.
230230

231231
</section>
232232

lib/node_modules/@stdlib/_tools/benchmarks/bundle/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ Options:
184184

185185
### Notes
186186

187-
- If not provided a root directory, the root directory is the current working directory.
187+
- If not provided a root directory, the root directory is the current working directory.
188188

189189
</section>
190190

lib/node_modules/@stdlib/_tools/benchmarks/html/lib/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
*
2929
* var bundle = '/foo/bar/bundle.js';
3030
* var opts = {
31-
* 'out': '/foo/bar/benchmarks.html';
31+
* 'out': '/foo/bar/benchmarks.html'
3232
* }
3333
*
3434
* build( bundle, opts, clbk );

lib/node_modules/@stdlib/_tools/bib/citation-reference/lib/async.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ var debug = logger( 'to-reference:async' );
4848
// MAIN //
4949

5050
/**
51-
* Asynchronously return a reference corresponding to a citation identifier.
51+
* Asynchronously returns a reference corresponding to a citation identifier.
5252
*
5353
* @param {string} id - citation identifier
5454
* @param {Options} [options] - function options

lib/node_modules/@stdlib/_tools/bib/citation-reference/lib/sync.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,12 +47,15 @@ var debug = logger( 'to-reference:sync' );
4747
// MAIN //
4848

4949
/**
50-
* Synchronously return a reference corresponding to a citation identifier.
50+
* Synchronously returns a reference corresponding to a citation identifier.
5151
*
5252
* @param {string} id - citation identifier
5353
* @param {Options} [options] - function options
5454
* @param {string} [options.database] - path to a bibliography database file
5555
* @param {string} [options.csl] - path to a Citation Style Language (CSL) file
56+
* @throws {TypeError} first argument must be a string
57+
* @throws {TypeError} options argument must be an object
58+
* @throws {TypeError} must provide valid options
5659
* @returns {string} reference
5760
*
5861
* @example

lib/node_modules/@stdlib/_tools/bundle/bundlify/lib/include.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
* @private
2727
* @param {StringArray} arr - input array
2828
* @param {string} pattern - pattern used to filter elements
29-
* @returns {(EmptyArray|StringArray)} filter array
29+
* @returns {(EmptyArray|StringArray)} filtered array
3030
*/
3131
function include( arr, pattern ) {
3232
var out;

lib/node_modules/@stdlib/_tools/bundle/bundlify/lib/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ if ( instanceOf( NAMES, Error ) ) {
7070
* @param {string} b.standalone - UMD export name
7171
* @param {string} b.namespace - namespace type ('flat' or 'tree')
7272
* @param {boolean} b.raw - boolean indicating whether to write a raw bundle to file
73-
* @param {boolean} b.minify - boolean indicating whether to minify a bundle
73+
* @param {boolean} b.minified - boolean indicating whether to minify a bundle
7474
* @param {StringArray} [b.include] - list of packages (and/or namespaces) to include in the bundle
7575
* @param {StringArray} [b.exclude] - list of packages (and/or namespaces) to exclude from the bundle
7676
* @param {Callback} clbk - callback to invoke upon completion

lib/node_modules/@stdlib/_tools/docs/www/benchmark-bundles/lib/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
* @example
2727
* var build = require( '@stdlib/_tools/docs/www/benchmark-bundles' );
2828
*
29-
* build( ./build', done );
29+
* build( './build', done );
3030
*
3131
* function done( error ) {
3232
* if ( error ) {

0 commit comments

Comments
 (0)