@loaders.gl/worker-utils
Advanced tools
Comparing version 3.4.13 to 3.4.14
@@ -8,7 +8,7 @@ "use strict"; | ||
var DEFAULT_VERSION = 'latest'; | ||
var VERSION = typeof "3.4.13" !== 'undefined' ? "3.4.13" : DEFAULT_VERSION; | ||
var VERSION = typeof "3.4.14" !== 'undefined' ? "3.4.14" : DEFAULT_VERSION; | ||
exports.VERSION = VERSION; | ||
if (typeof "3.4.13" === 'undefined') { | ||
if (typeof "3.4.14" === '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 = 'latest'; | ||
var VERSION = typeof "3.4.13" !== 'undefined' ? "3.4.13" : LATEST; | ||
var VERSION = typeof "3.4.14" !== 'undefined' ? "3.4.14" : LATEST; | ||
var loadLibraryPromises = {}; | ||
@@ -22,0 +22,0 @@ function loadLibrary(_x) { |
@@ -11,3 +11,3 @@ "use strict"; | ||
var NPM_TAG = 'latest'; | ||
var VERSION = typeof "3.4.13" !== 'undefined' ? "3.4.13" : NPM_TAG; | ||
var VERSION = typeof "3.4.14" !== 'undefined' ? "3.4.14" : NPM_TAG; | ||
function getWorkerName(worker) { | ||
@@ -14,0 +14,0 @@ var warning = worker.version !== VERSION ? " (worker-utils@".concat(VERSION, ")") : ''; |
const DEFAULT_VERSION = 'latest'; | ||
export const VERSION = typeof "3.4.13" !== 'undefined' ? "3.4.13" : DEFAULT_VERSION; | ||
if (typeof "3.4.13" === 'undefined') { | ||
export const VERSION = typeof "3.4.14" !== 'undefined' ? "3.4.14" : DEFAULT_VERSION; | ||
if (typeof "3.4.14" === '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 = 'latest'; | ||
const VERSION = typeof "3.4.13" !== 'undefined' ? "3.4.13" : LATEST; | ||
const VERSION = typeof "3.4.14" !== 'undefined' ? "3.4.14" : LATEST; | ||
const loadLibraryPromises = {}; | ||
@@ -9,0 +9,0 @@ export async function loadLibrary(libraryUrl) { |
import { assert } from '../env-utils/assert'; | ||
import { VERSION as __VERSION__ } from '../env-utils/version'; | ||
const NPM_TAG = 'latest'; | ||
const VERSION = typeof "3.4.13" !== 'undefined' ? "3.4.13" : NPM_TAG; | ||
const VERSION = typeof "3.4.14" !== 'undefined' ? "3.4.14" : NPM_TAG; | ||
export function getWorkerName(worker) { | ||
@@ -6,0 +6,0 @@ const warning = worker.version !== VERSION ? " (worker-utils@".concat(VERSION, ")") : ''; |
{ | ||
"name": "@loaders.gl/worker-utils", | ||
"version": "3.4.13", | ||
"version": "3.4.14", | ||
"description": "Utilities for running tasks on worker threads", | ||
@@ -35,5 +35,5 @@ "license": "MIT", | ||
"./dist/esm/lib/node/worker_threads.js": "./dist/esm/lib/node/worker_threads-browser.js", | ||
"./src/lib/node/require-utils.node.ts": false, | ||
"./dist/es5/lib/node/require-utils.node.js": false, | ||
"./dist/esm/lib/node/require-utils.node.js": false, | ||
"./src/lib/node/require-utils.node.ts": "./src/lib/node/require-utils.browser.ts", | ||
"./dist/es5/lib/node/require-utils.node.js": "./dist/es5/lib/node/require-utils.browser.js", | ||
"./dist/esm/lib/node/require-utils.node.js": "./dist/esm/lib/node/require-utils.browser.js", | ||
"./src/lib/process-utils/child-process-proxy.ts": false, | ||
@@ -52,3 +52,3 @@ "./dist/es5/lib/process-utils/child-process-proxy.js": false, | ||
}, | ||
"gitHead": "be8849c02972ce541e01720d29b976f830d6af92" | ||
"gitHead": "dffa197c6ae79bac5277d5e8a132f4cd274e74e5" | ||
} |
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
469202
187
5480