@github/browser-support 1.0.0 → 1.0.4
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/LICENSE +21 -0
- package/lib/aggregateerror.js +1 -1
- package/lib/aggregateerror.js.map +1 -1
- package/lib/promise-any.js +1 -1
- package/lib/requestidlecallback.js +1 -1
- package/lib/requestidlecallback.js.map +1 -1
- package/package.json +1 -1
- package/lib/capable-browser.d.ts +0 -2
- package/lib/capable-browser.d.ts.map +0 -1
- package/lib/capable-browser.js +0 -23
- package/lib/capable-browser.js.map +0 -1
- package/lib/capable-without-polyfills.d.ts +0 -2
- package/lib/capable-without-polyfills.d.ts.map +0 -1
- package/lib/capable-without-polyfills.js +0 -2
- package/lib/capable-without-polyfills.js.map +0 -1
- package/lib/checks/is-abortcontroller-supported.d.ts +0 -2
- package/lib/checks/is-abortcontroller-supported.d.ts.map +0 -1
- package/lib/checks/is-abortcontroller-supported.js +0 -4
- package/lib/checks/is-abortcontroller-supported.js.map +0 -1
- package/lib/checks/is-abortsignal-abort-supported.d.ts +0 -3
- package/lib/checks/is-abortsignal-abort-supported.d.ts.map +0 -1
- package/lib/checks/is-abortsignal-abort-supported.js +0 -8
- package/lib/checks/is-abortsignal-abort-supported.js.map +0 -1
- package/lib/checks/is-abortsignal-timeout-supported.d.ts +0 -3
- package/lib/checks/is-abortsignal-timeout-supported.d.ts.map +0 -1
- package/lib/checks/is-abortsignal-timeout-supported.js +0 -8
- package/lib/checks/is-abortsignal-timeout-supported.js.map +0 -1
- package/lib/checks/is-crypto-randomuuid-supported.d.ts +0 -3
- package/lib/checks/is-crypto-randomuuid-supported.d.ts.map +0 -1
- package/lib/checks/is-crypto-randomuuid-supported.js +0 -8
- package/lib/checks/is-crypto-randomuuid-supported.js.map +0 -1
- package/lib/checks/is-event-abortsignal-supported.d.ts +0 -3
- package/lib/checks/is-event-abortsignal-supported.d.ts.map +0 -1
- package/lib/checks/is-event-abortsignal-supported.js +0 -29
- package/lib/checks/is-event-abortsignal-supported.js.map +0 -1
- package/lib/checks/is-hasown-supported.d.ts +0 -3
- package/lib/checks/is-hasown-supported.d.ts.map +0 -1
- package/lib/checks/is-hasown-supported.js +0 -8
- package/lib/checks/is-hasown-supported.js.map +0 -1
- package/lib/checks/is-native-function.d.ts +0 -2
- package/lib/checks/is-native-function.d.ts.map +0 -1
- package/lib/checks/is-native-function.js +0 -7
- package/lib/checks/is-native-function.js.map +0 -1
- package/lib/checks/is-object-hasown-supported.d.ts +0 -3
- package/lib/checks/is-object-hasown-supported.d.ts.map +0 -1
- package/lib/checks/is-object-hasown-supported.js +0 -8
- package/lib/checks/is-object-hasown-supported.js.map +0 -1
- package/lib/checks/is-requestidlecallback-supported.d.ts +0 -3
- package/lib/checks/is-requestidlecallback-supported.d.ts.map +0 -1
- package/lib/checks/is-requestidlecallback-supported.js +0 -8
- package/lib/checks/is-requestidlecallback-supported.js.map +0 -1
- package/lib/checks/is-supported-without-polyfills.d.ts +0 -2
- package/lib/checks/is-supported-without-polyfills.d.ts.map +0 -1
- package/lib/checks/is-supported-without-polyfills.js +0 -14
- package/lib/checks/is-supported-without-polyfills.js.map +0 -1
- package/lib/checks/is-supported.d.ts +0 -3
- package/lib/checks/is-supported.d.ts.map +0 -1
- package/lib/checks/is-supported.js +0 -38
- package/lib/checks/is-supported.js.map +0 -1
- package/lib/polyfills/abortsignal-abort.d.ts +0 -7
- package/lib/polyfills/abortsignal-abort.d.ts.map +0 -1
- package/lib/polyfills/abortsignal-abort.js +0 -6
- package/lib/polyfills/abortsignal-abort.js.map +0 -1
- package/lib/polyfills/abortsignal-timeout.d.ts +0 -7
- package/lib/polyfills/abortsignal-timeout.d.ts.map +0 -1
- package/lib/polyfills/abortsignal-timeout.js +0 -6
- package/lib/polyfills/abortsignal-timeout.js.map +0 -1
- package/lib/polyfills/crypto-uuid.d.ts +0 -7
- package/lib/polyfills/crypto-uuid.d.ts.map +0 -1
- package/lib/polyfills/crypto-uuid.js +0 -13
- package/lib/polyfills/crypto-uuid.js.map +0 -1
- package/lib/polyfills/event-abortsignal.d.ts +0 -12
- package/lib/polyfills/event-abortsignal.d.ts.map +0 -1
- package/lib/polyfills/event-abortsignal.js +0 -11
- package/lib/polyfills/event-abortsignal.js.map +0 -1
- package/lib/polyfills/object-hasown.d.ts +0 -7
- package/lib/polyfills/object-hasown.d.ts.map +0 -1
- package/lib/polyfills/object-hasown.js +0 -8
- package/lib/polyfills/object-hasown.js.map +0 -1
- package/lib/polyfills/requestidlecallback.d.ts +0 -3
- package/lib/polyfills/requestidlecallback.d.ts.map +0 -1
- package/lib/polyfills/requestidlecallback.js +0 -32
- package/lib/polyfills/requestidlecallback.js.map +0 -1
- package/lib/register-polyfills/abortsignal-abort.d.ts +0 -2
- package/lib/register-polyfills/abortsignal-abort.d.ts.map +0 -1
- package/lib/register-polyfills/abortsignal-abort.js +0 -6
- package/lib/register-polyfills/abortsignal-abort.js.map +0 -1
- package/lib/register-polyfills/abortsignal-timeout.d.ts +0 -2
- package/lib/register-polyfills/abortsignal-timeout.d.ts.map +0 -1
- package/lib/register-polyfills/abortsignal-timeout.js +0 -6
- package/lib/register-polyfills/abortsignal-timeout.js.map +0 -1
- package/lib/register-polyfills/crypto-uuid.d.ts +0 -2
- package/lib/register-polyfills/crypto-uuid.d.ts.map +0 -1
- package/lib/register-polyfills/crypto-uuid.js +0 -6
- package/lib/register-polyfills/crypto-uuid.js.map +0 -1
- package/lib/register-polyfills/event-abortsignal.d.ts +0 -2
- package/lib/register-polyfills/event-abortsignal.d.ts.map +0 -1
- package/lib/register-polyfills/event-abortsignal.js +0 -7
- package/lib/register-polyfills/event-abortsignal.js.map +0 -1
- package/lib/register-polyfills/index.d.ts +0 -7
- package/lib/register-polyfills/index.d.ts.map +0 -1
- package/lib/register-polyfills/index.js +0 -7
- package/lib/register-polyfills/index.js.map +0 -1
- package/lib/register-polyfills/object-hasown.d.ts +0 -2
- package/lib/register-polyfills/object-hasown.d.ts.map +0 -1
- package/lib/register-polyfills/object-hasown.js +0 -10
- package/lib/register-polyfills/object-hasown.js.map +0 -1
- package/lib/register-polyfills/requestidlecallback.d.ts +0 -2
- package/lib/register-polyfills/requestidlecallback.d.ts.map +0 -1
- package/lib/register-polyfills/requestidlecallback.js +0 -6
- package/lib/register-polyfills/requestidlecallback.js.map +0 -1
- package/lib/register.d.ts +0 -2
- package/lib/register.d.ts.map +0 -1
- package/lib/register.js +0 -2
- package/lib/register.js.map +0 -1
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2020 GitHub
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/lib/aggregateerror.js
CHANGED
|
@@ -17,7 +17,7 @@ export class AggregateError extends Error {
|
|
|
17
17
|
}
|
|
18
18
|
/*#__PURE__*/
|
|
19
19
|
export function isSupported() {
|
|
20
|
-
return typeof AggregateError === 'function';
|
|
20
|
+
return typeof globalThis.AggregateError === 'function';
|
|
21
21
|
}
|
|
22
22
|
/*#__PURE__*/
|
|
23
23
|
export function isPolyfilled() {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"aggregateerror.js","sourceRoot":"","sources":["../src/aggregateerror.ts"],"names":[],"mappings":"AAAA,MAAM,OAAO,cAAe,SAAQ,KAAK;IAIvC,YAAY,MAAiB,EAAE,OAAe,EAAE,UAA6B,EAAE;QAC7E,KAAK,CAAC,OAAO,CAAC,CAAA;QACd,MAAM,CAAC,cAAc,CAAC,IAAI,EAAE,QAAQ,EAAE;YACpC,KAAK,EAAE,KAAK,CAAC,IAAI,CAAC,MAAM,CAAC;YACzB,YAAY,EAAE,IAAI;YAClB,QAAQ,EAAE,IAAI;SACf,CAAC,CAAA;QACF,IAAI,OAAO,CAAC,KAAK,EAAE;YACjB,MAAM,CAAC,cAAc,CAAC,IAAI,EAAE,OAAO,EAAE;gBACnC,KAAK,EAAE,OAAO,CAAC,KAAK;gBACpB,YAAY,EAAE,IAAI;gBAClB,QAAQ,EAAE,IAAI;aACf,CAAC,CAAA;SACH;IACH,CAAC;CACF;AAED,aAAa;AACb,MAAM,UAAU,WAAW;IACzB,OAAO,OAAO,cAAc,KAAK,UAAU,CAAA;
|
|
1
|
+
{"version":3,"file":"aggregateerror.js","sourceRoot":"","sources":["../src/aggregateerror.ts"],"names":[],"mappings":"AAAA,MAAM,OAAO,cAAe,SAAQ,KAAK;IAIvC,YAAY,MAAiB,EAAE,OAAe,EAAE,UAA6B,EAAE;QAC7E,KAAK,CAAC,OAAO,CAAC,CAAA;QACd,MAAM,CAAC,cAAc,CAAC,IAAI,EAAE,QAAQ,EAAE;YACpC,KAAK,EAAE,KAAK,CAAC,IAAI,CAAC,MAAM,CAAC;YACzB,YAAY,EAAE,IAAI;YAClB,QAAQ,EAAE,IAAI;SACf,CAAC,CAAA;QACF,IAAI,OAAO,CAAC,KAAK,EAAE;YACjB,MAAM,CAAC,cAAc,CAAC,IAAI,EAAE,OAAO,EAAE;gBACnC,KAAK,EAAE,OAAO,CAAC,KAAK;gBACpB,YAAY,EAAE,IAAI;gBAClB,QAAQ,EAAE,IAAI;aACf,CAAC,CAAA;SACH;IACH,CAAC;CACF;AAED,aAAa;AACb,MAAM,UAAU,WAAW;IACzB,OAAO,OAAO,UAAU,CAAC,cAAc,KAAK,UAAU,CAAA;AACxD,CAAC;AAED,aAAa;AACb,MAAM,UAAU,YAAY;IAC1B,oCAAoC;IACpC,OAAO,UAAU,CAAC,cAAc,KAAK,cAAc,CAAA;AACrD,CAAC;AAED,MAAM,UAAU,KAAK;IACnB,IAAI,CAAC,WAAW,EAAE,EAAE;QAClB,oCAAoC;QACpC,UAAU,CAAC,cAAc,GAAG,cAAc,CAAA;KAC3C;AACH,CAAC"}
|
package/lib/promise-any.js
CHANGED
|
@@ -26,7 +26,7 @@ export function cancelIdleCallback(id) {
|
|
|
26
26
|
}
|
|
27
27
|
/*#__PURE__*/
|
|
28
28
|
export function isSupported() {
|
|
29
|
-
return typeof requestIdleCallback === 'function';
|
|
29
|
+
return typeof globalThis.requestIdleCallback === 'function';
|
|
30
30
|
}
|
|
31
31
|
/*#__PURE__*/
|
|
32
32
|
export function isPolyfilled() {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"requestidlecallback.js","sourceRoot":"","sources":["../src/requestidlecallback.ts"],"names":[],"mappings":"AAAA,mDAAmD;AACnD,2EAA2E;AAC3E,wEAAwE;AACxE,8EAA8E;AAC9E,mBAAmB;AACnB,MAAM,WAAW,GAAG,EAAE,CAAA;AAEtB,MAAM,UAAU,mBAAmB,CAAC,QAA6B,EAAE,UAA8B,EAAE;IACjG,MAAM,KAAK,GAAG,IAAI,CAAC,GAAG,EAAE,CAAA;IACxB,MAAM,OAAO,GAAG,OAAO,CAAC,OAAO,IAAI,CAAC,CAAA;IACpC,MAAM,QAAQ,GAAiB,MAAM,CAAC,cAAc,CAClD;QACE,UAAU,EAAE,KAAK;QACjB,aAAa;YACX,OAAO,IAAI,CAAC,GAAG,CAAC,CAAC,EAAE,WAAW,GAAG,CAAC,IAAI,CAAC,GAAG,EAAE,GAAG,KAAK,CAAC,CAAC,CAAA;QACxD,CAAC;KACF,EACD,YAAY,EACZ;QACE,GAAG;YACD,OAAO,IAAI,CAAC,GAAG,EAAE,GAAG,KAAK,GAAG,OAAO,CAAA;QACrC,CAAC;KACF,CACF,CAAA;IACD,OAAO,MAAM,CAAC,UAAU,CAAC,GAAG,EAAE;QAC5B,QAAQ,CAAC,QAAQ,CAAC,CAAA;IACpB,CAAC,CAAC,CAAA;AACJ,CAAC;AAED,MAAM,UAAU,kBAAkB,CAAC,EAAU;IAC3C,YAAY,CAAC,EAAE,CAAC,CAAA;AAClB,CAAC;AAED,aAAa;AACb,MAAM,UAAU,WAAW;IACzB,OAAO,OAAO,mBAAmB,KAAK,UAAU,CAAA;
|
|
1
|
+
{"version":3,"file":"requestidlecallback.js","sourceRoot":"","sources":["../src/requestidlecallback.ts"],"names":[],"mappings":"AAAA,mDAAmD;AACnD,2EAA2E;AAC3E,wEAAwE;AACxE,8EAA8E;AAC9E,mBAAmB;AACnB,MAAM,WAAW,GAAG,EAAE,CAAA;AAEtB,MAAM,UAAU,mBAAmB,CAAC,QAA6B,EAAE,UAA8B,EAAE;IACjG,MAAM,KAAK,GAAG,IAAI,CAAC,GAAG,EAAE,CAAA;IACxB,MAAM,OAAO,GAAG,OAAO,CAAC,OAAO,IAAI,CAAC,CAAA;IACpC,MAAM,QAAQ,GAAiB,MAAM,CAAC,cAAc,CAClD;QACE,UAAU,EAAE,KAAK;QACjB,aAAa;YACX,OAAO,IAAI,CAAC,GAAG,CAAC,CAAC,EAAE,WAAW,GAAG,CAAC,IAAI,CAAC,GAAG,EAAE,GAAG,KAAK,CAAC,CAAC,CAAA;QACxD,CAAC;KACF,EACD,YAAY,EACZ;QACE,GAAG;YACD,OAAO,IAAI,CAAC,GAAG,EAAE,GAAG,KAAK,GAAG,OAAO,CAAA;QACrC,CAAC;KACF,CACF,CAAA;IACD,OAAO,MAAM,CAAC,UAAU,CAAC,GAAG,EAAE;QAC5B,QAAQ,CAAC,QAAQ,CAAC,CAAA;IACpB,CAAC,CAAC,CAAA;AACJ,CAAC;AAED,MAAM,UAAU,kBAAkB,CAAC,EAAU;IAC3C,YAAY,CAAC,EAAE,CAAC,CAAA;AAClB,CAAC;AAED,aAAa;AACb,MAAM,UAAU,WAAW;IACzB,OAAO,OAAO,UAAU,CAAC,mBAAmB,KAAK,UAAU,CAAA;AAC7D,CAAC;AAED,aAAa;AACb,MAAM,UAAU,YAAY;IAC1B,OAAO,UAAU,CAAC,mBAAmB,KAAK,mBAAmB,IAAI,UAAU,CAAC,kBAAkB,KAAK,kBAAkB,CAAA;AACvH,CAAC;AAED,MAAM,UAAU,KAAK;IACnB,IAAI,CAAC,WAAW,EAAE,EAAE;QAClB,UAAU,CAAC,mBAAmB,GAAG,mBAAmB,CAAA;QACpD,UAAU,CAAC,kBAAkB,GAAG,kBAAkB,CAAA;KACnD;AACH,CAAC"}
|
package/package.json
CHANGED
package/lib/capable-browser.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"capable-browser.d.ts","sourceRoot":"","sources":["../src/capable-browser.ts"],"names":[],"mappings":"AAAA,wBAAgB,cAAc,YAqB7B"}
|
package/lib/capable-browser.js
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
export function capableBrowser() {
|
|
2
|
-
return (
|
|
3
|
-
typeof Blob === 'function' &&
|
|
4
|
-
typeof PerformanceObserver === 'function' &&
|
|
5
|
-
typeof Intl !== 'undefined' &&
|
|
6
|
-
typeof MutationObserver !== 'undefined' &&
|
|
7
|
-
typeof URLSearchParams !== 'undefined' &&
|
|
8
|
-
typeof WebSocket !== 'undefined' &&
|
|
9
|
-
typeof IntersectionObserver !== 'undefined' &&
|
|
10
|
-
typeof AbortController !== 'undefined' &&
|
|
11
|
-
typeof queueMicrotask !== 'undefined' &&
|
|
12
|
-
typeof TextEncoder !== 'undefined' &&
|
|
13
|
-
typeof TextDecoder !== 'undefined' &&
|
|
14
|
-
typeof customElements !== 'undefined' &&
|
|
15
|
-
typeof HTMLDetailsElement !== 'undefined' &&
|
|
16
|
-
'fromEntries' in Object &&
|
|
17
|
-
'entries' in FormData.prototype &&
|
|
18
|
-
'toggleAttribute' in Element.prototype &&
|
|
19
|
-
'flatMap' in Array.prototype &&
|
|
20
|
-
'replaceChildren' in Element.prototype
|
|
21
|
-
)
|
|
22
|
-
}
|
|
23
|
-
//# sourceMappingURL=capable-browser.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"capable-browser.js","sourceRoot":"","sources":["../src/capable-browser.ts"],"names":[],"mappings":"AAAA,MAAM,UAAU,cAAc;IAC9B,OAAO,CACH,OAAO,IAAI,KAAK,UAAU;QAC1B,OAAO,mBAAmB,KAAK,UAAU;QACzC,OAAO,IAAI,KAAK,WAAW;QAC3B,OAAO,gBAAgB,KAAK,WAAW;QACvC,OAAO,eAAe,KAAK,WAAW;QACtC,OAAO,SAAS,KAAK,WAAW;QAChC,OAAO,oBAAoB,KAAK,WAAW;QAC3C,OAAO,eAAe,KAAK,WAAW;QACtC,OAAO,cAAc,KAAK,WAAW;QACrC,OAAO,WAAW,KAAK,WAAW;QAClC,OAAO,WAAW,KAAK,WAAW;QAClC,OAAO,cAAc,KAAK,WAAW;QACrC,OAAO,kBAAkB,KAAK,WAAW;QACzC,aAAa,IAAI,MAAM;QACvB,SAAS,IAAI,QAAQ,CAAC,SAAS;QAC/B,iBAAiB,IAAI,OAAO,CAAC,SAAS;QACtC,SAAS,IAAI,KAAK,CAAC,SAAS;QAC5B,iBAAiB,IAAI,OAAO,CAAC,SAAS,CACvC,CAAA;AACH,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"capable-without-polyfills.d.ts","sourceRoot":"","sources":["../src/capable-without-polyfills.ts"],"names":[],"mappings":"AAEA,wBAAgB,8BAA8B,SAG7C"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"capable-without-polyfills.js","sourceRoot":"","sources":["../src/capable-without-polyfills.ts"],"names":[],"mappings":"AAEA,MAAM,UAAU,8BAA8B;AAG9C,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"is-abortcontroller-supported.d.ts","sourceRoot":"","sources":["../../src/checks/is-abortcontroller-supported.ts"],"names":[],"mappings":"AAAA,wBAAgB,0BAA0B,YAGzC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"is-abortcontroller-supported.js","sourceRoot":"","sources":["../../src/checks/is-abortcontroller-supported.ts"],"names":[],"mappings":"AAAA,MAAM,UAAU,0BAA0B;IACxC,OAAO,OAAO,eAAe,KAAK,UAAU;QAC1C,OAAO,WAAW,KAAK,UAAU,CAAA;AACrC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"is-abortsignal-abort-supported.d.ts","sourceRoot":"","sources":["../../src/checks/is-abortsignal-abort-supported.ts"],"names":[],"mappings":"AAEA,wBAAgB,2BAA2B,IAAI,OAAO,CAErD;AAED,wBAAgB,uCAAuC,IAAI,OAAO,CAEjE"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import {isNativeFunction} from './is-native-function'
|
|
2
|
-
export function isAbortSignalAbortSupported() {
|
|
3
|
-
return 'abort' in AbortSignal && typeof AbortSignal.abort === 'function'
|
|
4
|
-
}
|
|
5
|
-
export function isObjectHasOwnSupportedWithoutPolyfills() {
|
|
6
|
-
return isAbortSignalAbortSupported() && isNativeFunction(AbortSignal.abort)
|
|
7
|
-
}
|
|
8
|
-
//# sourceMappingURL=is-abortsignal-abort-supported.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"is-abortsignal-abort-supported.js","sourceRoot":"","sources":["../../src/checks/is-abortsignal-abort-supported.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AAExD,MAAM,UAAU,2BAA2B;IACzC,OAAO,OAAO,IAAI,WAAW,IAAI,OAAO,WAAW,CAAC,KAAK,KAAK,UAAU,CAAA;AAC1E,CAAC;AAED,MAAM,UAAU,uCAAuC;IACrD,OAAO,2BAA2B,EAAE,IAAI,gBAAgB,CAAC,WAAW,CAAC,KAAK,CAAC,CAAA;AAC7E,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"is-abortsignal-timeout-supported.d.ts","sourceRoot":"","sources":["../../src/checks/is-abortsignal-timeout-supported.ts"],"names":[],"mappings":"AAEA,wBAAgB,6BAA6B,IAAI,OAAO,CAEvD;AAED,wBAAgB,uCAAuC,IAAI,OAAO,CAEjE"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import {isNativeFunction} from './is-native-function'
|
|
2
|
-
export function isAbortSignalTimeoutSupported() {
|
|
3
|
-
return 'timeout' in AbortSignal && typeof AbortSignal.timeout === 'function'
|
|
4
|
-
}
|
|
5
|
-
export function isObjectHasOwnSupportedWithoutPolyfills() {
|
|
6
|
-
return isAbortSignalTimeoutSupported() && isNativeFunction(AbortSignal.timeout)
|
|
7
|
-
}
|
|
8
|
-
//# sourceMappingURL=is-abortsignal-timeout-supported.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"is-abortsignal-timeout-supported.js","sourceRoot":"","sources":["../../src/checks/is-abortsignal-timeout-supported.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AAExD,MAAM,UAAU,6BAA6B;IAC3C,OAAO,SAAS,IAAI,WAAW,IAAI,OAAO,WAAW,CAAC,OAAO,KAAK,UAAU,CAAA;AAC9E,CAAC;AAED,MAAM,UAAU,uCAAuC;IACrD,OAAO,6BAA6B,EAAE,IAAI,gBAAgB,CAAC,WAAW,CAAC,OAAO,CAAC,CAAA;AACjF,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"is-crypto-randomuuid-supported.d.ts","sourceRoot":"","sources":["../../src/checks/is-crypto-randomuuid-supported.ts"],"names":[],"mappings":"AAEA,wBAAgB,2BAA2B,IAAI,OAAO,CAIrD;AAED,wBAAgB,2CAA2C,IAAI,OAAO,CAErE"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import {isNativeFunction} from './is-native-function'
|
|
2
|
-
export function isCryptoRandomUUIDSupported() {
|
|
3
|
-
return typeof crypto === 'object' && 'randomUUID' in crypto && typeof crypto.randomUUID === 'function'
|
|
4
|
-
}
|
|
5
|
-
export function isCryptoRandomUUIDSupportedWithoutPolyfills() {
|
|
6
|
-
return isCryptoRandomUUIDSupported() && isNativeFunction(crypto.randomUUID)
|
|
7
|
-
}
|
|
8
|
-
//# sourceMappingURL=is-crypto-randomuuid-supported.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"is-crypto-randomuuid-supported.js","sourceRoot":"","sources":["../../src/checks/is-crypto-randomuuid-supported.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AAExD,MAAM,UAAU,2BAA2B;IACzC,OAAO,OAAO,MAAM,KAAK,QAAQ;QAC/B,YAAY,IAAI,MAAM;QACtB,OAAO,MAAM,CAAC,UAAU,KAAK,UAAU,CAAA;AAC3C,CAAC;AAED,MAAM,UAAU,2CAA2C;IACzD,OAAO,2BAA2B,EAAE,IAAI,gBAAgB,CAAC,MAAM,CAAC,UAAU,CAAC,CAAA;AAC7E,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"is-event-abortsignal-supported.d.ts","sourceRoot":"","sources":["../../src/checks/is-event-abortsignal-supported.ts"],"names":[],"mappings":"AAGA,wBAAgB,2BAA2B,IAAI,OAAO,CAsBrD;AAED,wBAAgB,0CAA0C,IAAI,OAAO,CAEpE"}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import {isNativeFunction} from './is-native-function'
|
|
2
|
-
let cached = null
|
|
3
|
-
export function isEventAbortSignalSupported() {
|
|
4
|
-
if (cached !== null) return cached
|
|
5
|
-
let signalSupported = false
|
|
6
|
-
// eslint-disable-next-line @typescript-eslint/no-empty-function
|
|
7
|
-
function noop() {}
|
|
8
|
-
try {
|
|
9
|
-
const options = Object.create(
|
|
10
|
-
{},
|
|
11
|
-
{
|
|
12
|
-
signal: {
|
|
13
|
-
get() {
|
|
14
|
-
signalSupported = true
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
)
|
|
19
|
-
window.addEventListener('test', noop, options)
|
|
20
|
-
window.removeEventListener('test', noop, options)
|
|
21
|
-
return (cached = signalSupported)
|
|
22
|
-
} catch (e) {
|
|
23
|
-
return (cached = signalSupported)
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
export function isEventAbortSignalSupportedWithoutPolyfils() {
|
|
27
|
-
return isEventAbortSignalSupported() && isNativeFunction(EventTarget.prototype.addEventListener)
|
|
28
|
-
}
|
|
29
|
-
//# sourceMappingURL=is-event-abortsignal-supported.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"is-event-abortsignal-supported.js","sourceRoot":"","sources":["../../src/checks/is-event-abortsignal-supported.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAA;AAEvD,IAAI,MAAM,GAAiB,IAAI,CAAA;AAC/B,MAAM,UAAU,2BAA2B;IACzC,IAAI,MAAM,KAAK,IAAI;QAAE,OAAO,MAAM,CAAA;IAClC,IAAI,eAAe,GAAG,KAAK,CAAA;IAC3B,gEAAgE;IAChE,SAAS,IAAI,KAAI,CAAC;IAClB,IAAI;QACF,MAAM,OAAO,GAAG,MAAM,CAAC,MAAM,CAC3B,EAAE,EACF;YACE,MAAM,EAAE;gBACN,GAAG;oBACD,eAAe,GAAG,IAAI,CAAA;gBACxB,CAAC;aACF;SACF,CACF,CAAA;QACD,MAAM,CAAC,gBAAgB,CAAC,MAAM,EAAE,IAAI,EAAE,OAAO,CAAC,CAAA;QAC9C,MAAM,CAAC,mBAAmB,CAAC,MAAM,EAAE,IAAI,EAAE,OAAO,CAAC,CAAA;QACjD,OAAO,CAAC,MAAM,GAAG,eAAe,CAAC,CAAA;KAClC;IAAC,OAAO,CAAC,EAAE;QACV,OAAO,CAAC,MAAM,GAAG,eAAe,CAAC,CAAA;KAClC;AACH,CAAC;AAED,MAAM,UAAU,0CAA0C;IACxD,OAAO,2BAA2B,EAAE,IAAI,gBAAgB,CAAC,WAAW,CAAC,SAAS,CAAC,gBAAgB,CAAC,CAAA;AAClG,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"is-hasown-supported.d.ts","sourceRoot":"","sources":["../../src/checks/is-hasown-supported.ts"],"names":[],"mappings":"AAEA,wBAAgB,iBAAiB,YAEhC;AAED,wBAAgB,iCAAiC,SAEhD"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import {isNativeFunction} from './is-native-function'
|
|
2
|
-
export function isHasOwnSupported() {
|
|
3
|
-
return 'hasOwn' in Object && typeof Object.hasOwn === 'function'
|
|
4
|
-
}
|
|
5
|
-
export function isHasOwnSupportedWithoutPolyfills() {
|
|
6
|
-
'hasOwn' in Object && isNativeFunction(Object.hasOwn)
|
|
7
|
-
}
|
|
8
|
-
//# sourceMappingURL=is-hasown-supported.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"is-hasown-supported.js","sourceRoot":"","sources":["../../src/checks/is-hasown-supported.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AAExD,MAAM,UAAU,iBAAiB;IAC/B,OAAO,QAAQ,IAAI,MAAM,IAAI,OAAO,MAAM,CAAC,MAAM,KAAK,UAAU,CAAA;AAClE,CAAC;AAED,MAAM,UAAU,iCAAiC;IAC/C,QAAQ,IAAI,MAAM,IAAI,gBAAgB,CAAC,MAAM,CAAC,MAAM,CAAC,CAAA;AACvD,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"is-native-function.d.ts","sourceRoot":"","sources":["../../src/checks/is-native-function.ts"],"names":[],"mappings":"AAEA,wBAAgB,gBAAgB,CAAC,EAAE,EAAE,CAAC,GAAG,IAAI,EAAE,OAAO,EAAE,KAAK,OAAO,GAAG,OAAO,CAG7E"}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
const nativeRe = /\{\s*\[native code\]\s*\}/
|
|
2
|
-
const fnString = Function.prototype.toString
|
|
3
|
-
export function isNativeFunction(fn) {
|
|
4
|
-
if (typeof fn !== 'function') return false
|
|
5
|
-
return nativeRe.test(fnString.call(fn))
|
|
6
|
-
}
|
|
7
|
-
//# sourceMappingURL=is-native-function.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"is-native-function.js","sourceRoot":"","sources":["../../src/checks/is-native-function.ts"],"names":[],"mappings":"AAAA,MAAM,QAAQ,GAAG,2BAA2B,CAAA;AAC5C,MAAM,QAAQ,GAAG,QAAQ,CAAC,SAAS,CAAC,QAAQ,CAAA;AAC5C,MAAM,UAAU,gBAAgB,CAAC,EAAmC;IAClE,IAAI,OAAO,EAAE,KAAK,UAAU;QAAE,OAAO,KAAK,CAAA;IAC1C,OAAO,QAAQ,CAAC,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC,CAAA;AACzC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"is-object-hasown-supported.d.ts","sourceRoot":"","sources":["../../src/checks/is-object-hasown-supported.ts"],"names":[],"mappings":"AAEA,wBAAgB,uBAAuB,IAAI,OAAO,CAEjD;AAED,wBAAgB,uCAAuC,IAAI,OAAO,CAEjE"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import {isNativeFunction} from './is-native-function'
|
|
2
|
-
export function isObjectHasOwnSupported() {
|
|
3
|
-
return 'hasOwn' in Object && typeof Object.hasOwn === 'function'
|
|
4
|
-
}
|
|
5
|
-
export function isObjectHasOwnSupportedWithoutPolyfills() {
|
|
6
|
-
return isObjectHasOwnSupported() && isNativeFunction(Object.hasOwn)
|
|
7
|
-
}
|
|
8
|
-
//# sourceMappingURL=is-object-hasown-supported.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"is-object-hasown-supported.js","sourceRoot":"","sources":["../../src/checks/is-object-hasown-supported.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AAExD,MAAM,UAAU,uBAAuB;IACrC,OAAO,QAAQ,IAAI,MAAM,IAAI,OAAO,MAAM,CAAC,MAAM,KAAK,UAAU,CAAA;AAClE,CAAC;AAED,MAAM,UAAU,uCAAuC;IACrD,OAAO,uBAAuB,EAAE,IAAI,gBAAgB,CAAC,MAAM,CAAC,MAAM,CAAC,CAAA;AACrE,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"is-requestidlecallback-supported.d.ts","sourceRoot":"","sources":["../../src/checks/is-requestidlecallback-supported.ts"],"names":[],"mappings":"AAEA,wBAAgB,8BAA8B,IAAI,OAAO,CAExD;AAED,wBAAgB,uCAAuC,IAAI,OAAO,CAEjE"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import {isNativeFunction} from './is-native-function'
|
|
2
|
-
export function isRequestIdleCallbackSupported() {
|
|
3
|
-
return 'hasOwn' in Object && typeof Object.hasOwn === 'function'
|
|
4
|
-
}
|
|
5
|
-
export function isObjectHasOwnSupportedWithoutPolyfills() {
|
|
6
|
-
return isObjectHasOwnSupported() && isNativeFunction(Object.hasOwn)
|
|
7
|
-
}
|
|
8
|
-
//# sourceMappingURL=is-requestidlecallback-supported.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"is-requestidlecallback-supported.js","sourceRoot":"","sources":["../../src/checks/is-requestidlecallback-supported.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AAExD,MAAM,UAAU,8BAA8B;IAC5C,OAAO,QAAQ,IAAI,MAAM,IAAI,OAAO,MAAM,CAAC,MAAM,KAAK,UAAU,CAAA;AAClE,CAAC;AAED,MAAM,UAAU,uCAAuC;IACrD,OAAO,uBAAuB,EAAE,IAAI,gBAAgB,CAAC,MAAM,CAAC,MAAM,CAAC,CAAA;AACrE,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"is-supported-without-polyfills.d.ts","sourceRoot":"","sources":["../../src/checks/is-supported-without-polyfills.ts"],"names":[],"mappings":"AAIA,wBAAgB,2BAA2B,QAM1C"}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import {isSupported} from './is-supported.js'
|
|
2
|
-
import {isNativeFunction} from './is-native-function.js'
|
|
3
|
-
import {isEventAbortSignalSupported} from './is-event-abortsignal-supported.js'
|
|
4
|
-
export function isSupportedWithoutPolyfills() {
|
|
5
|
-
return (
|
|
6
|
-
isSupported() &&
|
|
7
|
-
isNativeFunction(crypto.randomUUID) &&
|
|
8
|
-
isNativeFunction(Object.hasOwn) &&
|
|
9
|
-
isNativeFunction(requestIdleCallback) &&
|
|
10
|
-
isEventAbortSignalSupported() &&
|
|
11
|
-
isNativeFunction(EventTarget.prototype.addEventListener)
|
|
12
|
-
)
|
|
13
|
-
}
|
|
14
|
-
//# sourceMappingURL=is-supported-without-polyfills.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"is-supported-without-polyfills.js","sourceRoot":"","sources":["../../src/checks/is-supported-without-polyfills.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAA;AAC/C,OAAO,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAA;AAC1D,OAAO,EAAE,2BAA2B,EAAE,MAAM,qCAAqC,CAAA;AAEjF,MAAM,UAAU,2BAA2B;IACvC,OAAO,WAAW,EAAE;QAChB,gBAAgB,CAAC,MAAM,CAAC,UAAU,CAAC;QACnC,gBAAgB,CAAC,MAAM,CAAC,MAAM,CAAC;QAC/B,gBAAgB,CAAC,mBAAmB,CAAC;QACrC,CAAC,2BAA2B,EAAE,IAAI,gBAAgB,CAAC,WAAW,CAAC,SAAS,CAAC,gBAAgB,CAAC,CAAC,CAAA;AACnG,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"is-supported.d.ts","sourceRoot":"","sources":["../../src/checks/is-supported.ts"],"names":[],"mappings":"AAyBA,wBAAgB,WAAW,YAK1B;AAED,wBAAgB,2BAA2B,YAK1C"}
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
isCryptoRandomUUIDSupported,
|
|
3
|
-
isCryptoRandomUUIDSupportedWithoutPolyfills
|
|
4
|
-
} from './is-crypto-randomuuid-supported'
|
|
5
|
-
import {isEventAbortSignalSupported, isEventAbortSignalSupportedWithoutPolyfils} from './is-event-abortsignal-supported'
|
|
6
|
-
import {isObjectHasOwnSupported, isObjectHasOwnSupportedWithoutPolyfills} from './is-object-hasown-supported'
|
|
7
|
-
const baseSupport =
|
|
8
|
-
typeof Blob === 'function' &&
|
|
9
|
-
typeof PerformanceObserver === 'function' &&
|
|
10
|
-
typeof Intl === 'object' &&
|
|
11
|
-
typeof MutationObserver === 'function' &&
|
|
12
|
-
typeof URLSearchParams === 'function' &&
|
|
13
|
-
typeof WebSocket === 'function' &&
|
|
14
|
-
typeof IntersectionObserver === 'function' &&
|
|
15
|
-
typeof queueMicrotask === 'function' &&
|
|
16
|
-
typeof TextEncoder === 'function' &&
|
|
17
|
-
typeof TextDecoder === 'function' &&
|
|
18
|
-
typeof customElements === 'object' &&
|
|
19
|
-
typeof HTMLDetailsElement === 'function' &&
|
|
20
|
-
typeof AbortController === 'function' &&
|
|
21
|
-
typeof AbortSignal === 'function' &&
|
|
22
|
-
'fromEntries' in Object &&
|
|
23
|
-
'entries' in FormData.prototype &&
|
|
24
|
-
'toggleAttribute' in Element.prototype &&
|
|
25
|
-
'flatMap' in Array.prototype &&
|
|
26
|
-
'replaceChildren' in Element.prototype
|
|
27
|
-
export function isSupported() {
|
|
28
|
-
return baseSupport && isObjectHasOwnSupported() && isCryptoRandomUUIDSupported() && isEventAbortSignalSupported()
|
|
29
|
-
}
|
|
30
|
-
export function isSupportedWithoutPolyfills() {
|
|
31
|
-
return (
|
|
32
|
-
baseSupport &&
|
|
33
|
-
isObjectHasOwnSupportedWithoutPolyfills() &&
|
|
34
|
-
isCryptoRandomUUIDSupportedWithoutPolyfills() &&
|
|
35
|
-
isEventAbortSignalSupportedWithoutPolyfils()
|
|
36
|
-
)
|
|
37
|
-
}
|
|
38
|
-
//# sourceMappingURL=is-supported.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"is-supported.js","sourceRoot":"","sources":["../../src/checks/is-supported.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,2BAA2B,EAAE,2CAA2C,EAAE,MAAM,kCAAkC,CAAA;AAC3H,OAAO,EAAE,2BAA2B,EAAE,0CAA0C,EAAE,MAAM,kCAAkC,CAAA;AAC1H,OAAO,EAAE,uBAAuB,EAAE,uCAAuC,EAAE,MAAM,8BAA8B,CAAA;AAE/G,MAAM,WAAW,GACb,OAAO,IAAI,KAAK,UAAU;IAC1B,OAAO,mBAAmB,KAAK,UAAU;IACzC,OAAO,IAAI,KAAK,QAAQ;IACxB,OAAO,gBAAgB,KAAK,UAAU;IACtC,OAAO,eAAe,KAAK,UAAU;IACrC,OAAO,SAAS,KAAK,UAAU;IAC/B,OAAO,oBAAoB,KAAK,UAAU;IAC1C,OAAO,cAAc,KAAK,UAAU;IACpC,OAAO,WAAW,KAAK,UAAU;IACjC,OAAO,WAAW,KAAK,UAAU;IACjC,OAAO,cAAc,KAAK,QAAQ;IAClC,OAAO,kBAAkB,KAAK,UAAU;IACxC,OAAO,eAAe,KAAK,UAAU;IACrC,OAAO,WAAW,KAAK,UAAU;IACjC,aAAa,IAAI,MAAM;IACvB,SAAS,IAAI,QAAQ,CAAC,SAAS;IAC/B,iBAAiB,IAAI,OAAO,CAAC,SAAS;IACtC,SAAS,IAAI,KAAK,CAAC,SAAS;IAC5B,iBAAiB,IAAI,OAAO,CAAC,SAAS,CAAA;AAE1C,MAAM,UAAU,WAAW;IACzB,OAAO,WAAW;QAChB,uBAAuB,EAAE;QACzB,2BAA2B,EAAE;QAC7B,2BAA2B,EAAE,CAAA;AACjC,CAAC;AAED,MAAM,UAAU,2BAA2B;IACzC,OAAO,WAAW;QACd,uCAAuC,EAAE;QACzC,2CAA2C,EAAE;QAC7C,0CAA0C,EAAE,CAAA;AAClD,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"abortsignal-abort.d.ts","sourceRoot":"","sources":["../../src/polyfills/abortsignal-abort.ts"],"names":[],"mappings":"AAAA,wBAAgB,gBAAgB,CAAC,MAAM,EAAE,OAAO,eAI/C;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,eAAe;QACvB,KAAK,CAAC,MAAM,EAAE,OAAO,GAAG,IAAI,CAAA;KAC7B;CACF"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"abortsignal-abort.js","sourceRoot":"","sources":["../../src/polyfills/abortsignal-abort.ts"],"names":[],"mappings":"AAAA,MAAM,UAAU,gBAAgB,CAAC,MAAe;IAC9C,MAAM,UAAU,GAAG,IAAI,eAAe,EAAE,CAAA;IACxC,UAAU,CAAC,KAAK,CAAC,MAAM,CAAC,CAAA;IACxB,OAAO,UAAU,CAAC,MAAM,CAAA;AAC1B,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"abortsignal-timeout.d.ts","sourceRoot":"","sources":["../../src/polyfills/abortsignal-timeout.ts"],"names":[],"mappings":"AAAA,wBAAgB,kBAAkB,CAAC,EAAE,EAAE,MAAM,eAI5C;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,eAAe;QACvB,KAAK,CAAC,MAAM,EAAE,OAAO,GAAG,IAAI,CAAA;KAC7B;CACF"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"abortsignal-timeout.js","sourceRoot":"","sources":["../../src/polyfills/abortsignal-timeout.ts"],"names":[],"mappings":"AAAA,MAAM,UAAU,kBAAkB,CAAC,EAAU;IAC3C,MAAM,UAAU,GAAG,IAAI,eAAe,EAAE,CAAA;IACxC,UAAU,CAAC,GAAG,EAAE,CAAC,UAAU,CAAC,KAAK,CAAC,IAAI,YAAY,CAAC,cAAc,CAAC,CAAC,EAAE,EAAE,CAAC,CAAA;IACxE,OAAO,UAAU,CAAC,MAAM,CAAA;AAC1B,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"crypto-uuid.d.ts","sourceRoot":"","sources":["../../src/polyfills/crypto-uuid.ts"],"names":[],"mappings":"AACA,wBAAgB,IAAI,WAUnB;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,MAAM;QACd,UAAU,IAAI,MAAM,CAAA;KACrB;CACF"}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
const random = window.crypto.getRandomValues
|
|
2
|
-
export function uuid() {
|
|
3
|
-
const buf = new Uint32Array(4)
|
|
4
|
-
random(buf)
|
|
5
|
-
let idx = -1
|
|
6
|
-
return 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g, function (c) {
|
|
7
|
-
idx++
|
|
8
|
-
const r = (buf[idx >> 3] >> ((idx % 8) * 4)) & 15
|
|
9
|
-
const v = c === 'x' ? r : (r & 0x3) | 0x8
|
|
10
|
-
return v.toString(16)
|
|
11
|
-
})
|
|
12
|
-
}
|
|
13
|
-
//# sourceMappingURL=crypto-uuid.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"crypto-uuid.js","sourceRoot":"","sources":["../../src/polyfills/crypto-uuid.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,GAAG,MAAM,CAAC,MAAM,CAAC,eAAe,CAAA;AAC5C,MAAM,UAAU,IAAI;IAClB,MAAM,GAAG,GAAG,IAAI,WAAW,CAAC,CAAC,CAAC,CAAA;IAC9B,MAAM,CAAC,GAAG,CAAC,CAAA;IACX,IAAI,GAAG,GAAG,CAAC,CAAC,CAAA;IACZ,OAAO,sCAAsC,CAAC,OAAO,CAAC,OAAO,EAAE,UAAU,CAAC;QACxE,GAAG,EAAE,CAAA;QACL,MAAM,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,IAAI,CAAC,CAAC,IAAI,CAAC,CAAC,GAAG,GAAG,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,GAAG,EAAE,CAAA;QACjD,MAAM,CAAC,GAAG,CAAC,KAAK,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG,GAAG,CAAC,GAAG,GAAG,CAAA;QACzC,OAAO,CAAC,CAAC,QAAQ,CAAC,EAAE,CAAC,CAAA;IACvB,CAAC,CAAC,CAAA;AACJ,CAAC"}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
export declare function addEventListenerWithAbortSignal(
|
|
2
|
-
this: EventTarget,
|
|
3
|
-
type: string,
|
|
4
|
-
callback: EventListenerOrEventListenerObject | null,
|
|
5
|
-
options?: AddEventListenerOptions | boolean
|
|
6
|
-
): void
|
|
7
|
-
declare global {
|
|
8
|
-
interface AddEventListenerOptions {
|
|
9
|
-
signal?: AbortSignal
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
//# sourceMappingURL=event-abortsignal.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"event-abortsignal.d.ts","sourceRoot":"","sources":["../../src/polyfills/event-abortsignal.ts"],"names":[],"mappings":"AACA,wBAAgB,+BAA+B,CAC7C,IAAI,EAAE,WAAW,EACjB,IAAI,EAAE,MAAM,EACZ,QAAQ,EAAE,kCAAkC,GAAG,IAAI,EACnD,OAAO,CAAC,EAAE,uBAAuB,GAAG,OAAO,GAC1C,IAAI,CAYN;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,uBAAuB;QAC/B,MAAM,CAAC,EAAE,WAAW,CAAA;KACrB;CACF"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
const originalAddEventListener = EventTarget.prototype.addEventListener
|
|
2
|
-
export function addEventListenerWithAbortSignal(type, callback, options) {
|
|
3
|
-
if (typeof options === 'object' && 'signal' in options && options.signal instanceof AbortSignal) {
|
|
4
|
-
if (options.signal.aborted) return
|
|
5
|
-
originalAddEventListener.call(options.signal, 'abort', () => {
|
|
6
|
-
this.removeEventListener(type, callback, options)
|
|
7
|
-
})
|
|
8
|
-
}
|
|
9
|
-
return originalAddEventListener.call(this, type, callback, options)
|
|
10
|
-
}
|
|
11
|
-
//# sourceMappingURL=event-abortsignal.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"event-abortsignal.js","sourceRoot":"","sources":["../../src/polyfills/event-abortsignal.ts"],"names":[],"mappings":"AAAA,MAAM,wBAAwB,GAAG,WAAW,CAAC,SAAS,CAAC,gBAAgB,CAAA;AACvE,MAAM,UAAU,+BAA+B,CAE7C,IAAY,EACZ,QAAmD,EACnD,OAA2C;IAE3C,IACE,OAAO,OAAO,KAAK,QAAQ;QAC3B,QAAQ,IAAI,OAAO;QACnB,OAAO,CAAC,MAAM,YAAY,WAAW,EACrC;QACA,IAAI,OAAO,CAAC,MAAM,CAAC,OAAO;YAAE,OAAM;QAClC,wBAAwB,CAAC,IAAI,CAAC,OAAO,CAAC,MAAM,EAAE,OAAO,EAAE,GAAG,EAAE;YAC1D,IAAI,CAAC,mBAAmB,CAAC,IAAI,EAAE,QAAQ,EAAE,OAAO,CAAC,CAAA;QACnD,CAAC,CAAC,CAAA;KACH;IACD,OAAO,wBAAwB,CAAC,IAAI,CAAC,IAAI,EAAE,IAAI,EAAE,QAAQ,EAAE,OAAO,CAAC,CAAA;AACrE,CAAC"}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
export declare function hasOwn(object: unknown, property: PropertyKey): boolean
|
|
2
|
-
declare global {
|
|
3
|
-
interface Object {
|
|
4
|
-
hasOwn: <Key extends PropertyKey>(object: unknown, property: Key) => object is unknown & Record<Key, unknown>
|
|
5
|
-
}
|
|
6
|
-
}
|
|
7
|
-
//# sourceMappingURL=object-hasown.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"object-hasown.d.ts","sourceRoot":"","sources":["../../src/polyfills/object-hasown.ts"],"names":[],"mappings":"AACA,wBAAgB,MAAM,CAAC,MAAM,EAAE,OAAO,EAAE,QAAQ,EAAE,WAAW,WAK5D;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,MAAM;QACd,MAAM,EAAE,CAAC,GAAG,SAAS,WAAW,EAAE,MAAM,EAAE,OAAO,EAAE,QAAQ,EAAE,GAAG,KAAK,MAAM,IAAI,OAAO,GAAG,MAAM,CAAC,GAAG,EAAE,OAAO,CAAC,CAAA;KAC9G;CACF"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
const phasOwn = Object.prototype.hasOwnProperty
|
|
2
|
-
export function hasOwn(object, property) {
|
|
3
|
-
if (object == null) {
|
|
4
|
-
throw new TypeError('Cannot convert undefined or null to object')
|
|
5
|
-
}
|
|
6
|
-
return phasOwn.call(Object(object), property)
|
|
7
|
-
}
|
|
8
|
-
//# sourceMappingURL=object-hasown.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"object-hasown.js","sourceRoot":"","sources":["../../src/polyfills/object-hasown.ts"],"names":[],"mappings":"AAAA,MAAM,OAAO,GAAG,MAAM,CAAC,SAAS,CAAC,cAAc,CAAA;AAC/C,MAAM,UAAU,MAAM,CAAC,MAAe,EAAE,QAAqB;IAC3D,IAAI,MAAM,IAAI,IAAI,EAAE;QAClB,MAAM,IAAI,SAAS,CAAC,4CAA4C,CAAC,CAAA;KAClE;IACD,OAAO,OAAO,CAAC,IAAI,CAAC,MAAM,CAAC,MAAM,CAAC,EAAE,QAAQ,CAAC,CAAA;AAC/C,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"requestidlecallback.d.ts","sourceRoot":"","sources":["../../src/polyfills/requestidlecallback.ts"],"names":[],"mappings":"AAOA,wBAAgB,mBAAmB,CAAC,QAAQ,EAAE,mBAAmB,EAAE,OAAO,GAAE,kBAAuB,GAAG,MAAM,CAkB3G;AAED,wBAAgB,kBAAkB,CAAC,EAAE,EAAE,MAAM,GAAG,IAAI,CAEnD"}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
// https://w3c.github.io/requestidlecallback/#why50
|
|
2
|
-
// "Capping idle deadlines to 50ms means that even if the user input occurs
|
|
3
|
-
// immediately after the idle task has begun, the user agent still has a
|
|
4
|
-
// remaining 50ms in which to respond to the user input without producing user
|
|
5
|
-
// perceptible lag"
|
|
6
|
-
const maxDeadline = 50
|
|
7
|
-
export function requestIdleCallback(callback, options = {}) {
|
|
8
|
-
const start = Date.now()
|
|
9
|
-
const timeout = options.timeout || 0
|
|
10
|
-
const deadline = Object.create(
|
|
11
|
-
{},
|
|
12
|
-
{
|
|
13
|
-
didTimeout: {
|
|
14
|
-
get() {
|
|
15
|
-
return Date.now() - start > timeout
|
|
16
|
-
}
|
|
17
|
-
},
|
|
18
|
-
timeRemaining: {
|
|
19
|
-
value() {
|
|
20
|
-
return Math.max(0, maxDeadline - (Date.now() - start))
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
)
|
|
25
|
-
return window.setTimeout(() => {
|
|
26
|
-
callback(deadline)
|
|
27
|
-
})
|
|
28
|
-
}
|
|
29
|
-
export function cancelIdleCallback(id) {
|
|
30
|
-
clearTimeout(id)
|
|
31
|
-
}
|
|
32
|
-
//# sourceMappingURL=requestidlecallback.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"requestidlecallback.js","sourceRoot":"","sources":["../../src/polyfills/requestidlecallback.ts"],"names":[],"mappings":"AAAA,mDAAmD;AACnD,2EAA2E;AAC3E,wEAAwE;AACxE,8EAA8E;AAC9E,mBAAmB;AACnB,MAAM,WAAW,GAAG,EAAE,CAAA;AAEtB,MAAM,UAAU,mBAAmB,CAAC,QAA6B,EAAE,UAA8B,EAAE;IACjG,MAAM,KAAK,GAAG,IAAI,CAAC,GAAG,EAAE,CAAA;IACxB,MAAM,OAAO,GAAG,OAAO,CAAC,OAAO,IAAI,CAAC,CAAA;IACpC,MAAM,QAAQ,GAAiB,MAAM,CAAC,MAAM,CAAC,EAAE,EAAE;QAC/C,UAAU,EAAE;YACV,GAAG;gBACD,OAAO,CAAC,IAAI,CAAC,GAAG,EAAE,GAAG,KAAK,CAAC,GAAG,OAAO,CAAA;YACvC,CAAC;SACF;QACD,aAAa,EAAE;YACb,KAAK;gBACH,OAAO,IAAI,CAAC,GAAG,CAAC,CAAC,EAAE,WAAW,GAAG,CAAC,IAAI,CAAC,GAAG,EAAE,GAAG,KAAK,CAAC,CAAC,CAAA;YACxD,CAAC;SACF;KACF,CAAC,CAAA;IACF,OAAO,MAAM,CAAC,UAAU,CAAC,GAAG,EAAE;QAC5B,QAAQ,CAAC,QAAQ,CAAC,CAAA;IACpB,CAAC,CAAC,CAAA;AACJ,CAAC;AAED,MAAM,UAAU,kBAAkB,CAAC,EAAU;IAC3C,YAAY,CAAC,EAAE,CAAC,CAAA;AAClB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"abortsignal-abort.d.ts","sourceRoot":"","sources":["../../src/register-polyfills/abortsignal-abort.ts"],"names":[],"mappings":""}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import {isAbortSignalAbortSupported} from 'src/checks/is-abortsignal-abort-supported'
|
|
2
|
-
import {abortSignalAbort} from 'src/polyfills/abortsignal-abort'
|
|
3
|
-
if (!isAbortSignalAbortSupported()) {
|
|
4
|
-
AbortSignal.abort = abortSignalAbort
|
|
5
|
-
}
|
|
6
|
-
//# sourceMappingURL=abortsignal-abort.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"abortsignal-abort.js","sourceRoot":"","sources":["../../src/register-polyfills/abortsignal-abort.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,2BAA2B,EAAE,MAAM,2CAA2C,CAAC;AACxF,OAAO,EAAE,gBAAgB,EAAE,MAAM,iCAAiC,CAAC;AAEnE,IAAI,CAAC,2BAA2B,EAAE,EAAE;IAClC,WAAW,CAAC,KAAK,GAAG,gBAAgB,CAAA;CACrC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"abortsignal-timeout.d.ts","sourceRoot":"","sources":["../../src/register-polyfills/abortsignal-timeout.ts"],"names":[],"mappings":""}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import {isAbortSignalTimeoutSupported} from 'src/checks/is-abortsignal-timeout-supported'
|
|
2
|
-
import {abortSignalTimeout} from 'src/polyfills/abortsignal-timeout'
|
|
3
|
-
if (!isAbortSignalTimeoutSupported()) {
|
|
4
|
-
AbortSignal.timeout = abortSignalTimeout
|
|
5
|
-
}
|
|
6
|
-
//# sourceMappingURL=abortsignal-timeout.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"abortsignal-timeout.js","sourceRoot":"","sources":["../../src/register-polyfills/abortsignal-timeout.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,6BAA6B,EAAE,MAAM,6CAA6C,CAAC;AAC5F,OAAO,EAAE,kBAAkB,EAAE,MAAM,mCAAmC,CAAC;AAEvE,IAAI,CAAC,6BAA6B,EAAE,EAAE;IACpC,WAAW,CAAC,OAAO,GAAG,kBAAkB,CAAA;CACzC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"crypto-uuid.d.ts","sourceRoot":"","sources":["../../src/register-polyfills/crypto-uuid.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"crypto-uuid.js","sourceRoot":"","sources":["../../src/register-polyfills/crypto-uuid.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,2BAA2B,EAAE,MAAM,2CAA2C,CAAC;AACxF,OAAO,EAAE,IAAI,EAAE,MAAM,2BAA2B,CAAC;AAEjD,IAAI,CAAC,2BAA2B,EAAE,EAAE;IAClC,MAAM,CAAC,UAAU,GAAG,IAAI,CAAA;CACzB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"event-abortsignal.d.ts","sourceRoot":"","sources":["../../src/register-polyfills/event-abortsignal.ts"],"names":[],"mappings":""}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import {isAbortControllerSupported} from '../checks/is-abortcontroller-supported.js'
|
|
2
|
-
import {isEventAbortSignalSupported} from '../checks/is-event-abortsignal-supported.js'
|
|
3
|
-
import {addEventListenerWithAbortSignal} from '../polyfills/event-abortsignal.js'
|
|
4
|
-
if (isAbortControllerSupported() && !isEventAbortSignalSupported()) {
|
|
5
|
-
EventTarget.prototype.addEventListener = addEventListenerWithAbortSignal
|
|
6
|
-
}
|
|
7
|
-
//# sourceMappingURL=event-abortsignal.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"event-abortsignal.js","sourceRoot":"","sources":["../../src/register-polyfills/event-abortsignal.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,0BAA0B,EAAE,MAAM,2CAA2C,CAAA;AACtF,OAAO,EAAE,2BAA2B,EAAE,MAAM,6CAA6C,CAAA;AACzF,OAAO,EAAE,+BAA+B,EAAE,MAAM,mCAAmC,CAAA;AAEnF,IAAI,0BAA0B,EAAE,IAAI,CAAC,2BAA2B,EAAE,EAAE;IAClE,WAAW,CAAC,SAAS,CAAC,gBAAgB,GAAG,+BAA+B,CAAA;CACzE"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/register-polyfills/index.ts"],"names":[],"mappings":"AAAA,OAAO,kBAAkB,CAAA;AACzB,OAAO,wBAAwB,CAAA;AAC/B,OAAO,oBAAoB,CAAA;AAC3B,OAAO,wBAAwB,CAAA;AAC/B,OAAO,0BAA0B,CAAA;AACjC,OAAO,0BAA0B,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/register-polyfills/index.ts"],"names":[],"mappings":"AAAA,OAAO,kBAAkB,CAAA;AACzB,OAAO,wBAAwB,CAAA;AAC/B,OAAO,oBAAoB,CAAA;AAC3B,OAAO,wBAAwB,CAAA;AAC/B,OAAO,0BAA0B,CAAA;AACjC,OAAO,0BAA0B,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"object-hasown.d.ts","sourceRoot":"","sources":["../../src/register-polyfills/object-hasown.ts"],"names":[],"mappings":""}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import {isObjectHasOwnSupported} from 'src/checks/is-object-hasown-supported'
|
|
2
|
-
import {hasOwn as value} from '../polyfills/object-hasown'
|
|
3
|
-
if (!isObjectHasOwnSupported()) {
|
|
4
|
-
Object.defineProperty(Object, 'hasOwn', {
|
|
5
|
-
value,
|
|
6
|
-
configurable: true,
|
|
7
|
-
writable: true
|
|
8
|
-
})
|
|
9
|
-
}
|
|
10
|
-
//# sourceMappingURL=object-hasown.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"object-hasown.js","sourceRoot":"","sources":["../../src/register-polyfills/object-hasown.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,uCAAuC,CAAC;AAChF,OAAO,EAAE,MAAM,IAAI,KAAK,EAAE,MAAM,4BAA4B,CAAC;AAE7D,IAAI,CAAC,uBAAuB,EAAE,EAAE;IAC9B,MAAM,CAAC,cAAc,CAAC,MAAM,EAAE,QAAQ,EAAE;QACtC,KAAK;QACL,YAAY,EAAE,IAAI;QAClB,QAAQ,EAAE,IAAI;KACf,CAAC,CAAA;CACH"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"requestidlecallback.d.ts","sourceRoot":"","sources":["../../src/register-polyfills/requestidlecallback.ts"],"names":[],"mappings":""}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import {cancelIdleCallback, requestIdleCallback} from 'src/polyfills/requestidlecallback'
|
|
2
|
-
if (!requestIdleCallback) {
|
|
3
|
-
globalThis.requestIdleCallback = requestIdleCallback
|
|
4
|
-
globalThis.cancelIdleCallback = cancelIdleCallback
|
|
5
|
-
}
|
|
6
|
-
//# sourceMappingURL=requestidlecallback.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"requestidlecallback.js","sourceRoot":"","sources":["../../src/register-polyfills/requestidlecallback.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,mBAAmB,EAAE,MAAM,mCAAmC,CAAC;AAE5F,IAAI,CAAC,mBAAmB,EAAE;IACxB,UAAU,CAAC,mBAAmB,GAAG,mBAAmB,CAAA;IACpD,UAAU,CAAC,kBAAkB,GAAG,kBAAkB,CAAA;CACnD"}
|
package/lib/register.d.ts
DELETED
package/lib/register.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"register.d.ts","sourceRoot":"","sources":["../src/register.ts"],"names":[],"mappings":"AAMA,wBAAgB,KAAK,SAEpB"}
|
package/lib/register.js
DELETED
package/lib/register.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"register.js","sourceRoot":"","sources":["../src/register.ts"],"names":[],"mappings":"AAMA,MAAM,UAAU,KAAK;AAErB,CAAC"}
|