Skip to content

Commit 06d949d

Browse files
committed
Auto-generated commit
1 parent d661e3b commit 06d949d

File tree

3 files changed

+1
-4
lines changed

3 files changed

+1
-4
lines changed

.github/.keepalive

Lines changed: 0 additions & 1 deletion
This file was deleted.

lib/main.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@ var Buffer = require( '@stdlib/buffer-ctor' );
3535
* - The underlying memory of returned `Buffer` instances is not initialized. Memory contents are unknown and may contain sensitive data.
3636
* - When the size is less than half the pool size (specified on the `Buffer` constructor), memory is allocated from the `Buffer` pool for faster allocation of new `Buffer` instances.
3737
*
38-
*
3938
* @param {NonNegativeInteger} size - number of bytes to allocate
4039
* @throws {TypeError} must provide a nonnegative integer
4140
* @returns {Buffer} new `Buffer` instance

lib/polyfill.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@ var Buffer = require( '@stdlib/buffer-ctor' );
3535
* - The underlying memory of returned `Buffer` instances is not initialized. Memory contents are unknown and may contain sensitive data.
3636
* - When the size is less than half the pool size (specified on the `Buffer` constructor), memory is allocated from the `Buffer` pool for faster allocation of new `Buffer` instances.
3737
*
38-
*
3938
* @param {NonNegativeInteger} size - number of bytes to allocate
4039
* @throws {TypeError} must provide a nonnegative integer
4140
* @returns {Buffer} new `Buffer` instance
@@ -48,7 +47,7 @@ function allocUnsafe( size ) {
4847
if ( !isNonNegativeInteger( size ) ) {
4948
throw new TypeError( format( 'invalid argument. Must provide a nonnegative integer. Value: `%s`.', size ) );
5049
}
51-
return new Buffer( size ); // eslint-disable-line no-buffer-constructor
50+
return new Buffer( size );
5251
}
5352

5453

0 commit comments

Comments
 (0)