@dbmx/confy 0.0.52 → 0.0.60
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/esm/components/Confy/index.js +6 -3
- package/esm/components/Confy/index.js.map +1 -1
- package/esm/lib/api/apiKeys.js +51 -0
- package/esm/lib/api/apiKeys.js.map +1 -0
- package/esm/lib/api/dataBuckets.js +18 -0
- package/esm/lib/api/dataBuckets.js.map +1 -0
- package/esm/lib/api/jobs.js +56 -0
- package/esm/lib/api/jobs.js.map +1 -0
- package/esm/lib/api/members.js +33 -0
- package/esm/lib/api/members.js.map +1 -0
- package/esm/lib/api/people.js +50 -0
- package/esm/lib/api/people.js.map +1 -0
- package/esm/lib/api/roles.js +17 -0
- package/esm/lib/api/roles.js.map +1 -0
- package/esm/lib/api/routes.js +43 -0
- package/esm/lib/api/routes.js.map +1 -0
- package/esm/lib/api/servicesMap.js +17 -0
- package/esm/lib/api/servicesMap.js.map +1 -0
- package/esm/lib/api/spaces.js +32 -0
- package/esm/lib/api/spaces.js.map +1 -0
- package/esm/lib/api/storage.js +94 -0
- package/esm/lib/api/storage.js.map +1 -0
- package/package.json +5 -5
- package/esm/_virtual/index15.js +0 -4
- package/esm/_virtual/index15.js.map +0 -1
- package/esm/_virtual/index16.js +0 -4
- package/esm/_virtual/index16.js.map +0 -1
- package/esm/node_modules/call-bind-apply-helpers/node_modules/function-bind/implementation.js +0 -66
- package/esm/node_modules/call-bind-apply-helpers/node_modules/function-bind/implementation.js.map +0 -1
- package/esm/node_modules/call-bind-apply-helpers/node_modules/function-bind/index.js +0 -7
- package/esm/node_modules/call-bind-apply-helpers/node_modules/function-bind/index.js.map +0 -1
- package/esm/node_modules/deep-equal/node_modules/has-symbols/index.js +0 -22
- package/esm/node_modules/deep-equal/node_modules/has-symbols/index.js.map +0 -1
- package/esm/node_modules/deep-equal/node_modules/has-symbols/shams.js +0 -58
- package/esm/node_modules/deep-equal/node_modules/has-symbols/shams.js.map +0 -1
- package/esm/node_modules/deep-equal/node_modules/has-tostringtag/shams.js +0 -9
- package/esm/node_modules/deep-equal/node_modules/has-tostringtag/shams.js.map +0 -1
- package/esm/node_modules/deep-equal/node_modules/is-regex/index.js +0 -53
- package/esm/node_modules/deep-equal/node_modules/is-regex/index.js.map +0 -1
- package/esm/node_modules/deep-equal/node_modules/is-regex/node_modules/call-bind/callBound.js +0 -16
- package/esm/node_modules/deep-equal/node_modules/is-regex/node_modules/call-bind/callBound.js.map +0 -1
- package/esm/node_modules/deep-equal/node_modules/is-regex/node_modules/call-bind/index.js +0 -53
- package/esm/node_modules/deep-equal/node_modules/is-regex/node_modules/call-bind/index.js.map +0 -1
- package/esm/node_modules/deep-equal/node_modules/is-regex/node_modules/get-intrinsic/index.js +0 -307
- package/esm/node_modules/deep-equal/node_modules/is-regex/node_modules/get-intrinsic/index.js.map +0 -1
- package/esm/node_modules/get-intrinsic/node_modules/function-bind/implementation.js +0 -75
- package/esm/node_modules/get-intrinsic/node_modules/function-bind/implementation.js.map +0 -1
- package/esm/node_modules/get-intrinsic/node_modules/function-bind/index.js +0 -16
- package/esm/node_modules/get-intrinsic/node_modules/function-bind/index.js.map +0 -1
- package/esm/node_modules/has/src/index.js +0 -7
- package/esm/node_modules/has/src/index.js.map +0 -1
- package/esm/node_modules/hasown/node_modules/function-bind/implementation.js +0 -75
- package/esm/node_modules/hasown/node_modules/function-bind/implementation.js.map +0 -1
- package/esm/node_modules/hasown/node_modules/function-bind/index.js +0 -16
- package/esm/node_modules/hasown/node_modules/function-bind/index.js.map +0 -1
- package/esm/node_modules/is-boolean-object/node_modules/call-bind/callBound.js +0 -16
- package/esm/node_modules/is-boolean-object/node_modules/call-bind/callBound.js.map +0 -1
- package/esm/node_modules/is-boolean-object/node_modules/call-bind/index.js +0 -53
- package/esm/node_modules/is-boolean-object/node_modules/call-bind/index.js.map +0 -1
- package/esm/node_modules/is-boolean-object/node_modules/get-intrinsic/index.js +0 -307
- package/esm/node_modules/is-boolean-object/node_modules/get-intrinsic/index.js.map +0 -1
- package/esm/node_modules/is-boolean-object/node_modules/has-symbols/index.js +0 -22
- package/esm/node_modules/is-boolean-object/node_modules/has-symbols/index.js.map +0 -1
- package/esm/node_modules/is-boolean-object/node_modules/has-symbols/shams.js +0 -67
- package/esm/node_modules/is-boolean-object/node_modules/has-symbols/shams.js.map +0 -1
- package/esm/node_modules/is-boolean-object/node_modules/has-tostringtag/shams.js +0 -18
- package/esm/node_modules/is-boolean-object/node_modules/has-tostringtag/shams.js.map +0 -1
- package/esm/node_modules/is-number-object/node_modules/has-symbols/shams.js +0 -58
- package/esm/node_modules/is-number-object/node_modules/has-symbols/shams.js.map +0 -1
- package/esm/node_modules/is-number-object/node_modules/has-tostringtag/shams.js +0 -9
- package/esm/node_modules/is-number-object/node_modules/has-tostringtag/shams.js.map +0 -1
- package/esm/node_modules/is-string/node_modules/has-symbols/shams.js +0 -58
- package/esm/node_modules/is-string/node_modules/has-symbols/shams.js.map +0 -1
- package/esm/node_modules/is-string/node_modules/has-tostringtag/shams.js +0 -9
- package/esm/node_modules/is-string/node_modules/has-tostringtag/shams.js.map +0 -1
- package/esm/node_modules/is-symbol/node_modules/has-symbols/index.js +0 -22
- package/esm/node_modules/is-symbol/node_modules/has-symbols/index.js.map +0 -1
- package/esm/node_modules/is-symbol/node_modules/has-symbols/shams.js +0 -58
- package/esm/node_modules/is-symbol/node_modules/has-symbols/shams.js.map +0 -1
- package/esm/node_modules/side-channel/node_modules/call-bind/callBound.js +0 -16
- package/esm/node_modules/side-channel/node_modules/call-bind/callBound.js.map +0 -1
- package/esm/node_modules/side-channel/node_modules/call-bind/index.js +0 -53
- package/esm/node_modules/side-channel/node_modules/call-bind/index.js.map +0 -1
- package/esm/node_modules/side-channel/node_modules/get-intrinsic/index.js +0 -307
- package/esm/node_modules/side-channel/node_modules/get-intrinsic/index.js.map +0 -1
- package/esm/node_modules/side-channel/node_modules/has-symbols/index.js +0 -22
- package/esm/node_modules/side-channel/node_modules/has-symbols/index.js.map +0 -1
- package/esm/node_modules/side-channel/node_modules/has-symbols/shams.js +0 -58
- package/esm/node_modules/side-channel/node_modules/has-symbols/shams.js.map +0 -1
- package/esm/node_modules/side-channel/node_modules/object-inspect/index.js +0 -469
- package/esm/node_modules/side-channel/node_modules/object-inspect/index.js.map +0 -1
- package/esm/node_modules/side-channel/node_modules/object-inspect/util.inspect.js +0 -6
- package/esm/node_modules/side-channel/node_modules/object-inspect/util.inspect.js.map +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"shams.js","sources":["../../../../../../../node_modules/is-number-object/node_modules/has-tostringtag/shams.js"],"sourcesContent":["'use strict';\n\nvar hasSymbols = require('has-symbols/shams');\n\nmodule.exports = function hasToStringTagShams() {\n\treturn hasSymbols() && !!Symbol.toStringTag;\n};\n"],"names":["hasSymbols","require","module","hasToStringTagShams","Symbol","toStringTag"],"mappings":";;AAEA,IAAIA,UAAU,GAAGC,OAA4B;IAE7CC,KAAc,GAAG,SAASC,mBAAmBA,GAAG;EAC/C,OAAOH,UAAU,EAAE,IAAI,CAAC,CAACI,MAAM,CAACC,WAAW;AAC5C;;;;","x_google_ignoreList":[0]}
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
/* eslint complexity: [2, 18], max-statements: [2, 33] */
|
|
2
|
-
var shams = function hasSymbols() {
|
|
3
|
-
if (typeof Symbol !== 'function' || typeof Object.getOwnPropertySymbols !== 'function') {
|
|
4
|
-
return false;
|
|
5
|
-
}
|
|
6
|
-
if (typeof Symbol.iterator === 'symbol') {
|
|
7
|
-
return true;
|
|
8
|
-
}
|
|
9
|
-
var obj = {};
|
|
10
|
-
var sym = Symbol('test');
|
|
11
|
-
var symObj = Object(sym);
|
|
12
|
-
if (typeof sym === 'string') {
|
|
13
|
-
return false;
|
|
14
|
-
}
|
|
15
|
-
if (Object.prototype.toString.call(sym) !== '[object Symbol]') {
|
|
16
|
-
return false;
|
|
17
|
-
}
|
|
18
|
-
if (Object.prototype.toString.call(symObj) !== '[object Symbol]') {
|
|
19
|
-
return false;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
// temp disabled per https://github.com/ljharb/object.assign/issues/17
|
|
23
|
-
// if (sym instanceof Symbol) { return false; }
|
|
24
|
-
// temp disabled per https://github.com/WebReflection/get-own-property-symbols/issues/4
|
|
25
|
-
// if (!(symObj instanceof Symbol)) { return false; }
|
|
26
|
-
|
|
27
|
-
// if (typeof Symbol.prototype.toString !== 'function') { return false; }
|
|
28
|
-
// if (String(sym) !== Symbol.prototype.toString.call(sym)) { return false; }
|
|
29
|
-
|
|
30
|
-
var symVal = 42;
|
|
31
|
-
obj[sym] = symVal;
|
|
32
|
-
for (sym in obj) {
|
|
33
|
-
return false;
|
|
34
|
-
} // eslint-disable-line no-restricted-syntax, no-unreachable-loop
|
|
35
|
-
if (typeof Object.keys === 'function' && Object.keys(obj).length !== 0) {
|
|
36
|
-
return false;
|
|
37
|
-
}
|
|
38
|
-
if (typeof Object.getOwnPropertyNames === 'function' && Object.getOwnPropertyNames(obj).length !== 0) {
|
|
39
|
-
return false;
|
|
40
|
-
}
|
|
41
|
-
var syms = Object.getOwnPropertySymbols(obj);
|
|
42
|
-
if (syms.length !== 1 || syms[0] !== sym) {
|
|
43
|
-
return false;
|
|
44
|
-
}
|
|
45
|
-
if (!Object.prototype.propertyIsEnumerable.call(obj, sym)) {
|
|
46
|
-
return false;
|
|
47
|
-
}
|
|
48
|
-
if (typeof Object.getOwnPropertyDescriptor === 'function') {
|
|
49
|
-
var descriptor = Object.getOwnPropertyDescriptor(obj, sym);
|
|
50
|
-
if (descriptor.value !== symVal || descriptor.enumerable !== true) {
|
|
51
|
-
return false;
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
|
-
return true;
|
|
55
|
-
};
|
|
56
|
-
|
|
57
|
-
export { shams as s };
|
|
58
|
-
//# sourceMappingURL=shams.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"shams.js","sources":["../../../../../../../node_modules/is-string/node_modules/has-symbols/shams.js"],"sourcesContent":["'use strict';\n\n/* eslint complexity: [2, 18], max-statements: [2, 33] */\nmodule.exports = function hasSymbols() {\n\tif (typeof Symbol !== 'function' || typeof Object.getOwnPropertySymbols !== 'function') { return false; }\n\tif (typeof Symbol.iterator === 'symbol') { return true; }\n\n\tvar obj = {};\n\tvar sym = Symbol('test');\n\tvar symObj = Object(sym);\n\tif (typeof sym === 'string') { return false; }\n\n\tif (Object.prototype.toString.call(sym) !== '[object Symbol]') { return false; }\n\tif (Object.prototype.toString.call(symObj) !== '[object Symbol]') { return false; }\n\n\t// temp disabled per https://github.com/ljharb/object.assign/issues/17\n\t// if (sym instanceof Symbol) { return false; }\n\t// temp disabled per https://github.com/WebReflection/get-own-property-symbols/issues/4\n\t// if (!(symObj instanceof Symbol)) { return false; }\n\n\t// if (typeof Symbol.prototype.toString !== 'function') { return false; }\n\t// if (String(sym) !== Symbol.prototype.toString.call(sym)) { return false; }\n\n\tvar symVal = 42;\n\tobj[sym] = symVal;\n\tfor (sym in obj) { return false; } // eslint-disable-line no-restricted-syntax, no-unreachable-loop\n\tif (typeof Object.keys === 'function' && Object.keys(obj).length !== 0) { return false; }\n\n\tif (typeof Object.getOwnPropertyNames === 'function' && Object.getOwnPropertyNames(obj).length !== 0) { return false; }\n\n\tvar syms = Object.getOwnPropertySymbols(obj);\n\tif (syms.length !== 1 || syms[0] !== sym) { return false; }\n\n\tif (!Object.prototype.propertyIsEnumerable.call(obj, sym)) { return false; }\n\n\tif (typeof Object.getOwnPropertyDescriptor === 'function') {\n\t\tvar descriptor = Object.getOwnPropertyDescriptor(obj, sym);\n\t\tif (descriptor.value !== symVal || descriptor.enumerable !== true) { return false; }\n\t}\n\n\treturn true;\n};\n"],"names":["module","hasSymbols","Symbol","Object","getOwnPropertySymbols","iterator","obj","sym","symObj","prototype","toString","call","symVal","keys","length","getOwnPropertyNames","syms","propertyIsEnumerable","getOwnPropertyDescriptor","descriptor","value","enumerable"],"mappings":"AAEA;IACAA,KAAc,GAAG,SAASC,UAAUA,GAAG;EACtC,IAAI,OAAOC,MAAM,KAAK,UAAU,IAAI,OAAOC,MAAM,CAACC,qBAAqB,KAAK,UAAU,EAAE;AAAE,IAAA,OAAO,KAAK;AAAE;AACxG,EAAA,IAAI,OAAOF,MAAM,CAACG,QAAQ,KAAK,QAAQ,EAAE;AAAE,IAAA,OAAO,IAAI;AAAE;EAExD,IAAIC,GAAG,GAAG,EAAE;AACZ,EAAA,IAAIC,GAAG,GAAGL,MAAM,CAAC,MAAM,CAAC;AACxB,EAAA,IAAIM,MAAM,GAAGL,MAAM,CAACI,GAAG,CAAC;AACxB,EAAA,IAAI,OAAOA,GAAG,KAAK,QAAQ,EAAE;AAAE,IAAA,OAAO,KAAK;AAAE;AAE7C,EAAA,IAAIJ,MAAM,CAACM,SAAS,CAACC,QAAQ,CAACC,IAAI,CAACJ,GAAG,CAAC,KAAK,iBAAiB,EAAE;AAAE,IAAA,OAAO,KAAK;AAAE;AAC/E,EAAA,IAAIJ,MAAM,CAACM,SAAS,CAACC,QAAQ,CAACC,IAAI,CAACH,MAAM,CAAC,KAAK,iBAAiB,EAAE;AAAE,IAAA,OAAO,KAAK;AAAE;;AAElF;AACA;AACA;AACA;;AAEA;AACA;;EAEA,IAAII,MAAM,GAAG,EAAE;AACfN,EAAAA,GAAG,CAACC,GAAG,CAAC,GAAGK,MAAM;EACjB,KAAKL,GAAG,IAAID,GAAG,EAAE;AAAE,IAAA,OAAO,KAAK;AAAE,GAAC;AAClC,EAAA,IAAI,OAAOH,MAAM,CAACU,IAAI,KAAK,UAAU,IAAIV,MAAM,CAACU,IAAI,CAACP,GAAG,CAAC,CAACQ,MAAM,KAAK,CAAC,EAAE;AAAE,IAAA,OAAO,KAAK;AAAE;AAExF,EAAA,IAAI,OAAOX,MAAM,CAACY,mBAAmB,KAAK,UAAU,IAAIZ,MAAM,CAACY,mBAAmB,CAACT,GAAG,CAAC,CAACQ,MAAM,KAAK,CAAC,EAAE;AAAE,IAAA,OAAO,KAAK;AAAE;AAEtH,EAAA,IAAIE,IAAI,GAAGb,MAAM,CAACC,qBAAqB,CAACE,GAAG,CAAC;AAC5C,EAAA,IAAIU,IAAI,CAACF,MAAM,KAAK,CAAC,IAAIE,IAAI,CAAC,CAAC,CAAC,KAAKT,GAAG,EAAE;AAAE,IAAA,OAAO,KAAK;AAAE;AAE1D,EAAA,IAAI,CAACJ,MAAM,CAACM,SAAS,CAACQ,oBAAoB,CAACN,IAAI,CAACL,GAAG,EAAEC,GAAG,CAAC,EAAE;AAAE,IAAA,OAAO,KAAK;AAAE;AAE3E,EAAA,IAAI,OAAOJ,MAAM,CAACe,wBAAwB,KAAK,UAAU,EAAE;IAC1D,IAAIC,UAAU,GAAGhB,MAAM,CAACe,wBAAwB,CAACZ,GAAG,EAAEC,GAAG,CAAC;IAC1D,IAAIY,UAAU,CAACC,KAAK,KAAKR,MAAM,IAAIO,UAAU,CAACE,UAAU,KAAK,IAAI,EAAE;AAAE,MAAA,OAAO,KAAK;AAAE;AACpF;AAEA,EAAA,OAAO,IAAI;AACZ;;;;","x_google_ignoreList":[0]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"shams.js","sources":["../../../../../../../node_modules/is-string/node_modules/has-tostringtag/shams.js"],"sourcesContent":["'use strict';\n\nvar hasSymbols = require('has-symbols/shams');\n\nmodule.exports = function hasToStringTagShams() {\n\treturn hasSymbols() && !!Symbol.toStringTag;\n};\n"],"names":["hasSymbols","require","module","hasToStringTagShams","Symbol","toStringTag"],"mappings":";;AAEA,IAAIA,UAAU,GAAGC,OAA4B;IAE7CC,KAAc,GAAG,SAASC,mBAAmBA,GAAG;EAC/C,OAAOH,UAAU,EAAE,IAAI,CAAC,CAACI,MAAM,CAACC,WAAW;AAC5C;;;;","x_google_ignoreList":[0]}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { s as shams } from './shams.js';
|
|
2
|
-
|
|
3
|
-
var origSymbol = typeof Symbol !== 'undefined' && Symbol;
|
|
4
|
-
var hasSymbolSham = shams;
|
|
5
|
-
var hasSymbols = function hasNativeSymbols() {
|
|
6
|
-
if (typeof origSymbol !== 'function') {
|
|
7
|
-
return false;
|
|
8
|
-
}
|
|
9
|
-
if (typeof Symbol !== 'function') {
|
|
10
|
-
return false;
|
|
11
|
-
}
|
|
12
|
-
if (typeof origSymbol('foo') !== 'symbol') {
|
|
13
|
-
return false;
|
|
14
|
-
}
|
|
15
|
-
if (typeof Symbol('bar') !== 'symbol') {
|
|
16
|
-
return false;
|
|
17
|
-
}
|
|
18
|
-
return hasSymbolSham();
|
|
19
|
-
};
|
|
20
|
-
|
|
21
|
-
export { hasSymbols as h };
|
|
22
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../../../../../node_modules/is-symbol/node_modules/has-symbols/index.js"],"sourcesContent":["'use strict';\n\nvar origSymbol = typeof Symbol !== 'undefined' && Symbol;\nvar hasSymbolSham = require('./shams');\n\nmodule.exports = function hasNativeSymbols() {\n\tif (typeof origSymbol !== 'function') { return false; }\n\tif (typeof Symbol !== 'function') { return false; }\n\tif (typeof origSymbol('foo') !== 'symbol') { return false; }\n\tif (typeof Symbol('bar') !== 'symbol') { return false; }\n\n\treturn hasSymbolSham();\n};\n"],"names":["origSymbol","Symbol","hasSymbolSham","require","module","hasNativeSymbols"],"mappings":";;AAEA,IAAIA,UAAU,GAAG,OAAOC,MAAM,KAAK,WAAW,IAAIA,MAAM;AACxD,IAAIC,aAAa,GAAGC,KAAkB;IAEtCC,UAAc,GAAG,SAASC,gBAAgBA,GAAG;AAC5C,EAAA,IAAI,OAAOL,UAAU,KAAK,UAAU,EAAE;AAAE,IAAA,OAAO,KAAK;AAAE;AACtD,EAAA,IAAI,OAAOC,MAAM,KAAK,UAAU,EAAE;AAAE,IAAA,OAAO,KAAK;AAAE;AAClD,EAAA,IAAI,OAAOD,UAAU,CAAC,KAAK,CAAC,KAAK,QAAQ,EAAE;AAAE,IAAA,OAAO,KAAK;AAAE;AAC3D,EAAA,IAAI,OAAOC,MAAM,CAAC,KAAK,CAAC,KAAK,QAAQ,EAAE;AAAE,IAAA,OAAO,KAAK;AAAE;EAEvD,OAAOC,aAAa,EAAE;AACvB;;;;","x_google_ignoreList":[0]}
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
/* eslint complexity: [2, 18], max-statements: [2, 33] */
|
|
2
|
-
var shams = function hasSymbols() {
|
|
3
|
-
if (typeof Symbol !== 'function' || typeof Object.getOwnPropertySymbols !== 'function') {
|
|
4
|
-
return false;
|
|
5
|
-
}
|
|
6
|
-
if (typeof Symbol.iterator === 'symbol') {
|
|
7
|
-
return true;
|
|
8
|
-
}
|
|
9
|
-
var obj = {};
|
|
10
|
-
var sym = Symbol('test');
|
|
11
|
-
var symObj = Object(sym);
|
|
12
|
-
if (typeof sym === 'string') {
|
|
13
|
-
return false;
|
|
14
|
-
}
|
|
15
|
-
if (Object.prototype.toString.call(sym) !== '[object Symbol]') {
|
|
16
|
-
return false;
|
|
17
|
-
}
|
|
18
|
-
if (Object.prototype.toString.call(symObj) !== '[object Symbol]') {
|
|
19
|
-
return false;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
// temp disabled per https://github.com/ljharb/object.assign/issues/17
|
|
23
|
-
// if (sym instanceof Symbol) { return false; }
|
|
24
|
-
// temp disabled per https://github.com/WebReflection/get-own-property-symbols/issues/4
|
|
25
|
-
// if (!(symObj instanceof Symbol)) { return false; }
|
|
26
|
-
|
|
27
|
-
// if (typeof Symbol.prototype.toString !== 'function') { return false; }
|
|
28
|
-
// if (String(sym) !== Symbol.prototype.toString.call(sym)) { return false; }
|
|
29
|
-
|
|
30
|
-
var symVal = 42;
|
|
31
|
-
obj[sym] = symVal;
|
|
32
|
-
for (sym in obj) {
|
|
33
|
-
return false;
|
|
34
|
-
} // eslint-disable-line no-restricted-syntax, no-unreachable-loop
|
|
35
|
-
if (typeof Object.keys === 'function' && Object.keys(obj).length !== 0) {
|
|
36
|
-
return false;
|
|
37
|
-
}
|
|
38
|
-
if (typeof Object.getOwnPropertyNames === 'function' && Object.getOwnPropertyNames(obj).length !== 0) {
|
|
39
|
-
return false;
|
|
40
|
-
}
|
|
41
|
-
var syms = Object.getOwnPropertySymbols(obj);
|
|
42
|
-
if (syms.length !== 1 || syms[0] !== sym) {
|
|
43
|
-
return false;
|
|
44
|
-
}
|
|
45
|
-
if (!Object.prototype.propertyIsEnumerable.call(obj, sym)) {
|
|
46
|
-
return false;
|
|
47
|
-
}
|
|
48
|
-
if (typeof Object.getOwnPropertyDescriptor === 'function') {
|
|
49
|
-
var descriptor = Object.getOwnPropertyDescriptor(obj, sym);
|
|
50
|
-
if (descriptor.value !== symVal || descriptor.enumerable !== true) {
|
|
51
|
-
return false;
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
|
-
return true;
|
|
55
|
-
};
|
|
56
|
-
|
|
57
|
-
export { shams as s };
|
|
58
|
-
//# sourceMappingURL=shams.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"shams.js","sources":["../../../../../../../node_modules/is-symbol/node_modules/has-symbols/shams.js"],"sourcesContent":["'use strict';\n\n/* eslint complexity: [2, 18], max-statements: [2, 33] */\nmodule.exports = function hasSymbols() {\n\tif (typeof Symbol !== 'function' || typeof Object.getOwnPropertySymbols !== 'function') { return false; }\n\tif (typeof Symbol.iterator === 'symbol') { return true; }\n\n\tvar obj = {};\n\tvar sym = Symbol('test');\n\tvar symObj = Object(sym);\n\tif (typeof sym === 'string') { return false; }\n\n\tif (Object.prototype.toString.call(sym) !== '[object Symbol]') { return false; }\n\tif (Object.prototype.toString.call(symObj) !== '[object Symbol]') { return false; }\n\n\t// temp disabled per https://github.com/ljharb/object.assign/issues/17\n\t// if (sym instanceof Symbol) { return false; }\n\t// temp disabled per https://github.com/WebReflection/get-own-property-symbols/issues/4\n\t// if (!(symObj instanceof Symbol)) { return false; }\n\n\t// if (typeof Symbol.prototype.toString !== 'function') { return false; }\n\t// if (String(sym) !== Symbol.prototype.toString.call(sym)) { return false; }\n\n\tvar symVal = 42;\n\tobj[sym] = symVal;\n\tfor (sym in obj) { return false; } // eslint-disable-line no-restricted-syntax, no-unreachable-loop\n\tif (typeof Object.keys === 'function' && Object.keys(obj).length !== 0) { return false; }\n\n\tif (typeof Object.getOwnPropertyNames === 'function' && Object.getOwnPropertyNames(obj).length !== 0) { return false; }\n\n\tvar syms = Object.getOwnPropertySymbols(obj);\n\tif (syms.length !== 1 || syms[0] !== sym) { return false; }\n\n\tif (!Object.prototype.propertyIsEnumerable.call(obj, sym)) { return false; }\n\n\tif (typeof Object.getOwnPropertyDescriptor === 'function') {\n\t\tvar descriptor = Object.getOwnPropertyDescriptor(obj, sym);\n\t\tif (descriptor.value !== symVal || descriptor.enumerable !== true) { return false; }\n\t}\n\n\treturn true;\n};\n"],"names":["module","hasSymbols","Symbol","Object","getOwnPropertySymbols","iterator","obj","sym","symObj","prototype","toString","call","symVal","keys","length","getOwnPropertyNames","syms","propertyIsEnumerable","getOwnPropertyDescriptor","descriptor","value","enumerable"],"mappings":"AAEA;IACAA,KAAc,GAAG,SAASC,UAAUA,GAAG;EACtC,IAAI,OAAOC,MAAM,KAAK,UAAU,IAAI,OAAOC,MAAM,CAACC,qBAAqB,KAAK,UAAU,EAAE;AAAE,IAAA,OAAO,KAAK;AAAE;AACxG,EAAA,IAAI,OAAOF,MAAM,CAACG,QAAQ,KAAK,QAAQ,EAAE;AAAE,IAAA,OAAO,IAAI;AAAE;EAExD,IAAIC,GAAG,GAAG,EAAE;AACZ,EAAA,IAAIC,GAAG,GAAGL,MAAM,CAAC,MAAM,CAAC;AACxB,EAAA,IAAIM,MAAM,GAAGL,MAAM,CAACI,GAAG,CAAC;AACxB,EAAA,IAAI,OAAOA,GAAG,KAAK,QAAQ,EAAE;AAAE,IAAA,OAAO,KAAK;AAAE;AAE7C,EAAA,IAAIJ,MAAM,CAACM,SAAS,CAACC,QAAQ,CAACC,IAAI,CAACJ,GAAG,CAAC,KAAK,iBAAiB,EAAE;AAAE,IAAA,OAAO,KAAK;AAAE;AAC/E,EAAA,IAAIJ,MAAM,CAACM,SAAS,CAACC,QAAQ,CAACC,IAAI,CAACH,MAAM,CAAC,KAAK,iBAAiB,EAAE;AAAE,IAAA,OAAO,KAAK;AAAE;;AAElF;AACA;AACA;AACA;;AAEA;AACA;;EAEA,IAAII,MAAM,GAAG,EAAE;AACfN,EAAAA,GAAG,CAACC,GAAG,CAAC,GAAGK,MAAM;EACjB,KAAKL,GAAG,IAAID,GAAG,EAAE;AAAE,IAAA,OAAO,KAAK;AAAE,GAAC;AAClC,EAAA,IAAI,OAAOH,MAAM,CAACU,IAAI,KAAK,UAAU,IAAIV,MAAM,CAACU,IAAI,CAACP,GAAG,CAAC,CAACQ,MAAM,KAAK,CAAC,EAAE;AAAE,IAAA,OAAO,KAAK;AAAE;AAExF,EAAA,IAAI,OAAOX,MAAM,CAACY,mBAAmB,KAAK,UAAU,IAAIZ,MAAM,CAACY,mBAAmB,CAACT,GAAG,CAAC,CAACQ,MAAM,KAAK,CAAC,EAAE;AAAE,IAAA,OAAO,KAAK;AAAE;AAEtH,EAAA,IAAIE,IAAI,GAAGb,MAAM,CAACC,qBAAqB,CAACE,GAAG,CAAC;AAC5C,EAAA,IAAIU,IAAI,CAACF,MAAM,KAAK,CAAC,IAAIE,IAAI,CAAC,CAAC,CAAC,KAAKT,GAAG,EAAE;AAAE,IAAA,OAAO,KAAK;AAAE;AAE1D,EAAA,IAAI,CAACJ,MAAM,CAACM,SAAS,CAACQ,oBAAoB,CAACN,IAAI,CAACL,GAAG,EAAEC,GAAG,CAAC,EAAE;AAAE,IAAA,OAAO,KAAK;AAAE;AAE3E,EAAA,IAAI,OAAOJ,MAAM,CAACe,wBAAwB,KAAK,UAAU,EAAE;IAC1D,IAAIC,UAAU,GAAGhB,MAAM,CAACe,wBAAwB,CAACZ,GAAG,EAAEC,GAAG,CAAC;IAC1D,IAAIY,UAAU,CAACC,KAAK,KAAKR,MAAM,IAAIO,UAAU,CAACE,UAAU,KAAK,IAAI,EAAE;AAAE,MAAA,OAAO,KAAK;AAAE;AACpF;AAEA,EAAA,OAAO,IAAI;AACZ;;;;","x_google_ignoreList":[0]}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { g as getIntrinsic } from '../get-intrinsic/index.js';
|
|
2
|
-
import { c as callBindExports } from './index.js';
|
|
3
|
-
|
|
4
|
-
var GetIntrinsic = getIntrinsic;
|
|
5
|
-
var callBind = callBindExports;
|
|
6
|
-
var $indexOf = callBind(GetIntrinsic('String.prototype.indexOf'));
|
|
7
|
-
var callBound = function callBoundIntrinsic(name, allowMissing) {
|
|
8
|
-
var intrinsic = GetIntrinsic(name, !!allowMissing);
|
|
9
|
-
if (typeof intrinsic === 'function' && $indexOf(name, '.prototype.') > -1) {
|
|
10
|
-
return callBind(intrinsic);
|
|
11
|
-
}
|
|
12
|
-
return intrinsic;
|
|
13
|
-
};
|
|
14
|
-
|
|
15
|
-
export { callBound as c };
|
|
16
|
-
//# sourceMappingURL=callBound.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"callBound.js","sources":["../../../../../../../node_modules/side-channel/node_modules/call-bind/callBound.js"],"sourcesContent":["'use strict';\n\nvar GetIntrinsic = require('get-intrinsic');\n\nvar callBind = require('./');\n\nvar $indexOf = callBind(GetIntrinsic('String.prototype.indexOf'));\n\nmodule.exports = function callBoundIntrinsic(name, allowMissing) {\n\tvar intrinsic = GetIntrinsic(name, !!allowMissing);\n\tif (typeof intrinsic === 'function' && $indexOf(name, '.prototype.') > -1) {\n\t\treturn callBind(intrinsic);\n\t}\n\treturn intrinsic;\n};\n"],"names":["GetIntrinsic","require","callBind","$indexOf","module","callBoundIntrinsic","name","allowMissing","intrinsic"],"mappings":";;;AAEA,IAAIA,YAAY,GAAGC,YAAwB;AAE3C,IAAIC,QAAQ,GAAGD,eAAa;AAE5B,IAAIE,QAAQ,GAAGD,QAAQ,CAACF,YAAY,CAAC,0BAA0B,CAAC,CAAC;AAEjEI,IAAAA,SAAc,GAAG,SAASC,kBAAkBA,CAACC,IAAI,EAAEC,YAAY,EAAE;EAChE,IAAIC,SAAS,GAAGR,YAAY,CAACM,IAAI,EAAE,CAAC,CAACC,YAAY,CAAC;AAClD,EAAA,IAAI,OAAOC,SAAS,KAAK,UAAU,IAAIL,QAAQ,CAACG,IAAI,EAAE,aAAa,CAAC,GAAG,EAAE,EAAE;IAC1E,OAAOJ,QAAQ,CAACM,SAAS,CAAC;AAC3B;AACA,EAAA,OAAOA,SAAS;AACjB;;;;","x_google_ignoreList":[0]}
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
import { __module as callBind } from '../../../../_virtual/index14.js';
|
|
2
|
-
import { f as functionBind } from '../../../function-bind/index.js';
|
|
3
|
-
import { g as getIntrinsic } from '../get-intrinsic/index.js';
|
|
4
|
-
|
|
5
|
-
(function (module) {
|
|
6
|
-
|
|
7
|
-
var bind = functionBind;
|
|
8
|
-
var GetIntrinsic = getIntrinsic;
|
|
9
|
-
var $apply = GetIntrinsic('%Function.prototype.apply%');
|
|
10
|
-
var $call = GetIntrinsic('%Function.prototype.call%');
|
|
11
|
-
var $reflectApply = GetIntrinsic('%Reflect.apply%', true) || bind.call($call, $apply);
|
|
12
|
-
var $gOPD = GetIntrinsic('%Object.getOwnPropertyDescriptor%', true);
|
|
13
|
-
var $defineProperty = GetIntrinsic('%Object.defineProperty%', true);
|
|
14
|
-
var $max = GetIntrinsic('%Math.max%');
|
|
15
|
-
if ($defineProperty) {
|
|
16
|
-
try {
|
|
17
|
-
$defineProperty({}, 'a', {
|
|
18
|
-
value: 1
|
|
19
|
-
});
|
|
20
|
-
} catch (e) {
|
|
21
|
-
// IE 8 has a broken defineProperty
|
|
22
|
-
$defineProperty = null;
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
module.exports = function callBind(originalFunction) {
|
|
26
|
-
var func = $reflectApply(bind, $call, arguments);
|
|
27
|
-
if ($gOPD && $defineProperty) {
|
|
28
|
-
var desc = $gOPD(func, 'length');
|
|
29
|
-
if (desc.configurable) {
|
|
30
|
-
// original length, plus the receiver, minus any additional arguments (after the receiver)
|
|
31
|
-
$defineProperty(func, 'length', {
|
|
32
|
-
value: 1 + $max(0, originalFunction.length - (arguments.length - 1))
|
|
33
|
-
});
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
return func;
|
|
37
|
-
};
|
|
38
|
-
var applyBind = function applyBind() {
|
|
39
|
-
return $reflectApply(bind, $apply, arguments);
|
|
40
|
-
};
|
|
41
|
-
if ($defineProperty) {
|
|
42
|
-
$defineProperty(module.exports, 'apply', {
|
|
43
|
-
value: applyBind
|
|
44
|
-
});
|
|
45
|
-
} else {
|
|
46
|
-
module.exports.apply = applyBind;
|
|
47
|
-
}
|
|
48
|
-
} (callBind));
|
|
49
|
-
|
|
50
|
-
var callBindExports = callBind.exports;
|
|
51
|
-
|
|
52
|
-
export { callBindExports as c };
|
|
53
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../../../../../node_modules/side-channel/node_modules/call-bind/index.js"],"sourcesContent":["'use strict';\n\nvar bind = require('function-bind');\nvar GetIntrinsic = require('get-intrinsic');\n\nvar $apply = GetIntrinsic('%Function.prototype.apply%');\nvar $call = GetIntrinsic('%Function.prototype.call%');\nvar $reflectApply = GetIntrinsic('%Reflect.apply%', true) || bind.call($call, $apply);\n\nvar $gOPD = GetIntrinsic('%Object.getOwnPropertyDescriptor%', true);\nvar $defineProperty = GetIntrinsic('%Object.defineProperty%', true);\nvar $max = GetIntrinsic('%Math.max%');\n\nif ($defineProperty) {\n\ttry {\n\t\t$defineProperty({}, 'a', { value: 1 });\n\t} catch (e) {\n\t\t// IE 8 has a broken defineProperty\n\t\t$defineProperty = null;\n\t}\n}\n\nmodule.exports = function callBind(originalFunction) {\n\tvar func = $reflectApply(bind, $call, arguments);\n\tif ($gOPD && $defineProperty) {\n\t\tvar desc = $gOPD(func, 'length');\n\t\tif (desc.configurable) {\n\t\t\t// original length, plus the receiver, minus any additional arguments (after the receiver)\n\t\t\t$defineProperty(\n\t\t\t\tfunc,\n\t\t\t\t'length',\n\t\t\t\t{ value: 1 + $max(0, originalFunction.length - (arguments.length - 1)) }\n\t\t\t);\n\t\t}\n\t}\n\treturn func;\n};\n\nvar applyBind = function applyBind() {\n\treturn $reflectApply(bind, $apply, arguments);\n};\n\nif ($defineProperty) {\n\t$defineProperty(module.exports, 'apply', { value: applyBind });\n} else {\n\tmodule.exports.apply = applyBind;\n}\n"],"names":["bind","require","GetIntrinsic","$apply","$call","$reflectApply","call","$gOPD","$defineProperty","$max","value","e","module","callBind","originalFunction","func","arguments","desc","configurable","length","applyBind","exports"],"mappings":";;;;;;CAEA,IAAIA,IAAI,GAAGC,YAAwB;CACnC,IAAIC,YAAY,GAAGD,YAAwB;AAE3C,CAAA,IAAIE,MAAM,GAAGD,YAAY,CAAC,4BAA4B,CAAC;AACvD,CAAA,IAAIE,KAAK,GAAGF,YAAY,CAAC,2BAA2B,CAAC;AACrD,CAAA,IAAIG,aAAa,GAAGH,YAAY,CAAC,iBAAiB,EAAE,IAAI,CAAC,IAAIF,IAAI,CAACM,IAAI,CAACF,KAAK,EAAED,MAAM,CAAC;AAErF,CAAA,IAAII,KAAK,GAAGL,YAAY,CAAC,mCAAmC,EAAE,IAAI,CAAC;AACnE,CAAA,IAAIM,eAAe,GAAGN,YAAY,CAAC,yBAAyB,EAAE,IAAI,CAAC;AACnE,CAAA,IAAIO,IAAI,GAAGP,YAAY,CAAC,YAAY,CAAC;AAErC,CAAA,IAAIM,eAAe,EAAE;GACpB,IAAI;AACHA,KAAAA,eAAe,CAAC,EAAE,EAAE,GAAG,EAAE;AAAEE,OAAAA,KAAK,EAAE;AAAE,MAAC,CAAC;IACtC,CAAC,OAAOC,CAAC,EAAE;AACX;KACAH,eAAe,GAAG,IAAI;AACvB;AACD;AAEAI,CAAAA,MAAAA,CAAAA,OAAAA,GAAiB,SAASC,QAAQA,CAACC,gBAAgB,EAAE;GACpD,IAAIC,IAAI,GAAGV,aAAa,CAACL,IAAI,EAAEI,KAAK,EAAEY,SAAS,CAAC;GAChD,IAAIT,KAAK,IAAIC,eAAe,EAAE;KAC7B,IAAIS,IAAI,GAAGV,KAAK,CAACQ,IAAI,EAAE,QAAQ,CAAC;KAChC,IAAIE,IAAI,CAACC,YAAY,EAAE;AACtB;AACAV,OAAAA,eAAe,CACdO,IAAI,EACJ,QAAQ,EACR;AAAEL,SAAAA,KAAK,EAAE,CAAC,GAAGD,IAAI,CAAC,CAAC,EAAEK,gBAAgB,CAACK,MAAM,IAAIH,SAAS,CAACG,MAAM,GAAG,CAAC,CAAC;AAAE,QACxE,CAAC;AACF;AACD;AACA,GAAA,OAAOJ,IAAI;EACX;AAED,CAAA,IAAIK,SAAS,GAAG,SAASA,SAASA,GAAG;GACpC,OAAOf,aAAa,CAACL,IAAI,EAAEG,MAAM,EAAEa,SAAS,CAAC;EAC7C;AAED,CAAA,IAAIR,eAAe,EAAE;AACpBA,GAAAA,eAAe,CAACI,MAAM,CAACS,OAAO,EAAE,OAAO,EAAE;AAAEX,KAAAA,KAAK,EAAEU;AAAU,IAAC,CAAC;AAC/D,EAAC,MAAM;AACNR,GAAAA,uBAAuBQ,SAAS;AACjC,EAAA;;;;;;;","x_google_ignoreList":[0]}
|
|
@@ -1,307 +0,0 @@
|
|
|
1
|
-
import { h as hasSymbols$1 } from '../has-symbols/index.js';
|
|
2
|
-
import { f as functionBind } from '../../../function-bind/index.js';
|
|
3
|
-
import { s as src } from '../../../has/src/index.js';
|
|
4
|
-
|
|
5
|
-
var undefined$1;
|
|
6
|
-
var $SyntaxError = SyntaxError;
|
|
7
|
-
var $Function = Function;
|
|
8
|
-
var $TypeError = TypeError;
|
|
9
|
-
|
|
10
|
-
// eslint-disable-next-line consistent-return
|
|
11
|
-
var getEvalledConstructor = function (expressionSyntax) {
|
|
12
|
-
try {
|
|
13
|
-
return $Function('"use strict"; return (' + expressionSyntax + ').constructor;')();
|
|
14
|
-
} catch (e) {}
|
|
15
|
-
};
|
|
16
|
-
var $gOPD = Object.getOwnPropertyDescriptor;
|
|
17
|
-
if ($gOPD) {
|
|
18
|
-
try {
|
|
19
|
-
$gOPD({}, '');
|
|
20
|
-
} catch (e) {
|
|
21
|
-
$gOPD = null; // this is IE 8, which has a broken gOPD
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
var throwTypeError = function () {
|
|
25
|
-
throw new $TypeError();
|
|
26
|
-
};
|
|
27
|
-
var ThrowTypeError = $gOPD ? function () {
|
|
28
|
-
try {
|
|
29
|
-
// eslint-disable-next-line no-unused-expressions, no-caller, no-restricted-properties
|
|
30
|
-
arguments.callee; // IE 8 does not throw here
|
|
31
|
-
return throwTypeError;
|
|
32
|
-
} catch (calleeThrows) {
|
|
33
|
-
try {
|
|
34
|
-
// IE 8 throws on Object.getOwnPropertyDescriptor(arguments, '')
|
|
35
|
-
return $gOPD(arguments, 'callee').get;
|
|
36
|
-
} catch (gOPDthrows) {
|
|
37
|
-
return throwTypeError;
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
}() : throwTypeError;
|
|
41
|
-
var hasSymbols = hasSymbols$1();
|
|
42
|
-
var getProto = Object.getPrototypeOf || function (x) {
|
|
43
|
-
return x.__proto__;
|
|
44
|
-
}; // eslint-disable-line no-proto
|
|
45
|
-
|
|
46
|
-
var needsEval = {};
|
|
47
|
-
var TypedArray = typeof Uint8Array === 'undefined' ? undefined$1 : getProto(Uint8Array);
|
|
48
|
-
var INTRINSICS = {
|
|
49
|
-
'%AggregateError%': typeof AggregateError === 'undefined' ? undefined$1 : AggregateError,
|
|
50
|
-
'%Array%': Array,
|
|
51
|
-
'%ArrayBuffer%': typeof ArrayBuffer === 'undefined' ? undefined$1 : ArrayBuffer,
|
|
52
|
-
'%ArrayIteratorPrototype%': hasSymbols ? getProto([][Symbol.iterator]()) : undefined$1,
|
|
53
|
-
'%AsyncFromSyncIteratorPrototype%': undefined$1,
|
|
54
|
-
'%AsyncFunction%': needsEval,
|
|
55
|
-
'%AsyncGenerator%': needsEval,
|
|
56
|
-
'%AsyncGeneratorFunction%': needsEval,
|
|
57
|
-
'%AsyncIteratorPrototype%': needsEval,
|
|
58
|
-
'%Atomics%': typeof Atomics === 'undefined' ? undefined$1 : Atomics,
|
|
59
|
-
'%BigInt%': typeof BigInt === 'undefined' ? undefined$1 : BigInt,
|
|
60
|
-
'%Boolean%': Boolean,
|
|
61
|
-
'%DataView%': typeof DataView === 'undefined' ? undefined$1 : DataView,
|
|
62
|
-
'%Date%': Date,
|
|
63
|
-
'%decodeURI%': decodeURI,
|
|
64
|
-
'%decodeURIComponent%': decodeURIComponent,
|
|
65
|
-
'%encodeURI%': encodeURI,
|
|
66
|
-
'%encodeURIComponent%': encodeURIComponent,
|
|
67
|
-
'%Error%': Error,
|
|
68
|
-
'%eval%': eval,
|
|
69
|
-
// eslint-disable-line no-eval
|
|
70
|
-
'%EvalError%': EvalError,
|
|
71
|
-
'%Float32Array%': typeof Float32Array === 'undefined' ? undefined$1 : Float32Array,
|
|
72
|
-
'%Float64Array%': typeof Float64Array === 'undefined' ? undefined$1 : Float64Array,
|
|
73
|
-
'%FinalizationRegistry%': typeof FinalizationRegistry === 'undefined' ? undefined$1 : FinalizationRegistry,
|
|
74
|
-
'%Function%': $Function,
|
|
75
|
-
'%GeneratorFunction%': needsEval,
|
|
76
|
-
'%Int8Array%': typeof Int8Array === 'undefined' ? undefined$1 : Int8Array,
|
|
77
|
-
'%Int16Array%': typeof Int16Array === 'undefined' ? undefined$1 : Int16Array,
|
|
78
|
-
'%Int32Array%': typeof Int32Array === 'undefined' ? undefined$1 : Int32Array,
|
|
79
|
-
'%isFinite%': isFinite,
|
|
80
|
-
'%isNaN%': isNaN,
|
|
81
|
-
'%IteratorPrototype%': hasSymbols ? getProto(getProto([][Symbol.iterator]())) : undefined$1,
|
|
82
|
-
'%JSON%': typeof JSON === 'object' ? JSON : undefined$1,
|
|
83
|
-
'%Map%': typeof Map === 'undefined' ? undefined$1 : Map,
|
|
84
|
-
'%MapIteratorPrototype%': typeof Map === 'undefined' || !hasSymbols ? undefined$1 : getProto(new Map()[Symbol.iterator]()),
|
|
85
|
-
'%Math%': Math,
|
|
86
|
-
'%Number%': Number,
|
|
87
|
-
'%Object%': Object,
|
|
88
|
-
'%parseFloat%': parseFloat,
|
|
89
|
-
'%parseInt%': parseInt,
|
|
90
|
-
'%Promise%': typeof Promise === 'undefined' ? undefined$1 : Promise,
|
|
91
|
-
'%Proxy%': typeof Proxy === 'undefined' ? undefined$1 : Proxy,
|
|
92
|
-
'%RangeError%': RangeError,
|
|
93
|
-
'%ReferenceError%': ReferenceError,
|
|
94
|
-
'%Reflect%': typeof Reflect === 'undefined' ? undefined$1 : Reflect,
|
|
95
|
-
'%RegExp%': RegExp,
|
|
96
|
-
'%Set%': typeof Set === 'undefined' ? undefined$1 : Set,
|
|
97
|
-
'%SetIteratorPrototype%': typeof Set === 'undefined' || !hasSymbols ? undefined$1 : getProto(new Set()[Symbol.iterator]()),
|
|
98
|
-
'%SharedArrayBuffer%': typeof SharedArrayBuffer === 'undefined' ? undefined$1 : SharedArrayBuffer,
|
|
99
|
-
'%String%': String,
|
|
100
|
-
'%StringIteratorPrototype%': hasSymbols ? getProto(''[Symbol.iterator]()) : undefined$1,
|
|
101
|
-
'%Symbol%': hasSymbols ? Symbol : undefined$1,
|
|
102
|
-
'%SyntaxError%': $SyntaxError,
|
|
103
|
-
'%ThrowTypeError%': ThrowTypeError,
|
|
104
|
-
'%TypedArray%': TypedArray,
|
|
105
|
-
'%TypeError%': $TypeError,
|
|
106
|
-
'%Uint8Array%': typeof Uint8Array === 'undefined' ? undefined$1 : Uint8Array,
|
|
107
|
-
'%Uint8ClampedArray%': typeof Uint8ClampedArray === 'undefined' ? undefined$1 : Uint8ClampedArray,
|
|
108
|
-
'%Uint16Array%': typeof Uint16Array === 'undefined' ? undefined$1 : Uint16Array,
|
|
109
|
-
'%Uint32Array%': typeof Uint32Array === 'undefined' ? undefined$1 : Uint32Array,
|
|
110
|
-
'%URIError%': URIError,
|
|
111
|
-
'%WeakMap%': typeof WeakMap === 'undefined' ? undefined$1 : WeakMap,
|
|
112
|
-
'%WeakRef%': typeof WeakRef === 'undefined' ? undefined$1 : WeakRef,
|
|
113
|
-
'%WeakSet%': typeof WeakSet === 'undefined' ? undefined$1 : WeakSet
|
|
114
|
-
};
|
|
115
|
-
var doEval = function doEval(name) {
|
|
116
|
-
var value;
|
|
117
|
-
if (name === '%AsyncFunction%') {
|
|
118
|
-
value = getEvalledConstructor('async function () {}');
|
|
119
|
-
} else if (name === '%GeneratorFunction%') {
|
|
120
|
-
value = getEvalledConstructor('function* () {}');
|
|
121
|
-
} else if (name === '%AsyncGeneratorFunction%') {
|
|
122
|
-
value = getEvalledConstructor('async function* () {}');
|
|
123
|
-
} else if (name === '%AsyncGenerator%') {
|
|
124
|
-
var fn = doEval('%AsyncGeneratorFunction%');
|
|
125
|
-
if (fn) {
|
|
126
|
-
value = fn.prototype;
|
|
127
|
-
}
|
|
128
|
-
} else if (name === '%AsyncIteratorPrototype%') {
|
|
129
|
-
var gen = doEval('%AsyncGenerator%');
|
|
130
|
-
if (gen) {
|
|
131
|
-
value = getProto(gen.prototype);
|
|
132
|
-
}
|
|
133
|
-
}
|
|
134
|
-
INTRINSICS[name] = value;
|
|
135
|
-
return value;
|
|
136
|
-
};
|
|
137
|
-
var LEGACY_ALIASES = {
|
|
138
|
-
'%ArrayBufferPrototype%': ['ArrayBuffer', 'prototype'],
|
|
139
|
-
'%ArrayPrototype%': ['Array', 'prototype'],
|
|
140
|
-
'%ArrayProto_entries%': ['Array', 'prototype', 'entries'],
|
|
141
|
-
'%ArrayProto_forEach%': ['Array', 'prototype', 'forEach'],
|
|
142
|
-
'%ArrayProto_keys%': ['Array', 'prototype', 'keys'],
|
|
143
|
-
'%ArrayProto_values%': ['Array', 'prototype', 'values'],
|
|
144
|
-
'%AsyncFunctionPrototype%': ['AsyncFunction', 'prototype'],
|
|
145
|
-
'%AsyncGenerator%': ['AsyncGeneratorFunction', 'prototype'],
|
|
146
|
-
'%AsyncGeneratorPrototype%': ['AsyncGeneratorFunction', 'prototype', 'prototype'],
|
|
147
|
-
'%BooleanPrototype%': ['Boolean', 'prototype'],
|
|
148
|
-
'%DataViewPrototype%': ['DataView', 'prototype'],
|
|
149
|
-
'%DatePrototype%': ['Date', 'prototype'],
|
|
150
|
-
'%ErrorPrototype%': ['Error', 'prototype'],
|
|
151
|
-
'%EvalErrorPrototype%': ['EvalError', 'prototype'],
|
|
152
|
-
'%Float32ArrayPrototype%': ['Float32Array', 'prototype'],
|
|
153
|
-
'%Float64ArrayPrototype%': ['Float64Array', 'prototype'],
|
|
154
|
-
'%FunctionPrototype%': ['Function', 'prototype'],
|
|
155
|
-
'%Generator%': ['GeneratorFunction', 'prototype'],
|
|
156
|
-
'%GeneratorPrototype%': ['GeneratorFunction', 'prototype', 'prototype'],
|
|
157
|
-
'%Int8ArrayPrototype%': ['Int8Array', 'prototype'],
|
|
158
|
-
'%Int16ArrayPrototype%': ['Int16Array', 'prototype'],
|
|
159
|
-
'%Int32ArrayPrototype%': ['Int32Array', 'prototype'],
|
|
160
|
-
'%JSONParse%': ['JSON', 'parse'],
|
|
161
|
-
'%JSONStringify%': ['JSON', 'stringify'],
|
|
162
|
-
'%MapPrototype%': ['Map', 'prototype'],
|
|
163
|
-
'%NumberPrototype%': ['Number', 'prototype'],
|
|
164
|
-
'%ObjectPrototype%': ['Object', 'prototype'],
|
|
165
|
-
'%ObjProto_toString%': ['Object', 'prototype', 'toString'],
|
|
166
|
-
'%ObjProto_valueOf%': ['Object', 'prototype', 'valueOf'],
|
|
167
|
-
'%PromisePrototype%': ['Promise', 'prototype'],
|
|
168
|
-
'%PromiseProto_then%': ['Promise', 'prototype', 'then'],
|
|
169
|
-
'%Promise_all%': ['Promise', 'all'],
|
|
170
|
-
'%Promise_reject%': ['Promise', 'reject'],
|
|
171
|
-
'%Promise_resolve%': ['Promise', 'resolve'],
|
|
172
|
-
'%RangeErrorPrototype%': ['RangeError', 'prototype'],
|
|
173
|
-
'%ReferenceErrorPrototype%': ['ReferenceError', 'prototype'],
|
|
174
|
-
'%RegExpPrototype%': ['RegExp', 'prototype'],
|
|
175
|
-
'%SetPrototype%': ['Set', 'prototype'],
|
|
176
|
-
'%SharedArrayBufferPrototype%': ['SharedArrayBuffer', 'prototype'],
|
|
177
|
-
'%StringPrototype%': ['String', 'prototype'],
|
|
178
|
-
'%SymbolPrototype%': ['Symbol', 'prototype'],
|
|
179
|
-
'%SyntaxErrorPrototype%': ['SyntaxError', 'prototype'],
|
|
180
|
-
'%TypedArrayPrototype%': ['TypedArray', 'prototype'],
|
|
181
|
-
'%TypeErrorPrototype%': ['TypeError', 'prototype'],
|
|
182
|
-
'%Uint8ArrayPrototype%': ['Uint8Array', 'prototype'],
|
|
183
|
-
'%Uint8ClampedArrayPrototype%': ['Uint8ClampedArray', 'prototype'],
|
|
184
|
-
'%Uint16ArrayPrototype%': ['Uint16Array', 'prototype'],
|
|
185
|
-
'%Uint32ArrayPrototype%': ['Uint32Array', 'prototype'],
|
|
186
|
-
'%URIErrorPrototype%': ['URIError', 'prototype'],
|
|
187
|
-
'%WeakMapPrototype%': ['WeakMap', 'prototype'],
|
|
188
|
-
'%WeakSetPrototype%': ['WeakSet', 'prototype']
|
|
189
|
-
};
|
|
190
|
-
var bind = functionBind;
|
|
191
|
-
var hasOwn = src;
|
|
192
|
-
var $concat = bind.call(Function.call, Array.prototype.concat);
|
|
193
|
-
var $spliceApply = bind.call(Function.apply, Array.prototype.splice);
|
|
194
|
-
var $replace = bind.call(Function.call, String.prototype.replace);
|
|
195
|
-
var $strSlice = bind.call(Function.call, String.prototype.slice);
|
|
196
|
-
|
|
197
|
-
/* adapted from https://github.com/lodash/lodash/blob/4.17.15/dist/lodash.js#L6735-L6744 */
|
|
198
|
-
var rePropName = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g;
|
|
199
|
-
var reEscapeChar = /\\(\\)?/g; /** Used to match backslashes in property paths. */
|
|
200
|
-
var stringToPath = function stringToPath(string) {
|
|
201
|
-
var first = $strSlice(string, 0, 1);
|
|
202
|
-
var last = $strSlice(string, -1);
|
|
203
|
-
if (first === '%' && last !== '%') {
|
|
204
|
-
throw new $SyntaxError('invalid intrinsic syntax, expected closing `%`');
|
|
205
|
-
} else if (last === '%' && first !== '%') {
|
|
206
|
-
throw new $SyntaxError('invalid intrinsic syntax, expected opening `%`');
|
|
207
|
-
}
|
|
208
|
-
var result = [];
|
|
209
|
-
$replace(string, rePropName, function (match, number, quote, subString) {
|
|
210
|
-
result[result.length] = quote ? $replace(subString, reEscapeChar, '$1') : number || match;
|
|
211
|
-
});
|
|
212
|
-
return result;
|
|
213
|
-
};
|
|
214
|
-
/* end adaptation */
|
|
215
|
-
|
|
216
|
-
var getBaseIntrinsic = function getBaseIntrinsic(name, allowMissing) {
|
|
217
|
-
var intrinsicName = name;
|
|
218
|
-
var alias;
|
|
219
|
-
if (hasOwn(LEGACY_ALIASES, intrinsicName)) {
|
|
220
|
-
alias = LEGACY_ALIASES[intrinsicName];
|
|
221
|
-
intrinsicName = '%' + alias[0] + '%';
|
|
222
|
-
}
|
|
223
|
-
if (hasOwn(INTRINSICS, intrinsicName)) {
|
|
224
|
-
var value = INTRINSICS[intrinsicName];
|
|
225
|
-
if (value === needsEval) {
|
|
226
|
-
value = doEval(intrinsicName);
|
|
227
|
-
}
|
|
228
|
-
if (typeof value === 'undefined' && !allowMissing) {
|
|
229
|
-
throw new $TypeError('intrinsic ' + name + ' exists, but is not available. Please file an issue!');
|
|
230
|
-
}
|
|
231
|
-
return {
|
|
232
|
-
alias: alias,
|
|
233
|
-
name: intrinsicName,
|
|
234
|
-
value: value
|
|
235
|
-
};
|
|
236
|
-
}
|
|
237
|
-
throw new $SyntaxError('intrinsic ' + name + ' does not exist!');
|
|
238
|
-
};
|
|
239
|
-
var getIntrinsic = function GetIntrinsic(name, allowMissing) {
|
|
240
|
-
if (typeof name !== 'string' || name.length === 0) {
|
|
241
|
-
throw new $TypeError('intrinsic name must be a non-empty string');
|
|
242
|
-
}
|
|
243
|
-
if (arguments.length > 1 && typeof allowMissing !== 'boolean') {
|
|
244
|
-
throw new $TypeError('"allowMissing" argument must be a boolean');
|
|
245
|
-
}
|
|
246
|
-
var parts = stringToPath(name);
|
|
247
|
-
var intrinsicBaseName = parts.length > 0 ? parts[0] : '';
|
|
248
|
-
var intrinsic = getBaseIntrinsic('%' + intrinsicBaseName + '%', allowMissing);
|
|
249
|
-
var intrinsicRealName = intrinsic.name;
|
|
250
|
-
var value = intrinsic.value;
|
|
251
|
-
var skipFurtherCaching = false;
|
|
252
|
-
var alias = intrinsic.alias;
|
|
253
|
-
if (alias) {
|
|
254
|
-
intrinsicBaseName = alias[0];
|
|
255
|
-
$spliceApply(parts, $concat([0, 1], alias));
|
|
256
|
-
}
|
|
257
|
-
for (var i = 1, isOwn = true; i < parts.length; i += 1) {
|
|
258
|
-
var part = parts[i];
|
|
259
|
-
var first = $strSlice(part, 0, 1);
|
|
260
|
-
var last = $strSlice(part, -1);
|
|
261
|
-
if ((first === '"' || first === "'" || first === '`' || last === '"' || last === "'" || last === '`') && first !== last) {
|
|
262
|
-
throw new $SyntaxError('property names with quotes must have matching quotes');
|
|
263
|
-
}
|
|
264
|
-
if (part === 'constructor' || !isOwn) {
|
|
265
|
-
skipFurtherCaching = true;
|
|
266
|
-
}
|
|
267
|
-
intrinsicBaseName += '.' + part;
|
|
268
|
-
intrinsicRealName = '%' + intrinsicBaseName + '%';
|
|
269
|
-
if (hasOwn(INTRINSICS, intrinsicRealName)) {
|
|
270
|
-
value = INTRINSICS[intrinsicRealName];
|
|
271
|
-
} else if (value != null) {
|
|
272
|
-
if (!(part in value)) {
|
|
273
|
-
if (!allowMissing) {
|
|
274
|
-
throw new $TypeError('base intrinsic for ' + name + ' exists, but the property is not available.');
|
|
275
|
-
}
|
|
276
|
-
return void 0;
|
|
277
|
-
}
|
|
278
|
-
if ($gOPD && i + 1 >= parts.length) {
|
|
279
|
-
var desc = $gOPD(value, part);
|
|
280
|
-
isOwn = !!desc;
|
|
281
|
-
|
|
282
|
-
// By convention, when a data property is converted to an accessor
|
|
283
|
-
// property to emulate a data property that does not suffer from
|
|
284
|
-
// the override mistake, that accessor's getter is marked with
|
|
285
|
-
// an `originalValue` property. Here, when we detect this, we
|
|
286
|
-
// uphold the illusion by pretending to see that original data
|
|
287
|
-
// property, i.e., returning the value rather than the getter
|
|
288
|
-
// itself.
|
|
289
|
-
if (isOwn && 'get' in desc && !('originalValue' in desc.get)) {
|
|
290
|
-
value = desc.get;
|
|
291
|
-
} else {
|
|
292
|
-
value = value[part];
|
|
293
|
-
}
|
|
294
|
-
} else {
|
|
295
|
-
isOwn = hasOwn(value, part);
|
|
296
|
-
value = value[part];
|
|
297
|
-
}
|
|
298
|
-
if (isOwn && !skipFurtherCaching) {
|
|
299
|
-
INTRINSICS[intrinsicRealName] = value;
|
|
300
|
-
}
|
|
301
|
-
}
|
|
302
|
-
}
|
|
303
|
-
return value;
|
|
304
|
-
};
|
|
305
|
-
|
|
306
|
-
export { getIntrinsic as g };
|
|
307
|
-
//# sourceMappingURL=index.js.map
|