@kitware/vtk.js 25.13.3 → 25.13.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Rendering/OpenGL/ImageMapper.js +4 -8
- package/Rendering/OpenGL/PolyDataMapper.js +4 -8
- package/macros.js +2 -2
- package/package.json +2 -1
- package/_vendor/available-typed-arrays/index.js_commonjs-proxy.js +0 -1
- package/_vendor/call-bind/callBound.js_commonjs-proxy.js +0 -1
- package/_vendor/call-bind/index.js_commonjs-module.js +0 -3
- package/_vendor/call-bind/index.js_commonjs-proxy.js +0 -1
- package/_vendor/deep-equal/node_modules/isarray/index.js_commonjs-proxy.js +0 -1
- package/_vendor/define-properties/index.js_commonjs-proxy.js +0 -1
- package/_vendor/es-abstract/helpers/getOwnPropertyDescriptor.js_commonjs-proxy.js +0 -1
- package/_vendor/es-get-iterator/index.js_commonjs-module.js +0 -3
- package/_vendor/es-get-iterator/index.js_commonjs-proxy.js +0 -1
- package/_vendor/es-get-iterator/node_modules/isarray/index.js_commonjs-proxy.js +0 -1
- package/_vendor/foreach/index.js_commonjs-proxy.js +0 -1
- package/_vendor/function-bind/implementation.js_commonjs-proxy.js +0 -1
- package/_vendor/function-bind/index.js_commonjs-proxy.js +0 -1
- package/_vendor/get-intrinsic/index.js_commonjs-proxy.js +0 -1
- package/_vendor/has/src/index.js_commonjs-proxy.js +0 -1
- package/_vendor/has-bigints/index.js_commonjs-proxy.js +0 -1
- package/_vendor/has-symbols/index.js_commonjs-proxy.js +0 -1
- package/_vendor/has-symbols/shams.js_commonjs-proxy.js +0 -1
- package/_vendor/has-tostringtag/shams.js_commonjs-proxy.js +0 -1
- package/_vendor/is-arguments/index.js_commonjs-proxy.js +0 -1
- package/_vendor/is-bigint/index.js_commonjs-module.js +0 -3
- package/_vendor/is-bigint/index.js_commonjs-proxy.js +0 -1
- package/_vendor/is-boolean-object/index.js_commonjs-proxy.js +0 -1
- package/_vendor/is-date-object/index.js_commonjs-proxy.js +0 -1
- package/_vendor/is-map/index.js_commonjs-proxy.js +0 -1
- package/_vendor/is-number-object/index.js_commonjs-proxy.js +0 -1
- package/_vendor/is-regex/index.js_commonjs-proxy.js +0 -1
- package/_vendor/is-set/index.js_commonjs-proxy.js +0 -1
- package/_vendor/is-string/index.js_commonjs-proxy.js +0 -1
- package/_vendor/is-symbol/index.js_commonjs-module.js +0 -3
- package/_vendor/is-symbol/index.js_commonjs-proxy.js +0 -1
- package/_vendor/is-typed-array/index.js_commonjs-proxy.js +0 -1
- package/_vendor/is-weakmap/index.js_commonjs-proxy.js +0 -1
- package/_vendor/is-weakset/index.js_commonjs-proxy.js +0 -1
- package/_vendor/object-inspect/index.js_commonjs-proxy.js +0 -1
- package/_vendor/object-is/implementation.js_commonjs-proxy.js +0 -1
- package/_vendor/object-is/index.js_commonjs-proxy.js +0 -1
- package/_vendor/object-is/polyfill.js_commonjs-proxy.js +0 -1
- package/_vendor/object-is/shim.js_commonjs-proxy.js +0 -1
- package/_vendor/object-keys/implementation.js_commonjs-proxy.js +0 -1
- package/_vendor/object-keys/index.js_commonjs-proxy.js +0 -1
- package/_vendor/object-keys/isArguments.js_commonjs-proxy.js +0 -1
- package/_vendor/object.assign/implementation.js_commonjs-proxy.js +0 -1
- package/_vendor/object.assign/index.js_commonjs-proxy.js +0 -1
- package/_vendor/object.assign/polyfill.js_commonjs-proxy.js +0 -1
- package/_vendor/object.assign/shim.js_commonjs-proxy.js +0 -2
- package/_vendor/regexp.prototype.flags/implementation.js_commonjs-proxy.js +0 -1
- package/_vendor/regexp.prototype.flags/index.js_commonjs-proxy.js +0 -1
- package/_vendor/regexp.prototype.flags/polyfill.js_commonjs-proxy.js +0 -1
- package/_vendor/regexp.prototype.flags/shim.js_commonjs-proxy.js +0 -1
- package/_vendor/side-channel/index.js_commonjs-proxy.js +0 -1
- package/_vendor/which-boxed-primitive/index.js_commonjs-proxy.js +0 -5
- package/_vendor/which-collection/index.js_commonjs-proxy.js +0 -4
- package/_vendor/which-typed-array/index.js_commonjs-proxy.js +0 -1
- package/_virtual/_node-resolve_empty.js_commonjs-proxy.js +0 -6
- package/_virtual/commonjsHelpers.js +0 -18
- package/_virtual/node-resolve_empty.js +0 -8
- package/_virtual/polyfill-node.global.js +0 -5
- package/_virtual/polyfill-node.process.js +0 -225
- package/vendor/available-typed-arrays/index.js +0 -29
- package/vendor/call-bind/callBound.js +0 -19
- package/vendor/call-bind/index.js +0 -52
- package/vendor/deep-equal/index.js +0 -379
- package/vendor/deep-equal/node_modules/isarray/index.js +0 -7
- package/vendor/define-properties/index.js +0 -60
- package/vendor/es-abstract/helpers/getOwnPropertyDescriptor.js +0 -17
- package/vendor/es-get-iterator/index.js +0 -217
- package/vendor/es-get-iterator/node_modules/isarray/index.js +0 -7
- package/vendor/foreach/index.js +0 -22
- package/vendor/function-bind/implementation.js +0 -52
- package/vendor/function-bind/index.js +0 -7
- package/vendor/get-intrinsic/index.js +0 -334
- package/vendor/has/src/index.js +0 -7
- package/vendor/has-bigints/index.js +0 -12
- package/vendor/has-symbols/index.js +0 -15
- package/vendor/has-symbols/shams.js +0 -42
- package/vendor/has-tostringtag/shams.js +0 -9
- package/vendor/is-arguments/index.js +0 -36
- package/vendor/is-bigint/index.js +0 -39
- package/vendor/is-boolean-object/index.js +0 -29
- package/vendor/is-date-object/index.js +0 -22
- package/vendor/is-map/index.js +0 -42
- package/vendor/is-number-object/index.js +0 -26
- package/vendor/is-regex/index.js +0 -61
- package/vendor/is-set/index.js +0 -42
- package/vendor/is-string/index.js +0 -26
- package/vendor/is-symbol/index.js +0 -36
- package/vendor/is-typed-array/index.js +0 -67
- package/vendor/is-weakmap/index.js +0 -42
- package/vendor/is-weakset/index.js +0 -42
- package/vendor/object-inspect/index.js +0 -515
- package/vendor/object-is/implementation.js +0 -18
- package/vendor/object-is/index.js +0 -25
- package/vendor/object-is/polyfill.js +0 -9
- package/vendor/object-is/shim.js +0 -17
- package/vendor/object-keys/implementation.js +0 -124
- package/vendor/object-keys/index.js +0 -35
- package/vendor/object-keys/isArguments.js +0 -17
- package/vendor/object.assign/implementation.js +0 -46
- package/vendor/object.assign/index.js +0 -29
- package/vendor/object.assign/polyfill.js +0 -57
- package/vendor/object.assign/shim.js +0 -17
- package/vendor/regexp.prototype.flags/implementation.js +0 -30
- package/vendor/regexp.prototype.flags/index.js +0 -25
- package/vendor/regexp.prototype.flags/polyfill.js +0 -23
- package/vendor/regexp.prototype.flags/shim.js +0 -29
- package/vendor/side-channel/index.js +0 -128
- package/vendor/which-boxed-primitive/index.js +0 -38
- package/vendor/which-collection/index.js +0 -29
- package/vendor/which-typed-array/index.js +0 -63
|
@@ -1,42 +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') { return false; }
|
|
4
|
-
if (typeof Symbol.iterator === 'symbol') { return true; }
|
|
5
|
-
|
|
6
|
-
var obj = {};
|
|
7
|
-
var sym = Symbol('test');
|
|
8
|
-
var symObj = Object(sym);
|
|
9
|
-
if (typeof sym === 'string') { return false; }
|
|
10
|
-
|
|
11
|
-
if (Object.prototype.toString.call(sym) !== '[object Symbol]') { return false; }
|
|
12
|
-
if (Object.prototype.toString.call(symObj) !== '[object Symbol]') { return false; }
|
|
13
|
-
|
|
14
|
-
// temp disabled per https://github.com/ljharb/object.assign/issues/17
|
|
15
|
-
// if (sym instanceof Symbol) { return false; }
|
|
16
|
-
// temp disabled per https://github.com/WebReflection/get-own-property-symbols/issues/4
|
|
17
|
-
// if (!(symObj instanceof Symbol)) { return false; }
|
|
18
|
-
|
|
19
|
-
// if (typeof Symbol.prototype.toString !== 'function') { return false; }
|
|
20
|
-
// if (String(sym) !== Symbol.prototype.toString.call(sym)) { return false; }
|
|
21
|
-
|
|
22
|
-
var symVal = 42;
|
|
23
|
-
obj[sym] = symVal;
|
|
24
|
-
for (sym in obj) { return false; } // eslint-disable-line no-restricted-syntax, no-unreachable-loop
|
|
25
|
-
if (typeof Object.keys === 'function' && Object.keys(obj).length !== 0) { return false; }
|
|
26
|
-
|
|
27
|
-
if (typeof Object.getOwnPropertyNames === 'function' && Object.getOwnPropertyNames(obj).length !== 0) { return false; }
|
|
28
|
-
|
|
29
|
-
var syms = Object.getOwnPropertySymbols(obj);
|
|
30
|
-
if (syms.length !== 1 || syms[0] !== sym) { return false; }
|
|
31
|
-
|
|
32
|
-
if (!Object.prototype.propertyIsEnumerable.call(obj, sym)) { return false; }
|
|
33
|
-
|
|
34
|
-
if (typeof Object.getOwnPropertyDescriptor === 'function') {
|
|
35
|
-
var descriptor = Object.getOwnPropertyDescriptor(obj, sym);
|
|
36
|
-
if (descriptor.value !== symVal || descriptor.enumerable !== true) { return false; }
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
return true;
|
|
40
|
-
};
|
|
41
|
-
|
|
42
|
-
export { shams as s };
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import { s as shams } from '../has-tostringtag/shams.js';
|
|
2
|
-
import { c as callBound$1 } from '../call-bind/callBound.js';
|
|
3
|
-
|
|
4
|
-
var hasToStringTag = shams();
|
|
5
|
-
var callBound = callBound$1;
|
|
6
|
-
|
|
7
|
-
var $toString = callBound('Object.prototype.toString');
|
|
8
|
-
|
|
9
|
-
var isStandardArguments = function isArguments(value) {
|
|
10
|
-
if (hasToStringTag && value && typeof value === 'object' && Symbol.toStringTag in value) {
|
|
11
|
-
return false;
|
|
12
|
-
}
|
|
13
|
-
return $toString(value) === '[object Arguments]';
|
|
14
|
-
};
|
|
15
|
-
|
|
16
|
-
var isLegacyArguments = function isArguments(value) {
|
|
17
|
-
if (isStandardArguments(value)) {
|
|
18
|
-
return true;
|
|
19
|
-
}
|
|
20
|
-
return value !== null &&
|
|
21
|
-
typeof value === 'object' &&
|
|
22
|
-
typeof value.length === 'number' &&
|
|
23
|
-
value.length >= 0 &&
|
|
24
|
-
$toString(value) !== '[object Array]' &&
|
|
25
|
-
$toString(value.callee) === '[object Function]';
|
|
26
|
-
};
|
|
27
|
-
|
|
28
|
-
var supportsStandardArguments = (function () {
|
|
29
|
-
return isStandardArguments(arguments);
|
|
30
|
-
}());
|
|
31
|
-
|
|
32
|
-
isStandardArguments.isLegacyArguments = isLegacyArguments; // for tests
|
|
33
|
-
|
|
34
|
-
var isArguments = supportsStandardArguments ? isStandardArguments : isLegacyArguments;
|
|
35
|
-
|
|
36
|
-
export { isArguments as i };
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import { i as isBigint } from '../../_vendor/is-bigint/index.js_commonjs-module.js';
|
|
2
|
-
import { h as hasBigints } from '../has-bigints/index.js';
|
|
3
|
-
|
|
4
|
-
var hasBigInts = hasBigints();
|
|
5
|
-
|
|
6
|
-
if (hasBigInts) {
|
|
7
|
-
var bigIntValueOf = BigInt.prototype.valueOf;
|
|
8
|
-
var tryBigInt = function tryBigIntObject(value) {
|
|
9
|
-
try {
|
|
10
|
-
bigIntValueOf.call(value);
|
|
11
|
-
return true;
|
|
12
|
-
} catch (e) {
|
|
13
|
-
}
|
|
14
|
-
return false;
|
|
15
|
-
};
|
|
16
|
-
|
|
17
|
-
isBigint.exports = function isBigInt(value) {
|
|
18
|
-
if (
|
|
19
|
-
value === null
|
|
20
|
-
|| typeof value === 'undefined'
|
|
21
|
-
|| typeof value === 'boolean'
|
|
22
|
-
|| typeof value === 'string'
|
|
23
|
-
|| typeof value === 'number'
|
|
24
|
-
|| typeof value === 'symbol'
|
|
25
|
-
|| typeof value === 'function'
|
|
26
|
-
) {
|
|
27
|
-
return false;
|
|
28
|
-
}
|
|
29
|
-
if (typeof value === 'bigint') {
|
|
30
|
-
return true;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
return tryBigInt(value);
|
|
34
|
-
};
|
|
35
|
-
} else {
|
|
36
|
-
isBigint.exports = function isBigInt(value) {
|
|
37
|
-
return false ;
|
|
38
|
-
};
|
|
39
|
-
}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { c as callBound$1 } from '../call-bind/callBound.js';
|
|
2
|
-
import { s as shams } from '../has-tostringtag/shams.js';
|
|
3
|
-
|
|
4
|
-
var callBound = callBound$1;
|
|
5
|
-
var $boolToStr = callBound('Boolean.prototype.toString');
|
|
6
|
-
var $toString = callBound('Object.prototype.toString');
|
|
7
|
-
|
|
8
|
-
var tryBooleanObject = function booleanBrandCheck(value) {
|
|
9
|
-
try {
|
|
10
|
-
$boolToStr(value);
|
|
11
|
-
return true;
|
|
12
|
-
} catch (e) {
|
|
13
|
-
return false;
|
|
14
|
-
}
|
|
15
|
-
};
|
|
16
|
-
var boolClass = '[object Boolean]';
|
|
17
|
-
var hasToStringTag = shams();
|
|
18
|
-
|
|
19
|
-
var isBooleanObject = function isBoolean(value) {
|
|
20
|
-
if (typeof value === 'boolean') {
|
|
21
|
-
return true;
|
|
22
|
-
}
|
|
23
|
-
if (value === null || typeof value !== 'object') {
|
|
24
|
-
return false;
|
|
25
|
-
}
|
|
26
|
-
return hasToStringTag && Symbol.toStringTag in value ? tryBooleanObject(value) : $toString(value) === boolClass;
|
|
27
|
-
};
|
|
28
|
-
|
|
29
|
-
export { isBooleanObject as i };
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
var getDay = Date.prototype.getDay;
|
|
2
|
-
var tryDateObject = function tryDateGetDayCall(value) {
|
|
3
|
-
try {
|
|
4
|
-
getDay.call(value);
|
|
5
|
-
return true;
|
|
6
|
-
} catch (e) {
|
|
7
|
-
return false;
|
|
8
|
-
}
|
|
9
|
-
};
|
|
10
|
-
|
|
11
|
-
var toStr = Object.prototype.toString;
|
|
12
|
-
var dateClass = '[object Date]';
|
|
13
|
-
var hasToStringTag = typeof Symbol === 'function' && typeof Symbol.toStringTag === 'symbol';
|
|
14
|
-
|
|
15
|
-
var isDateObject = function isDateObject(value) {
|
|
16
|
-
if (typeof value !== 'object' || value === null) {
|
|
17
|
-
return false;
|
|
18
|
-
}
|
|
19
|
-
return hasToStringTag ? tryDateObject(value) : toStr.call(value) === dateClass;
|
|
20
|
-
};
|
|
21
|
-
|
|
22
|
-
export { isDateObject as i };
|
package/vendor/is-map/index.js
DELETED
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
var $Map = typeof Map === 'function' && Map.prototype ? Map : null;
|
|
2
|
-
var $Set = typeof Set === 'function' && Set.prototype ? Set : null;
|
|
3
|
-
|
|
4
|
-
var exported;
|
|
5
|
-
|
|
6
|
-
if (!$Map) {
|
|
7
|
-
// eslint-disable-next-line no-unused-vars
|
|
8
|
-
exported = function isMap(x) {
|
|
9
|
-
// `Map` is not present in this environment.
|
|
10
|
-
return false;
|
|
11
|
-
};
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
var $mapHas = $Map ? Map.prototype.has : null;
|
|
15
|
-
var $setHas = $Set ? Set.prototype.has : null;
|
|
16
|
-
if (!exported && !$mapHas) {
|
|
17
|
-
// eslint-disable-next-line no-unused-vars
|
|
18
|
-
exported = function isMap(x) {
|
|
19
|
-
// `Map` does not have a `has` method
|
|
20
|
-
return false;
|
|
21
|
-
};
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
var isMap = exported || function isMap(x) {
|
|
25
|
-
if (!x || typeof x !== 'object') {
|
|
26
|
-
return false;
|
|
27
|
-
}
|
|
28
|
-
try {
|
|
29
|
-
$mapHas.call(x);
|
|
30
|
-
if ($setHas) {
|
|
31
|
-
try {
|
|
32
|
-
$setHas.call(x);
|
|
33
|
-
} catch (e) {
|
|
34
|
-
return true;
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
return x instanceof $Map; // core-js workaround, pre-v2.5.0
|
|
38
|
-
} catch (e) {}
|
|
39
|
-
return false;
|
|
40
|
-
};
|
|
41
|
-
|
|
42
|
-
export { isMap as i };
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { s as shams } from '../has-tostringtag/shams.js';
|
|
2
|
-
|
|
3
|
-
var numToStr = Number.prototype.toString;
|
|
4
|
-
var tryNumberObject = function tryNumberObject(value) {
|
|
5
|
-
try {
|
|
6
|
-
numToStr.call(value);
|
|
7
|
-
return true;
|
|
8
|
-
} catch (e) {
|
|
9
|
-
return false;
|
|
10
|
-
}
|
|
11
|
-
};
|
|
12
|
-
var toStr = Object.prototype.toString;
|
|
13
|
-
var numClass = '[object Number]';
|
|
14
|
-
var hasToStringTag = shams();
|
|
15
|
-
|
|
16
|
-
var isNumberObject = function isNumberObject(value) {
|
|
17
|
-
if (typeof value === 'number') {
|
|
18
|
-
return true;
|
|
19
|
-
}
|
|
20
|
-
if (typeof value !== 'object') {
|
|
21
|
-
return false;
|
|
22
|
-
}
|
|
23
|
-
return hasToStringTag ? tryNumberObject(value) : toStr.call(value) === numClass;
|
|
24
|
-
};
|
|
25
|
-
|
|
26
|
-
export { isNumberObject as i };
|
package/vendor/is-regex/index.js
DELETED
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
import { c as callBound$1 } from '../call-bind/callBound.js';
|
|
2
|
-
import { s as shams } from '../has-tostringtag/shams.js';
|
|
3
|
-
|
|
4
|
-
var callBound = callBound$1;
|
|
5
|
-
var hasToStringTag = shams();
|
|
6
|
-
var has;
|
|
7
|
-
var $exec;
|
|
8
|
-
var isRegexMarker;
|
|
9
|
-
var badStringifier;
|
|
10
|
-
|
|
11
|
-
if (hasToStringTag) {
|
|
12
|
-
has = callBound('Object.prototype.hasOwnProperty');
|
|
13
|
-
$exec = callBound('RegExp.prototype.exec');
|
|
14
|
-
isRegexMarker = {};
|
|
15
|
-
|
|
16
|
-
var throwRegexMarker = function () {
|
|
17
|
-
throw isRegexMarker;
|
|
18
|
-
};
|
|
19
|
-
badStringifier = {
|
|
20
|
-
toString: throwRegexMarker,
|
|
21
|
-
valueOf: throwRegexMarker
|
|
22
|
-
};
|
|
23
|
-
|
|
24
|
-
if (typeof Symbol.toPrimitive === 'symbol') {
|
|
25
|
-
badStringifier[Symbol.toPrimitive] = throwRegexMarker;
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
var $toString = callBound('Object.prototype.toString');
|
|
30
|
-
var gOPD = Object.getOwnPropertyDescriptor;
|
|
31
|
-
var regexClass = '[object RegExp]';
|
|
32
|
-
|
|
33
|
-
var isRegex = hasToStringTag
|
|
34
|
-
// eslint-disable-next-line consistent-return
|
|
35
|
-
? function isRegex(value) {
|
|
36
|
-
if (!value || typeof value !== 'object') {
|
|
37
|
-
return false;
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
var descriptor = gOPD(value, 'lastIndex');
|
|
41
|
-
var hasLastIndexDataProperty = descriptor && has(descriptor, 'value');
|
|
42
|
-
if (!hasLastIndexDataProperty) {
|
|
43
|
-
return false;
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
try {
|
|
47
|
-
$exec(value, badStringifier);
|
|
48
|
-
} catch (e) {
|
|
49
|
-
return e === isRegexMarker;
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
: function isRegex(value) {
|
|
53
|
-
// In older browsers, typeof regex incorrectly returns 'function'
|
|
54
|
-
if (!value || (typeof value !== 'object' && typeof value !== 'function')) {
|
|
55
|
-
return false;
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
return $toString(value) === regexClass;
|
|
59
|
-
};
|
|
60
|
-
|
|
61
|
-
export { isRegex as i };
|
package/vendor/is-set/index.js
DELETED
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
var $Map = typeof Map === 'function' && Map.prototype ? Map : null;
|
|
2
|
-
var $Set = typeof Set === 'function' && Set.prototype ? Set : null;
|
|
3
|
-
|
|
4
|
-
var exported;
|
|
5
|
-
|
|
6
|
-
if (!$Set) {
|
|
7
|
-
// eslint-disable-next-line no-unused-vars
|
|
8
|
-
exported = function isSet(x) {
|
|
9
|
-
// `Set` is not present in this environment.
|
|
10
|
-
return false;
|
|
11
|
-
};
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
var $mapHas = $Map ? Map.prototype.has : null;
|
|
15
|
-
var $setHas = $Set ? Set.prototype.has : null;
|
|
16
|
-
if (!exported && !$setHas) {
|
|
17
|
-
// eslint-disable-next-line no-unused-vars
|
|
18
|
-
exported = function isSet(x) {
|
|
19
|
-
// `Set` does not have a `has` method
|
|
20
|
-
return false;
|
|
21
|
-
};
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
var isSet = exported || function isSet(x) {
|
|
25
|
-
if (!x || typeof x !== 'object') {
|
|
26
|
-
return false;
|
|
27
|
-
}
|
|
28
|
-
try {
|
|
29
|
-
$setHas.call(x);
|
|
30
|
-
if ($mapHas) {
|
|
31
|
-
try {
|
|
32
|
-
$mapHas.call(x);
|
|
33
|
-
} catch (e) {
|
|
34
|
-
return true;
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
return x instanceof $Set; // core-js workaround, pre-v2.5.0
|
|
38
|
-
} catch (e) {}
|
|
39
|
-
return false;
|
|
40
|
-
};
|
|
41
|
-
|
|
42
|
-
export { isSet as i };
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { s as shams } from '../has-tostringtag/shams.js';
|
|
2
|
-
|
|
3
|
-
var strValue = String.prototype.valueOf;
|
|
4
|
-
var tryStringObject = function tryStringObject(value) {
|
|
5
|
-
try {
|
|
6
|
-
strValue.call(value);
|
|
7
|
-
return true;
|
|
8
|
-
} catch (e) {
|
|
9
|
-
return false;
|
|
10
|
-
}
|
|
11
|
-
};
|
|
12
|
-
var toStr = Object.prototype.toString;
|
|
13
|
-
var strClass = '[object String]';
|
|
14
|
-
var hasToStringTag = shams();
|
|
15
|
-
|
|
16
|
-
var isString = function isString(value) {
|
|
17
|
-
if (typeof value === 'string') {
|
|
18
|
-
return true;
|
|
19
|
-
}
|
|
20
|
-
if (typeof value !== 'object') {
|
|
21
|
-
return false;
|
|
22
|
-
}
|
|
23
|
-
return hasToStringTag ? tryStringObject(value) : toStr.call(value) === strClass;
|
|
24
|
-
};
|
|
25
|
-
|
|
26
|
-
export { isString as i };
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import { i as isSymbol } from '../../_vendor/is-symbol/index.js_commonjs-module.js';
|
|
2
|
-
import { h as hasSymbols$1 } from '../has-symbols/index.js';
|
|
3
|
-
|
|
4
|
-
var toStr = Object.prototype.toString;
|
|
5
|
-
var hasSymbols = hasSymbols$1();
|
|
6
|
-
|
|
7
|
-
if (hasSymbols) {
|
|
8
|
-
var symToStr = Symbol.prototype.toString;
|
|
9
|
-
var symStringRegex = /^Symbol\(.*\)$/;
|
|
10
|
-
var isSymbolObject = function isRealSymbolObject(value) {
|
|
11
|
-
if (typeof value.valueOf() !== 'symbol') {
|
|
12
|
-
return false;
|
|
13
|
-
}
|
|
14
|
-
return symStringRegex.test(symToStr.call(value));
|
|
15
|
-
};
|
|
16
|
-
|
|
17
|
-
isSymbol.exports = function isSymbol(value) {
|
|
18
|
-
if (typeof value === 'symbol') {
|
|
19
|
-
return true;
|
|
20
|
-
}
|
|
21
|
-
if (toStr.call(value) !== '[object Symbol]') {
|
|
22
|
-
return false;
|
|
23
|
-
}
|
|
24
|
-
try {
|
|
25
|
-
return isSymbolObject(value);
|
|
26
|
-
} catch (e) {
|
|
27
|
-
return false;
|
|
28
|
-
}
|
|
29
|
-
};
|
|
30
|
-
} else {
|
|
31
|
-
|
|
32
|
-
isSymbol.exports = function isSymbol(value) {
|
|
33
|
-
// this environment does not support Symbols.
|
|
34
|
-
return false ;
|
|
35
|
-
};
|
|
36
|
-
}
|
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
import { c as commonjsGlobal } from '../../_virtual/commonjsHelpers.js';
|
|
2
|
-
import { f as foreach } from '../foreach/index.js';
|
|
3
|
-
import { a as availableTypedArrays$1 } from '../available-typed-arrays/index.js';
|
|
4
|
-
import { c as callBound$1 } from '../call-bind/callBound.js';
|
|
5
|
-
import { s as shams } from '../has-tostringtag/shams.js';
|
|
6
|
-
import { g as getOwnPropertyDescriptor } from '../es-abstract/helpers/getOwnPropertyDescriptor.js';
|
|
7
|
-
|
|
8
|
-
var forEach = foreach;
|
|
9
|
-
var availableTypedArrays = availableTypedArrays$1;
|
|
10
|
-
var callBound = callBound$1;
|
|
11
|
-
|
|
12
|
-
var $toString = callBound('Object.prototype.toString');
|
|
13
|
-
var hasToStringTag = shams();
|
|
14
|
-
|
|
15
|
-
var g = typeof globalThis === 'undefined' ? commonjsGlobal : globalThis;
|
|
16
|
-
var typedArrays = availableTypedArrays();
|
|
17
|
-
|
|
18
|
-
var $indexOf = callBound('Array.prototype.indexOf', true) || function indexOf(array, value) {
|
|
19
|
-
for (var i = 0; i < array.length; i += 1) {
|
|
20
|
-
if (array[i] === value) {
|
|
21
|
-
return i;
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
return -1;
|
|
25
|
-
};
|
|
26
|
-
var $slice = callBound('String.prototype.slice');
|
|
27
|
-
var toStrTags = {};
|
|
28
|
-
var gOPD = getOwnPropertyDescriptor;
|
|
29
|
-
var getPrototypeOf = Object.getPrototypeOf; // require('getprototypeof');
|
|
30
|
-
if (hasToStringTag && gOPD && getPrototypeOf) {
|
|
31
|
-
forEach(typedArrays, function (typedArray) {
|
|
32
|
-
var arr = new g[typedArray]();
|
|
33
|
-
if (Symbol.toStringTag in arr) {
|
|
34
|
-
var proto = getPrototypeOf(arr);
|
|
35
|
-
var descriptor = gOPD(proto, Symbol.toStringTag);
|
|
36
|
-
if (!descriptor) {
|
|
37
|
-
var superProto = getPrototypeOf(proto);
|
|
38
|
-
descriptor = gOPD(superProto, Symbol.toStringTag);
|
|
39
|
-
}
|
|
40
|
-
toStrTags[typedArray] = descriptor.get;
|
|
41
|
-
}
|
|
42
|
-
});
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
var tryTypedArrays = function tryAllTypedArrays(value) {
|
|
46
|
-
var anyTrue = false;
|
|
47
|
-
forEach(toStrTags, function (getter, typedArray) {
|
|
48
|
-
if (!anyTrue) {
|
|
49
|
-
try {
|
|
50
|
-
anyTrue = getter.call(value) === typedArray;
|
|
51
|
-
} catch (e) { /**/ }
|
|
52
|
-
}
|
|
53
|
-
});
|
|
54
|
-
return anyTrue;
|
|
55
|
-
};
|
|
56
|
-
|
|
57
|
-
var isTypedArray = function isTypedArray(value) {
|
|
58
|
-
if (!value || typeof value !== 'object') { return false; }
|
|
59
|
-
if (!hasToStringTag || !(Symbol.toStringTag in value)) {
|
|
60
|
-
var tag = $slice($toString(value), 8, -1);
|
|
61
|
-
return $indexOf(typedArrays, tag) > -1;
|
|
62
|
-
}
|
|
63
|
-
if (!gOPD) { return false; }
|
|
64
|
-
return tryTypedArrays(value);
|
|
65
|
-
};
|
|
66
|
-
|
|
67
|
-
export { isTypedArray as i };
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
var $WeakMap = typeof WeakMap === 'function' && WeakMap.prototype ? WeakMap : null;
|
|
2
|
-
var $WeakSet = typeof WeakSet === 'function' && WeakSet.prototype ? WeakSet : null;
|
|
3
|
-
|
|
4
|
-
var exported;
|
|
5
|
-
|
|
6
|
-
if (!$WeakMap) {
|
|
7
|
-
// eslint-disable-next-line no-unused-vars
|
|
8
|
-
exported = function isWeakMap(x) {
|
|
9
|
-
// `WeakMap` is not present in this environment.
|
|
10
|
-
return false;
|
|
11
|
-
};
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
var $mapHas = $WeakMap ? $WeakMap.prototype.has : null;
|
|
15
|
-
var $setHas = $WeakSet ? $WeakSet.prototype.has : null;
|
|
16
|
-
if (!exported && !$mapHas) {
|
|
17
|
-
// eslint-disable-next-line no-unused-vars
|
|
18
|
-
exported = function isWeakMap(x) {
|
|
19
|
-
// `WeakMap` does not have a `has` method
|
|
20
|
-
return false;
|
|
21
|
-
};
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
var isWeakmap = exported || function isWeakMap(x) {
|
|
25
|
-
if (!x || typeof x !== 'object') {
|
|
26
|
-
return false;
|
|
27
|
-
}
|
|
28
|
-
try {
|
|
29
|
-
$mapHas.call(x, $mapHas);
|
|
30
|
-
if ($setHas) {
|
|
31
|
-
try {
|
|
32
|
-
$setHas.call(x, $setHas);
|
|
33
|
-
} catch (e) {
|
|
34
|
-
return true;
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
return x instanceof $WeakMap; // core-js workaround, pre-v3
|
|
38
|
-
} catch (e) {}
|
|
39
|
-
return false;
|
|
40
|
-
};
|
|
41
|
-
|
|
42
|
-
export { isWeakmap as i };
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
var $WeakMap = typeof WeakMap === 'function' && WeakMap.prototype ? WeakMap : null;
|
|
2
|
-
var $WeakSet = typeof WeakSet === 'function' && WeakSet.prototype ? WeakSet : null;
|
|
3
|
-
|
|
4
|
-
var exported;
|
|
5
|
-
|
|
6
|
-
if (!$WeakMap) {
|
|
7
|
-
// eslint-disable-next-line no-unused-vars
|
|
8
|
-
exported = function isWeakSet(x) {
|
|
9
|
-
// `WeakSet` is not present in this environment.
|
|
10
|
-
return false;
|
|
11
|
-
};
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
var $mapHas = $WeakMap ? $WeakMap.prototype.has : null;
|
|
15
|
-
var $setHas = $WeakSet ? $WeakSet.prototype.has : null;
|
|
16
|
-
if (!exported && !$setHas) {
|
|
17
|
-
// eslint-disable-next-line no-unused-vars
|
|
18
|
-
isWeakset = function isWeakSet(x) {
|
|
19
|
-
// `WeakSet` does not have a `has` method
|
|
20
|
-
return false;
|
|
21
|
-
};
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
var isWeakset = exported || function isWeakSet(x) {
|
|
25
|
-
if (!x || typeof x !== 'object') {
|
|
26
|
-
return false;
|
|
27
|
-
}
|
|
28
|
-
try {
|
|
29
|
-
$setHas.call(x, $setHas);
|
|
30
|
-
if ($mapHas) {
|
|
31
|
-
try {
|
|
32
|
-
$mapHas.call(x, $mapHas);
|
|
33
|
-
} catch (e) {
|
|
34
|
-
return true;
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
return x instanceof $WeakSet; // core-js workaround, pre-v3
|
|
38
|
-
} catch (e) {}
|
|
39
|
-
return false;
|
|
40
|
-
};
|
|
41
|
-
|
|
42
|
-
export { isWeakset as i };
|