Skip to content

Commit 2eb1d24

Browse files
committed
Merge remote-tracking branch 'upstream/develop' into stats-base-ndarray-dnanmskminabs
2 parents 97bf079 + 086d2d6 commit 2eb1d24

File tree

1,392 files changed

+33238
-4803
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,392 files changed

+33238
-4803
lines changed
276 KB
Loading

docs/talks.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,19 @@ limitations under the License.
2424

2525
> Talks featuring stdlib.
2626
27+
## 2026
28+
29+
### The Compute Revolution You’re Ignoring: JavaScript in Science
30+
31+
> [Gunj Joshi][gunjjoshi], DevConf.IN, February 2026
32+
33+
<div class="image" align="center">
34+
<a title="The Compute Revolution You’re Ignoring: JavaScript in Science" href="https://youtu.be/pPjMEzm_R-0">
35+
<img width="480" src="https://cdn.jsdelivr.net/gh/stdlib-js/stdlib@56193c7549e4a0576f9636098a7491d2ff1f135d/docs/assets/talks/devconf_pune_2026_gunj_joshi.png" alt="The Compute Revolution You’re Ignoring: JavaScript in Science">
36+
</a>
37+
<br>
38+
</div>
39+
2740
## 2025
2841

2942
### The Future of Numerical Computing in JavaScript

lib/node_modules/@stdlib/_tools/docs/www/readme-fragment-file-tree/lib/write.js

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,10 @@
2020

2121
// MODULES //
2222

23-
var path = require( 'path' );
23+
var join = require( 'path' ).join;
2424
var logger = require( 'debug' );
2525
var mkdirp = require( 'mkdirp' );
26+
var dirname = require( '@stdlib/utils/dirname' );
2627
var objectKeys = require( '@stdlib/utils/keys' );
2728
var writeFile = require( '@stdlib/fs/write-file' );
2829

@@ -72,8 +73,8 @@ function write( src, dest, db, clbk ) {
7273
i += 1;
7374

7475
file = files[ i ];
75-
dpath = path.dirname( file.substring( src.length+1 ) ); // +1 to account for path separator
76-
dpath = path.join( dest, dpath );
76+
dpath = dirname( file.substring( src.length+1 ) ); // +1 to account for path separator
77+
dpath = join( dest, dpath );
7778

7879
debug( 'Creating output directory: %s', dpath );
7980
mkdirp( dpath, onDir );
@@ -93,7 +94,7 @@ function write( src, dest, db, clbk ) {
9394
}
9495
debug( 'Successfully created output directory.' );
9596

96-
fpath = path.join( dpath, BASENAME );
97+
fpath = join( dpath, BASENAME );
9798
debug( 'Writing file %d of %d: %s', i+1, total, fpath );
9899

99100
writeFile( fpath, db[ file ], fopts, onWrite );

lib/node_modules/@stdlib/_tools/eslint/rules/jsdoc-maximum-line-length/lib/main.js

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -115,26 +115,6 @@ function main( context ) {
115115
}
116116
}
117117

118-
/**
119-
* Copies AST node location info.
120-
*
121-
* @private
122-
* @param {Object} loc - AST node location
123-
* @returns {Object} copied location info
124-
*/
125-
function copyLocationInfo( loc ) {
126-
return {
127-
'start': {
128-
'line': loc.start.line,
129-
'column': loc.start.column
130-
},
131-
'end': {
132-
'line': loc.end.line,
133-
'column': loc.end.column
134-
}
135-
};
136-
}
137-
138118
/**
139119
* Reports an error message.
140120
*
@@ -151,6 +131,26 @@ function main( context ) {
151131
}
152132
}
153133

134+
/**
135+
* Copies AST node location info.
136+
*
137+
* @private
138+
* @param {Object} loc - AST node location
139+
* @returns {Object} copied location info
140+
*/
141+
function copyLocationInfo( loc ) {
142+
return {
143+
'start': {
144+
'line': loc.start.line,
145+
'column': loc.start.column
146+
},
147+
'end': {
148+
'line': loc.end.line,
149+
'column': loc.end.column
150+
}
151+
};
152+
}
153+
154154

155155
// MAIN //
156156

lib/node_modules/@stdlib/_tools/eslint/rules/jsdoc-no-space-aligned-asterisks/lib/main.js

