vis-data 8.0.2 → 8.0.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/declarations/data-set-part.d.ts +0 -1
- package/declarations/data-set-part.d.ts.map +1 -1
- package/declarations/data-set.d.ts +0 -5
- package/declarations/data-set.d.ts.map +1 -1
- package/declarations/entry-esnext.d.ts.map +1 -1
- package/dist/esm.js +9 -42
- package/dist/esm.js.map +1 -1
- package/dist/umd.js +9 -42
- package/dist/umd.js.map +1 -1
- package/esnext/esm/vis-data.js +2 -25
- package/esnext/esm/vis-data.js.map +1 -1
- package/esnext/esm/vis-data.min.js +3 -3
- package/esnext/esm/vis-data.min.js.map +1 -1
- package/esnext/esm/vis-data.min.mjs +3 -3
- package/esnext/esm/vis-data.min.mjs.map +1 -1
- package/esnext/esm/vis-data.mjs +2 -25
- package/esnext/esm/vis-data.mjs.map +1 -1
- package/esnext/umd/vis-data.cjs +2 -25
- package/esnext/umd/vis-data.cjs.map +1 -1
- package/esnext/umd/vis-data.js +2 -25
- package/esnext/umd/vis-data.js.map +1 -1
- package/esnext/umd/vis-data.min.cjs +3 -3
- package/esnext/umd/vis-data.min.cjs.map +1 -1
- package/esnext/umd/vis-data.min.js +3 -3
- package/esnext/umd/vis-data.min.js.map +1 -1
- package/package.json +13 -14
- package/peer/esm/vis-data.js +9 -42
- package/peer/esm/vis-data.js.map +1 -1
- package/peer/esm/vis-data.min.js +4 -4
- package/peer/esm/vis-data.min.js.map +1 -1
- package/peer/esm/vis-data.min.mjs +4 -4
- package/peer/esm/vis-data.min.mjs.map +1 -1
- package/peer/esm/vis-data.mjs +9 -42
- package/peer/esm/vis-data.mjs.map +1 -1
- package/peer/umd/vis-data.cjs +9 -42
- package/peer/umd/vis-data.cjs.map +1 -1
- package/peer/umd/vis-data.js +9 -42
- package/peer/umd/vis-data.js.map +1 -1
- package/peer/umd/vis-data.min.cjs +4 -4
- package/peer/umd/vis-data.min.cjs.map +1 -1
- package/peer/umd/vis-data.min.js +4 -4
- package/peer/umd/vis-data.min.js.map +1 -1
- package/standalone/esm/vis-data.js +9 -42
- package/standalone/esm/vis-data.js.map +1 -1
- package/standalone/esm/vis-data.min.js +4 -4
- package/standalone/esm/vis-data.min.js.map +1 -1
- package/standalone/esm/vis-data.min.mjs +4 -4
- package/standalone/esm/vis-data.min.mjs.map +1 -1
- package/standalone/esm/vis-data.mjs +9 -42
- package/standalone/esm/vis-data.mjs.map +1 -1
- package/standalone/umd/vis-data.cjs +9 -42
- package/standalone/umd/vis-data.cjs.map +1 -1
- package/standalone/umd/vis-data.js +9 -42
- package/standalone/umd/vis-data.js.map +1 -1
- package/standalone/umd/vis-data.min.cjs +4 -4
- package/standalone/umd/vis-data.min.cjs.map +1 -1
- package/standalone/umd/vis-data.min.js +4 -4
- 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.
|
|
8
|
-
* @date
|
|
7
|
+
* @version 8.0.4
|
|
8
|
+
* @date 2026-05-07T14:01:37.689Z
|
|
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
|
|
@@ -10815,21 +10815,17 @@
|
|
|
10815
10815
|
byteToHex[arr[offset + 15]]).toLowerCase();
|
|
10816
10816
|
}
|
|
10817
10817
|
|
|
10818
|
-
let getRandomValues;
|
|
10819
10818
|
const rnds8 = new Uint8Array(16);
|
|
10820
10819
|
function rng() {
|
|
10821
|
-
|
|
10822
|
-
if (typeof crypto === 'undefined' || !crypto.getRandomValues) {
|
|
10823
|
-
throw new Error('crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported');
|
|
10824
|
-
}
|
|
10825
|
-
getRandomValues = crypto.getRandomValues.bind(crypto);
|
|
10826
|
-
}
|
|
10827
|
-
return getRandomValues(rnds8);
|
|
10820
|
+
return crypto.getRandomValues(rnds8);
|
|
10828
10821
|
}
|
|
10829
10822
|
|
|
10830
|
-
|
|
10831
|
-
|
|
10832
|
-
|
|
10823
|
+
function v4(options, buf, offset) {
|
|
10824
|
+
if (crypto.randomUUID) {
|
|
10825
|
+
return crypto.randomUUID();
|
|
10826
|
+
}
|
|
10827
|
+
return _v4(options);
|
|
10828
|
+
}
|
|
10833
10829
|
function _v4(options, buf, offset) {
|
|
10834
10830
|
options = options || {};
|
|
10835
10831
|
const rnds = options.random ?? options.rng?.() ?? rng();
|
|
@@ -10840,12 +10836,6 @@
|
|
|
10840
10836
|
rnds[8] = (rnds[8] & 0x3f) | 0x80;
|
|
10841
10837
|
return unsafeStringify(rnds);
|
|
10842
10838
|
}
|
|
10843
|
-
function v4(options, buf, offset) {
|
|
10844
|
-
if (native.randomUUID && true && !options) {
|
|
10845
|
-
return native.randomUUID();
|
|
10846
|
-
}
|
|
10847
|
-
return _v4(options);
|
|
10848
|
-
}
|
|
10849
10839
|
|
|
10850
10840
|
/**
|
|
10851
10841
|
* Determine whether a value can be used as an id.
|
|
@@ -11376,10 +11366,6 @@
|
|
|
11376
11366
|
var _context2;
|
|
11377
11367
|
this._subscribers[event] = _filterInstanceProperty(_context2 = this._subscribers[event]).call(_context2, subscriber => subscriber !== callback);
|
|
11378
11368
|
}
|
|
11379
|
-
/* develblock:start */
|
|
11380
|
-
get testLeakSubscribers() {
|
|
11381
|
-
return this._subscribers;
|
|
11382
|
-
}
|
|
11383
11369
|
}
|
|
11384
11370
|
|
|
11385
11371
|
var es_object_create = {};
|
|
@@ -13313,22 +13299,6 @@
|
|
|
13313
13299
|
});
|
|
13314
13300
|
}
|
|
13315
13301
|
}
|
|
13316
|
-
/* develblock:start */
|
|
13317
|
-
get testLeakData() {
|
|
13318
|
-
return this._data;
|
|
13319
|
-
}
|
|
13320
|
-
get testLeakIdProp() {
|
|
13321
|
-
return this._idProp;
|
|
13322
|
-
}
|
|
13323
|
-
get testLeakOptions() {
|
|
13324
|
-
return this._options;
|
|
13325
|
-
}
|
|
13326
|
-
get testLeakQueue() {
|
|
13327
|
-
return this._queue;
|
|
13328
|
-
}
|
|
13329
|
-
set testLeakQueue(v) {
|
|
13330
|
-
this._queue = v;
|
|
13331
|
-
}
|
|
13332
13302
|
}
|
|
13333
13303
|
|
|
13334
13304
|
var es_reflect_ownKeys = {};
|
|
@@ -13806,9 +13776,6 @@
|
|
|
13806
13776
|
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());
|
|
13807
13777
|
}
|
|
13808
13778
|
|
|
13809
|
-
/* develblock:start */
|
|
13810
|
-
console.warn("You're running a development build.");
|
|
13811
|
-
|
|
13812
13779
|
// Current API.
|
|
13813
13780
|
var index = {
|
|
13814
13781
|
DataSet,
|