@loaders.gl/core 3.4.1 → 3.4.3

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.
package/dist/dist.min.js CHANGED
@@ -879,7 +879,7 @@
879
879
  }
880
880
  });
881
881
 
882
- // ../../node_modules/@probe.gl/stats/dist/utils/hi-res-timestamp.js
882
+ // ../loader-utils/node_modules/@probe.gl/stats/dist/utils/hi-res-timestamp.js
883
883
  function getHiResTimestamp() {
884
884
  let timestamp;
885
885
  if (typeof window !== "undefined" && window.performance) {
@@ -893,14 +893,14 @@
893
893
  return timestamp;
894
894
  }
895
895
  var init_hi_res_timestamp = __esm({
896
- "../../node_modules/@probe.gl/stats/dist/utils/hi-res-timestamp.js"() {
896
+ "../loader-utils/node_modules/@probe.gl/stats/dist/utils/hi-res-timestamp.js"() {
897
897
  }
898
898
  });
899
899
 
900
- // ../../node_modules/@probe.gl/stats/dist/lib/stat.js
900
+ // ../loader-utils/node_modules/@probe.gl/stats/dist/lib/stat.js
901
901
  var Stat;
902
902
  var init_stat = __esm({
903
- "../../node_modules/@probe.gl/stats/dist/lib/stat.js"() {
903
+ "../loader-utils/node_modules/@probe.gl/stats/dist/lib/stat.js"() {
904
904
  init_defineProperty();
905
905
  init_hi_res_timestamp();
906
906
  Stat = class {
@@ -1016,10 +1016,10 @@
1016
1016
  }
1017
1017
  });
1018
1018
 
1019
- // ../../node_modules/@probe.gl/stats/dist/lib/stats.js
1019
+ // ../loader-utils/node_modules/@probe.gl/stats/dist/lib/stats.js
1020
1020
  var Stats;
1021
1021
  var init_stats = __esm({
1022
- "../../node_modules/@probe.gl/stats/dist/lib/stats.js"() {
1022
+ "../loader-utils/node_modules/@probe.gl/stats/dist/lib/stats.js"() {
1023
1023
  init_defineProperty();
1024
1024
  init_stat();
1025
1025
  Stats = class {
@@ -1088,9 +1088,9 @@
1088
1088
  }
1089
1089
  });
1090
1090
 
1091
- // ../../node_modules/@probe.gl/stats/dist/index.js
1091
+ // ../loader-utils/node_modules/@probe.gl/stats/dist/index.js
1092
1092
  var init_dist = __esm({
1093
- "../../node_modules/@probe.gl/stats/dist/index.js"() {
1093
+ "../loader-utils/node_modules/@probe.gl/stats/dist/index.js"() {
1094
1094
  init_stats();
1095
1095
  init_stat();
1096
1096
  init_hi_res_timestamp();
@@ -1825,7 +1825,7 @@
1825
1825
  }
1826
1826
  });
1827
1827
 
1828
- // ../../node_modules/@probe.gl/env/dist/lib/is-electron.js
1828
+ // node_modules/@probe.gl/env/dist/lib/is-electron.js
1829
1829
  function isElectron(mockUserAgent) {
1830
1830
  if (typeof window !== "undefined" && typeof window.process === "object" && window.process.type === "renderer") {
1831
1831
  return true;
@@ -1841,25 +1841,25 @@
1841
1841
  return false;
1842
1842
  }
1843
1843
  var init_is_electron = __esm({
1844
- "../../node_modules/@probe.gl/env/dist/lib/is-electron.js"() {
1844
+ "node_modules/@probe.gl/env/dist/lib/is-electron.js"() {
1845
1845
  }
1846
1846
  });
1847
1847
 
1848
- // ../../node_modules/@probe.gl/env/dist/lib/is-browser.js
1848
+ // node_modules/@probe.gl/env/dist/lib/is-browser.js
1849
1849
  function isBrowser3() {
1850
1850
  const isNode = typeof process === "object" && String(process) === "[object process]" && !process.browser;
1851
1851
  return !isNode || isElectron();
1852
1852
  }
1853
1853
  var init_is_browser = __esm({
1854
- "../../node_modules/@probe.gl/env/dist/lib/is-browser.js"() {
1854
+ "node_modules/@probe.gl/env/dist/lib/is-browser.js"() {
1855
1855
  init_is_electron();
1856
1856
  }
1857
1857
  });
1858
1858
 
1859
- // ../../node_modules/@probe.gl/env/dist/lib/globals.js
1859
+ // node_modules/@probe.gl/env/dist/lib/globals.js
1860
1860
  var self_3, window_3, document_3, process_, console_, navigator_;
1861
1861
  var init_globals3 = __esm({
1862
- "../../node_modules/@probe.gl/env/dist/lib/globals.js"() {
1862
+ "node_modules/@probe.gl/env/dist/lib/globals.js"() {
1863
1863
  self_3 = globalThis.self || globalThis.window || globalThis.global;
1864
1864
  window_3 = globalThis.window || globalThis.self || globalThis.global;
1865
1865
  document_3 = globalThis.document || {};
@@ -1869,26 +1869,26 @@
1869
1869
  }
1870
1870
  });
1871
1871
 
1872
- // ../../node_modules/@probe.gl/env/dist/utils/globals.js
1872
+ // node_modules/@probe.gl/env/dist/utils/globals.js
1873
1873
  var VERSION4, isBrowser4;
1874
1874
  var init_globals4 = __esm({
1875
- "../../node_modules/@probe.gl/env/dist/utils/globals.js"() {
1875
+ "node_modules/@probe.gl/env/dist/utils/globals.js"() {
1876
1876
  init_is_browser();
1877
1877
  VERSION4 = typeof __VERSION__ !== "undefined" ? __VERSION__ : "untranspiled source";
1878
1878
  isBrowser4 = isBrowser3();
1879
1879
  }
1880
1880
  });
1881
1881
 
1882
- // ../../node_modules/@probe.gl/env/dist/index.js
1882
+ // node_modules/@probe.gl/env/dist/index.js
1883
1883
  var init_dist2 = __esm({
1884
- "../../node_modules/@probe.gl/env/dist/index.js"() {
1884
+ "node_modules/@probe.gl/env/dist/index.js"() {
1885
1885
  init_globals4();
1886
1886
  init_globals3();
1887
1887
  init_is_browser();
1888
1888
  }
1889
1889
  });
1890
1890
 
1891
- // ../../node_modules/@probe.gl/log/dist/utils/local-storage.js
1891
+ // node_modules/@probe.gl/log/dist/utils/local-storage.js
1892
1892
  function getStorage(type) {
1893
1893
  try {
1894
1894
  const storage = window[type];
@@ -1902,7 +1902,7 @@
1902
1902
  }
1903
1903
  var LocalStorage;
1904
1904
  var init_local_storage = __esm({
1905
- "../../node_modules/@probe.gl/log/dist/utils/local-storage.js"() {
1905
+ "node_modules/@probe.gl/log/dist/utils/local-storage.js"() {
1906
1906
  init_defineProperty();
1907
1907
  LocalStorage = class {
1908
1908
  constructor(id, defaultConfig) {
@@ -1938,7 +1938,7 @@
1938
1938
  }
1939
1939
  });
1940
1940
 
1941
- // ../../node_modules/@probe.gl/log/dist/utils/formatters.js
1941
+ // node_modules/@probe.gl/log/dist/utils/formatters.js
1942
1942
  function formatTime(ms) {
1943
1943
  let formatted;
1944
1944
  if (ms < 10) {
@@ -1969,11 +1969,11 @@
1969
1969
  return ["".concat(message, " %c+"), style];
1970
1970
  }
1971
1971
  var init_formatters = __esm({
1972
- "../../node_modules/@probe.gl/log/dist/utils/formatters.js"() {
1972
+ "node_modules/@probe.gl/log/dist/utils/formatters.js"() {
1973
1973
  }
1974
1974
  });
1975
1975
 
1976
- // ../../node_modules/@probe.gl/log/dist/utils/color.js
1976
+ // node_modules/@probe.gl/log/dist/utils/color.js
1977
1977
  function getColor(color) {
1978
1978
  if (typeof color !== "string") {
1979
1979
  return color;
@@ -1996,7 +1996,7 @@
1996
1996
  }
1997
1997
  var COLOR, BACKGROUND_INCREMENT;
1998
1998
  var init_color = __esm({
1999
- "../../node_modules/@probe.gl/log/dist/utils/color.js"() {
1999
+ "node_modules/@probe.gl/log/dist/utils/color.js"() {
2000
2000
  init_dist2();
2001
2001
  (function(COLOR2) {
2002
2002
  COLOR2[COLOR2["BLACK"] = 30] = "BLACK";
@@ -2020,7 +2020,7 @@
2020
2020
  }
2021
2021
  });
2022
2022
 
2023
- // ../../node_modules/@probe.gl/log/dist/utils/autobind.js
2023
+ // node_modules/@probe.gl/log/dist/utils/autobind.js
2024
2024
  function autobind(obj) {
2025
2025
  let predefined = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : ["constructor"];
2026
2026
  const proto = Object.getPrototypeOf(obj);
@@ -2036,22 +2036,22 @@
2036
2036
  }
2037
2037
  }
2038
2038
  var init_autobind = __esm({
2039
- "../../node_modules/@probe.gl/log/dist/utils/autobind.js"() {
2039
+ "node_modules/@probe.gl/log/dist/utils/autobind.js"() {
2040
2040
  }
2041
2041
  });
2042
2042
 
2043
- // ../../node_modules/@probe.gl/log/dist/utils/assert.js
2043
+ // node_modules/@probe.gl/log/dist/utils/assert.js
2044
2044
  function assert3(condition, message) {
2045
2045
  if (!condition) {
2046
2046
  throw new Error(message || "Assertion failed");
2047
2047
  }
2048
2048
  }
2049
2049
  var init_assert3 = __esm({
2050
- "../../node_modules/@probe.gl/log/dist/utils/assert.js"() {
2050
+ "node_modules/@probe.gl/log/dist/utils/assert.js"() {
2051
2051
  }
2052
2052
  });
2053
2053
 
2054
- // ../../node_modules/@probe.gl/log/dist/utils/hi-res-timestamp.js
2054
+ // node_modules/@probe.gl/log/dist/utils/hi-res-timestamp.js
2055
2055
  function getHiResTimestamp2() {
2056
2056
  let timestamp;
2057
2057
  if (isBrowser3() && window_3.performance) {
@@ -2067,12 +2067,12 @@
2067
2067
  return timestamp;
2068
2068
  }
2069
2069
  var init_hi_res_timestamp2 = __esm({
2070
- "../../node_modules/@probe.gl/log/dist/utils/hi-res-timestamp.js"() {
2070
+ "node_modules/@probe.gl/log/dist/utils/hi-res-timestamp.js"() {
2071
2071
  init_dist2();
2072
2072
  }
2073
2073
  });
2074
2074
 
2075
- // ../../node_modules/@probe.gl/log/dist/log.js
2075
+ // node_modules/@probe.gl/log/dist/log.js
2076
2076
  function noop() {
2077
2077
  }
2078
2078
  function normalizeLogLevel(logLevel) {
@@ -2179,7 +2179,7 @@
2179
2179
  }
2180
2180
  var originalConsole, DEFAULT_LOG_CONFIGURATION, cache, ONCE, Log;
2181
2181
  var init_log = __esm({
2182
- "../../node_modules/@probe.gl/log/dist/log.js"() {
2182
+ "node_modules/@probe.gl/log/dist/log.js"() {
2183
2183
  init_defineProperty();
2184
2184
  init_dist2();
2185
2185
  init_local_storage();
@@ -2418,10 +2418,10 @@
2418
2418
  }
2419
2419
  });
2420
2420
 
2421
- // ../../node_modules/@probe.gl/log/dist/index.js
2421
+ // node_modules/@probe.gl/log/dist/index.js
2422
2422
  var dist_default;
2423
2423
  var init_dist3 = __esm({
2424
- "../../node_modules/@probe.gl/log/dist/index.js"() {
2424
+ "node_modules/@probe.gl/log/dist/index.js"() {
2425
2425
  init_log();
2426
2426
  init_log();
2427
2427
  dist_default = new Log({
@@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.default = void 0;
7
7
  var _log = require("./utils/log");
8
- var version = typeof "3.4.1" !== 'undefined' ? "3.4.1" : 'latest';
8
+ var version = typeof "3.4.3" !== 'undefined' ? "3.4.3" : 'latest';
9
9
  if (!globalThis.loaders) {
10
10
  _log.log.log(1, "loaders.gl ".concat(version))();
11
11
  globalThis.loaders = Object.assign(globalThis.loaders || {}, {
@@ -11,7 +11,7 @@ var _awaitAsyncGenerator2 = _interopRequireDefault(require("@babel/runtime/helpe
11
11
  var _wrapAsyncGenerator2 = _interopRequireDefault(require("@babel/runtime/helpers/wrapAsyncGenerator"));
12
12
  function _asyncIterator(iterable) { var method, async, sync, retry = 2; for ("undefined" != typeof Symbol && (async = Symbol.asyncIterator, sync = Symbol.iterator); retry--;) { if (async && null != (method = iterable[async])) return method.call(iterable); if (sync && null != (method = iterable[sync])) return new AsyncFromSyncIterator(method.call(iterable)); async = "@@asyncIterator", sync = "@@iterator"; } throw new TypeError("Object is not async iterable"); }
13
13
  function AsyncFromSyncIterator(s) { function AsyncFromSyncIteratorContinuation(r) { if (Object(r) !== r) return Promise.reject(new TypeError(r + " is not an object.")); var done = r.done; return Promise.resolve(r.value).then(function (value) { return { value: value, done: done }; }); } return AsyncFromSyncIterator = function AsyncFromSyncIterator(s) { this.s = s, this.n = s.next; }, AsyncFromSyncIterator.prototype = { s: null, n: null, next: function next() { return AsyncFromSyncIteratorContinuation(this.n.apply(this.s, arguments)); }, return: function _return(value) { var ret = this.s.return; return void 0 === ret ? Promise.resolve({ value: value, done: !0 }) : AsyncFromSyncIteratorContinuation(ret.apply(this.s, arguments)); }, throw: function _throw(value) { var thr = this.s.return; return void 0 === thr ? Promise.reject(value) : AsyncFromSyncIteratorContinuation(thr.apply(this.s, arguments)); } }, new AsyncFromSyncIterator(s); }
14
- var VERSION = typeof "3.4.1" !== 'undefined' ? "3.4.1" : 'latest';
14
+ var VERSION = typeof "3.4.3" !== 'undefined' ? "3.4.3" : 'latest';
15
15
  var NullWorkerLoader = {
16
16
  name: 'Null loader',
17
17
  id: 'null',
@@ -1,5 +1,5 @@
1
1
  import { log } from './utils/log';
2
- const version = typeof "3.4.1" !== 'undefined' ? "3.4.1" : 'latest';
2
+ const version = typeof "3.4.3" !== 'undefined' ? "3.4.3" : 'latest';
3
3
  if (!globalThis.loaders) {
4
4
  log.log(1, "loaders.gl ".concat(version))();
5
5
  globalThis.loaders = Object.assign(globalThis.loaders || {}, {
@@ -1,4 +1,4 @@
1
- const VERSION = typeof "3.4.1" !== 'undefined' ? "3.4.1" : 'latest';
1
+ const VERSION = typeof "3.4.3" !== 'undefined' ? "3.4.3" : 'latest';
2
2
  export const NullWorkerLoader = {
3
3
  name: 'Null loader',
4
4
  id: 'null',
@@ -184,7 +184,7 @@
184
184
  }
185
185
 
186
186
  // src/null-loader.ts
187
- var VERSION = true ? "3.4.1" : "latest";
187
+ var VERSION = true ? "3.4.3" : "latest";
188
188
  function parseSync(arrayBuffer, options, context) {
189
189
  if (!options.null.echoParameters)
190
190
  return null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@loaders.gl/core",
3
- "version": "3.4.1",
3
+ "version": "3.4.3",
4
4
  "description": "The core API for working with loaders.gl loaders and writers",
5
5
  "license": "MIT",
6
6
  "publishConfig": {
@@ -42,9 +42,9 @@
42
42
  },
43
43
  "dependencies": {
44
44
  "@babel/runtime": "^7.3.1",
45
- "@loaders.gl/loader-utils": "3.4.1",
46
- "@loaders.gl/worker-utils": "3.4.1",
45
+ "@loaders.gl/loader-utils": "3.4.3",
46
+ "@loaders.gl/worker-utils": "3.4.3",
47
47
  "@probe.gl/log": "^4.0.1"
48
48
  },
49
- "gitHead": "2c39d1032c1a8b3678a6f09507b89ffe92ca9e1b"
49
+ "gitHead": "e60626daeaec1e08eae0009668736f85410f8323"
50
50
  }