Skip to content

Commit

Permalink
[Deps] update array-buffer-byte-length, is-array-buffer, `which-t…
Browse files Browse the repository at this point in the history
…yped-array`
  • Loading branch information
ljharb committed Feb 5, 2024
1 parent ed4e571 commit 698a83e
Show file tree
Hide file tree
Showing 20 changed files with 30 additions and 57 deletions.
4 changes: 2 additions & 2 deletions Uint8Array.fromBase64/implementation.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

var GetIntrinsic = require('get-intrinsic');

var $SyntaxError = GetIntrinsic('%SyntaxError%');
var $TypeError = GetIntrinsic('%TypeError%');
var $SyntaxError = require('es-errors/syntax');
var $TypeError = require('es-errors/type');
var $Uint8Array = GetIntrinsic('%Uint8Array%', true);

var FromBase64 = require('../aos/FromBase64');
Expand Down
4 changes: 2 additions & 2 deletions Uint8Array.fromBase64Into/implementation.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

var GetIntrinsic = require('get-intrinsic');

var $SyntaxError = GetIntrinsic('%SyntaxError%');
var $TypeError = GetIntrinsic('%TypeError%');
var $SyntaxError = require('es-errors/syntax');
var $TypeError = require('es-errors/type');
var $Uint8Array = GetIntrinsic('%Uint8Array%', true);

var FromBase64 = require('../aos/FromBase64');
Expand Down
4 changes: 2 additions & 2 deletions Uint8Array.fromHex/implementation.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

var GetIntrinsic = require('get-intrinsic');

var $SyntaxError = GetIntrinsic('%SyntaxError%');
var $TypeError = GetIntrinsic('%TypeError%');
var $SyntaxError = require('es-errors/syntax');
var $TypeError = require('es-errors/type');
var $Uint8Array = GetIntrinsic('%Uint8Array%', true);

var FromHex = require('../aos/FromHex');
Expand Down
4 changes: 2 additions & 2 deletions Uint8Array.fromHexInto/implementation.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

var GetIntrinsic = require('get-intrinsic');

var $SyntaxError = GetIntrinsic('%SyntaxError%');
var $TypeError = GetIntrinsic('%TypeError%');
var $SyntaxError = require('es-errors/syntax');
var $TypeError = require('es-errors/type');
var $Uint8Array = GetIntrinsic('%Uint8Array%', true);

var FromHex = require('../aos/FromHex');
Expand Down
4 changes: 1 addition & 3 deletions Uint8Array.prototype.toBase64/implementation.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
'use strict';

var GetIntrinsic = require('get-intrinsic');

var $TypeError = GetIntrinsic('%TypeError%');
var $TypeError = require('es-errors/type');

var Get = require('es-abstract/2023/Get');
var ValidateUint8Array = require('../aos/ValidateUint8Array');
Expand Down
4 changes: 1 addition & 3 deletions aos/ArrayBufferByteLength.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
'use strict';

var GetIntrinsic = require('get-intrinsic');

var $TypeError = GetIntrinsic('%TypeError%');
var $TypeError = require('es-errors/type');

// https://tc39.es/ecma262/#sec-arraybufferbytelength

Expand Down
6 changes: 2 additions & 4 deletions aos/DecodeBase64Chunk.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
'use strict';

var GetIntrinsic = require('get-intrinsic');

var $SyntaxError = GetIntrinsic('%SyntaxError%');
var $TypeError = GetIntrinsic('%TypeError%');
var $SyntaxError = require('es-errors/syntax');
var $TypeError = require('es-errors/type');

