Skip to content

Commit d35d67e

Browse files
committed
Auto-generated commit
1 parent c6a19ee commit d35d67e

File tree

6 files changed

+16
-11
lines changed

6 files changed

+16
-11
lines changed

CHANGELOG.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
55
<section class="release" id="unreleased">
66

7-
## Unreleased (2024-09-21)
7+
## Unreleased (2024-09-22)
88

99
<section class="packages">
1010

@@ -145,6 +145,11 @@ A total of 3 people contributed to this release. Thank you to the following cont
145145

146146
<details>
147147

148+
- [`37ef5f4`](https://github.com/stdlib-js/stdlib/commit/37ef5f4f43d4fe03643b693a40b166420cbb07fd) - **refactor:** use dedicated array utility _(by Athan Reines)_
149+
- [`2e00b1f`](https://github.com/stdlib-js/stdlib/commit/2e00b1f79b968e3436fbb2cf406b308029cd7156) - **refactor:** use dedicated array utility _(by Athan Reines)_
150+
- [`bcc9d29`](https://github.com/stdlib-js/stdlib/commit/bcc9d29f11ad54bd388625ae257668304d829a5c) - **refactor:** use dedicated array utility _(by Athan Reines)_
151+
- [`8436f67`](https://github.com/stdlib-js/stdlib/commit/8436f675a80d4824d8571b2b1ce91c5c17e3938d) - **refactor:** use dedicated array utility _(by Athan Reines)_
152+
- [`b675172`](https://github.com/stdlib-js/stdlib/commit/b675172498c9449ca0e957f4af9694b8bc0f8dc6) - **refactor:** use dedicated array utility _(by Athan Reines)_
148153
- [`6e9f42e`](https://github.com/stdlib-js/stdlib/commit/6e9f42e4c912485d9896eaa16c88b70fd3688e97) - **docs:** harmonize list formatting in repl.txt and ensure starting newline _(by Philipp Burckhardt)_
149154
- [`f387603`](https://github.com/stdlib-js/stdlib/commit/f387603e739f88a38af3263ce6ff675ad903ee8c) - **docs:** consistently use declarative instead of imperative sentences outside of intros _(by Philipp Burckhardt)_
150155
- [`95ef049`](https://github.com/stdlib-js/stdlib/commit/95ef04997f2f0f98406dbdf59c5c0ff757c5637a) - **docs:** fix grammar _(by Athan Reines)_

base/reverse-dimension/lib/main.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
var args2multislice = require( '@stdlib/slice/base/args2multislice' );
2424
var Slice = require( '@stdlib/slice/ctor' );
2525
var slice = require( './../../../base/slice' );
26-
var filled = require( '@stdlib/array/base/filled' );
26+
var nulls = require( '@stdlib/array/base/nulls' );
2727
var ndims = require( './../../../base/ndims' );
2828
var format = require( '@stdlib/string/format' );
2929

@@ -90,7 +90,7 @@ function reverseDimension( x, dim, writable ) {
9090
throw new RangeError( format( 'invalid argument. Dimension index exceeds the number of dimensions. Number of dimensions: %d. Value: `%d`.', N, dim ) );
9191
}
9292
// Define a list of MultiSlice constructor arguments:
93-
args = filled( null, N );
93+
args = nulls( N );
9494
args[ d ] = new Slice( null, null, -1 );
9595

9696
// Return a new array view:

base/slice-dimension-from/lib/main.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ var Slice = require( '@stdlib/slice/ctor' );
2525
var ndims = require( './../../../base/ndims' );
2626
var slice = require( './../../../base/slice' );
2727
var normalizeIndex = require( './../../../base/normalize-index' );
28-
var filled = require( '@stdlib/array/base/filled' );
28+
var nulls = require( '@stdlib/array/base/nulls' );
2929
var format = require( '@stdlib/string/format' );
3030

3131

@@ -89,7 +89,7 @@ function sliceDimensionFrom( x, dim, start, strict, writable ) {
8989
throw new RangeError( format( 'invalid argument. Dimension index exceeds the number of dimensions. Number of dimensions: %d. Value: `%d`.', N, dim ) );
9090
}
9191
// Define a list of slice arguments:
92-
args = filled( null, N );
92+
args = nulls( N );
9393
args[ d ] = new Slice( start, null );
9494

9595
// Return a new array view:

base/slice-dimension-to/lib/main.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ var Slice = require( '@stdlib/slice/ctor' );
2525
var ndims = require( './../../../base/ndims' );
2626
var slice = require( './../../../base/slice' );
2727
var normalizeIndex = require( './../../../base/normalize-index' );
28-
var filled = require( '@stdlib/array/base/filled' );
28+
var nulls = require( '@stdlib/array/base/nulls' );
2929
var format = require( '@stdlib/string/format' );
3030

3131

@@ -89,7 +89,7 @@ function sliceDimensionTo( x, dim, stop, strict, writable ) {
8989
throw new RangeError( format( 'invalid argument. Dimension index exceeds the number of dimensions. Number of dimensions: %d. Value: `%d`.', N, dim ) );
9090
}
9191
// Define a list of slice arguments:
92-
args = filled( null, N );
92+
args = nulls( N );
9393
args[ d ] = new Slice( stop );
9494

9595
// Return a new array view:

base/slice-dimension/lib/main.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ var args2multislice = require( '@stdlib/slice/base/args2multislice' );
2424
var ndims = require( './../../../base/ndims' );
2525
var slice = require( './../../../base/slice' );
2626
var normalizeIndex = require( './../../../base/normalize-index' );
27-
var filled = require( '@stdlib/array/base/filled' );
27+
var nulls = require( '@stdlib/array/base/nulls' );
2828
var format = require( '@stdlib/string/format' );
2929

3030

@@ -92,7 +92,7 @@ function sliceDimension( x, dim, s, strict, writable ) {
9292
throw new RangeError( format( 'invalid argument. Dimension index exceeds the number of dimensions. Number of dimensions: %d. Value: `%d`.', N, dim ) );
9393
}
9494
// Define a list of MultiSlice constructor arguments:
95-
args = filled( null, N );
95+
args = nulls( N );
9696
args[ d ] = s;
9797

9898
// Return a new array view:

iter/select-dimension/lib/main.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ var isndarrayLike = require( '@stdlib/assert/is-ndarray-like' );
2828
var isReadOnly = require( './../../../base/assert/is-read-only' );
2929
var hasOwnProp = require( '@stdlib/assert/has-own-property' );
3030
var iteratorSymbol = require( '@stdlib/symbol/iterator' );
31-
var filled = require( '@stdlib/array/base/filled' );
31+
var nulls = require( '@stdlib/array/base/nulls' );
3232
var getShape = require( './../../../shape' );
3333
var normalizeIndex = require( './../../../base/normalize-index' );
3434
var numel = require( './../../../base/numel' );
@@ -143,7 +143,7 @@ function nditerSelectDimension( x, dim ) {
143143
i = -1;
144144

145145
// Initialize an index array for generating slices:
146-
idx = filled( null, ndims );
146+
idx = nulls( ndims );
147147

148148
// Create an iterator protocol-compliant object:
149149
iter = {};

0 commit comments

Comments
 (0)