@loaders.gl/worker-utils
Advanced tools
Comparing version 3.4.5 to 3.4.6
@@ -8,7 +8,7 @@ "use strict"; | ||
var DEFAULT_VERSION = 'latest'; | ||
var VERSION = typeof "3.4.5" !== 'undefined' ? "3.4.5" : DEFAULT_VERSION; | ||
var VERSION = typeof "3.4.6" !== 'undefined' ? "3.4.6" : DEFAULT_VERSION; | ||
exports.VERSION = VERSION; | ||
if (typeof "3.4.5" === 'undefined') { | ||
if (typeof "3.4.6" === '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.5" !== 'undefined' ? "3.4.5" : LATEST; | ||
var VERSION = typeof "3.4.6" !== 'undefined' ? "3.4.6" : 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.5" !== 'undefined' ? "3.4.5" : NPM_TAG; | ||
var VERSION = typeof "3.4.6" !== 'undefined' ? "3.4.6" : 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.5" !== 'undefined' ? "3.4.5" : DEFAULT_VERSION; | ||
if (typeof "3.4.5" === 'undefined') { | ||
export const VERSION = typeof "3.4.6" !== 'undefined' ? "3.4.6" : DEFAULT_VERSION; | ||
if (typeof "3.4.6" === '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.5" !== 'undefined' ? "3.4.5" : LATEST; | ||
const VERSION = typeof "3.4.6" !== 'undefined' ? "3.4.6" : 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.5" !== 'undefined' ? "3.4.5" : NPM_TAG; | ||
const VERSION = typeof "3.4.6" !== 'undefined' ? "3.4.6" : 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.5", | ||
"version": "3.4.6", | ||
"description": "Utilities for running tasks on worker threads", | ||
@@ -52,3 +52,3 @@ "license": "MIT", | ||
}, | ||
"gitHead": "3d2f9c2792182d8f9bc23b5137f5a69cf14f4722" | ||
"gitHead": "f878cbf97013ab99866390ef58e6ca26717af6cb" | ||
} |
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