@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.
Files changed (114) hide show
  1. package/Rendering/OpenGL/ImageMapper.js +4 -8
  2. package/Rendering/OpenGL/PolyDataMapper.js +4 -8
  3. package/macros.js +2 -2
  4. package/package.json +2 -1
  5. package/_vendor/available-typed-arrays/index.js_commonjs-proxy.js +0 -1
  6. package/_vendor/call-bind/callBound.js_commonjs-proxy.js +0 -1
  7. package/_vendor/call-bind/index.js_commonjs-module.js +0 -3
  8. package/_vendor/call-bind/index.js_commonjs-proxy.js +0 -1
  9. package/_vendor/deep-equal/node_modules/isarray/index.js_commonjs-proxy.js +0 -1
  10. package/_vendor/define-properties/index.js_commonjs-proxy.js +0 -1
  11. package/_vendor/es-abstract/helpers/getOwnPropertyDescriptor.js_commonjs-proxy.js +0 -1
  12. package/_vendor/es-get-iterator/index.js_commonjs-module.js +0 -3
  13. package/_vendor/es-get-iterator/index.js_commonjs-proxy.js +0 -1
  14. package/_vendor/es-get-iterator/node_modules/isarray/index.js_commonjs-proxy.js +0 -1
  15. package/_vendor/foreach/index.js_commonjs-proxy.js +0 -1
  16. package/_vendor/function-bind/implementation.js_commonjs-proxy.js +0 -1
  17. package/_vendor/function-bind/index.js_commonjs-proxy.js +0 -1
  18. package/_vendor/get-intrinsic/index.js_commonjs-proxy.js +0 -1
  19. package/_vendor/has/src/index.js_commonjs-proxy.js +0 -1
  20. package/_vendor/has-bigints/index.js_commonjs-proxy.js +0 -1
  21. package/_vendor/has-symbols/index.js_commonjs-proxy.js +0 -1
  22. package/_vendor/has-symbols/shams.js_commonjs-proxy.js +0 -1
  23. package/_vendor/has-tostringtag/shams.js_commonjs-proxy.js +0 -1
  24. package/_vendor/is-arguments/index.js_commonjs-proxy.js +0 -1
  25. package/_vendor/is-bigint/index.js_commonjs-module.js +0 -3
  26. package/_vendor/is-bigint/index.js_commonjs-proxy.js +0 -1
  27. package/_vendor/is-boolean-object/index.js_commonjs-proxy.js +0 -1
  28. package/_vendor/is-date-object/index.js_commonjs-proxy.js +0 -1
  29. package/_vendor/is-map/index.js_commonjs-proxy.js +0 -1
  30. package/_vendor/is-number-object/index.js_commonjs-proxy.js +0 -1
  31. package/_vendor/is-regex/index.js_commonjs-proxy.js +0 -1
  32. package/_vendor/is-set/index.js_commonjs-proxy.js +0 -1
  33. package/_vendor/is-string/index.js_commonjs-proxy.js +0 -1
  34. package/_vendor/is-symbol/index.js_commonjs-module.js +0 -3
  35. package/_vendor/is-symbol/index.js_commonjs-proxy.js +0 -1
  36. package/_vendor/is-typed-array/index.js_commonjs-proxy.js +0 -1
  37. package/_vendor/is-weakmap/index.js_commonjs-proxy.js +0 -1
  38. package/_vendor/is-weakset/index.js_commonjs-proxy.js +0 -1
  39. package/_vendor/object-inspect/index.js_commonjs-proxy.js +0 -1
  40. package/_vendor/object-is/implementation.js_commonjs-proxy.js +0 -1
  41. package/_vendor/object-is/index.js_commonjs-proxy.js +0 -1
  42. package/_vendor/object-is/polyfill.js_commonjs-proxy.js +0 -1
  43. package/_vendor/object-is/shim.js_commonjs-proxy.js +0 -1
  44. package/_vendor/object-keys/implementation.js_commonjs-proxy.js +0 -1
  45. package/_vendor/object-keys/index.js_commonjs-proxy.js +0 -1
  46. package/_vendor/object-keys/isArguments.js_commonjs-proxy.js +0 -1
  47. package/_vendor/object.assign/implementation.js_commonjs-proxy.js +0 -1
  48. package/_vendor/object.assign/index.js_commonjs-proxy.js +0 -1
  49. package/_vendor/object.assign/polyfill.js_commonjs-proxy.js +0 -1
  50. package/_vendor/object.assign/shim.js_commonjs-proxy.js +0 -2
  51. package/_vendor/regexp.prototype.flags/implementation.js_commonjs-proxy.js +0 -1
  52. package/_vendor/regexp.prototype.flags/index.js_commonjs-proxy.js +0 -1
  53. package/_vendor/regexp.prototype.flags/polyfill.js_commonjs-proxy.js +0 -1
  54. package/_vendor/regexp.prototype.flags/shim.js_commonjs-proxy.js +0 -1
  55. package/_vendor/side-channel/index.js_commonjs-proxy.js +0 -1
  56. package/_vendor/which-boxed-primitive/index.js_commonjs-proxy.js +0 -5
  57. package/_vendor/which-collection/index.js_commonjs-proxy.js +0 -4
  58. package/_vendor/which-typed-array/index.js_commonjs-proxy.js +0 -1
  59. package/_virtual/_node-resolve_empty.js_commonjs-proxy.js +0 -6
  60. package/_virtual/commonjsHelpers.js +0 -18
  61. package/_virtual/node-resolve_empty.js +0 -8
  62. package/_virtual/polyfill-node.global.js +0 -5
  63. package/_virtual/polyfill-node.process.js +0 -225
  64. package/vendor/available-typed-arrays/index.js +0 -29
  65. package/vendor/call-bind/callBound.js +0 -19
  66. package/vendor/call-bind/index.js +0 -52
  67. package/vendor/deep-equal/index.js +0 -379
  68. package/vendor/deep-equal/node_modules/isarray/index.js +0 -7
  69. package/vendor/define-properties/index.js +0 -60
  70. package/vendor/es-abstract/helpers/getOwnPropertyDescriptor.js +0 -17
  71. package/vendor/es-get-iterator/index.js +0 -217
  72. package/vendor/es-get-iterator/node_modules/isarray/index.js +0 -7
  73. package/vendor/foreach/index.js +0 -22
  74. package/vendor/function-bind/implementation.js +0 -52
  75. package/vendor/function-bind/index.js +0 -7
  76. package/vendor/get-intrinsic/index.js +0 -334
  77. package/vendor/has/src/index.js +0 -7
  78. package/vendor/has-bigints/index.js +0 -12
  79. package/vendor/has-symbols/index.js +0 -15
  80. package/vendor/has-symbols/shams.js +0 -42
  81. package/vendor/has-tostringtag/shams.js +0 -9
  82. package/vendor/is-arguments/index.js +0 -36
  83. package/vendor/is-bigint/index.js +0 -39
  84. package/vendor/is-boolean-object/index.js +0 -29
  85. package/vendor/is-date-object/index.js +0 -22
  86. package/vendor/is-map/index.js +0 -42
  87. package/vendor/is-number-object/index.js +0 -26
  88. package/vendor/is-regex/index.js +0 -61
  89. package/vendor/is-set/index.js +0 -42
  90. package/vendor/is-string/index.js +0 -26
  91. package/vendor/is-symbol/index.js +0 -36
  92. package/vendor/is-typed-array/index.js +0 -67
  93. package/vendor/is-weakmap/index.js +0 -42
  94. package/vendor/is-weakset/index.js +0 -42
  95. package/vendor/object-inspect/index.js +0 -515
  96. package/vendor/object-is/implementation.js +0 -18
  97. package/vendor/object-is/index.js +0 -25
  98. package/vendor/object-is/polyfill.js +0 -9
  99. package/vendor/object-is/shim.js +0 -17
  100. package/vendor/object-keys/implementation.js +0 -124
  101. package/vendor/object-keys/index.js +0 -35
  102. package/vendor/object-keys/isArguments.js +0 -17
  103. package/vendor/object.assign/implementation.js +0 -46
  104. package/vendor/object.assign/index.js +0 -29
  105. package/vendor/object.assign/polyfill.js +0 -57
  106. package/vendor/object.assign/shim.js +0 -17
  107. package/vendor/regexp.prototype.flags/implementation.js +0 -30
  108. package/vendor/regexp.prototype.flags/index.js +0 -25
  109. package/vendor/regexp.prototype.flags/polyfill.js +0 -23
  110. package/vendor/regexp.prototype.flags/shim.js +0 -29
  111. package/vendor/side-channel/index.js +0 -128
  112. package/vendor/which-boxed-primitive/index.js +0 -38
  113. package/vendor/which-collection/index.js +0 -29
  114. package/vendor/which-typed-array/index.js +0 -63
