Skip to content

Commit c39dd06

Browse files
committed
[Dev Deps] update @arethetypeswrong/cli, @ljharb/eslint-config, @types/object-inspect, auto-changelog, object-inspect, tape
1 parent 512b59d commit c39dd06

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

Diff for: index.js

-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ if (gOPD) {
2626
// @ts-expect-error TS can't guarantee the callback is invoked sync
2727
var descriptor = gOPD(Proto, 'byteOffset');
2828
if (!descriptor && hasProto) {
29-
// @ts-expect-error hush, TS, every object has a dunder proto
3029
var superProto = Proto.__proto__; // eslint-disable-line no-proto
3130
// @ts-expect-error TS can't guarantee the callback is invoked sync
3231
descriptor = gOPD(superProto, 'byteOffset');

Diff for: package.json

+6-6
Original file line numberDiff line numberDiff line change
@@ -65,18 +65,18 @@
6565
"is-typed-array": "^1.1.13"
6666
},
6767
"devDependencies": {
68-
"@arethetypeswrong/cli": "^0.15.1",
69-
"@ljharb/eslint-config": "^21.1.0",
68+
"@arethetypeswrong/cli": "^0.17.0",
69+
"@ljharb/eslint-config": "^21.1.1",
7070
"@ljharb/tsconfig": "^0.2.0",
7171
"@types/call-bind": "^1.0.5",
7272
"@types/for-each": "^0.3.3",
7373
"@types/gopd": "^1.0.3",
7474
"@types/is-callable": "^1.1.2",
7575
"@types/make-arrow-function": "^1.2.2",
7676
"@types/make-generator-function": "^2.0.3",
77-
"@types/object-inspect": "^1.8.4",
77+
"@types/object-inspect": "^1.13.0",
7878
"@types/tape": "^5.6.4",
79-
"auto-changelog": "^2.4.0",
79+
"auto-changelog": "^2.5.0",
8080
"eslint": "=8.8.0",
8181
"evalmd": "^0.0.19",
8282
"in-publish": "^2.0.1",
@@ -85,10 +85,10 @@
8585
"make-generator-function": "^2.0.0",
8686
"npmignore": "^0.3.1",
8787
"nyc": "^10.3.2",
88-
"object-inspect": "^1.13.1",
88+
"object-inspect": "^1.13.3",
8989
"possible-typed-array-names": "^1.0.0",
9090
"safe-publish-latest": "^2.0.0",
91-
"tape": "^5.7.5",
91+
"tape": "^5.9.0",
9292
"typescript": "next"
9393
},
9494
"engines": {

Diff for: test/index.js

+1
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ test('Typed Arrays', function (t) {
6767
var buffer = new ArrayBuffer(length);
6868
var TypedArray = global[typedArray];
6969
if (isCallable(TypedArray)) {
70+
// @ts-expect-error hush, TS, TAs can take an optional byte offset arg
7071
var arr = new TypedArray(buffer, byteOffset);
7172
t.equal(typedArrayByteOffset(arr), byteOffset, 'new ' + typedArray + '(new ArrayBuffer(' + length + '), ' + byteOffset + ') is typed array of byte offset ' + byteOffset);
7273
} else {

0 commit comments

Comments
 (0)