@didcid/gatekeeper 0.3.0 → 0.3.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/gatekeeper.cjs +10 -5
- package/package.json +2 -2
package/dist/cjs/gatekeeper.cjs
CHANGED
|
@@ -24410,8 +24410,12 @@ function requireWhichTypedArray () {
|
|
|
24410
24410
|
// @ts-expect-error TS won't narrow inside a closure
|
|
24411
24411
|
descriptor = gOPD(superProto, Symbol.toStringTag);
|
|
24412
24412
|
}
|
|
24413
|
-
|
|
24414
|
-
|
|
24413
|
+
if (descriptor && descriptor.get) {
|
|
24414
|
+
var bound = callBind(descriptor.get);
|
|
24415
|
+
cache[
|
|
24416
|
+
/** @type {`$${import('.').TypedArrayName}`} */ ('$' + typedArray)
|
|
24417
|
+
] = bound;
|
|
24418
|
+
}
|
|
24415
24419
|
}
|
|
24416
24420
|
});
|
|
24417
24421
|
} else {
|
|
@@ -24419,12 +24423,13 @@ function requireWhichTypedArray () {
|
|
|
24419
24423
|
var arr = new g[typedArray]();
|
|
24420
24424
|
var fn = arr.slice || arr.set;
|
|
24421
24425
|
if (fn) {
|
|
24422
|
-
|
|
24423
|
-
/** @type {`$${import('.').TypedArrayName}`} */ ('$' + typedArray)
|
|
24424
|
-
] = /** @type {import('./types').BoundSlice | import('./types').BoundSet} */ (
|
|
24426
|
+
var bound = /** @type {import('./types').BoundSlice | import('./types').BoundSet} */ (
|
|
24425
24427
|
// @ts-expect-error TODO FIXME
|
|
24426
24428
|
callBind(fn)
|
|
24427
24429
|
);
|
|
24430
|
+
cache[
|
|
24431
|
+
/** @type {`$${import('.').TypedArrayName}`} */ ('$' + typedArray)
|
|
24432
|
+
] = bound;
|
|
24428
24433
|
}
|
|
24429
24434
|
});
|
|
24430
24435
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@didcid/gatekeeper",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.2",
|
|
4
4
|
"description": "Archon Gatekeeper",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "./dist/esm/index.js",
|
|
@@ -124,5 +124,5 @@
|
|
|
124
124
|
"devDependencies": {
|
|
125
125
|
"@rollup/plugin-json": "^6.1.0"
|
|
126
126
|
},
|
|
127
|
-
"gitHead": "
|
|
127
|
+
"gitHead": "3cd4011b7c25e0747bd4798c498d1026b5917e6e"
|
|
128
128
|
}
|