@loaders.gl/worker-utils 4.0.5 → 4.0.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3,11 +3,11 @@ function getVersion() {
3
3
  var _globalThis$_loadersg;
4
4
  if (!((_globalThis$_loadersg = globalThis._loadersgl_) !== null && _globalThis$_loadersg !== void 0 && _globalThis$_loadersg.version)) {
5
5
  globalThis._loadersgl_ = globalThis._loadersgl_ || {};
6
- if (typeof __VERSION__ === 'undefined') {
6
+ if (typeof "4.0.6" === 'undefined') {
7
7
  console.warn('loaders.gl: The __VERSION__ variable is not injected using babel plugin. Latest unstable workers would be fetched from the CDN.');
8
8
  globalThis._loadersgl_.version = NPM_TAG;
9
9
  } else {
10
- globalThis._loadersgl_.version = __VERSION__;
10
+ globalThis._loadersgl_.version = "4.0.6";
11
11
  }
12
12
  }
13
13
  return globalThis._loadersgl_.version;
@@ -1 +1 @@
1
- {"version":3,"file":"version.js","names":["NPM_TAG","getVersion","_globalThis$_loadersg","globalThis","_loadersgl_","version","__VERSION__","console","warn","VERSION"],"sources":["../../../src/lib/env-utils/version.ts"],"sourcesContent":["// loaders.gl, MIT license\n// Copyright (c) vis.gl contributors\n\n// Version constant cannot be imported, it needs to correspond to the build version of **this** module.\n\n/**\n * TODO - unpkg.com doesn't seem to have a `latest` specifier for alpha releases...\n * 'beta' on beta branch, 'latest' on prod branch\n */\nexport const NPM_TAG = 'latest';\n\ndeclare let __VERSION__: string;\n\nfunction getVersion() {\n if (!globalThis._loadersgl_?.version) {\n globalThis._loadersgl_ = globalThis._loadersgl_ || {};\n // __VERSION__ is injected by babel-plugin-version-inline\n if (typeof __VERSION__ === 'undefined') {\n // eslint-disable-next-line\n console.warn(\n 'loaders.gl: The __VERSION__ variable is not injected using babel plugin. Latest unstable workers would be fetched from the CDN.'\n );\n globalThis._loadersgl_.version = NPM_TAG;\n } else {\n globalThis._loadersgl_.version = __VERSION__;\n }\n }\n\n return globalThis._loadersgl_.version;\n}\n\nexport const VERSION = getVersion();\n"],"mappings":"AASA,OAAO,MAAMA,OAAO,GAAG,QAAQ;AAI/B,SAASC,UAAUA,CAAA,EAAG;EAAA,IAAAC,qBAAA;EACpB,IAAI,GAAAA,qBAAA,GAACC,UAAU,CAACC,WAAW,cAAAF,qBAAA,eAAtBA,qBAAA,CAAwBG,OAAO,GAAE;IACpCF,UAAU,CAACC,WAAW,GAAGD,UAAU,CAACC,WAAW,IAAI,CAAC,CAAC;IAErD,IAAI,OAAOE,WAAW,KAAK,WAAW,EAAE;MAEtCC,OAAO,CAACC,IAAI,CACV,iIACF,CAAC;MACDL,UAAU,CAACC,WAAW,CAACC,OAAO,GAAGL,OAAO;IAC1C,CAAC,MAAM;MACLG,UAAU,CAACC,WAAW,CAACC,OAAO,GAAGC,WAAW;IAC9C;EACF;EAEA,OAAOH,UAAU,CAACC,WAAW,CAACC,OAAO;AACvC;AAEA,OAAO,MAAMI,OAAO,GAAGR,UAAU,CAAC,CAAC"}
1
+ {"version":3,"file":"version.js","names":["NPM_TAG","getVersion","_globalThis$_loadersg","globalThis","_loadersgl_","version","console","warn","VERSION"],"sources":["../../../src/lib/env-utils/version.ts"],"sourcesContent":["// loaders.gl, MIT license\n// Copyright (c) vis.gl contributors\n\n// Version constant cannot be imported, it needs to correspond to the build version of **this** module.\n\n/**\n * TODO - unpkg.com doesn't seem to have a `latest` specifier for alpha releases...\n * 'beta' on beta branch, 'latest' on prod branch\n */\nexport const NPM_TAG = 'latest';\n\ndeclare let __VERSION__: string;\n\nfunction getVersion() {\n if (!globalThis._loadersgl_?.version) {\n globalThis._loadersgl_ = globalThis._loadersgl_ || {};\n // __VERSION__ is injected by babel-plugin-version-inline\n if (typeof __VERSION__ === 'undefined') {\n // eslint-disable-next-line\n console.warn(\n 'loaders.gl: The __VERSION__ variable is not injected using babel plugin. Latest unstable workers would be fetched from the CDN.'\n );\n globalThis._loadersgl_.version = NPM_TAG;\n } else {\n globalThis._loadersgl_.version = __VERSION__;\n }\n }\n\n return globalThis._loadersgl_.version;\n}\n\nexport const VERSION = getVersion();\n"],"mappings":"AASA,OAAO,MAAMA,OAAO,GAAG,QAAQ;AAI/B,SAASC,UAAUA,CAAA,EAAG;EAAA,IAAAC,qBAAA;EACpB,IAAI,GAAAA,qBAAA,GAACC,UAAU,CAACC,WAAW,cAAAF,qBAAA,eAAtBA,qBAAA,CAAwBG,OAAO,GAAE;IACpCF,UAAU,CAACC,WAAW,GAAGD,UAAU,CAACC,WAAW,IAAI,CAAC,CAAC;IAErD,IAAI,cAAkB,KAAK,WAAW,EAAE;MAEtCE,OAAO,CAACC,IAAI,CACV,iIACF,CAAC;MACDJ,UAAU,CAACC,WAAW,CAACC,OAAO,GAAGL,OAAO;IAC1C,CAAC,MAAM;MACLG,UAAU,CAACC,WAAW,CAACC,OAAO,UAAc;IAC9C;EACF;EAEA,OAAOF,UAAU,CAACC,WAAW,CAACC,OAAO;AACvC;AAEA,OAAO,MAAMG,OAAO,GAAGP,UAAU,CAAC,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@loaders.gl/worker-utils",
3
- "version": "4.0.5",
3
+ "version": "4.0.6",
4
4
  "description": "Utilities for running tasks on worker threads",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -52,5 +52,5 @@
52
52
  "dependencies": {
53
53
  "@babel/runtime": "^7.3.1"
54
54
  },
55
- "gitHead": "9cc48b95bdad8842ebfd9a19f487c534f32526e9"
55
+ "gitHead": "1582e06e4ac81b61091148f3d872f67478fe7511"
56
56
  }