Lines changed: 31 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -60,51 +60,51 @@ function main( context ) {
6060
lines = comment.value.split( reEOL.REGEXP );
6161
for ( i = 0; i < lines.length; i++ ) {
6262
if ( lines[ i ].charAt( 0 ) === ' ' ) {
63-
hasLeadingSpace = true;
63+
hasLeadingSpace = true;
6464
break;
6565
}
6666
}
6767
if ( hasLeadingSpace ) {
6868
report( comment.value, comment.loc, comment.range );
6969
}
7070
}
71-
72-
/**
73-
* Reports the error message.
74-
*
75-
* @private
76-
* @param {string} comment - comment text
77-
* @param {Object} loc - location of comment node
78-
* @param {Array} range - comment range
79-
*/
80-
function report( comment, loc, range ) {
81-
context.report({
82-
'node': null,
83-
'message': 'JSDoc comment should not have space-aligned asterisks',
84-
'loc': loc,
85-
'fix': fix
86-
});
87-
88-
/**
89-
* Fixes the lint error by removing leading spaces before asterisks.
90-
*
91-
* @private
92-
* @param {Function} fixer - ESLint fixer
93-
* @returns {(Object|null)} fix or null
94-
*/
95-
function fix( fixer ) {
96-
var fixed = replace( comment, RE_LEADING_SPACE, '*' );
97-
fixed = '/*' + fixed + '*/';
98-
return fixer.replaceTextRange( range, fixed );
99-
}
100-
}
10171
}
10272

10373
return {
10474
'Program:exit': validate,
10575
'FunctionDeclaration': validate,
10676
'FunctionExpression': validate
10777
};
78+
79+
/**
80+
* Reports the error message.
81+
*
82+
* @private
83+
* @param {string} comment - comment text
84+
* @param {Object} loc - location of comment node
85+
* @param {Array} range - comment range
86+
*/
87+
function report( comment, loc, range ) {
88+
context.report({
89+
'node': null,
90+
'message': 'JSDoc comment should not have space-aligned asterisks',
91+
'loc': loc,
92+
'fix': fix
93+
});
94+
95+
/**
96+
* Fixes the lint error by removing leading spaces before asterisks.
97+
*
98+
* @private
99+
* @param {Function} fixer - ESLint fixer
100+
* @returns {(Object|null)} fix or null
101+
*/
102+
function fix( fixer ) {
103+
var fixed = replace( comment, RE_LEADING_SPACE, '*' );
104+
fixed = '/*' + fixed + '*/';
105+
return fixer.replaceTextRange( range, fixed );
106+
}
107+
}
108108
}
109109

110110