var base64Map = {
__proto__: null,
Expand Down
6 changes: 2 additions & 4 deletions aos/FromBase64.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
'use strict';

var GetIntrinsic = require('get-intrinsic');

var $SyntaxError = GetIntrinsic('%SyntaxError%');
var $TypeError = GetIntrinsic('%TypeError%');
var $SyntaxError = require('es-errors/syntax');
var $TypeError = require('es-errors/type');

var callBound = require('call-bind/callBound');

Expand Down
4 changes: 2 additions & 2 deletions aos/FromHex.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
var GetIntrinsic = require('get-intrinsic');

var $parseInt = GetIntrinsic('%parseInt%');
var $SyntaxError = GetIntrinsic('%SyntaxError%');
var $TypeError = GetIntrinsic('%TypeError%');
var $SyntaxError = require('es-errors/syntax');
var $TypeError = require('es-errors/type');

var modulo = require('es-abstract/2023/modulo');
var substring = require('es-abstract/2023/substring');
Expand Down
4 changes: 1 addition & 3 deletions aos/GetOptionsObject.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
'use strict';

var GetIntrinsic = require('get-intrinsic');

var $TypeError = GetIntrinsic('%TypeError%');
var $TypeError = require('es-errors/type');

var OrdinaryObjectCreate = require('es-abstract/2023/OrdinaryObjectCreate');
var Type = require('es-abstract/2023/Type');
Expand Down
4 changes: 1 addition & 3 deletions aos/GetUint8ArrayBytes.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
'use strict';

var GetIntrinsic = require('get-intrinsic');

var $TypeError = GetIntrinsic('%TypeError%');
var $TypeError = require('es-errors/type');

var callBound = require('call-bind/callBound');

Expand Down
4 changes: 1 addition & 3 deletions aos/IsFixedLengthArrayBuffer.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
'use strict';

// var GetIntrinsic = require('get-intrinsic');

// var $TypeError = GetIntrinsic('%TypeError%');
// var $TypeError = require('es-errors/type');

var IsResizableArrayBuffer = require('./IsResizableArrayBuffer');

Expand Down
4 changes: 1 addition & 3 deletions aos/IsResizableArrayBuffer.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
'use strict';

var GetIntrinsic = require('get-intrinsic');

var $TypeError = GetIntrinsic('%TypeError%');
var $TypeError = require('es-errors/type');

var callBound = require('call-bind/callBound');

Expand Down
4 changes: 1 addition & 3 deletions aos/IsTypedArrayOutOfBounds.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
'use strict';

var GetIntrinsic = require('get-intrinsic');

var $TypeError = GetIntrinsic('%TypeError%');
var $TypeError = require('es-errors/type');

var IsDetachedBuffer = require('es-abstract/2023/IsDetachedBuffer');
var TypedArrayElementSize = require('es-abstract/2023/TypedArrayElementSize');
Expand Down
4 changes: 1 addition & 3 deletions aos/MakeTypedArrayWithBufferWitnessRecord.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
'use strict';

var GetIntrinsic = require('get-intrinsic');

var $TypeError = GetIntrinsic('%TypeError%');
var $TypeError = require('es-errors/type');

var ArrayBufferByteLength = require('./ArrayBufferByteLength');
var IsDetachedBuffer = require('es-abstract/2023/IsDetachedBuffer');
Expand Down
4 changes: 1 addition & 3 deletions aos/SkipAsciiWhitespace.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
'use strict';

var GetIntrinsic = require('get-intrinsic');

var $TypeError = GetIntrinsic('%TypeError%');
var $TypeError = require('es-errors/type');

var isInteger = require('es-abstract/helpers/isInteger');

Expand Down
4 changes: 1 addition & 3 deletions aos/TypedArrayLength.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
'use strict';

var GetIntrinsic = require('get-intrinsic');

var $TypeError = GetIntrinsic('%TypeError%');
var $TypeError = require('es-errors/type');

var floor = require('es-abstract/2023/floor');
var IsFixedLengthArrayBuffer = require('./IsFixedLengthArrayBuffer');
Expand Down
4 changes: 1 addition & 3 deletions aos/ValidateUint8Array.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
'use strict';

var GetIntrinsic = require('get-intrinsic');

var $TypeError = GetIntrinsic('%TypeError%');
var $TypeError = require('es-errors/type');

var whichTypedArray = require('which-typed-array');

Expand Down
4 changes: 1 addition & 3 deletions aos/helpers/alphabetFromIdentifier.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,7 @@
var base64Characters = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/';
var base64UrlCharacters = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_';

var GetIntrinsic = require('get-intrinsic');

var $TypeError = GetIntrinsic('%TypeError%');
var $TypeError = require('es-errors/type');

module.exports = function alphabetFromIdentifier(alphabet) {
if (alphabet === 'base64') {
Expand Down
7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -73,17 +73,18 @@
"tape": "^5.7.4"
},
"dependencies": {
"array-buffer-byte-length": "^1.0.0",
"array-buffer-byte-length": "^1.0.1",
"call-bind": "^1.0.5",
"es-abstract": "^1.22.3",
"is-array-buffer": "^3.0.2",
"es-errors": "^1.1.0",
"is-array-buffer": "^3.0.4",
"is-shared-array-buffer": "^1.0.2",
"safe-regex-test": "^1.0.2",
"typed-array-buffer": "^1.0.0",
"typed-array-byte-offset": "^1.0.0",
"typed-array-length": "^1.0.4",
"typedarray.prototype.slice": "^1.0.1",
"which-typed-array": "^1.1.13"
"which-typed-array": "^1.1.14"
},
"engines": {
"node": ">= 0.4"
Expand Down

0 comments on commit 698a83e

Please sign in to comment.