@loaders.gl/worker-utils
Advanced tools
Comparing version 3.0.1 to 3.0.2
@@ -8,8 +8,8 @@ "use strict"; | ||
var DEFAULT_VERSION = 'beta'; | ||
var VERSION = typeof "3.0.1" !== 'undefined' ? "3.0.1" : DEFAULT_VERSION; | ||
var VERSION = typeof "3.0.2" !== 'undefined' ? "3.0.2" : DEFAULT_VERSION; | ||
exports.VERSION = VERSION; | ||
if (typeof "3.0.1" === 'undefined') { | ||
if (typeof "3.0.2" === '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 |
@@ -30,3 +30,3 @@ "use strict"; | ||
var LATEST = 'beta'; | ||
var VERSION = typeof "3.0.1" !== 'undefined' ? "3.0.1" : LATEST; | ||
var VERSION = typeof "3.0.2" !== 'undefined' ? "3.0.2" : LATEST; | ||
var loadLibraryPromises = {}; | ||
@@ -33,0 +33,0 @@ |
@@ -13,4 +13,4 @@ "use strict"; | ||
var NPM_TAG = 'beta'; | ||
var VERSION = typeof "3.0.1" !== 'undefined' ? "3.0.1" : NPM_TAG; | ||
var NPM_TAG = 'latest'; | ||
var VERSION = typeof "3.0.2" !== 'undefined' ? "3.0.2" : NPM_TAG; | ||
@@ -17,0 +17,0 @@ function getWorkerName(worker) { |
const DEFAULT_VERSION = 'beta'; | ||
export const VERSION = typeof "3.0.1" !== 'undefined' ? "3.0.1" : DEFAULT_VERSION; | ||
export const VERSION = typeof "3.0.2" !== 'undefined' ? "3.0.2" : DEFAULT_VERSION; | ||
if (typeof "3.0.1" === 'undefined') { | ||
if (typeof "3.0.2" === '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 "3.0.1" !== 'undefined' ? "3.0.1" : LATEST; | ||
const VERSION = typeof "3.0.2" !== 'undefined' ? "3.0.2" : 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 "3.0.1" !== 'undefined' ? "3.0.1" : NPM_TAG; | ||
const NPM_TAG = 'latest'; | ||
const VERSION = typeof "3.0.2" !== 'undefined' ? "3.0.2" : NPM_TAG; | ||
export function getWorkerName(worker) { | ||
@@ -6,0 +6,0 @@ const warning = worker.version !== VERSION ? " (worker-utils@".concat(VERSION, ")") : ''; |
@@ -90,5 +90,5 @@ /******/ (function(modules) { // webpackBootstrap | ||
/***/ "../../node_modules/@babel/runtime/helpers/defineProperty.js": | ||
/*!********************************************************************************************!*\ | ||
!*** /Users/ibgreen/code/loaders.gl/node_modules/@babel/runtime/helpers/defineProperty.js ***! | ||
\********************************************************************************************/ | ||
/*!****************************************************************************************!*\ | ||
!*** /home/user/apps/loaders.gl/node_modules/@babel/runtime/helpers/defineProperty.js ***! | ||
\****************************************************************************************/ | ||
/*! no static exports found */ | ||
@@ -95,0 +95,0 @@ /***/ (function(module, exports) { |
{ | ||
"name": "@loaders.gl/worker-utils", | ||
"version": "3.0.1", | ||
"version": "3.0.2", | ||
"description": "Utilities for running tasks on worker threads", | ||
@@ -43,3 +43,3 @@ "license": "MIT", | ||
}, | ||
"gitHead": "b3e49433ffb018dc5526e75cbeaa5760e3e2eaaa" | ||
"gitHead": "1b161a6bc93478857578f95fdad2b65850e04e33" | ||
} |
@@ -5,3 +5,3 @@ import type {WorkerObject, WorkerOptions} from '../../types'; | ||
const NPM_TAG = 'beta'; // Change to 'latest' on release-branch | ||
const NPM_TAG = 'latest'; | ||
const VERSION = typeof __VERSION__ !== 'undefined' ? __VERSION__ : NPM_TAG; | ||
@@ -8,0 +8,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
376750