lib/node_modules/@stdlib/_tools/eslint/rules/no-builtin-big-int/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,8 @@ var result = linter.verify( code, {
104104
*/
105105
```
106106

107+
</section>
108+
107109
<!-- /.examples -->
108110

109111
<!-- Section for related `stdlib` packages. Do not manually edit this section, as it is automatically populated. -->

lib/node_modules/@stdlib/_tools/eslint/rules/no-new-array/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,8 @@ var result = linter.verify( code, {
108108
*/
109109
```
110110

111+
</section>
112+
111113
<!-- /.examples -->
112114

113115
<!-- Section for related `stdlib` packages. Do not manually edit this section, as it is automatically populated. -->

lib/node_modules/@stdlib/_tools/github/create-repo/README.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,8 @@ limitations under the License.
3636

3737
## Usage
3838

39+
<!-- run-disable -->
40+
3941
```javascript
4042
var createRepo = require( '@stdlib/_tools/github/create-repo' );
4143
```
@@ -46,6 +48,8 @@ var createRepo = require( '@stdlib/_tools/github/create-repo' );
4648

4749
<!-- run-disable -->
4850

51+
<!-- eslint-disable @cspell/spellchecker -->
52+
4953
```javascript
5054
var opts = {
5155
'token': 'tkjorjk34ek3nj4!'
@@ -92,6 +96,8 @@ To [authenticate][github-oauth2] with GitHub, set the [`token`][github-token] op
9296

9397
<!-- run-disable -->
9498

99+
<!-- eslint-disable @cspell/spellchecker -->
100+
95101
```javascript
96102
var opts = {
97103
'token': 'tkjorjk34ek3nj4!'
@@ -104,6 +110,8 @@ To specify a [user agent][github-user-agent], set the `useragent` option.
104110

105111
<!-- run-disable -->
106112

113+
<!-- eslint-disable @cspell/spellchecker -->
114+
107115
```javascript
108116
var opts = {
109117
'token': 'tkjorjk34ek3nj4!',
@@ -117,6 +125,8 @@ By default, the `function` [creates][github-create-repo] a repository for the au
117125

118126
<!-- run-disable -->
119127

128+
<!-- eslint-disable @cspell/spellchecker -->
129+
120130
```javascript
121131
var opts = {
122132
'token': 'tkjorjk34ek3nj4!',
@@ -132,6 +142,8 @@ Creates a reusable `function`.
132142

133143
<!-- run-disable -->
134144

145+
<!-- eslint-disable @cspell/spellchecker -->
146+
135147
```javascript
136148
var opts = {
137149
'token': 'tkjorjk34ek3nj4!',
@@ -178,6 +190,8 @@ The factory method accepts the same `options` as [`createRepo()`](#create-repo).
178190

179191
## Examples
180192

193+
<!-- run-disable -->
194+
181195
<!-- eslint no-undef: "error" -->
182196

183197
```javascript
@@ -207,6 +221,8 @@ function clbk( error, repo, info ) {
207221

208222
**Note**: in order to run the example, you will need to obtain an access [token][github-token] and modify the `token` option accordingly.
209223

224+
</section>
225+
210226
<!-- /.examples -->
211227

212228
<!-- Section for describing a command-line interface. -->

lib/node_modules/@stdlib/_tools/github/user-details/README.md

Lines changed: 21 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ limitations under the License.
3737
## Usage
3838

3939
```javascript
40-
var userinfo = require( 'github-user-details' );
40+
var userinfo = require( '@stdlib/_tools/github/user-details' );
4141
```
4242

4343
<a name="userinfo"></a>
@@ -95,6 +95,10 @@ The `function` accepts the following `options`:
9595

9696
To [authenticate][github-oauth2] with GitHub, set the [`token`][github-token] option.
9797

98+
<!-- run-disable -->
99+
100+
<!-- eslint-disable @cspell/spellchecker -->
101+
98102
```javascript
99103
var opts = {
100104
'usernames': ['kgryte'],
@@ -106,6 +110,8 @@ userinfo( opts, clbk );
106110

107111
To specify a [user agent][github-user-agent], set the `useragent` option.
108112

113+
<!-- run-disable -->
114+
109115
```javascript
110116
var opts = {
111117
'usernames': [ 'kgryte', 'Planeshifter' ],
@@ -119,6 +125,10 @@ userinfo( opts, clbk );
119125

120126
Creates a reusable `function`.
121127

128+
<!-- run-disable -->
129+
130+
<!-- eslint-disable @cspell/spellchecker -->
131+
122132
```javascript
123133
var opts = {
124134
'usernames': [ 'kgryte', 'Planeshifter' ],
@@ -135,6 +145,14 @@ get();
135145

136146
The factory method accepts the same `options` as [`userinfo()`](#userinfo).
137147

148+
</section>
149+
150+
<!-- /.usage -->
151+
152+
<!-- Package usage notes. Make sure to keep an empty line after the `section` element and another before the `/section` close. -->
153+
154+
<section class="notes">
155+
138156
## Notes
139157

140158
- If the module encounters an application-level `error` (e.g., no network connection, etc), that `error` is returned immediately to the provided `callback`.
@@ -159,7 +177,7 @@ The factory method accepts the same `options` as [`userinfo()`](#userinfo).
159177
<!-- eslint no-undef: "error" -->
160178

161179
```javascript
162-
var userinfo = require( 'github-user-details' );
180+
var userinfo = require( '@stdlib/_tools/github/user-details' );
163181

164182
var opts = {
165183
'usernames': [
@@ -224,7 +242,7 @@ Options:
224242

225243
- In addition to the [`token`][github-token] option, the [token][github-token] may also be specified by a [`GITHUB_TOKEN`][github-token] environment variable. The command-line option **always** takes precedence.
226244
- If a user's [details][github-user-details] are successfully resolved, the user info is written to `stdout`.
227-
- If a user's [details][github-user-details] cannot be resolved due to a downstream `error` (failure), the `username` (and its associated `error`) is written to `sterr`.
245+
- If a user's [details][github-user-details] cannot be resolved due to a downstream `error` (failure), the `username` (and its associated `error`) is written to `stderr`.
228246
- Output order is **not** guaranteed to match input order.
229247
- [Rate limit][github-rate-limit] information is written to `stderr`.
230248

lib/node_modules/@stdlib/_tools/makie/plugins/makie-view-cov/lib/main.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -89,10 +89,8 @@ function plugin( dir ) {
8989
opts = {};
9090
opts.cwd = dir;
9191

92-
args = new Array( 1 );
93-
9492
// Target:
95-
args[ 0 ] = 'view-cov';
93+
args = [ 'view-cov' ];
9694

9795
proc = spawn( 'make', args, opts );
9896
proc.on( 'error', onError );

0 commit comments

Comments
 (0)