@@ -1,63 +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
- import { i as isTypedArray$1 } from '../is-typed-array/index.js';
8
-
9
- var forEach = foreach;
10
- var availableTypedArrays = availableTypedArrays$1;
11
- var callBound = callBound$1;
12
-
13
- var $toString = callBound('Object.prototype.toString');
14
- var hasToStringTag = shams();
15
-
16
- var g = typeof globalThis === 'undefined' ? commonjsGlobal : globalThis;
17
- var typedArrays = availableTypedArrays();
18
-
19
- var $slice = callBound('String.prototype.slice');
20
- var toStrTags = {};
21
- var gOPD = getOwnPropertyDescriptor;
22
- var getPrototypeOf = Object.getPrototypeOf; // require('getprototypeof');
23
- if (hasToStringTag && gOPD && getPrototypeOf) {
24
- forEach(typedArrays, function (typedArray) {
25
- if (typeof g[typedArray] === 'function') {
26
- var arr = new g[typedArray]();
27
- if (Symbol.toStringTag in arr) {
28
- var proto = getPrototypeOf(arr);
29
- var descriptor = gOPD(proto, Symbol.toStringTag);
30
- if (!descriptor) {
31
- var superProto = getPrototypeOf(proto);
32
- descriptor = gOPD(superProto, Symbol.toStringTag);
33
- }
34
- toStrTags[typedArray] = descriptor.get;
35
- }
36
- }
37
- });
38
- }
39
-
40
- var tryTypedArrays = function tryAllTypedArrays(value) {
41
- var foundName = false;
42
- forEach(toStrTags, function (getter, typedArray) {
43
- if (!foundName) {
44
- try {
45
- var name = getter.call(value);
46
- if (name === typedArray) {
47
- foundName = name;
48
- }
49
- } catch (e) {}
50
- }
51
- });
52
- return foundName;
53
- };
54
-
55
- var isTypedArray = isTypedArray$1;
56
-
57
- var whichTypedArray = function whichTypedArray(value) {
58
- if (!isTypedArray(value)) { return false; }
59
- if (!hasToStringTag || !(Symbol.toStringTag in value)) { return $slice($toString(value), 8, -1); }
60
- return tryTypedArrays(value);
61
- };
62
-
63
- export { whichTypedArray as w };