@dbmx/confy 0.0.71 → 0.0.73
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/_virtual/index10.js +2 -2
- package/esm/_virtual/index11.js +2 -2
- package/esm/_virtual/index12.js +2 -2
- package/esm/_virtual/index13.js +2 -2
- package/esm/_virtual/index14.js +2 -2
- package/esm/_virtual/index8.js +2 -2
- package/esm/_virtual/index9.js +2 -2
- package/esm/lib/api/auth.js +1 -2
- package/esm/lib/api/auth.js.map +1 -1
- package/esm/lib/api/config.js +1 -2
- package/esm/lib/api/config.js.map +1 -1
- package/esm/lib/api/index.js +1 -2
- package/esm/lib/api/index.js.map +1 -1
- package/esm/node_modules/@testing-library/dom/node_modules/ansi-styles/index.js +1 -1
- package/esm/node_modules/@testing-library/dom/node_modules/react-is/index.js +1 -1
- package/esm/node_modules/aria-query/lib/index.js +1 -1
- package/esm/node_modules/call-bind/index.js +1 -1
- package/esm/node_modules/call-bind-apply-helpers/actualApply.js +2 -2
- package/esm/node_modules/call-bind-apply-helpers/actualApply.js.map +1 -1
- package/esm/node_modules/call-bind-apply-helpers/applyBind.js +2 -2
- package/esm/node_modules/call-bind-apply-helpers/applyBind.js.map +1 -1
- package/esm/node_modules/call-bind-apply-helpers/index.js +4 -4
- package/esm/node_modules/call-bind-apply-helpers/index.js.map +1 -1
- package/esm/node_modules/define-data-property/index.js +2 -2
- package/esm/node_modules/define-data-property/index.js.map +1 -1
- package/esm/node_modules/es-errors/type.js +3 -12
- package/esm/node_modules/es-errors/type.js.map +1 -1
- package/esm/node_modules/function-bind/implementation.js +93 -84
- package/esm/node_modules/function-bind/implementation.js.map +1 -1
- package/esm/node_modules/function-bind/index.js +13 -4
- package/esm/node_modules/function-bind/index.js.map +1 -1
- package/esm/node_modules/get-intrinsic/index.js +4 -4
- package/esm/node_modules/get-intrinsic/index.js.map +1 -1
- package/esm/node_modules/has-symbols/index.js +2 -2
- package/esm/node_modules/has-symbols/index.js.map +1 -1
- package/esm/node_modules/has-symbols/shams.js +34 -43
- package/esm/node_modules/has-symbols/shams.js.map +1 -1
- package/esm/node_modules/has-tostringtag/shams.js +7 -16
- package/esm/node_modules/has-tostringtag/shams.js.map +1 -1
- package/esm/node_modules/hasown/index.js +2 -2
- package/esm/node_modules/hasown/index.js.map +1 -1
- package/esm/node_modules/is-arguments/index.js +2 -2
- package/esm/node_modules/is-arguments/index.js.map +1 -1
- package/esm/node_modules/is-bigint/index.js +1 -1
- package/esm/node_modules/is-boolean-object/index.js +2 -2
- package/esm/node_modules/is-boolean-object/index.js.map +1 -1
- package/esm/node_modules/is-date-object/index.js +2 -2
- package/esm/node_modules/is-date-object/index.js.map +1 -1
- package/esm/node_modules/is-number-object/index.js +2 -2
- package/esm/node_modules/is-number-object/index.js.map +1 -1
- package/esm/node_modules/is-regex/index.js +2 -2
- package/esm/node_modules/is-regex/index.js.map +1 -1
- package/esm/node_modules/is-string/index.js +2 -2
- package/esm/node_modules/is-string/index.js.map +1 -1
- package/esm/node_modules/is-symbol/index.js +1 -1
- package/esm/node_modules/is-weakset/index.js +1 -1
- package/esm/node_modules/object-inspect/util.inspect.js +2 -2
- package/esm/node_modules/object-inspect/util.inspect.js.map +1 -1
- package/esm/node_modules/object.assign/implementation.js +2 -2
- package/esm/node_modules/object.assign/implementation.js.map +1 -1
- package/esm/node_modules/regexp.prototype.flags/implementation.js +2 -2
- package/esm/node_modules/regexp.prototype.flags/implementation.js.map +1 -1
- package/esm/node_modules/safe-regex-test/index.js +2 -2
- package/esm/node_modules/safe-regex-test/index.js.map +1 -1
- package/esm/node_modules/set-function-length/index.js +2 -2
- package/esm/node_modules/set-function-length/index.js.map +1 -1
- package/esm/node_modules/set-function-name/index.js +2 -2
- package/esm/node_modules/set-function-name/index.js.map +1 -1
- package/esm/node_modules/side-channel/index.js +2 -2
- package/esm/node_modules/side-channel/index.js.map +1 -1
- package/esm/node_modules/side-channel-list/index.js +2 -2
- package/esm/node_modules/side-channel-list/index.js.map +1 -1
- package/esm/node_modules/side-channel-map/index.js +2 -2
- package/esm/node_modules/side-channel-map/index.js.map +1 -1
- package/esm/node_modules/side-channel-weakmap/index.js +2 -2
- package/esm/node_modules/side-channel-weakmap/index.js.map +1 -1
- package/esm/node_modules/which-typed-array/index.js +2 -2
- package/esm/node_modules/which-typed-array/index.js.map +1 -1
- package/esm/store/index.js +6 -5
- package/esm/store/index.js.map +1 -1
- package/package.json +12 -3
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"implementation.js","sources":["../../../node_modules/object.assign/implementation.js"],"sourcesContent":["'use strict';\n\n// modified from https://github.com/es-shims/es6-shim\nvar objectKeys = require('object-keys');\nvar hasSymbols = require('has-symbols/shams')();\nvar callBound = require('call-bound');\nvar $Object = require('es-object-atoms');\nvar $push = callBound('Array.prototype.push');\nvar $propIsEnumerable = callBound('Object.prototype.propertyIsEnumerable');\nvar originalGetSymbols = hasSymbols ? $Object.getOwnPropertySymbols : null;\n\n// eslint-disable-next-line no-unused-vars\nmodule.exports = function assign(target, source1) {\n\tif (target == null) { throw new TypeError('target must be an object'); }\n\tvar to = $Object(target); // step 1\n\tif (arguments.length === 1) {\n\t\treturn to; // step 2\n\t}\n\tfor (var s = 1; s < arguments.length; ++s) {\n\t\tvar from = $Object(arguments[s]); // step 3.a.i\n\n\t\t// step 3.a.ii:\n\t\tvar keys = objectKeys(from);\n\t\tvar getSymbols = hasSymbols && ($Object.getOwnPropertySymbols || originalGetSymbols);\n\t\tif (getSymbols) {\n\t\t\tvar syms = getSymbols(from);\n\t\t\tfor (var j = 0; j < syms.length; ++j) {\n\t\t\t\tvar key = syms[j];\n\t\t\t\tif ($propIsEnumerable(from, key)) {\n\t\t\t\t\t$push(keys, key);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\t// step 3.a.iii:\n\t\tfor (var i = 0; i < keys.length; ++i) {\n\t\t\tvar nextKey = keys[i];\n\t\t\tif ($propIsEnumerable(from, nextKey)) { // step 3.a.iii.2\n\t\t\t\tvar propValue = from[nextKey]; // step 3.a.iii.2.a\n\t\t\t\tto[nextKey] = propValue; // step 3.a.iii.2.b\n\t\t\t}\n\t\t}\n\t}\n\n\treturn to; // step 4\n};\n"],"names":["require$$0","require$$1","require$$2","require$$3"],"mappings":";;;;;AAEA;AACA,IAAI,UAAU,GAAGA,YAAsB;AACvC,IAAI,UAAU,GAAGC,
|
|
1
|
+
{"version":3,"file":"implementation.js","sources":["../../../node_modules/object.assign/implementation.js"],"sourcesContent":["'use strict';\n\n// modified from https://github.com/es-shims/es6-shim\nvar objectKeys = require('object-keys');\nvar hasSymbols = require('has-symbols/shams')();\nvar callBound = require('call-bound');\nvar $Object = require('es-object-atoms');\nvar $push = callBound('Array.prototype.push');\nvar $propIsEnumerable = callBound('Object.prototype.propertyIsEnumerable');\nvar originalGetSymbols = hasSymbols ? $Object.getOwnPropertySymbols : null;\n\n// eslint-disable-next-line no-unused-vars\nmodule.exports = function assign(target, source1) {\n\tif (target == null) { throw new TypeError('target must be an object'); }\n\tvar to = $Object(target); // step 1\n\tif (arguments.length === 1) {\n\t\treturn to; // step 2\n\t}\n\tfor (var s = 1; s < arguments.length; ++s) {\n\t\tvar from = $Object(arguments[s]); // step 3.a.i\n\n\t\t// step 3.a.ii:\n\t\tvar keys = objectKeys(from);\n\t\tvar getSymbols = hasSymbols && ($Object.getOwnPropertySymbols || originalGetSymbols);\n\t\tif (getSymbols) {\n\t\t\tvar syms = getSymbols(from);\n\t\t\tfor (var j = 0; j < syms.length; ++j) {\n\t\t\t\tvar key = syms[j];\n\t\t\t\tif ($propIsEnumerable(from, key)) {\n\t\t\t\t\t$push(keys, key);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\t// step 3.a.iii:\n\t\tfor (var i = 0; i < keys.length; ++i) {\n\t\t\tvar nextKey = keys[i];\n\t\t\tif ($propIsEnumerable(from, nextKey)) { // step 3.a.iii.2\n\t\t\t\tvar propValue = from[nextKey]; // step 3.a.iii.2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G,CAAC,EAAE,CAAC,GAAG,IAAI,CAAC,MAAM,EAAE,EAAE,CAAC,EAAE;AACzC,IAAI,IAAI,GAAG,GAAG,IAAI,CAAC,CAAC,CAAC;AACrB,IAAI,IAAI,iBAAiB,CAAC,IAAI,EAAE,GAAG,CAAC,EAAE;AACtC,KAAK,KAAK,CAAC,IAAI,EAAE,GAAG,CAAC;AACrB,IAAA;AACA,GAAA;AACA,EAAA;;AAEA;AACA,EAAE,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,IAAI,CAAC,MAAM,EAAE,EAAE,CAAC,EAAE;AACxC,GAAG,IAAI,OAAO,GAAG,IAAI,CAAC,CAAC,CAAC;AACxB,GAAG,IAAI,iBAAiB,CAAC,IAAI,EAAE,OAAO,CAAC,EAAE;AACzC,IAAI,IAAI,SAAS,GAAG,IAAI,CAAC,OAAO,CAAC,CAAC;AAClC,IAAI,EAAE,CAAC,OAAO,CAAC,GAAG,SAAS,CAAC;AAC5B,GAAA;AACA,EAAA;AACA,CAAA;;AAEA,CAAC,OAAO,EAAE,CAAC;AACX;;;;","x_google_ignoreList":[0]}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { s as setFunctionName$1 } from '../set-function-name/index.js';
|
|
2
|
-
import {
|
|
2
|
+
import { t as type } from '../es-errors/type.js';
|
|
3
3
|
|
|
4
4
|
var setFunctionName = setFunctionName$1;
|
|
5
|
-
var $TypeError =
|
|
5
|
+
var $TypeError = type;
|
|
6
6
|
|
|
7
7
|
var $Object = Object;
|
|
8
8
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"implementation.js","sources":["../../../node_modules/regexp.prototype.flags/implementation.js"],"sourcesContent":["'use strict';\n\nvar setFunctionName = require('set-function-name');\nvar $TypeError = require('es-errors/type');\n\nvar $Object = Object;\n\nmodule.exports = setFunctionName(function flags() {\n\tif (this == null || this !== $Object(this)) {\n\t\tthrow new $TypeError('RegExp.prototype.flags getter called on non-object');\n\t}\n\tvar result = '';\n\tif (this.hasIndices) {\n\t\tresult += 'd';\n\t}\n\tif (this.global) {\n\t\tresult += 'g';\n\t}\n\tif (this.ignoreCase) {\n\t\tresult += 'i';\n\t}\n\tif (this.multiline) {\n\t\tresult += 'm';\n\t}\n\tif (this.dotAll) {\n\t\tresult += 's';\n\t}\n\tif (this.unicode) {\n\t\tresult += 'u';\n\t}\n\tif (this.unicodeSets) {\n\t\tresult += 'v';\n\t}\n\tif (this.sticky) {\n\t\tresult += 'y';\n\t}\n\treturn result;\n}, 'get flags', true);\n\n"],"names":["require$$0","require$$1"],"mappings":";;;AAEA,IAAI,eAAe,GAAGA,iBAA4B;AAClD,IAAI,UAAU,GAAGC,
|
|
1
|
+
{"version":3,"file":"implementation.js","sources":["../../../node_modules/regexp.prototype.flags/implementation.js"],"sourcesContent":["'use strict';\n\nvar setFunctionName = require('set-function-name');\nvar $TypeError = require('es-errors/type');\n\nvar $Object = Object;\n\nmodule.exports = setFunctionName(function flags() {\n\tif (this == null || this !== $Object(this)) {\n\t\tthrow new $TypeError('RegExp.prototype.flags getter called on non-object');\n\t}\n\tvar result = '';\n\tif (this.hasIndices) {\n\t\tresult += 'd';\n\t}\n\tif (this.global) {\n\t\tresult += 'g';\n\t}\n\tif (this.ignoreCase) {\n\t\tresult += 'i';\n\t}\n\tif (this.multiline) {\n\t\tresult += 'm';\n\t}\n\tif (this.dotAll) {\n\t\tresult += 's';\n\t}\n\tif (this.unicode) {\n\t\tresult += 'u';\n\t}\n\tif (this.unicodeSets) {\n\t\tresult += 'v';\n\t}\n\tif (this.sticky) {\n\t\tresult += 'y';\n\t}\n\treturn result;\n}, 'get flags', true);\n\n"],"names":["require$$0","require$$1"],"mappings":";;;AAEA,IAAI,eAAe,GAAGA,iBAA4B;AAClD,IAAI,UAAU,GAAGC,IAAyB;;AAE1C,IAAI,OAAO,GAAG,MAAM;;AAEpB,IAAA,cAAc,GAAG,eAAe,CAAC,SAAS,KAAK,GAAG;AAClD,CAAC,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,KAAK,OAAO,CAAC,IAAI,CAAC,EAAE;AAC7C,EAAE,MAAM,IAAI,UAAU,CAAC,oDAAoD,CAAC;AAC5E,CAAA;AACA,CAAC,IAAI,MAAM,GAAG,EAAE;AAChB,CAAC,IAAI,IAAI,CAAC,UAAU,EAAE;AACtB,EAAE,MAAM,IAAI,GAAG;AACf,CAAA;AACA,CAAC,IAAI,IAAI,CAAC,MAAM,EAAE;AAClB,EAAE,MAAM,IAAI,GAAG;AACf,CAAA;AACA,CAAC,IAAI,IAAI,CAAC,UAAU,EAAE;AACtB,EAAE,MAAM,IAAI,GAAG;AACf,CAAA;AACA,CAAC,IAAI,IAAI,CAAC,SAAS,EAAE;AACrB,EAAE,MAAM,IAAI,GAAG;AACf,CAAA;AACA,CAAC,IAAI,IAAI,CAAC,MAAM,EAAE;AAClB,EAAE,MAAM,IAAI,GAAG;AACf,CAAA;AACA,CAAC,IAAI,IAAI,CAAC,OAAO,EAAE;AACnB,EAAE,MAAM,IAAI,GAAG;AACf,CAAA;AACA,CAAC,IAAI,IAAI,CAAC,WAAW,EAAE;AACvB,EAAE,MAAM,IAAI,GAAG;AACf,CAAA;AACA,CAAC,IAAI,IAAI,CAAC,MAAM,EAAE;AAClB,EAAE,MAAM,IAAI,GAAG;AACf,CAAA;AACA,CAAC,OAAO,MAAM;AACd,CAAC,EAAE,WAAW,EAAE,IAAI;;;;","x_google_ignoreList":[0]}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { c as callBound } from '../call-bound/index.js';
|
|
2
2
|
import { i as isRegex } from '../is-regex/index.js';
|
|
3
|
-
import {
|
|
3
|
+
import { t as type } from '../es-errors/type.js';
|
|
4
4
|
|
|
5
5
|
var safeRegexTest;
|
|
6
6
|
var hasRequiredSafeRegexTest;
|
|
@@ -13,7 +13,7 @@ function requireSafeRegexTest () {
|
|
|
13
13
|
var isRegex$1 = isRegex;
|
|
14
14
|
|
|
15
15
|
var $exec = callBound$1('RegExp.prototype.exec');
|
|
16
|
-
var $TypeError =
|
|
16
|
+
var $TypeError = type;
|
|
17
17
|
|
|
18
18
|
/** @type {import('.')} */
|
|
19
19
|
safeRegexTest = function regexTester(regex) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../node_modules/safe-regex-test/index.js"],"sourcesContent":["'use strict';\n\nvar callBound = require('call-bound');\nvar isRegex = require('is-regex');\n\nvar $exec = callBound('RegExp.prototype.exec');\nvar $TypeError = require('es-errors/type');\n\n/** @type {import('.')} */\nmodule.exports = function regexTester(regex) {\n\tif (!isRegex(regex)) {\n\t\tthrow new $TypeError('`regex` must be a RegExp');\n\t}\n\treturn function test(s) {\n\t\treturn $exec(regex, s) !== null;\n\t};\n};\n"],"names":["callBound","require$$0","isRegex","require$$1","require$$2"],"mappings":";;;;;;;;;;;CAEA,IAAIA,WAAS,GAAGC,SAAqB;CACrC,IAAIC,SAAO,GAAGC,OAAmB;;AAEjC,CAAA,IAAI,KAAK,GAAGH,WAAS,CAAC,uBAAuB,CAAC;CAC9C,IAAI,UAAU,GAAGI,
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../node_modules/safe-regex-test/index.js"],"sourcesContent":["'use strict';\n\nvar callBound = require('call-bound');\nvar isRegex = require('is-regex');\n\nvar $exec = callBound('RegExp.prototype.exec');\nvar $TypeError = require('es-errors/type');\n\n/** @type {import('.')} */\nmodule.exports = function regexTester(regex) {\n\tif (!isRegex(regex)) {\n\t\tthrow new $TypeError('`regex` must be a RegExp');\n\t}\n\treturn function test(s) {\n\t\treturn $exec(regex, s) !== null;\n\t};\n};\n"],"names":["callBound","require$$0","isRegex","require$$1","require$$2"],"mappings":";;;;;;;;;;;CAEA,IAAIA,WAAS,GAAGC,SAAqB;CACrC,IAAIC,SAAO,GAAGC,OAAmB;;AAEjC,CAAA,IAAI,KAAK,GAAGH,WAAS,CAAC,uBAAuB,CAAC;CAC9C,IAAI,UAAU,GAAGI,IAAyB;;AAE1C;AACA,CAAA,aAAc,GAAG,SAAS,WAAW,CAAC,KAAK,EAAE;AAC7C,EAAC,IAAI,CAACF,SAAO,CAAC,KAAK,CAAC,EAAE;AACtB,GAAE,MAAM,IAAI,UAAU,CAAC,0BAA0B,CAAC;AAClD,EAAA;AACA,EAAC,OAAO,SAAS,IAAI,CAAC,CAAC,EAAE;GACvB,OAAO,KAAK,CAAC,KAAK,EAAE,CAAC,CAAC,KAAK,IAAI;EACjC,CAAE;CACF,CAAC;;;;;;","x_google_ignoreList":[0]}
|
|
@@ -2,14 +2,14 @@ import { g as getIntrinsic } from '../get-intrinsic/index.js';
|
|
|
2
2
|
import { d as defineDataProperty } from '../define-data-property/index.js';
|
|
3
3
|
import { h as hasPropertyDescriptors_1 } from '../has-property-descriptors/index.js';
|
|
4
4
|
import { g as gopd } from '../gopd/index.js';
|
|
5
|
-
import {
|
|
5
|
+
import { t as type } from '../es-errors/type.js';
|
|
6
6
|
|
|
7
7
|
var GetIntrinsic = getIntrinsic;
|
|
8
8
|
var define = defineDataProperty;
|
|
9
9
|
var hasDescriptors = hasPropertyDescriptors_1();
|
|
10
10
|
var gOPD = gopd;
|
|
11
11
|
|
|
12
|
-
var $TypeError =
|
|
12
|
+
var $TypeError = type;
|
|
13
13
|
var $floor = GetIntrinsic('%Math.floor%');
|
|
14
14
|
|
|
15
15
|
/** @type {import('.')} */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../node_modules/set-function-length/index.js"],"sourcesContent":["'use strict';\n\nvar GetIntrinsic = require('get-intrinsic');\nvar define = require('define-data-property');\nvar hasDescriptors = require('has-property-descriptors')();\nvar gOPD = require('gopd');\n\nvar $TypeError = require('es-errors/type');\nvar $floor = GetIntrinsic('%Math.floor%');\n\n/** @type {import('.')} */\nmodule.exports = function setFunctionLength(fn, length) {\n\tif (typeof fn !== 'function') {\n\t\tthrow new $TypeError('`fn` is not a function');\n\t}\n\tif (typeof length !== 'number' || length < 0 || length > 0xFFFFFFFF || $floor(length) !== length) {\n\t\tthrow new $TypeError('`length` must be a positive 32-bit integer');\n\t}\n\n\tvar loose = arguments.length > 2 && !!arguments[2];\n\n\tvar functionLengthIsConfigurable = true;\n\tvar functionLengthIsWritable = true;\n\tif ('length' in fn && gOPD) {\n\t\tvar desc = gOPD(fn, 'length');\n\t\tif (desc && !desc.configurable) {\n\t\t\tfunctionLengthIsConfigurable = false;\n\t\t}\n\t\tif (desc && !desc.writable) {\n\t\t\tfunctionLengthIsWritable = false;\n\t\t}\n\t}\n\n\tif (functionLengthIsConfigurable || functionLengthIsWritable || !loose) {\n\t\tif (hasDescriptors) {\n\t\t\tdefine(/** @type {Parameters<define>[0]} */ (fn), 'length', length, true, true);\n\t\t} else {\n\t\t\tdefine(/** @type {Parameters<define>[0]} */ (fn), 'length', length);\n\t\t}\n\t}\n\treturn fn;\n};\n"],"names":["require$$0","require$$1","require$$2","require$$3","require$$4"],"mappings":";;;;;;AAEA,IAAI,YAAY,GAAGA,YAAwB;AAC3C,IAAI,MAAM,GAAGC,kBAA+B;AAC5C,IAAI,cAAc,GAAGC,wBAAmC,EAAE;AAC1D,IAAI,IAAI,GAAGC,IAAe;;AAE1B,IAAI,UAAU,GAAGC,
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../node_modules/set-function-length/index.js"],"sourcesContent":["'use strict';\n\nvar GetIntrinsic = require('get-intrinsic');\nvar define = require('define-data-property');\nvar hasDescriptors = require('has-property-descriptors')();\nvar gOPD = require('gopd');\n\nvar $TypeError = require('es-errors/type');\nvar $floor = GetIntrinsic('%Math.floor%');\n\n/** @type {import('.')} */\nmodule.exports = function setFunctionLength(fn, length) {\n\tif (typeof fn !== 'function') {\n\t\tthrow new $TypeError('`fn` is not a function');\n\t}\n\tif (typeof length !== 'number' || length < 0 || length > 0xFFFFFFFF || $floor(length) !== length) {\n\t\tthrow new $TypeError('`length` must be a positive 32-bit integer');\n\t}\n\n\tvar loose = arguments.length > 2 && !!arguments[2];\n\n\tvar functionLengthIsConfigurable = true;\n\tvar functionLengthIsWritable = true;\n\tif ('length' in fn && gOPD) {\n\t\tvar desc = gOPD(fn, 'length');\n\t\tif (desc && !desc.configurable) {\n\t\t\tfunctionLengthIsConfigurable = false;\n\t\t}\n\t\tif (desc && !desc.writable) {\n\t\t\tfunctionLengthIsWritable = false;\n\t\t}\n\t}\n\n\tif (functionLengthIsConfigurable || functionLengthIsWritable || !loose) {\n\t\tif (hasDescriptors) {\n\t\t\tdefine(/** @type {Parameters<define>[0]} */ (fn), 'length', length, true, true);\n\t\t} else {\n\t\t\tdefine(/** @type {Parameters<define>[0]} */ (fn), 'length', length);\n\t\t}\n\t}\n\treturn fn;\n};\n"],"names":["require$$0","require$$1","require$$2","require$$3","require$$4"],"mappings":";;;;;;AAEA,IAAI,YAAY,GAAGA,YAAwB;AAC3C,IAAI,MAAM,GAAGC,kBAA+B;AAC5C,IAAI,cAAc,GAAGC,wBAAmC,EAAE;AAC1D,IAAI,IAAI,GAAGC,IAAe;;AAE1B,IAAI,UAAU,GAAGC,IAAyB;AAC1C,IAAI,MAAM,GAAG,YAAY,CAAC,cAAc,CAAC;;AAEzC;AACA,IAAA,iBAAc,GAAG,SAAS,iBAAiB,CAAC,EAAE,EAAE,MAAM,EAAE;AACxD,CAAC,IAAI,OAAO,EAAE,KAAK,UAAU,EAAE;AAC/B,EAAE,MAAM,IAAI,UAAU,CAAC,wBAAwB,CAAC;AAChD,CAAA;AACA,CAAC,IAAI,OAAO,MAAM,KAAK,QAAQ,IAAI,MAAM,GAAG,CAAC,IAAI,MAAM,GAAG,UAAU,IAAI,MAAM,CAAC,MAAM,CAAC,KAAK,MAAM,EAAE;AACnG,EAAE,MAAM,IAAI,UAAU,CAAC,4CAA4C,CAAC;AACpE,CAAA;;AAEA,CAAC,IAAI,KAAK,GAAG,SAAS,CAAC,MAAM,GAAG,CAAC,IAAI,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC;;AAEnD,CAAC,IAAI,4BAA4B,GAAG,IAAI;AACxC,CAAC,IAAI,wBAAwB,GAAG,IAAI;AACpC,CAAC,IAAI,QAAQ,IAAI,EAAE,IAAI,IAAI,EAAE;AAC7B,EAAE,IAAI,IAAI,GAAG,IAAI,CAAC,EAAE,EAAE,QAAQ,CAAC;AAC/B,EAAE,IAAI,IAAI,IAAI,CAAC,IAAI,CAAC,YAAY,EAAE;AAClC,GAAG,4BAA4B,GAAG,KAAK;AACvC,EAAA;AACA,EAAE,IAAI,IAAI,IAAI,CAAC,IAAI,CAAC,QAAQ,EAAE;AAC9B,GAAG,wBAAwB,GAAG,KAAK;AACnC,EAAA;AACA,CAAA;;AAEA,CAAC,IAAI,4BAA4B,IAAI,wBAAwB,IAAI,CAAC,KAAK,EAAE;AACzE,EAAE,IAAI,cAAc,EAAE;AACtB,GAAG,MAAM,uCAAuC,EAAE,GAAG,QAAQ,EAAE,MAAM,EAAE,IAAI,EAAE,IAAI,CAAC;AAClF,EAAA,CAAG,MAAM;AACT,GAAG,MAAM,uCAAuC,EAAE,GAAG,QAAQ,EAAE,MAAM,CAAC;AACtE,EAAA;AACA,CAAA;AACA,CAAC,OAAO,EAAE;AACV;;;;","x_google_ignoreList":[0]}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { d as defineDataProperty } from '../define-data-property/index.js';
|
|
2
2
|
import { h as hasPropertyDescriptors_1 } from '../has-property-descriptors/index.js';
|
|
3
3
|
import { f as functionsHaveNames_1 } from '../functions-have-names/index.js';
|
|
4
|
-
import {
|
|
4
|
+
import { t as type } from '../es-errors/type.js';
|
|
5
5
|
|
|
6
6
|
var define = defineDataProperty;
|
|
7
7
|
var hasDescriptors = hasPropertyDescriptors_1();
|
|
8
8
|
var functionsHaveConfigurableNames = functionsHaveNames_1.functionsHaveConfigurableNames();
|
|
9
9
|
|
|
10
|
-
var $TypeError =
|
|
10
|
+
var $TypeError = type;
|
|
11
11
|
|
|
12
12
|
/** @type {import('.')} */
|
|
13
13
|
var setFunctionName = function setFunctionName(fn, name) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../node_modules/set-function-name/index.js"],"sourcesContent":["'use strict';\n\nvar define = require('define-data-property');\nvar hasDescriptors = require('has-property-descriptors')();\nvar functionsHaveConfigurableNames = require('functions-have-names').functionsHaveConfigurableNames();\n\nvar $TypeError = require('es-errors/type');\n\n/** @type {import('.')} */\nmodule.exports = function setFunctionName(fn, name) {\n\tif (typeof fn !== 'function') {\n\t\tthrow new $TypeError('`fn` is not a function');\n\t}\n\tvar loose = arguments.length > 2 && !!arguments[2];\n\tif (!loose || functionsHaveConfigurableNames) {\n\t\tif (hasDescriptors) {\n\t\t\tdefine(/** @type {Parameters<define>[0]} */ (fn), 'name', name, true, true);\n\t\t} else {\n\t\t\tdefine(/** @type {Parameters<define>[0]} */ (fn), 'name', name);\n\t\t}\n\t}\n\treturn fn;\n};\n"],"names":["require$$0","require$$1","require$$2","require$$3"],"mappings":";;;;;AAEA,IAAI,MAAM,GAAGA,kBAA+B;AAC5C,IAAI,cAAc,GAAGC,wBAAmC,EAAE;AAC1D,IAAI,8BAA8B,GAAGC,oBAA+B,CAAC,8BAA8B,EAAE;;AAErG,IAAI,UAAU,GAAGC,
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../node_modules/set-function-name/index.js"],"sourcesContent":["'use strict';\n\nvar define = require('define-data-property');\nvar hasDescriptors = require('has-property-descriptors')();\nvar functionsHaveConfigurableNames = require('functions-have-names').functionsHaveConfigurableNames();\n\nvar $TypeError = require('es-errors/type');\n\n/** @type {import('.')} */\nmodule.exports = function setFunctionName(fn, name) {\n\tif (typeof fn !== 'function') {\n\t\tthrow new $TypeError('`fn` is not a function');\n\t}\n\tvar loose = arguments.length > 2 && !!arguments[2];\n\tif (!loose || functionsHaveConfigurableNames) {\n\t\tif (hasDescriptors) {\n\t\t\tdefine(/** @type {Parameters<define>[0]} */ (fn), 'name', name, true, true);\n\t\t} else {\n\t\t\tdefine(/** @type {Parameters<define>[0]} */ (fn), 'name', name);\n\t\t}\n\t}\n\treturn fn;\n};\n"],"names":["require$$0","require$$1","require$$2","require$$3"],"mappings":";;;;;AAEA,IAAI,MAAM,GAAGA,kBAA+B;AAC5C,IAAI,cAAc,GAAGC,wBAAmC,EAAE;AAC1D,IAAI,8BAA8B,GAAGC,oBAA+B,CAAC,8BAA8B,EAAE;;AAErG,IAAI,UAAU,GAAGC,IAAyB;;AAE1C;AACA,IAAA,eAAc,GAAG,SAAS,eAAe,CAAC,EAAE,EAAE,IAAI,EAAE;AACpD,CAAC,IAAI,OAAO,EAAE,KAAK,UAAU,EAAE;AAC/B,EAAE,MAAM,IAAI,UAAU,CAAC,wBAAwB,CAAC;AAChD,CAAA;AACA,CAAC,IAAI,KAAK,GAAG,SAAS,CAAC,MAAM,GAAG,CAAC,IAAI,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC;AACnD,CAAC,IAAI,CAAC,KAAK,IAAI,8BAA8B,EAAE;AAC/C,EAAE,IAAI,cAAc,EAAE;AACtB,GAAG,MAAM,uCAAuC,EAAE,GAAG,MAAM,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,CAAC;AAC9E,EAAA,CAAG,MAAM;AACT,GAAG,MAAM,uCAAuC,EAAE,GAAG,MAAM,EAAE,IAAI,CAAC;AAClE,EAAA;AACA,CAAA;AACA,CAAC,OAAO,EAAE;AACV;;;;","x_google_ignoreList":[0]}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { t as type } from '../es-errors/type.js';
|
|
2
2
|
import { o as objectInspect } from '../object-inspect/index.js';
|
|
3
3
|
import { s as sideChannelList } from '../side-channel-list/index.js';
|
|
4
4
|
import { s as sideChannelMap } from '../side-channel-map/index.js';
|
|
5
5
|
import { s as sideChannelWeakmap } from '../side-channel-weakmap/index.js';
|
|
6
6
|
|
|
7
|
-
var $TypeError =
|
|
7
|
+
var $TypeError = type;
|
|
8
8
|
var inspect = objectInspect;
|
|
9
9
|
var getSideChannelList = sideChannelList;
|
|
10
10
|
var getSideChannelMap = sideChannelMap;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../node_modules/side-channel/index.js"],"sourcesContent":["'use strict';\n\nvar $TypeError = require('es-errors/type');\nvar inspect = require('object-inspect');\nvar getSideChannelList = require('side-channel-list');\nvar getSideChannelMap = require('side-channel-map');\nvar getSideChannelWeakMap = require('side-channel-weakmap');\n\nvar makeChannel = getSideChannelWeakMap || getSideChannelMap || getSideChannelList;\n\n/** @type {import('.')} */\nmodule.exports = function getSideChannel() {\n\t/** @typedef {ReturnType<typeof getSideChannel>} Channel */\n\n\t/** @type {Channel | undefined} */ var $channelData;\n\n\t/** @type {Channel} */\n\tvar channel = {\n\t\tassert: function (key) {\n\t\t\tif (!channel.has(key)) {\n\t\t\t\tthrow new $TypeError('Side channel does not contain ' + inspect(key));\n\t\t\t}\n\t\t},\n\t\t'delete': function (key) {\n\t\t\treturn !!$channelData && $channelData['delete'](key);\n\t\t},\n\t\tget: function (key) {\n\t\t\treturn $channelData && $channelData.get(key);\n\t\t},\n\t\thas: function (key) {\n\t\t\treturn !!$channelData && $channelData.has(key);\n\t\t},\n\t\tset: function (key, value) {\n\t\t\tif (!$channelData) {\n\t\t\t\t$channelData = makeChannel();\n\t\t\t}\n\n\t\t\t$channelData.set(key, value);\n\t\t}\n\t};\n\t// @ts-expect-error TODO: figure out why this is erroring\n\treturn channel;\n};\n"],"names":["require$$0","require$$1","require$$2","require$$3","require$$4"],"mappings":";;;;;;AAEA,IAAI,UAAU,GAAGA,
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../node_modules/side-channel/index.js"],"sourcesContent":["'use strict';\n\nvar $TypeError = require('es-errors/type');\nvar inspect = require('object-inspect');\nvar getSideChannelList = require('side-channel-list');\nvar getSideChannelMap = require('side-channel-map');\nvar getSideChannelWeakMap = require('side-channel-weakmap');\n\nvar makeChannel = getSideChannelWeakMap || getSideChannelMap || getSideChannelList;\n\n/** @type {import('.')} */\nmodule.exports = function getSideChannel() {\n\t/** @typedef {ReturnType<typeof getSideChannel>} Channel */\n\n\t/** @type {Channel | undefined} */ var $channelData;\n\n\t/** @type {Channel} */\n\tvar channel = {\n\t\tassert: function (key) {\n\t\t\tif (!channel.has(key)) {\n\t\t\t\tthrow new $TypeError('Side channel does not contain ' + inspect(key));\n\t\t\t}\n\t\t},\n\t\t'delete': function (key) {\n\t\t\treturn !!$channelData && $channelData['delete'](key);\n\t\t},\n\t\tget: function (key) {\n\t\t\treturn $channelData && $channelData.get(key);\n\t\t},\n\t\thas: function (key) {\n\t\t\treturn !!$channelData && $channelData.has(key);\n\t\t},\n\t\tset: function (key, value) {\n\t\t\tif (!$channelData) {\n\t\t\t\t$channelData = makeChannel();\n\t\t\t}\n\n\t\t\t$channelData.set(key, value);\n\t\t}\n\t};\n\t// @ts-expect-error TODO: figure out why this is erroring\n\treturn channel;\n};\n"],"names":["require$$0","require$$1","require$$2","require$$3","require$$4"],"mappings":";;;;;;AAEA,IAAI,UAAU,GAAGA,IAAyB;AAC1C,IAAI,OAAO,GAAGC,aAAyB;AACvC,IAAI,kBAAkB,GAAGC,eAA4B;AACrD,IAAI,iBAAiB,GAAGC,cAA2B;AACnD,IAAI,qBAAqB,GAAGC,kBAA+B;;AAE3D,IAAI,WAAW,GAAG,qBAAqB,IAAI,iBAAiB,IAAI,kBAAkB;;AAElF;IACA,WAAc,GAAG,SAAS,cAAc,GAAG;AAC3C;;AAEA,oCAAoC,IAAI,YAAY;;AAEpD;AACA,CAAC,IAAI,OAAO,GAAG;AACf,EAAE,MAAM,EAAE,UAAU,GAAG,EAAE;AACzB,GAAG,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,GAAG,CAAC,EAAE;AAC1B,IAAI,MAAM,IAAI,UAAU,CAAC,gCAAgC,GAAG,OAAO,CAAC,GAAG,CAAC,CAAC;AACzE,GAAA;AACA,EAAA,CAAG;AACH,EAAE,QAAQ,EAAE,UAAU,GAAG,EAAE;AAC3B,GAAG,OAAO,CAAC,CAAC,YAAY,IAAI,YAAY,CAAC,QAAQ,CAAC,CAAC,GAAG,CAAC;AACvD,EAAA,CAAG;AACH,EAAE,GAAG,EAAE,UAAU,GAAG,EAAE;AACtB,GAAG,OAAO,YAAY,IAAI,YAAY,CAAC,GAAG,CAAC,GAAG,CAAC;AAC/C,EAAA,CAAG;AACH,EAAE,GAAG,EAAE,UAAU,GAAG,EAAE;AACtB,GAAG,OAAO,CAAC,CAAC,YAAY,IAAI,YAAY,CAAC,GAAG,CAAC,GAAG,CAAC;AACjD,EAAA,CAAG;AACH,EAAE,GAAG,EAAE,UAAU,GAAG,EAAE,KAAK,EAAE;AAC7B,GAAG,IAAI,CAAC,YAAY,EAAE;AACtB,IAAI,YAAY,GAAG,WAAW,EAAE;AAChC,GAAA;;AAEA,GAAG,YAAY,CAAC,GAAG,CAAC,GAAG,EAAE,KAAK,CAAC;AAC/B,EAAA;AACA,EAAE;AACF;AACA,CAAC,OAAO,OAAO;AACf;;;;","x_google_ignoreList":[0]}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { o as objectInspect } from '../object-inspect/index.js';
|
|
2
|
-
import {
|
|
2
|
+
import { t as type } from '../es-errors/type.js';
|
|
3
3
|
|
|
4
4
|
var inspect = objectInspect;
|
|
5
5
|
|
|
6
|
-
var $TypeError =
|
|
6
|
+
var $TypeError = type;
|
|
7
7
|
|
|
8
8
|
/*
|
|
9
9
|
* This function traverses the list returning the node corresponding to the given key.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../node_modules/side-channel-list/index.js"],"sourcesContent":["'use strict';\n\nvar inspect = require('object-inspect');\n\nvar $TypeError = require('es-errors/type');\n\n/*\n* This function traverses the list returning the node corresponding to the given key.\n*\n* That node is also moved to the head of the list, so that if it's accessed again we don't need to traverse the whole list.\n* By doing so, all the recently used nodes can be accessed relatively quickly.\n*/\n/** @type {import('./list.d.ts').listGetNode} */\n// eslint-disable-next-line consistent-return\nvar listGetNode = function (list, key, isDelete) {\n\t/** @type {typeof list | NonNullable<(typeof list)['next']>} */\n\tvar prev = list;\n\t/** @type {(typeof list)['next']} */\n\tvar curr;\n\t// eslint-disable-next-line eqeqeq\n\tfor (; (curr = prev.next) != null; prev = curr) {\n\t\tif (curr.key === key) {\n\t\t\tprev.next = curr.next;\n\t\t\tif (!isDelete) {\n\t\t\t\t// eslint-disable-next-line no-extra-parens\n\t\t\t\tcurr.next = /** @type {NonNullable<typeof list.next>} */ (list.next);\n\t\t\t\tlist.next = curr; // eslint-disable-line no-param-reassign\n\t\t\t}\n\t\t\treturn curr;\n\t\t}\n\t}\n};\n\n/** @type {import('./list.d.ts').listGet} */\nvar listGet = function (objects, key) {\n\tif (!objects) {\n\t\treturn void undefined;\n\t}\n\tvar node = listGetNode(objects, key);\n\treturn node && node.value;\n};\n/** @type {import('./list.d.ts').listSet} */\nvar listSet = function (objects, key, value) {\n\tvar node = listGetNode(objects, key);\n\tif (node) {\n\t\tnode.value = value;\n\t} else {\n\t\t// Prepend the new node to the beginning of the list\n\t\tobjects.next = /** @type {import('./list.d.ts').ListNode<typeof value, typeof key>} */ ({ // eslint-disable-line no-param-reassign, no-extra-parens\n\t\t\tkey: key,\n\t\t\tnext: objects.next,\n\t\t\tvalue: value\n\t\t});\n\t}\n};\n/** @type {import('./list.d.ts').listHas} */\nvar listHas = function (objects, key) {\n\tif (!objects) {\n\t\treturn false;\n\t}\n\treturn !!listGetNode(objects, key);\n};\n/** @type {import('./list.d.ts').listDelete} */\n// eslint-disable-next-line consistent-return\nvar listDelete = function (objects, key) {\n\tif (objects) {\n\t\treturn listGetNode(objects, key, true);\n\t}\n};\n\n/** @type {import('.')} */\nmodule.exports = function getSideChannelList() {\n\t/** @typedef {ReturnType<typeof getSideChannelList>} Channel */\n\t/** @typedef {Parameters<Channel['get']>[0]} K */\n\t/** @typedef {Parameters<Channel['set']>[1]} V */\n\n\t/** @type {import('./list.d.ts').RootNode<V, K> | undefined} */ var $o;\n\n\t/** @type {Channel} */\n\tvar channel = {\n\t\tassert: function (key) {\n\t\t\tif (!channel.has(key)) {\n\t\t\t\tthrow new $TypeError('Side channel does not contain ' + inspect(key));\n\t\t\t}\n\t\t},\n\t\t'delete': function (key) {\n\t\t\tvar root = $o && $o.next;\n\t\t\tvar deletedNode = listDelete($o, key);\n\t\t\tif (deletedNode && root && root === deletedNode) {\n\t\t\t\t$o = void undefined;\n\t\t\t}\n\t\t\treturn !!deletedNode;\n\t\t},\n\t\tget: function (key) {\n\t\t\treturn listGet($o, key);\n\t\t},\n\t\thas: function (key) {\n\t\t\treturn listHas($o, key);\n\t\t},\n\t\tset: function (key, value) {\n\t\t\tif (!$o) {\n\t\t\t\t// Initialize the linked list as an empty node, so that we don't have to special-case handling of the first node: we can always refer to it as (previous node).next, instead of something like (list).head\n\t\t\t\t$o = {\n\t\t\t\t\tnext: void undefined\n\t\t\t\t};\n\t\t\t}\n\t\t\t// eslint-disable-next-line no-extra-parens\n\t\t\tlistSet(/** @type {NonNullable<typeof $o>} */ ($o), key, value);\n\t\t}\n\t};\n\t// @ts-expect-error TODO: figure out why this is erroring\n\treturn channel;\n};\n"],"names":["require$$0","require$$1"],"mappings":";;;AAEA,IAAI,OAAO,GAAGA,aAAyB;;AAEvC,IAAI,UAAU,GAAGC,
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../node_modules/side-channel-list/index.js"],"sourcesContent":["'use strict';\n\nvar inspect = require('object-inspect');\n\nvar $TypeError = require('es-errors/type');\n\n/*\n* This function traverses the list returning the node corresponding to the given key.\n*\n* That node is also moved to the head of the list, so that if it's accessed again we don't need to traverse the whole list.\n* By doing so, all the recently used nodes can be accessed relatively quickly.\n*/\n/** @type {import('./list.d.ts').listGetNode} */\n// eslint-disable-next-line consistent-return\nvar listGetNode = function (list, key, isDelete) {\n\t/** @type {typeof list | NonNullable<(typeof list)['next']>} */\n\tvar prev = list;\n\t/** @type {(typeof list)['next']} */\n\tvar curr;\n\t// eslint-disable-next-line eqeqeq\n\tfor (; (curr = prev.next) != null; prev = curr) {\n\t\tif (curr.key === key) {\n\t\t\tprev.next = curr.next;\n\t\t\tif (!isDelete) {\n\t\t\t\t// eslint-disable-next-line no-extra-parens\n\t\t\t\tcurr.next = /** @type {NonNullable<typeof list.next>} */ (list.next);\n\t\t\t\tlist.next = curr; // eslint-disable-line no-param-reassign\n\t\t\t}\n\t\t\treturn curr;\n\t\t}\n\t}\n};\n\n/** @type {import('./list.d.ts').listGet} */\nvar listGet = function (objects, key) {\n\tif (!objects) {\n\t\treturn void undefined;\n\t}\n\tvar node = listGetNode(objects, key);\n\treturn node && node.value;\n};\n/** @type {import('./list.d.ts').listSet} */\nvar listSet = function (objects, key, value) {\n\tvar node = listGetNode(objects, key);\n\tif (node) {\n\t\tnode.value = value;\n\t} else {\n\t\t// Prepend the new node to the beginning of the list\n\t\tobjects.next = /** @type {import('./list.d.ts').ListNode<typeof value, typeof key>} */ ({ // eslint-disable-line no-param-reassign, no-extra-parens\n\t\t\tkey: key,\n\t\t\tnext: objects.next,\n\t\t\tvalue: value\n\t\t});\n\t}\n};\n/** @type {import('./list.d.ts').listHas} */\nvar listHas = function (objects, key) {\n\tif (!objects) {\n\t\treturn false;\n\t}\n\treturn !!listGetNode(objects, key);\n};\n/** @type {import('./list.d.ts').listDelete} */\n// eslint-disable-next-line consistent-return\nvar listDelete = function (objects, key) {\n\tif (objects) {\n\t\treturn listGetNode(objects, key, true);\n\t}\n};\n\n/** @type {import('.')} */\nmodule.exports = function getSideChannelList() {\n\t/** @typedef {ReturnType<typeof getSideChannelList>} Channel */\n\t/** @typedef {Parameters<Channel['get']>[0]} K */\n\t/** @typedef {Parameters<Channel['set']>[1]} V */\n\n\t/** @type {import('./list.d.ts').RootNode<V, K> | undefined} */ var $o;\n\n\t/** @type {Channel} */\n\tvar channel = {\n\t\tassert: function (key) {\n\t\t\tif (!channel.has(key)) {\n\t\t\t\tthrow new $TypeError('Side channel does not contain ' + inspect(key));\n\t\t\t}\n\t\t},\n\t\t'delete': function (key) {\n\t\t\tvar root = $o && $o.next;\n\t\t\tvar deletedNode = listDelete($o, key);\n\t\t\tif (deletedNode && root && root === deletedNode) {\n\t\t\t\t$o = void undefined;\n\t\t\t}\n\t\t\treturn !!deletedNode;\n\t\t},\n\t\tget: function (key) {\n\t\t\treturn listGet($o, key);\n\t\t},\n\t\thas: function (key) {\n\t\t\treturn listHas($o, key);\n\t\t},\n\t\tset: function (key, value) {\n\t\t\tif (!$o) {\n\t\t\t\t// Initialize the linked list as an empty node, so that we don't have to special-case handling of the first node: we can always refer to it as (previous node).next, instead of something like (list).head\n\t\t\t\t$o = {\n\t\t\t\t\tnext: void undefined\n\t\t\t\t};\n\t\t\t}\n\t\t\t// eslint-disable-next-line no-extra-parens\n\t\t\tlistSet(/** @type {NonNullable<typeof $o>} */ ($o), key, value);\n\t\t}\n\t};\n\t// @ts-expect-error TODO: figure out why this is erroring\n\treturn channel;\n};\n"],"names":["require$$0","require$$1"],"mappings":";;;AAEA,IAAI,OAAO,GAAGA,aAAyB;;AAEvC,IAAI,UAAU,GAAGC,IAAyB;;AAE1C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI,WAAW,GAAG,UAAU,IAAI,EAAE,GAAG,EAAE,QAAQ,EAAE;AACjD;AACA,CAAC,IAAI,IAAI,GAAG,IAAI;AAChB;AACA,CAAC,IAAI,IAAI;AACT;AACA,CAAC,OAAO,CAAC,IAAI,GAAG,IAAI,CAAC,IAAI,KAAK,IAAI,EAAE,IAAI,GAAG,IAAI,EAAE;AACjD,EAAE,IAAI,IAAI,CAAC,GAAG,KAAK,GAAG,EAAE;AACxB,GAAG,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC,IAAI;AACxB,GAAG,IAAI,CAAC,QAAQ,EAAE;AAClB;AACA,IAAI,IAAI,CAAC,IAAI,iDAAiD,IAAI,CAAC,IAAI,CAAC;AACxE,IAAI,IAAI,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import { c as callBound$1 } from '../call-bound/index.js';
|
|
3
3
|
import { o as objectInspect } from '../object-inspect/index.js';
|
|
4
|
-
import {
|
|
4
|
+
import { t as type } from '../es-errors/type.js';
|
|
5
5
|
|
|
6
6
|
var GetIntrinsic = getIntrinsic;
|
|
7
7
|
var callBound = callBound$1;
|
|
8
8
|
var inspect = objectInspect;
|
|
9
9
|
|
|
10
|
-
var $TypeError =
|
|
10
|
+
var $TypeError = type;
|
|
11
11
|
var $Map = GetIntrinsic('%Map%', true);
|
|
12
12
|
|
|
13
13
|
/** @type {<K, V>(thisArg: Map<K, V>, key: K) => V} */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../node_modules/side-channel-map/index.js"],"sourcesContent":["'use strict';\n\nvar GetIntrinsic = require('get-intrinsic');\nvar callBound = require('call-bound');\nvar inspect = require('object-inspect');\n\nvar $TypeError = require('es-errors/type');\nvar $Map = GetIntrinsic('%Map%', true);\n\n/** @type {<K, V>(thisArg: Map<K, V>, key: K) => V} */\nvar $mapGet = callBound('Map.prototype.get', true);\n/** @type {<K, V>(thisArg: Map<K, V>, key: K, value: V) => void} */\nvar $mapSet = callBound('Map.prototype.set', true);\n/** @type {<K, V>(thisArg: Map<K, V>, key: K) => boolean} */\nvar $mapHas = callBound('Map.prototype.has', true);\n/** @type {<K, V>(thisArg: Map<K, V>, key: K) => boolean} */\nvar $mapDelete = callBound('Map.prototype.delete', true);\n/** @type {<K, V>(thisArg: Map<K, V>) => number} */\nvar $mapSize = callBound('Map.prototype.size', true);\n\n/** @type {import('.')} */\nmodule.exports = !!$Map && /** @type {Exclude<import('.'), false>} */ function getSideChannelMap() {\n\t/** @typedef {ReturnType<typeof getSideChannelMap>} Channel */\n\t/** @typedef {Parameters<Channel['get']>[0]} K */\n\t/** @typedef {Parameters<Channel['set']>[1]} V */\n\n\t/** @type {Map<K, V> | undefined} */ var $m;\n\n\t/** @type {Channel} */\n\tvar channel = {\n\t\tassert: function (key) {\n\t\t\tif (!channel.has(key)) {\n\t\t\t\tthrow new $TypeError('Side channel does not contain ' + inspect(key));\n\t\t\t}\n\t\t},\n\t\t'delete': function (key) {\n\t\t\tif ($m) {\n\t\t\t\tvar result = $mapDelete($m, key);\n\t\t\t\tif ($mapSize($m) === 0) {\n\t\t\t\t\t$m = void undefined;\n\t\t\t\t}\n\t\t\t\treturn result;\n\t\t\t}\n\t\t\treturn false;\n\t\t},\n\t\tget: function (key) { // eslint-disable-line consistent-return\n\t\t\tif ($m) {\n\t\t\t\treturn $mapGet($m, key);\n\t\t\t}\n\t\t},\n\t\thas: function (key) {\n\t\t\tif ($m) {\n\t\t\t\treturn $mapHas($m, key);\n\t\t\t}\n\t\t\treturn false;\n\t\t},\n\t\tset: function (key, value) {\n\t\t\tif (!$m) {\n\t\t\t\t// @ts-expect-error TS can't handle narrowing a variable inside a closure\n\t\t\t\t$m = new $Map();\n\t\t\t}\n\t\t\t$mapSet($m, key, value);\n\t\t}\n\t};\n\n\t// @ts-expect-error TODO: figure out why TS is erroring here\n\treturn channel;\n};\n"],"names":["require$$0","require$$1","require$$2","require$$3"],"mappings":";;;;;AAEA,IAAI,YAAY,GAAGA,YAAwB;AAC3C,IAAI,SAAS,GAAGC,WAAqB;AACrC,IAAI,OAAO,GAAGC,aAAyB;;AAEvC,IAAI,UAAU,GAAGC,
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../node_modules/side-channel-map/index.js"],"sourcesContent":["'use strict';\n\nvar GetIntrinsic = require('get-intrinsic');\nvar callBound = require('call-bound');\nvar inspect = require('object-inspect');\n\nvar $TypeError = require('es-errors/type');\nvar $Map = GetIntrinsic('%Map%', true);\n\n/** @type {<K, V>(thisArg: Map<K, V>, key: K) => V} */\nvar $mapGet = callBound('Map.prototype.get', true);\n/** @type {<K, V>(thisArg: Map<K, V>, key: K, value: V) => void} */\nvar $mapSet = callBound('Map.prototype.set', true);\n/** @type {<K, V>(thisArg: Map<K, V>, key: K) => boolean} */\nvar $mapHas = callBound('Map.prototype.has', true);\n/** @type {<K, V>(thisArg: Map<K, V>, key: K) => boolean} */\nvar $mapDelete = callBound('Map.prototype.delete', true);\n/** @type {<K, V>(thisArg: Map<K, V>) => number} */\nvar $mapSize = callBound('Map.prototype.size', true);\n\n/** @type {import('.')} */\nmodule.exports = !!$Map && /** @type {Exclude<import('.'), false>} */ function getSideChannelMap() {\n\t/** @typedef {ReturnType<typeof getSideChannelMap>} Channel */\n\t/** @typedef {Parameters<Channel['get']>[0]} K */\n\t/** @typedef {Parameters<Channel['set']>[1]} V */\n\n\t/** @type {Map<K, V> | undefined} */ var $m;\n\n\t/** @type {Channel} */\n\tvar channel = {\n\t\tassert: function (key) {\n\t\t\tif (!channel.has(key)) {\n\t\t\t\tthrow new $TypeError('Side channel does not contain ' + inspect(key));\n\t\t\t}\n\t\t},\n\t\t'delete': function (key) {\n\t\t\tif ($m) {\n\t\t\t\tvar result = $mapDelete($m, key);\n\t\t\t\tif ($mapSize($m) === 0) {\n\t\t\t\t\t$m = void undefined;\n\t\t\t\t}\n\t\t\t\treturn result;\n\t\t\t}\n\t\t\treturn false;\n\t\t},\n\t\tget: function (key) { // eslint-disable-line consistent-return\n\t\t\tif ($m) {\n\t\t\t\treturn $mapGet($m, key);\n\t\t\t}\n\t\t},\n\t\thas: function (key) {\n\t\t\tif ($m) {\n\t\t\t\treturn $mapHas($m, key);\n\t\t\t}\n\t\t\treturn false;\n\t\t},\n\t\tset: function (key, value) {\n\t\t\tif (!$m) {\n\t\t\t\t// @ts-expect-error TS can't handle narrowing a variable inside a closure\n\t\t\t\t$m = new $Map();\n\t\t\t}\n\t\t\t$mapSet($m, key, value);\n\t\t}\n\t};\n\n\t// @ts-expect-error TODO: figure out why TS is erroring here\n\treturn channel;\n};\n"],"names":["require$$0","require$$1","require$$2","require$$3"],"mappings":";;;;;AAEA,IAAI,YAAY,GAAGA,YAAwB;AAC3C,IAAI,SAAS,GAAGC,WAAqB;AACrC,IAAI,OAAO,GAAGC,aAAy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,CAAC,EAAE,EAAE,GAAG,CAAC;AAC3B,GAAA;AACA,EAAA,CAAG;AACH,EAAE,GAAG,EAAE,UAAU,GAAG,EAAE;AACtB,GAAG,IAAI,EAAE,EAAE;AACX,IAAI,OAAO,OAAO,CAAC,EAAE,EAAE,GAAG,CAAC;AAC3B,GAAA;AACA,GAAG,OAAO,KAAK;AACf,EAAA,CAAG;AACH,EAAE,GAAG,EAAE,UAAU,GAAG,EAAE,KAAK,EAAE;AAC7B,GAAG,IAAI,CAAC,EAAE,EAAE;AACZ;AACA,IAAI,EAAE,GAAG,IAAI,IAAI,EAAE;AACnB,GAAA;AACA,GAAG,OAAO,CAAC,EAAE,EAAE,GAAG,EAAE,KAAK,CAAC;AAC1B,EAAA;AACA,EAAE;;AAEF;AACA,CAAC,OAAO,OAAO;AACf;;;;","x_google_ignoreList":[0]}
|
|
@@ -2,14 +2,14 @@ import { g as getIntrinsic } from '../get-intrinsic/index.js';
|
|
|
2
2
|
import { c as callBound$1 } from '../call-bound/index.js';
|
|
3
3
|
import { o as objectInspect } from '../object-inspect/index.js';
|
|
4
4
|
import { s as sideChannelMap } from '../side-channel-map/index.js';
|
|
5
|
-
import {
|
|
5
|
+
import { t as type } from '../es-errors/type.js';
|
|
6
6
|
|
|
7
7
|
var GetIntrinsic = getIntrinsic;
|
|
8
8
|
var callBound = callBound$1;
|
|
9
9
|
var inspect = objectInspect;
|
|
10
10
|
var getSideChannelMap = sideChannelMap;
|
|
11
11
|
|
|
12
|
-
var $TypeError =
|
|
12
|
+
var $TypeError = type;
|
|
13
13
|
var $WeakMap = GetIntrinsic('%WeakMap%', true);
|
|
14
14
|
|
|
15
15
|
/** @type {<K extends object, V>(thisArg: WeakMap<K, V>, key: K) => V} */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../node_modules/side-channel-weakmap/index.js"],"sourcesContent":["'use strict';\n\nvar GetIntrinsic = require('get-intrinsic');\nvar callBound = require('call-bound');\nvar inspect = require('object-inspect');\nvar getSideChannelMap = require('side-channel-map');\n\nvar $TypeError = require('es-errors/type');\nvar $WeakMap = GetIntrinsic('%WeakMap%', true);\n\n/** @type {<K extends object, V>(thisArg: WeakMap<K, V>, key: K) => V} */\nvar $weakMapGet = callBound('WeakMap.prototype.get', true);\n/** @type {<K extends object, V>(thisArg: WeakMap<K, V>, key: K, value: V) => void} */\nvar $weakMapSet = callBound('WeakMap.prototype.set', true);\n/** @type {<K extends object, V>(thisArg: WeakMap<K, V>, key: K) => boolean} */\nvar $weakMapHas = callBound('WeakMap.prototype.has', true);\n/** @type {<K extends object, V>(thisArg: WeakMap<K, V>, key: K) => boolean} */\nvar $weakMapDelete = callBound('WeakMap.prototype.delete', true);\n\n/** @type {import('.')} */\nmodule.exports = $WeakMap\n\t? /** @type {Exclude<import('.'), false>} */ function getSideChannelWeakMap() {\n\t\t/** @typedef {ReturnType<typeof getSideChannelWeakMap>} Channel */\n\t\t/** @typedef {Parameters<Channel['get']>[0]} K */\n\t\t/** @typedef {Parameters<Channel['set']>[1]} V */\n\n\t\t/** @type {WeakMap<K & object, V> | undefined} */ var $wm;\n\t\t/** @type {Channel | undefined} */ var $m;\n\n\t\t/** @type {Channel} */\n\t\tvar channel = {\n\t\t\tassert: function (key) {\n\t\t\t\tif (!channel.has(key)) {\n\t\t\t\t\tthrow new $TypeError('Side channel does not contain ' + inspect(key));\n\t\t\t\t}\n\t\t\t},\n\t\t\t'delete': function (key) {\n\t\t\t\tif ($WeakMap && key && (typeof key === 'object' || typeof key === 'function')) {\n\t\t\t\t\tif ($wm) {\n\t\t\t\t\t\treturn $weakMapDelete($wm, key);\n\t\t\t\t\t}\n\t\t\t\t} else if (getSideChannelMap) {\n\t\t\t\t\tif ($m) {\n\t\t\t\t\t\treturn $m['delete'](key);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\treturn false;\n\t\t\t},\n\t\t\tget: function (key) {\n\t\t\t\tif ($WeakMap && key && (typeof key === 'object' || typeof key === 'function')) {\n\t\t\t\t\tif ($wm) {\n\t\t\t\t\t\treturn $weakMapGet($wm, key);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\treturn $m && $m.get(key);\n\t\t\t},\n\t\t\thas: function (key) {\n\t\t\t\tif ($WeakMap && key && (typeof key === 'object' || typeof key === 'function')) {\n\t\t\t\t\tif ($wm) {\n\t\t\t\t\t\treturn $weakMapHas($wm, key);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\treturn !!$m && $m.has(key);\n\t\t\t},\n\t\t\tset: function (key, value) {\n\t\t\t\tif ($WeakMap && key && (typeof key === 'object' || typeof key === 'function')) {\n\t\t\t\t\tif (!$wm) {\n\t\t\t\t\t\t$wm = new $WeakMap();\n\t\t\t\t\t}\n\t\t\t\t\t$weakMapSet($wm, key, value);\n\t\t\t\t} else if (getSideChannelMap) {\n\t\t\t\t\tif (!$m) {\n\t\t\t\t\t\t$m = getSideChannelMap();\n\t\t\t\t\t}\n\t\t\t\t\t// eslint-disable-next-line no-extra-parens\n\t\t\t\t\t/** @type {NonNullable<typeof $m>} */ ($m).set(key, value);\n\t\t\t\t}\n\t\t\t}\n\t\t};\n\n\t\t// @ts-expect-error TODO: figure out why this is erroring\n\t\treturn channel;\n\t}\n\t: getSideChannelMap;\n"],"names":["require$$0","require$$1","require$$2","require$$3","require$$4"],"mappings":";;;;;;AAEA,IAAI,YAAY,GAAGA,YAAwB;AAC3C,IAAI,SAAS,GAAGC,WAAqB;AACrC,IAAI,OAAO,GAAGC,aAAyB;AACvC,IAAI,iBAAiB,GAAGC,cAA2B;;AAEnD,IAAI,UAAU,GAAGC,
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../node_modules/side-channel-weakmap/index.js"],"sourcesContent":["'use strict';\n\nvar GetIntrinsic = require('get-intrinsic');\nvar callBound = require('call-bound');\nvar inspect = require('object-inspect');\nvar getSideChannelMap = require('side-channel-map');\n\nvar $TypeError = require('es-errors/type');\nvar $WeakMap = GetIntrinsic('%WeakMap%', true);\n\n/** @type {<K extends object, V>(thisArg: WeakMap<K, V>, key: K) => V} */\nvar $weakMapGet = callBound('WeakMap.prototype.get', true);\n/** @type {<K extends object, V>(thisArg: WeakMap<K, V>, key: K, value: V) => void} */\nvar $weakMapSet = callBound('WeakMap.prototype.set', true);\n/** @type {<K extends object, V>(thisArg: WeakMap<K, V>, key: K) => boolean} */\nvar $weakMapHas = callBound('WeakMap.prototype.has', true);\n/** @type {<K extends object, V>(thisArg: WeakMap<K, V>, key: K) => boolean} */\nvar $weakMapDelete = callBound('WeakMap.prototype.delete', true);\n\n/** @type {import('.')} */\nmodule.exports = $WeakMap\n\t? /** @type {Exclude<import('.'), false>} */ function getSideChannelWeakMap() {\n\t\t/** @typedef {ReturnType<typeof getSideChannelWeakMap>} Channel */\n\t\t/** @typedef {Parameters<Channel['get']>[0]} K */\n\t\t/** @typedef {Parameters<Channel['set']>[1]} V */\n\n\t\t/** @type {WeakMap<K & object, V> | undefined} */ var $wm;\n\t\t/** @type {Channel | undefined} */ var $m;\n\n\t\t/** @type {Channel} */\n\t\tvar channel = {\n\t\t\tassert: function (key) {\n\t\t\t\tif (!channel.has(key)) {\n\t\t\t\t\tthrow new $TypeError('Side channel does not contain ' + inspect(key));\n\t\t\t\t}\n\t\t\t},\n\t\t\t'delete': function (key) {\n\t\t\t\tif ($WeakMap && key && (typeof key === 'object' || typeof key === 'function')) {\n\t\t\t\t\tif ($wm) {\n\t\t\t\t\t\treturn $weakMapDelete($wm, key);\n\t\t\t\t\t}\n\t\t\t\t} else if (getSideChannelMap) {\n\t\t\t\t\tif ($m) {\n\t\t\t\t\t\treturn $m['delete'](key);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\treturn false;\n\t\t\t},\n\t\t\tget: function (key) {\n\t\t\t\tif ($WeakMap && key && (typeof key === 'object' || typeof key === 'function')) {\n\t\t\t\t\tif ($wm) {\n\t\t\t\t\t\treturn $weakMapGet($wm, key);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\treturn $m && $m.get(key);\n\t\t\t},\n\t\t\thas: function (key) {\n\t\t\t\tif ($WeakMap && key && (typeof key === 'object' || typeof key === 'function')) {\n\t\t\t\t\tif ($wm) {\n\t\t\t\t\t\treturn $weakMapHas($wm, key);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\treturn !!$m && $m.has(key);\n\t\t\t},\n\t\t\tset: function (key, value) {\n\t\t\t\tif ($WeakMap && key && (typeof key === 'object' || typeof key === 'function')) {\n\t\t\t\t\tif (!$wm) {\n\t\t\t\t\t\t$wm = new $WeakMap();\n\t\t\t\t\t}\n\t\t\t\t\t$weakMapSet($wm, key, value);\n\t\t\t\t} else if (getSideChannelMap) {\n\t\t\t\t\tif (!$m) {\n\t\t\t\t\t\t$m = getSideChannelMap();\n\t\t\t\t\t}\n\t\t\t\t\t// eslint-disable-next-line no-extra-parens\n\t\t\t\t\t/** @type {NonNullable<typeof $m>} */ ($m).set(key, value);\n\t\t\t\t}\n\t\t\t}\n\t\t};\n\n\t\t// @ts-expect-error TODO: figure out why this is erroring\n\t\treturn channel;\n\t}\n\t: getSideChannelMap;\n"],"names":["require$$0","require$$1","require$$2","require$$3","require$$4"],"mappings":";;;;;;AAEA,IAAI,YAAY,GAAGA,YAAwB;AAC3C,IAAI,SAAS,GAAGC,WAAqB;AACrC,IAAI,OAAO,GAAGC,aAAyB;AACvC,IAAI,iBAAiB,GAAGC,cAA2B;;AAEnD,IAAI,UAAU,GAAGC,IAAyB;AAC1C,IAAI,QAAQ,GAAG,YAAY,CAAC,WAAW,EAAE,IAAI,CAAC;;AAE9C;AACA,IAAI,WAAW,GAAG,SAAS,CAAC,uBAAuB,EAAE,IAAI,CAAC;AAC1D;AACA,IAAI,WAAW,GAAG,SAAS,CAAC,uBAAuB,EAAE,IAAI,CAAC;AAC1D;AACA,IAAI,WAAW,GAAG,SAAS,CAAC,uBAAuB,EAAE,IAAI,CAAC;AAC1D;AACA,IAAI,cAAc,GAAG,SAAS,CAAC,0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,EAAE,UAAU,GAAG,EAAE;AACvB,IAAI,IAAI,QAAQ,IAAI,GAAG,KAAK,OAAO,GAAG,KAAK,QAAQ,IAAI,OAAO,GAAG,KAAK,UAAU,CAAC,EAAE;AACnF,KAAK,IAAI,GAAG,EAAE;AACd,MAAM,OAAO,WAAW,CAAC,GAAG,EAAE,GAAG,CAAC;AAClC,KAAA;AACA,IAAA;AACA,IAAI,OAAO,CAAC,CAAC,EAAE,IAAI,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC;AAC9B,GAAA,CAAI;AACJ,GAAG,GAAG,EAAE,UAAU,GAAG,EAAE,KAAK,EAAE;AAC9B,IAAI,IAAI,QAAQ,IAAI,GAAG,KAAK,OAAO,GAAG,KAAK,QAAQ,IAAI,OAAO,GAAG,KAAK,UAAU,CAAC,EAAE;AACnF,KAAK,IAAI,CAAC,GAAG,EAAE;AACf,MAAM,GAAG,GAAG,IAAI,QAAQ,EAAE;AAC1B,KAAA;AACA,KAAK,WAAW,CAAC,GAAG,EAAE,GAAG,EAAE,KAAK,CAAC;AACjC,IAAA,CAAK,MAAM,IAAI,iBAAiB,EAAE;AAClC,KAAK,IAAI,CAAC,EAAE,EAAE;AACd,MAAM,EAAE,GAAG,iBAAiB,EAAE;AAC9B,KAAA;AACA;AACA,2CAA2C,CAAC,EAAE,EAAE,GAAG,CAAC,GAAG,EAAE,KAAK,CAAC;AAC/D,IAAA;AACA,GAAA;AACA,GAAG;;AAEH;AACA,EAAE,OAAO,OAAO;AAChB,CAAA;AACA,GAAG;;;;","x_google_ignoreList":[0]}
|
|
@@ -5,7 +5,7 @@ import { c as callBindExports } from '../call-bind/index.js';
|
|
|
5
5
|
import { c as callBound$1 } from '../call-bound/index.js';
|
|
6
6
|
import { g as gopd } from '../gopd/index.js';
|
|
7
7
|
import { g as getProto$1 } from '../get-proto/index.js';
|
|
8
|
-
import {
|
|
8
|
+
import { s as shams } from '../has-tostringtag/shams.js';
|
|
9
9
|
|
|
10
10
|
var forEach = forEach$1;
|
|
11
11
|
var availableTypedArrays = availableTypedArrays$1;
|
|
@@ -15,7 +15,7 @@ var gOPD = gopd;
|
|
|
15
15
|
var getProto = getProto$1;
|
|
16
16
|
|
|
17
17
|
var $toString = callBound('Object.prototype.toString');
|
|
18
|
-
var hasToStringTag =
|
|
18
|
+
var hasToStringTag = shams();
|
|
19
19
|
|
|
20
20
|
var g = typeof globalThis === 'undefined' ? commonjsGlobal : globalThis;
|
|
21
21
|
var typedArrays = availableTypedArrays();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../node_modules/which-typed-array/index.js"],"sourcesContent":["'use strict';\n\nvar forEach = require('for-each');\nvar availableTypedArrays = require('available-typed-arrays');\nvar callBind = require('call-bind');\nvar callBound = require('call-bound');\nvar gOPD = require('gopd');\nvar getProto = require('get-proto');\n\nvar $toString = callBound('Object.prototype.toString');\nvar hasToStringTag = require('has-tostringtag/shams')();\n\nvar g = typeof globalThis === 'undefined' ? global : globalThis;\nvar typedArrays = availableTypedArrays();\n\nvar $slice = callBound('String.prototype.slice');\n\n/** @type {<T = unknown>(array: readonly T[], value: unknown) => number} */\nvar $indexOf = callBound('Array.prototype.indexOf', true) || function indexOf(array, value) {\n\tfor (var i = 0; i < array.length; i += 1) {\n\t\tif (array[i] === value) {\n\t\t\treturn i;\n\t\t}\n\t}\n\treturn -1;\n};\n\n/** @typedef {import('./types').Getter} Getter */\n/** @type {import('./types').Cache} */\nvar cache = { __proto__: null };\nif (hasToStringTag && gOPD && getProto) {\n\tforEach(typedArrays, function (typedArray) {\n\t\tvar arr = new g[typedArray]();\n\t\tif (Symbol.toStringTag in arr && getProto) {\n\t\t\tvar proto = getProto(arr);\n\t\t\t// @ts-expect-error TS won't narrow inside a closure\n\t\t\tvar descriptor = gOPD(proto, Symbol.toStringTag);\n\t\t\tif (!descriptor && proto) {\n\t\t\t\tvar superProto = getProto(proto);\n\t\t\t\t// @ts-expect-error TS won't narrow inside a closure\n\t\t\t\tdescriptor = gOPD(superProto, Symbol.toStringTag);\n\t\t\t}\n\t\t\t// @ts-expect-error TODO: fix\n\t\t\tcache['$' + typedArray] = callBind(descriptor.get);\n\t\t}\n\t});\n} else {\n\tforEach(typedArrays, function (typedArray) {\n\t\tvar arr = new g[typedArray]();\n\t\tvar fn = arr.slice || arr.set;\n\t\tif (fn) {\n\t\t\tcache[\n\t\t\t\t/** @type {`$${import('.').TypedArrayName}`} */ ('$' + typedArray)\n\t\t\t] = /** @type {import('./types').BoundSlice | import('./types').BoundSet} */ (\n\t\t\t\t// @ts-expect-error TODO FIXME\n\t\t\t\tcallBind(fn)\n\t\t\t);\n\t\t}\n\t});\n}\n\n/** @type {(value: object) => false | import('.').TypedArrayName} */\nvar tryTypedArrays = function tryAllTypedArrays(value) {\n\t/** @type {ReturnType<typeof tryAllTypedArrays>} */ var found = false;\n\tforEach(\n\t\t/** @type {Record<`\\$${import('.').TypedArrayName}`, Getter>} */ (cache),\n\t\t/** @type {(getter: Getter, name: `\\$${import('.').TypedArrayName}`) => void} */\n\t\tfunction (getter, typedArray) {\n\t\t\tif (!found) {\n\t\t\t\ttry {\n\t\t\t\t\t// @ts-expect-error a throw is fine here\n\t\t\t\t\tif ('$' + getter(value) === typedArray) {\n\t\t\t\t\t\tfound = /** @type {import('.').TypedArrayName} */ ($slice(typedArray, 1));\n\t\t\t\t\t}\n\t\t\t\t} catch (e) { /**/ }\n\t\t\t}\n\t\t}\n\t);\n\treturn found;\n};\n\n/** @type {(value: object) => false | import('.').TypedArrayName} */\nvar trySlices = function tryAllSlices(value) {\n\t/** @type {ReturnType<typeof tryAllSlices>} */ var found = false;\n\tforEach(\n\t\t/** @type {Record<`\\$${import('.').TypedArrayName}`, Getter>} */(cache),\n\t\t/** @type {(getter: Getter, name: `\\$${import('.').TypedArrayName}`) => void} */ function (getter, name) {\n\t\t\tif (!found) {\n\t\t\t\ttry {\n\t\t\t\t\t// @ts-expect-error a throw is fine here\n\t\t\t\t\tgetter(value);\n\t\t\t\t\tfound = /** @type {import('.').TypedArrayName} */ ($slice(name, 1));\n\t\t\t\t} catch (e) { /**/ }\n\t\t\t}\n\t\t}\n\t);\n\treturn found;\n};\n\n/** @type {import('.')} */\nmodule.exports = function whichTypedArray(value) {\n\tif (!value || typeof value !== 'object') { return false; }\n\tif (!hasToStringTag) {\n\t\t/** @type {string} */\n\t\tvar tag = $slice($toString(value), 8, -1);\n\t\tif ($indexOf(typedArrays, tag) > -1) {\n\t\t\treturn tag;\n\t\t}\n\t\tif (tag !== 'Object') {\n\t\t\treturn false;\n\t\t}\n\t\t// node < 0.6 hits here on real Typed Arrays\n\t\treturn trySlices(value);\n\t}\n\tif (!gOPD) { return null; } // unknown engine\n\treturn tryTypedArrays(value);\n};\n"],"names":["require$$0","require$$1","require$$2","require$$3","require$$4","require$$5","require$$6","global"],"mappings":";;;;;;;;;AAEA,IAAI,OAAO,GAAGA,SAAmB;AACjC,IAAI,oBAAoB,GAAGC,sBAAiC;AAC5D,IAAI,QAAQ,GAAGC,eAAoB;AACnC,IAAI,SAAS,GAAGC,WAAqB;AACrC,IAAI,IAAI,GAAGC,IAAe;AAC1B,IAAI,QAAQ,GAAGC,UAAoB;;AAEnC,IAAI,SAAS,GAAG,SAAS,CAAC,2BAA2B,CAAC;AACtD,IAAI,cAAc,GAAGC,
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../node_modules/which-typed-array/index.js"],"sourcesContent":["'use strict';\n\nvar forEach = require('for-each');\nvar availableTypedArrays = require('available-typed-arrays');\nvar callBind = require('call-bind');\nvar callBound = require('call-bound');\nvar gOPD = require('gopd');\nvar getProto = require('get-proto');\n\nvar $toString = callBound('Object.prototype.toString');\nvar hasToStringTag = require('has-tostringtag/shams')();\n\nvar g = typeof globalThis === 'undefined' ? global : globalThis;\nvar typedArrays = availableTypedArrays();\n\nvar $slice = callBound('String.prototype.slice');\n\n/** @type {<T = unknown>(array: readonly T[], value: unknown) => number} */\nvar $indexOf = callBound('Array.prototype.indexOf', true) || function indexOf(array, value) {\n\tfor (var i = 0; i < array.length; i += 1) {\n\t\tif (array[i] === value) {\n\t\t\treturn i;\n\t\t}\n\t}\n\treturn -1;\n};\n\n/** @typedef {import('./types').Getter} Getter */\n/** @type {import('./types').Cache} */\nvar cache = { __proto__: null };\nif (hasToStringTag && gOPD && getProto) {\n\tforEach(typedArrays, function (typedArray) {\n\t\tvar arr = new g[typedArray]();\n\t\tif (Symbol.toStringTag in arr && getProto) {\n\t\t\tvar proto = getProto(arr);\n\t\t\t// @ts-expect-error TS won't narrow inside a closure\n\t\t\tvar descriptor = gOPD(proto, Symbol.toStringTag);\n\t\t\tif (!descriptor && proto) {\n\t\t\t\tvar superProto = getProto(proto);\n\t\t\t\t// @ts-expect-error TS won't narrow inside a closure\n\t\t\t\tdescriptor = gOPD(superProto, Symbol.toStringTag);\n\t\t\t}\n\t\t\t// @ts-expect-error TODO: fix\n\t\t\tcache['$' + typedArray] = callBind(descriptor.get);\n\t\t}\n\t});\n} else {\n\tforEach(typedArrays, function (typedArray) {\n\t\tvar arr = new g[typedArray]();\n\t\tvar fn = arr.slice || arr.set;\n\t\tif (fn) {\n\t\t\tcache[\n\t\t\t\t/** @type {`$${import('.').TypedArrayName}`} */ ('$' + typedArray)\n\t\t\t] = /** @type {import('./types').BoundSlice | import('./types').BoundSet} */ (\n\t\t\t\t// @ts-expect-error TODO FIXME\n\t\t\t\tcallBind(fn)\n\t\t\t);\n\t\t}\n\t});\n}\n\n/** @type {(value: object) => false | import('.').TypedArrayName} */\nvar tryTypedArrays = function tryAllTypedArrays(value) {\n\t/** @type {ReturnType<typeof tryAllTypedArrays>} */ var found = false;\n\tforEach(\n\t\t/** @type {Record<`\\$${import('.').TypedArrayName}`, Getter>} */ (cache),\n\t\t/** @type {(getter: Getter, name: `\\$${import('.').TypedArrayName}`) => void} */\n\t\tfunction (getter, typedArray) {\n\t\t\tif (!found) {\n\t\t\t\ttry {\n\t\t\t\t\t// @ts-expect-error a throw is fine here\n\t\t\t\t\tif ('$' + getter(value) === typedArray) {\n\t\t\t\t\t\tfound = /** @type {import('.').TypedArrayName} */ ($slice(typedArray, 1));\n\t\t\t\t\t}\n\t\t\t\t} catch (e) { /**/ }\n\t\t\t}\n\t\t}\n\t);\n\treturn found;\n};\n\n/** @type {(value: object) => false | import('.').TypedArrayName} */\nvar trySlices = function tryAllSlices(value) {\n\t/** @type {ReturnType<typeof tryAllSlices>} */ var found = false;\n\tforEach(\n\t\t/** @type {Record<`\\$${import('.').TypedArrayName}`, Getter>} */(cache),\n\t\t/** @type {(getter: Getter, name: `\\$${import('.').TypedArrayName}`) => void} */ function (getter, name) {\n\t\t\tif (!found) {\n\t\t\t\ttry {\n\t\t\t\t\t// @ts-expect-error a throw is fine here\n\t\t\t\t\tgetter(value);\n\t\t\t\t\tfound = /** @type {import('.').TypedArrayName} */ ($slice(name, 1));\n\t\t\t\t} catch (e) { /**/ }\n\t\t\t}\n\t\t}\n\t);\n\treturn found;\n};\n\n/** @type {import('.')} */\nmodule.exports = function whichTypedArray(value) {\n\tif (!value || typeof value !== 'object') { return false; }\n\tif (!hasToStringTag) {\n\t\t/** @type {string} */\n\t\tvar tag = $slice($toString(value), 8, -1);\n\t\tif ($indexOf(typedArrays, tag) > -1) {\n\t\t\treturn tag;\n\t\t}\n\t\tif (tag !== 'Object') {\n\t\t\treturn false;\n\t\t}\n\t\t// node < 0.6 hits here on real Typed Arrays\n\t\treturn trySlices(value);\n\t}\n\tif (!gOPD) { return null; } // unknown engine\n\treturn tryTypedArrays(value);\n};\n"],"names":["require$$0","require$$1","require$$2","require$$3","require$$4","require$$5","require$$6","global"],"mappings":";;;;;;;;;AAEA,IAAI,OAAO,GAAGA,SAAmB;AACjC,IAAI,oBAAoB,GAAGC,sBAAiC;AAC5D,IAAI,QAAQ,GAAGC,eAAoB;AACnC,IAAI,SAAS,GAAGC,WAAqB;AACrC,IAAI,IAAI,GAAGC,IAAe;AAC1B,IAAI,QAAQ,GAAGC,UAAoB;;AAEnC,IAA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E;AAC3G,GAAG,IAAI,CAAC,KAAK,EAAE;AACf,IAAI,IAAI;AACR;AACA,KAAK,MAAM,CAAC,KAAK,CAAC;AAClB,KAAK,KAAK,8CAA8C,MAAM,CAAC,IAAI,EAAE,CAAC,CAAC,CAAC;AACxE,IAAA,CAAK,CAAC,OAAO,CAAC,EAAE,OAAA;AAChB,GAAA;AACA,EAAA;AACA,EAAE;AACF,CAAC,OAAO,KAAK;AACb,CAAC;;AAED;AACA,IAAA,eAAc,GAAG,SAAS,eAAe,CAAC,KAAK,EAAE;AACjD,CAAC,IAAI,CAAC,KAAK,IAAI,OAAO,KAAK,KAAK,QAAQ,EAAE,EAAE,OAAO,KAAK,CAAC,CAAA;AACzD,CAAC,IAAI,CAAC,cAAc,EAAE;AACtB;AACA,EAAE,IAAI,GAAG,GAAG,MAAM,CAAC,SAAS,CAAC,KAAK,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC;AAC3C,EAAE,IAAI,QAAQ,CAAC,WAAW,EAAE,GAAG,CAAC,GAAG,EAAE,EAAE;AACvC,GAAG,OAAO,GAAG;AACb,EAAA;AACA,EAAE,IAAI,GAAG,KAAK,QAAQ,EAAE;AACxB,GAAG,OAAO,KAAK;AACf,EAAA;AACA;AACA,EAAE,OAAO,SAAS,CAAC,KAAK,CAAC;AACzB,CAAA;AACA,CAAC,IAAI,CAAC,IAAI,EAAE,EAAE,OAAO,IAAI,CAAC,CAAA,CAAE;AAC5B,CAAC,OAAO,cAAc,CAAC,KAAK,CAAC;AAC7B;;;;","x_google_ignoreList":[0]}
|
package/esm/store/index.js
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
1
|
+
import 'redux';
|
|
2
|
+
import 'redux-thunk';
|
|
3
|
+
import 'redux-devtools-extension';
|
|
4
|
+
import '../reducers.js';
|
|
5
|
+
import configureStore from './configureStore.prod.js';
|
|
3
6
|
|
|
4
|
-
var
|
|
5
|
-
var isDev = typeof import.meta !== 'undefined' && ((_import$meta$env = import.meta.env) === null || _import$meta$env === void 0 ? void 0 : _import$meta$env.DEV) || "production" === 'development';
|
|
6
|
-
var store = isDev ? configureStore() : configureStore$1();
|
|
7
|
+
var store = configureStore();
|
|
7
8
|
|
|
8
9
|
export { store as default };
|
|
9
10
|
//# sourceMappingURL=index.js.map
|
package/esm/store/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../src/store/index.js"],"sourcesContent":["import configureStoreDev from './configureStore.dev'\nimport configureStoreProd from './configureStore.prod'\n\nconst isDev =
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../src/store/index.js"],"sourcesContent":["import configureStoreDev from './configureStore.dev'\nimport configureStoreProd from './configureStore.prod'\n\nconst isDev = process.env.NODE_ENV === 'development'\n\nconst store = isDev ? configureStoreDev() : configureStoreProd()\n\nexport default store\n"],"names":["store","configureStoreProd"],"mappings":";;;;;;AAKA,IAAMA,KAAK,GAAiCC,cAAkB;;;;"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dbmx/confy",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.73",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"author": "Eric Basley <eric.basley@redpelicans.com>",
|
|
6
6
|
"type": "module",
|
|
@@ -32,6 +32,7 @@
|
|
|
32
32
|
"@mui/material": "^6.1.3",
|
|
33
33
|
"@mui/styles": "^6.1.3",
|
|
34
34
|
"@mui/x-date-pickers": "^7.20.0",
|
|
35
|
+
"axios": "^1.13.6",
|
|
35
36
|
"core-js": "^3.8.3",
|
|
36
37
|
"dagre": "^0.8.5",
|
|
37
38
|
"date-fns": "^2.0.0",
|
|
@@ -54,6 +55,9 @@
|
|
|
54
55
|
"tss-react": "^4.9.13"
|
|
55
56
|
},
|
|
56
57
|
"dependencies": {
|
|
58
|
+
"@dbmx/auth": "^1.3.33",
|
|
59
|
+
"@dbmx/semver": "^1.1.1",
|
|
60
|
+
"@dbmx/users": "^1.1.21",
|
|
57
61
|
"@emotion/react": "^11.14.0",
|
|
58
62
|
"@emotion/styled": "^11.14.1",
|
|
59
63
|
"@mui/icons-material": "^6.5.0",
|
|
@@ -155,7 +159,8 @@
|
|
|
155
159
|
"rollup-plugin-peer-deps-external": "^2.2.4",
|
|
156
160
|
"rollup-plugin-postcss": "^4.0.2",
|
|
157
161
|
"rollup-plugin-terser": "^7.0.2",
|
|
158
|
-
"rollup-plugin-visualizer": "^5.14.0"
|
|
162
|
+
"rollup-plugin-visualizer": "^5.14.0",
|
|
163
|
+
"shx": "^0.4.0"
|
|
159
164
|
},
|
|
160
165
|
"babel": {
|
|
161
166
|
"presets": [
|
|
@@ -163,5 +168,9 @@
|
|
|
163
168
|
"@babel/preset-react"
|
|
164
169
|
]
|
|
165
170
|
},
|
|
166
|
-
"gitHead": "
|
|
171
|
+
"gitHead": "128d81220eaed7544722637cb888b4e68034ee61",
|
|
172
|
+
"resolutions": {
|
|
173
|
+
"lodash": "4.17.23",
|
|
174
|
+
"minimatch": "3.1.4"
|
|
175
|
+
}
|
|
167
176
|
}
|