@loaders.gl/worker-utils
Advanced tools
Comparing version 4.0.0-alpha.3 to 4.0.0-alpha.4
const DEFAULT_VERSION = 'beta'; | ||
export const VERSION = typeof "4.0.0-alpha.3" !== 'undefined' ? "4.0.0-alpha.3" : DEFAULT_VERSION; | ||
export const VERSION = typeof "4.0.0-alpha.4" !== 'undefined' ? "4.0.0-alpha.4" : DEFAULT_VERSION; | ||
if (typeof "4.0.0-alpha.3" === 'undefined') { | ||
if (typeof "4.0.0-alpha.4" === '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.3" !== 'undefined' ? "4.0.0-alpha.3" : LATEST; | ||
const VERSION = typeof "4.0.0-alpha.4" !== 'undefined' ? "4.0.0-alpha.4" : LATEST; | ||
const loadLibraryPromises = {}; | ||
@@ -9,0 +9,0 @@ export async function loadLibrary(libraryUrl, moduleName = null, options = {}) { |
import { assert } from '../env-utils/assert'; | ||
import { VERSION as __VERSION__ } from '../env-utils/version'; | ||
const NPM_TAG = 'beta'; | ||
const VERSION = typeof "4.0.0-alpha.3" !== 'undefined' ? "4.0.0-alpha.3" : NPM_TAG; | ||
const VERSION = typeof "4.0.0-alpha.4" !== 'undefined' ? "4.0.0-alpha.4" : 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": "4.0.0-alpha.3", | ||
"version": "4.0.0-alpha.4", | ||
"description": "Utilities for running tasks on worker threads", | ||
@@ -46,3 +46,3 @@ "license": "MIT", | ||
}, | ||
"gitHead": "ded84630d02ba4fc97277ebecea3e42ae1bc2616" | ||
"gitHead": "53026061b3c8871f7e96d3a5826125cc6613bddc" | ||
} |
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