@vitessce/utils 3.6.17 → 3.7.0
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/dist/index.js +3 -6
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
var __defProp = Object.defineProperty;
|
|
2
|
-
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3
|
-
var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
4
1
|
function getDefaultExportFromCjs(x) {
|
|
5
2
|
return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, "default") ? x["default"] : x;
|
|
6
3
|
}
|
|
@@ -849,14 +846,14 @@ function getValueTransformFunction(featureValueTransform, coefficient) {
|
|
|
849
846
|
}
|
|
850
847
|
const defaultPoolSize = typeof navigator !== "undefined" ? navigator.hardwareConcurrency || 4 : 1;
|
|
851
848
|
class Pool {
|
|
849
|
+
workers;
|
|
850
|
+
idleWorkers;
|
|
851
|
+
waitQueue;
|
|
852
852
|
/**
|
|
853
853
|
* @constructor
|
|
854
854
|
* @param {object} Worker The worker class to be used for processing.
|
|
855
855
|
*/
|
|
856
856
|
constructor(createWorker) {
|
|
857
|
-
__publicField(this, "workers");
|
|
858
|
-
__publicField(this, "idleWorkers");
|
|
859
|
-
__publicField(this, "waitQueue");
|
|
860
857
|
this.workers = [];
|
|
861
858
|
this.idleWorkers = [];
|
|
862
859
|
this.waitQueue = [];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vitessce/utils",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.7.0",
|
|
4
4
|
"author": "HIDIVE Lab at HMS",
|
|
5
5
|
"homepage": "http://vitessce.io",
|
|
6
6
|
"repository": {
|
|
@@ -21,10 +21,10 @@
|
|
|
21
21
|
"lz-string": "^1.4.4",
|
|
22
22
|
"pluralize": "^8.0.0",
|
|
23
23
|
"d3-array": "^2.4.0",
|
|
24
|
-
"@vitessce/globals": "3.
|
|
24
|
+
"@vitessce/globals": "3.7.0"
|
|
25
25
|
},
|
|
26
26
|
"scripts": {
|
|
27
|
-
"bundle": "pnpm exec vite build -c ../../../scripts/vite.config.
|
|
27
|
+
"bundle": "pnpm exec vite build -c ../../../scripts/vite.config.mjs",
|
|
28
28
|
"test": "pnpm exec vitest --run"
|
|
29
29
|
},
|
|
30
30
|
"module": "dist/index.js",
|