Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
lib: use remaining typed arrays from primordials
PR-URL: #35499 Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Ujjwal Sharma <ryzokuken@disroot.org> Reviewed-By: Shingo Inoue <leko.noor@gmail.com>
- Loading branch information
Showing
with
29 additions
and 3 deletions.
- +8 −0 lib/.eslintrc.yaml
- +2 −1 lib/buffer.js
- +1 −0 lib/internal/buffer.js
- +1 −0 lib/internal/child_process.js
- +2 −0 lib/internal/encoding.js
- +2 −0 lib/internal/http2/core.js
- +1 −0 lib/internal/process/per_thread.js
- +1 −0 lib/internal/streams/buffer_list.js
- +1 −0 lib/internal/util/comparisons.js
- +5 −1 lib/internal/util/inspect.js
- +2 −1 lib/internal/util/types.js
- +1 −0 lib/internal/worker.js
- +2 −0 lib/zlib.js
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @@ -6,6 +6,7 @@ const { | ||
| Float64Array, | ||
| MathFloor, | ||
| Number, | ||
| Uint8Array, | ||
| } = primordials; | ||
|
|
||
| const { | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @@ -5,6 +5,7 @@ const { | ||
| ObjectDefineProperty, | ||
| ObjectSetPrototypeOf, | ||
| Symbol, | ||
| Uint8Array, | ||
| } = primordials; | ||
|
|
||
| const { | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @@ -10,6 +10,8 @@ const { | ||
| ObjectGetOwnPropertyDescriptors, | ||
| Symbol, | ||
| SymbolToStringTag, | ||
| Uint32Array, | ||
| Uint8Array, | ||
| } = primordials; | ||
|
|
||
| const { | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @@ -15,6 +15,8 @@ const { | ||
| ReflectGetPrototypeOf, | ||
| Set, | ||
| Symbol, | ||
| Uint32Array, | ||
| Uint8Array, | ||
| } = primordials; | ||
|
|
||
| const { | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @@ -18,6 +18,7 @@ const { | ||
| SetPrototype, | ||
| SetPrototypeHas, | ||
| StringPrototypeReplace, | ||
| Uint32Array, | ||
| } = primordials; | ||
|
|
||
| const { | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @@ -2,6 +2,7 @@ | ||
|
|
||
| const { | ||
| SymbolIterator, | ||
| Uint8Array, | ||
| } = primordials; | ||
|
|
||
| const { Buffer } = require('buffer'); | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @@ -20,6 +20,7 @@ const { | ||
| StringPrototypeValueOf, | ||
| SymbolPrototypeValueOf, | ||
| SymbolToStringTag, | ||
| Uint8Array, | ||
| } = primordials; | ||
|
|
||
| const { compare } = internalBinding('buffer'); | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @@ -14,6 +14,7 @@ const { | ||
| String, | ||
| Symbol, | ||
| SymbolFor, | ||
| Uint32Array, | ||
| } = primordials; | ||
|
|
||
| const EventEmitter = require('events'); | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @@ -22,6 +22,7 @@ | ||
| 'use strict'; | ||
|
|
||
| const { | ||
| ArrayBuffer, | ||
| Error, | ||
| MathMax, | ||
| NumberIsFinite, | ||
| @@ -33,6 +34,7 @@ const { | ||
| ObjectKeys, | ||
| ObjectSetPrototypeOf, | ||
| Symbol, | ||
| Uint32Array, | ||
| } = primordials; | ||
|
|
||
| const { | ||