Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 06d949d

Browse filesBrowse files
committed
Auto-generated commit
1 parent d661e3b commit 06d949d
Copy full SHA for 06d949d

File tree

3 files changed

+1
-4
lines changed
Filter options

3 files changed

+1
-4
lines changed

‎.github/.keepalive

Copy file name to clipboardExpand all lines: .github/.keepalive
-1Lines changed: 0 additions & 1 deletion
This file was deleted.

‎lib/main.js

Copy file name to clipboardExpand all lines: lib/main.js
-1Lines 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

Copy file name to clipboardExpand all lines: lib/polyfill.js
+1-2Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.