@loaders.gl/worker-utils 4.0.0-alpha.20 → 4.0.0-alpha.22

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.
@@ -5,9 +5,9 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.VERSION = void 0;
7
7
  var DEFAULT_VERSION = 'beta';
8
- var VERSION = typeof "4.0.0-alpha.20" !== 'undefined' ? "4.0.0-alpha.20" : DEFAULT_VERSION;
8
+ var VERSION = typeof "4.0.0-alpha.22" !== 'undefined' ? "4.0.0-alpha.22" : DEFAULT_VERSION;
9
9
  exports.VERSION = VERSION;
10
- if (typeof "4.0.0-alpha.20" === 'undefined') {
10
+ if (typeof "4.0.0-alpha.22" === 'undefined') {
11
11
  console.error('loaders.gl: The __VERSION__ variable is not injected using babel plugin. Latest unstable workers would be fetched from the CDN.');
12
12
  }
13
13
  //# sourceMappingURL=version.js.map
@@ -16,7 +16,7 @@ var _version = require("../env-utils/version");
16
16
  function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
17
17
  function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
18
18
  var LATEST = 'beta';
19
- var VERSION = typeof "4.0.0-alpha.20" !== 'undefined' ? "4.0.0-alpha.20" : LATEST;
19
+ var VERSION = typeof "4.0.0-alpha.22" !== 'undefined' ? "4.0.0-alpha.22" : LATEST;
20
20
  var loadLibraryPromises = {};
21
21
  function loadLibrary(_x) {
22
22
  return _loadLibrary.apply(this, arguments);
@@ -9,7 +9,7 @@ var _assert = require("../env-utils/assert");
9
9
  var _globals = require("../env-utils/globals");
10
10
  var _version = require("../env-utils/version");
11
11
  var NPM_TAG = 'beta';
12
- var VERSION = typeof "4.0.0-alpha.20" !== 'undefined' ? "4.0.0-alpha.20" : NPM_TAG;
12
+ var VERSION = typeof "4.0.0-alpha.22" !== 'undefined' ? "4.0.0-alpha.22" : NPM_TAG;
13
13
  function getWorkerName(worker) {
14
14
  var warning = worker.version !== VERSION ? " (worker-utils@".concat(VERSION, ")") : '';
15
15
  return "".concat(worker.name, "@").concat(worker.version).concat(warning);
@@ -1,6 +1,6 @@
1
1
  const DEFAULT_VERSION = 'beta';
2
- export const VERSION = typeof "4.0.0-alpha.20" !== 'undefined' ? "4.0.0-alpha.20" : DEFAULT_VERSION;
3
- if (typeof "4.0.0-alpha.20" === 'undefined') {
2
+ export const VERSION = typeof "4.0.0-alpha.22" !== 'undefined' ? "4.0.0-alpha.22" : DEFAULT_VERSION;
3
+ if (typeof "4.0.0-alpha.22" === 'undefined') {
4
4
  console.error('loaders.gl: The __VERSION__ variable is not injected using babel plugin. Latest unstable workers would be fetched from the CDN.');
5
5
  }
6
6
  //# sourceMappingURL=version.js.map
@@ -3,7 +3,7 @@ import * as node from '../node/require-utils.node';
3
3
  import { assert } from '../env-utils/assert';
4
4
  import { VERSION as __VERSION__ } from '../env-utils/version';
5
5
  const LATEST = 'beta';
6
- const VERSION = typeof "4.0.0-alpha.20" !== 'undefined' ? "4.0.0-alpha.20" : LATEST;
6
+ const VERSION = typeof "4.0.0-alpha.22" !== 'undefined' ? "4.0.0-alpha.22" : LATEST;
7
7
  const loadLibraryPromises = {};
8
8
  export async function loadLibrary(libraryUrl) {
9
9
  let moduleName = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;
@@ -2,7 +2,7 @@ import { assert } from '../env-utils/assert';
2
2
  import { isBrowser } from '../env-utils/globals';
3
3
  import { VERSION as __VERSION__ } from '../env-utils/version';
4
4
  const NPM_TAG = 'beta';
5
- const VERSION = typeof "4.0.0-alpha.20" !== 'undefined' ? "4.0.0-alpha.20" : NPM_TAG;
5
+ const VERSION = typeof "4.0.0-alpha.22" !== 'undefined' ? "4.0.0-alpha.22" : NPM_TAG;
6
6
  export function getWorkerName(worker) {
7
7
  const warning = worker.version !== VERSION ? " (worker-utils@".concat(VERSION, ")") : '';
8
8
  return "".concat(worker.name, "@").concat(worker.version).concat(warning);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@loaders.gl/worker-utils",
3
- "version": "4.0.0-alpha.20",
3
+ "version": "4.0.0-alpha.22",
4
4
  "description": "Utilities for running tasks on worker threads",
5
5
  "license": "MIT",
6
6
  "publishConfig": {
@@ -50,5 +50,5 @@
50
50
  "dependencies": {
51
51
  "@babel/runtime": "^7.3.1"
52
52
  },
53
- "gitHead": "ac122e83102657c38207d59c631a5ce4e7aa46bd"
53
+ "gitHead": "0da838c506d1275383f2fd3d244d9c72b25397d2"
54
54
  }