@loaders.gl/worker-utils
Advanced tools
Comparing version 4.0.0-alpha.23 to 4.0.0-alpha.24
@@ -8,7 +8,7 @@ "use strict"; | ||
var DEFAULT_VERSION = 'beta'; | ||
var VERSION = typeof "4.0.0-alpha.23" !== 'undefined' ? "4.0.0-alpha.23" : DEFAULT_VERSION; | ||
var VERSION = typeof "4.0.0-alpha.24" !== 'undefined' ? "4.0.0-alpha.24" : DEFAULT_VERSION; | ||
exports.VERSION = VERSION; | ||
if (typeof "4.0.0-alpha.23" === 'undefined') { | ||
if (typeof "4.0.0-alpha.24" === 'undefined') { | ||
console.error('loaders.gl: The __VERSION__ variable is not injected using babel plugin. Latest unstable workers would be fetched from the CDN.'); | ||
} | ||
//# sourceMappingURL=version.js.map |
@@ -19,3 +19,3 @@ "use strict"; | ||
var LATEST = 'beta'; | ||
var VERSION = typeof "4.0.0-alpha.23" !== 'undefined' ? "4.0.0-alpha.23" : LATEST; | ||
var VERSION = typeof "4.0.0-alpha.24" !== 'undefined' ? "4.0.0-alpha.24" : LATEST; | ||
var loadLibraryPromises = {}; | ||
@@ -22,0 +22,0 @@ function loadLibrary(_x) { |
@@ -12,3 +12,3 @@ "use strict"; | ||
var NPM_TAG = 'beta'; | ||
var VERSION = typeof "4.0.0-alpha.23" !== 'undefined' ? "4.0.0-alpha.23" : NPM_TAG; | ||
var VERSION = typeof "4.0.0-alpha.24" !== 'undefined' ? "4.0.0-alpha.24" : NPM_TAG; | ||
function getWorkerName(worker) { | ||
@@ -15,0 +15,0 @@ var warning = worker.version !== VERSION ? " (worker-utils@".concat(VERSION, ")") : ''; |
const DEFAULT_VERSION = 'beta'; | ||
export const VERSION = typeof "4.0.0-alpha.23" !== 'undefined' ? "4.0.0-alpha.23" : DEFAULT_VERSION; | ||
if (typeof "4.0.0-alpha.23" === 'undefined') { | ||
export const VERSION = typeof "4.0.0-alpha.24" !== 'undefined' ? "4.0.0-alpha.24" : DEFAULT_VERSION; | ||
if (typeof "4.0.0-alpha.24" === 'undefined') { | ||
console.error('loaders.gl: The __VERSION__ variable is not injected using babel plugin. Latest unstable workers would be fetched from the CDN.'); | ||
} | ||
//# sourceMappingURL=version.js.map |
@@ -6,3 +6,3 @@ import { global, isBrowser, isWorker } from '../env-utils/globals'; | ||
const LATEST = 'beta'; | ||
const VERSION = typeof "4.0.0-alpha.23" !== 'undefined' ? "4.0.0-alpha.23" : LATEST; | ||
const VERSION = typeof "4.0.0-alpha.24" !== 'undefined' ? "4.0.0-alpha.24" : LATEST; | ||
const loadLibraryPromises = {}; | ||
@@ -9,0 +9,0 @@ export async function loadLibrary(libraryUrl) { |
@@ -5,3 +5,3 @@ import { assert } from '../env-utils/assert'; | ||
const NPM_TAG = 'beta'; | ||
const VERSION = typeof "4.0.0-alpha.23" !== 'undefined' ? "4.0.0-alpha.23" : NPM_TAG; | ||
const VERSION = typeof "4.0.0-alpha.24" !== 'undefined' ? "4.0.0-alpha.24" : NPM_TAG; | ||
export function getWorkerName(worker) { | ||
@@ -8,0 +8,0 @@ const warning = worker.version !== VERSION ? " (worker-utils@".concat(VERSION, ")") : ''; |
{ | ||
"name": "@loaders.gl/worker-utils", | ||
"version": "4.0.0-alpha.23", | ||
"version": "4.0.0-alpha.24", | ||
"description": "Utilities for running tasks on worker threads", | ||
@@ -29,13 +29,12 @@ "license": "MIT", | ||
"child_process": false, | ||
"module": false, | ||
"path": false, | ||
"fs": false, | ||
"./src/lib/node/worker_threads.ts": "./src/lib/node/worker_threads-browser.ts", | ||
"./dist/lib/node/worker_threads.js": "./dist/lib/node/worker_threads-browser.js", | ||
"./dist/es5/lib/node/worker_threads.js": "./dist/es5/lib/node/worker_threads-browser.js", | ||
"./dist/esm/lib/node/worker_threads.js": "./dist/esm/lib/node/worker_threads-browser.js", | ||
"./src/lib/node/require-utils.node.ts": false, | ||
"./dist/lib/node/require-utils.node.js": false, | ||
"./dist/es5/lib/node/require-utils.node.js": false, | ||
"./dist/esm/lib/node/require-utils.node.js": false, | ||
"./src/lib/process-utils/child-process-proxy.ts": false, | ||
"./dist/lib/process-utils/child-process-proxy.js": false, | ||
"./dist/es5/lib/process-utils/child-process-proxy.js": false, | ||
@@ -54,3 +53,3 @@ "./dist/esm/lib/process-utils/child-process-proxy.js": false | ||
}, | ||
"gitHead": "e212f2a0c0e342f7cb65ce84fa2ff39f64b7d94b" | ||
"gitHead": "97a8990595c132fb14e3445a8768d9f4cb98ff05" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
6
18
509734
182
5934