vis-data 8.0.1 → 8.0.3

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 (58) hide show
  1. package/declarations/data-set-part.d.ts +0 -1
  2. package/declarations/data-set-part.d.ts.map +1 -1
  3. package/declarations/data-set.d.ts +0 -5
  4. package/declarations/data-set.d.ts.map +1 -1
  5. package/declarations/entry-esnext.d.ts.map +1 -1
  6. package/dist/esm.js +9 -29
  7. package/dist/esm.js.map +1 -1
  8. package/dist/umd.js +9 -29
  9. package/dist/umd.js.map +1 -1
  10. package/esnext/esm/vis-data.js +2 -25
  11. package/esnext/esm/vis-data.js.map +1 -1
  12. package/esnext/esm/vis-data.min.js +3 -3
  13. package/esnext/esm/vis-data.min.js.map +1 -1
  14. package/esnext/esm/vis-data.min.mjs +3 -3
  15. package/esnext/esm/vis-data.min.mjs.map +1 -1
  16. package/esnext/esm/vis-data.mjs +2 -25
  17. package/esnext/esm/vis-data.mjs.map +1 -1
  18. package/esnext/umd/vis-data.cjs +2 -25
  19. package/esnext/umd/vis-data.cjs.map +1 -1
  20. package/esnext/umd/vis-data.js +2 -25
  21. package/esnext/umd/vis-data.js.map +1 -1
  22. package/esnext/umd/vis-data.min.cjs +3 -3
  23. package/esnext/umd/vis-data.min.cjs.map +1 -1
  24. package/esnext/umd/vis-data.min.js +3 -3
  25. package/esnext/umd/vis-data.min.js.map +1 -1
  26. package/package.json +11 -11
  27. package/peer/esm/vis-data.js +5230 -5098
  28. package/peer/esm/vis-data.js.map +1 -1
  29. package/peer/esm/vis-data.min.js +4 -29
  30. package/peer/esm/vis-data.min.js.map +1 -1
  31. package/peer/esm/vis-data.min.mjs +4 -29
  32. package/peer/esm/vis-data.min.mjs.map +1 -1
  33. package/peer/esm/vis-data.mjs +5230 -5098
  34. package/peer/esm/vis-data.mjs.map +1 -1
  35. package/peer/umd/vis-data.cjs +5226 -5094
  36. package/peer/umd/vis-data.cjs.map +1 -1
  37. package/peer/umd/vis-data.js +5226 -5094
  38. package/peer/umd/vis-data.js.map +1 -1
  39. package/peer/umd/vis-data.min.cjs +4 -29
  40. package/peer/umd/vis-data.min.cjs.map +1 -1
  41. package/peer/umd/vis-data.min.js +4 -29
  42. package/peer/umd/vis-data.min.js.map +1 -1
  43. package/standalone/esm/vis-data.js +5230 -5098
  44. package/standalone/esm/vis-data.js.map +1 -1
  45. package/standalone/esm/vis-data.min.js +4 -29
  46. package/standalone/esm/vis-data.min.js.map +1 -1
  47. package/standalone/esm/vis-data.min.mjs +4 -29
  48. package/standalone/esm/vis-data.min.mjs.map +1 -1
  49. package/standalone/esm/vis-data.mjs +5230 -5098
  50. package/standalone/esm/vis-data.mjs.map +1 -1
  51. package/standalone/umd/vis-data.cjs +5226 -5094
  52. package/standalone/umd/vis-data.cjs.map +1 -1
  53. package/standalone/umd/vis-data.js +5226 -5094
  54. package/standalone/umd/vis-data.js.map +1 -1
  55. package/standalone/umd/vis-data.min.cjs +4 -29
  56. package/standalone/umd/vis-data.min.cjs.map +1 -1
  57. package/standalone/umd/vis-data.min.js +4 -29
  58. package/standalone/umd/vis-data.min.js.map +1 -1
package/dist/umd.js CHANGED
@@ -4,8 +4,8 @@
4
4
  *
5
5
  * Manage unstructured data using DataSet. Add, update, and remove data, and listen for changes in the data.
6
6
  *
7
- * @version 8.0.1
8
- * @date 2025-07-13T02:53:07.551Z
7
+ * @version 8.0.3
8
+ * @date 2025-09-10T16:22:34.710Z
9
9
  *
10
10
  * @copyright (c) 2011-2017 Almende B.V, http://almende.com
11
11
  * @copyright (c) 2017-2019 visjs contributors, https://github.com/visjs
@@ -10830,10 +10830,7 @@
10830
10830
  const randomUUID = typeof crypto !== 'undefined' && crypto.randomUUID && crypto.randomUUID.bind(crypto);
10831
10831
  var native = { randomUUID };
10832
10832
 
10833
- function v4(options, buf, offset) {
10834
- if (native.randomUUID && true && !options) {
10835
- return native.randomUUID();
10836
- }
10833
+ function _v4(options, buf, offset) {
10837
10834
  options = options || {};
10838
10835
  const rnds = options.random ?? options.rng?.() ?? rng();
10839
10836
  if (rnds.length < 16) {
@@ -10843,6 +10840,12 @@
10843
10840
  rnds[8] = (rnds[8] & 0x3f) | 0x80;
10844
10841
  return unsafeStringify(rnds);
10845
10842
  }
10843
+ function v4(options, buf, offset) {
10844
+ if (native.randomUUID && true && !options) {
10845
+ return native.randomUUID();
10846
+ }
10847
+ return _v4(options);
10848
+ }
10846
10849
 
10847
10850
  /**
10848
10851
  * Determine whether a value can be used as an id.
@@ -11373,10 +11376,6 @@
11373
11376
  var _context2;
11374
11377
  this._subscribers[event] = _filterInstanceProperty(_context2 = this._subscribers[event]).call(_context2, subscriber => subscriber !== callback);
11375
11378
  }
11376
- /* develblock:start */
11377
- get testLeakSubscribers() {
11378
- return this._subscribers;
11379
- }
11380
11379
  }
11381
11380
 
11382
11381
  var es_object_create = {};
@@ -13310,22 +13309,6 @@
13310
13309
  });
13311
13310
  }
13312
13311
  }
13313
- /* develblock:start */
13314
- get testLeakData() {
13315
- return this._data;
13316
- }
13317
- get testLeakIdProp() {
13318
- return this._idProp;
13319
- }
13320
- get testLeakOptions() {
13321
- return this._options;
13322
- }
13323
- get testLeakQueue() {
13324
- return this._queue;
13325
- }
13326
- set testLeakQueue(v) {
13327
- this._queue = v;
13328
- }
13329
13312
  }
13330
13313
 
13331
13314
  var es_reflect_ownKeys = {};
@@ -13803,9 +13786,6 @@
13803
13786
  return typeof v === "object" && v !== null && idProp === v.idProp && typeof _forEachInstanceProperty(v) === "function" && typeof v.get === "function" && typeof v.getDataSet === "function" && typeof v.getIds === "function" && typeof v.length === "number" && typeof _mapInstanceProperty(v) === "function" && typeof v.off === "function" && typeof v.on === "function" && typeof v.stream === "function" && isDataSetLike(idProp, v.getDataSet());
13804
13787
  }
13805
13788
 
13806
- /* develblock:start */
13807
- console.warn("You're running a development build.");
13808
-
13809
13789
  // Current API.
13810
13790
  var index = {
13811
13791
  DataSet,