@loaders.gl/i3s 3.1.3 → 3.1.4

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.
@@ -24,7 +24,7 @@ function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (O
24
24
 
25
25
  function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { (0, _defineProperty2.default)(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
26
26
 
27
- var VERSION = typeof "3.1.3" !== 'undefined' ? "3.1.3" : 'latest';
27
+ var VERSION = typeof "3.1.4" !== 'undefined' ? "3.1.4" : 'latest';
28
28
  var EMPTY_VALUE = '';
29
29
  var REJECTED_STATUS = 'rejected';
30
30
  var I3SAttributeLoader = {
@@ -13,7 +13,7 @@ var _asyncToGenerator2 = _interopRequireDefault(require("@babel/runtime/helpers/
13
13
 
14
14
  var _parseI3sBuildingSceneLayer = require("./lib/parsers/parse-i3s-building-scene-layer");
15
15
 
16
- var VERSION = typeof "3.1.3" !== 'undefined' ? "3.1.3" : 'latest';
16
+ var VERSION = typeof "3.1.4" !== 'undefined' ? "3.1.4" : 'latest';
17
17
  var I3SBuildingSceneLayerLoader = {
18
18
  name: 'I3S Building Scene Layer',
19
19
  id: 'i3s-building-scene-layer',
@@ -13,7 +13,7 @@ var _asyncToGenerator2 = _interopRequireDefault(require("@babel/runtime/helpers/
13
13
 
14
14
  var _parseI3sTileContent = require("./lib/parsers/parse-i3s-tile-content");
15
15
 
16
- var VERSION = typeof "3.1.3" !== 'undefined' ? "3.1.3" : 'latest';
16
+ var VERSION = typeof "3.1.4" !== 'undefined' ? "3.1.4" : 'latest';
17
17
  var I3SContentLoader = {
18
18
  name: 'I3S Content (Indexed Scene Layers)',
19
19
  id: 'i3s-content',
@@ -21,7 +21,7 @@ var _parseI3s = require("./lib/parsers/parse-i3s");
21
21
 
22
22
  var _constants = require("./lib/parsers/constants");
23
23
 
24
- var VERSION = typeof "3.1.3" !== 'undefined' ? "3.1.3" : 'latest';
24
+ var VERSION = typeof "3.1.4" !== 'undefined' ? "3.1.4" : 'latest';
25
25
  var TILESET_REGEX = /layers\/[0-9]+$/;
26
26
  var TILE_HEADER_REGEX = /nodes\/([0-9-]+|root)$/;
27
27
  var SLPK_HEX = '504b0304';
@@ -11,7 +11,7 @@ var _regenerator = _interopRequireDefault(require("@babel/runtime/regenerator"))
11
11
 
12
12
  var _asyncToGenerator2 = _interopRequireDefault(require("@babel/runtime/helpers/asyncToGenerator"));
13
13
 
14
- var VERSION = typeof "3.1.3" !== 'undefined' ? "3.1.3" : 'latest';
14
+ var VERSION = typeof "3.1.4" !== 'undefined' ? "3.1.4" : 'latest';
15
15
 
16
16
  function parseNodePage(_x) {
17
17
  return _parseNodePage.apply(this, arguments);
@@ -1,7 +1,7 @@
1
1
  import { load } from '@loaders.gl/core';
2
2
  import { parseI3STileAttribute } from './lib/parsers/parse-i3s-attribute';
3
3
  import { getUrlWithToken } from './lib/utils/url-utils';
4
- const VERSION = typeof "3.1.3" !== 'undefined' ? "3.1.3" : 'latest';
4
+ const VERSION = typeof "3.1.4" !== 'undefined' ? "3.1.4" : 'latest';
5
5
  const EMPTY_VALUE = '';
6
6
  const REJECTED_STATUS = 'rejected';
7
7
  export const I3SAttributeLoader = {
@@ -1,5 +1,5 @@
1
1
  import { parseBuildingSceneLayer } from './lib/parsers/parse-i3s-building-scene-layer';
2
- const VERSION = typeof "3.1.3" !== 'undefined' ? "3.1.3" : 'latest';
2
+ const VERSION = typeof "3.1.4" !== 'undefined' ? "3.1.4" : 'latest';
3
3
  export const I3SBuildingSceneLayerLoader = {
4
4
  name: 'I3S Building Scene Layer',
5
5
  id: 'i3s-building-scene-layer',
@@ -1,5 +1,5 @@
1
1
  import { parseI3STileContent } from './lib/parsers/parse-i3s-tile-content';
2
- const VERSION = typeof "3.1.3" !== 'undefined' ? "3.1.3" : 'latest';
2
+ const VERSION = typeof "3.1.4" !== 'undefined' ? "3.1.4" : 'latest';
3
3
  export const I3SContentLoader = {
4
4
  name: 'I3S Content (Indexed Scene Layers)',
5
5
  id: 'i3s-content',
@@ -2,7 +2,7 @@ import { load, parse } from '@loaders.gl/core';
2
2
  import { I3SContentLoader } from './i3s-content-loader';
3
3
  import { normalizeTileData, normalizeTilesetData } from './lib/parsers/parse-i3s';
4
4
  import { COORDINATE_SYSTEM } from './lib/parsers/constants';
5
- const VERSION = typeof "3.1.3" !== 'undefined' ? "3.1.3" : 'latest';
5
+ const VERSION = typeof "3.1.4" !== 'undefined' ? "3.1.4" : 'latest';
6
6
  const TILESET_REGEX = /layers\/[0-9]+$/;
7
7
  const TILE_HEADER_REGEX = /nodes\/([0-9-]+|root)$/;
8
8
  const SLPK_HEX = '504b0304';
@@ -1,4 +1,4 @@
1
- const VERSION = typeof "3.1.3" !== 'undefined' ? "3.1.3" : 'latest';
1
+ const VERSION = typeof "3.1.4" !== 'undefined' ? "3.1.4" : 'latest';
2
2
 
3
3
  async function parseNodePage(data) {
4
4
  return JSON.parse(new TextDecoder().decode(data));
@@ -55,9 +55,8 @@
55
55
  var nodeVersion = matches && parseFloat(matches[1]) || 0;
56
56
 
57
57
  // ../worker-utils/src/lib/env-utils/version.ts
58
- var DEFAULT_VERSION = "latest";
59
- var VERSION = typeof __VERSION__ !== "undefined" ? __VERSION__ : DEFAULT_VERSION;
60
- if (typeof __VERSION__ === "undefined") {
58
+ var VERSION = true ? "3.1.4" : DEFAULT_VERSION;
59
+ if (false) {
61
60
  console.error("loaders.gl: The __VERSION__ variable is not injected using babel plugin. Latest unstable workers would be fetched from the CDN.");
62
61
  }
63
62
 
@@ -1002,7 +1001,7 @@
1002
1001
  var process_ = globals3.process || {};
1003
1002
 
1004
1003
  // ../../node_modules/probe.gl/dist/esm/utils/globals.js
1005
- var VERSION3 = typeof __VERSION__ !== "undefined" ? __VERSION__ : "untranspiled source";
1004
+ var VERSION3 = true ? "3.1.4" : "untranspiled source";
1006
1005
  var isBrowser4 = isBrowser3();
1007
1006
 
1008
1007
  // ../../node_modules/probe.gl/dist/esm/utils/local-storage.js
@@ -4305,7 +4304,7 @@
4305
4304
  };
4306
4305
 
4307
4306
  // ../images/src/lib/utils/version.ts
4308
- var VERSION4 = typeof __VERSION__ !== "undefined" ? __VERSION__ : "latest";
4307
+ var VERSION4 = true ? "3.1.4" : "latest";
4309
4308
 
4310
4309
  // ../images/src/lib/category-api/image-type.ts
4311
4310
  var { _parseImageNode } = globalThis;
@@ -4653,7 +4652,7 @@
4653
4652
  };
4654
4653
 
4655
4654
  // ../draco/src/lib/utils/version.ts
4656
- var VERSION5 = typeof __VERSION__ !== "undefined" ? __VERSION__ : "latest";
4655
+ var VERSION5 = true ? "3.1.4" : "latest";
4657
4656
 
4658
4657
  // ../draco/src/draco-loader.ts
4659
4658
  var DEFAULT_DRACO_OPTIONS = {
@@ -5637,10 +5636,10 @@
5637
5636
  }
5638
5637
 
5639
5638
  // ../textures/src/lib/utils/version.ts
5640
- var VERSION6 = typeof __VERSION__ !== "undefined" ? __VERSION__ : "latest";
5639
+ var VERSION6 = true ? "3.1.4" : "latest";
5641
5640
 
5642
5641
  // ../textures/src/lib/parsers/basis-module-loader.ts
5643
- var VERSION7 = typeof __VERSION__ !== "undefined" ? __VERSION__ : "latest";
5642
+ var VERSION7 = true ? "3.1.4" : "latest";
5644
5643
  var BASIS_CDN_ENCODER_WASM = `https://unpkg.com/@loaders.gl/textures@${VERSION7}/dist/libs/basis_encoder.wasm`;
5645
5644
  var BASIS_CDN_ENCODER_JS = `https://unpkg.com/@loaders.gl/textures@${VERSION7}/dist/libs/basis_encoder.js`;
5646
5645
  var loadBasisTranscoderPromise;
@@ -7643,7 +7642,7 @@
7643
7642
  }
7644
7643
 
7645
7644
  // src/i3s-content-loader.ts
7646
- var VERSION8 = typeof __VERSION__ !== "undefined" ? __VERSION__ : "latest";
7645
+ var VERSION8 = true ? "3.1.4" : "latest";
7647
7646
  var I3SContentLoader = {
7648
7647
  name: "I3S Content (Indexed Scene Layers)",
7649
7648
  id: "i3s-content",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@loaders.gl/i3s",
3
- "version": "3.1.3",
3
+ "version": "3.1.4",
4
4
  "description": "i3s .",
5
5
  "license": "MIT",
6
6
  "publishConfig": {
@@ -29,15 +29,15 @@
29
29
  "scripts": {
30
30
  "pre-build": "npm run build-bundle && npm run build-worker",
31
31
  "build-bundle": "esbuild src/bundle.ts --bundle --outfile=dist/dist.min.js",
32
- "build-worker": "esbuild src/workers/i3s-content-worker.ts --bundle --outfile=dist/i3s-content-worker.js"
32
+ "build-worker": "esbuild src/workers/i3s-content-worker.ts --bundle --outfile=dist/i3s-content-worker.js --define:__VERSION__=\\\"$npm_package_version\\\""
33
33
  },
34
34
  "dependencies": {
35
- "@loaders.gl/draco": "3.1.3",
36
- "@loaders.gl/images": "3.1.3",
37
- "@loaders.gl/loader-utils": "3.1.3",
38
- "@loaders.gl/schema": "3.1.3",
39
- "@loaders.gl/textures": "3.1.3",
40
- "@loaders.gl/tiles": "3.1.3",
35
+ "@loaders.gl/draco": "3.1.4",
36
+ "@loaders.gl/images": "3.1.4",
37
+ "@loaders.gl/loader-utils": "3.1.4",
38
+ "@loaders.gl/schema": "3.1.4",
39
+ "@loaders.gl/textures": "3.1.4",
40
+ "@loaders.gl/tiles": "3.1.4",
41
41
  "@luma.gl/constants": "^8.5.4",
42
42
  "@math.gl/core": "^3.5.1",
43
43
  "@math.gl/culling": "^3.5.1",
@@ -47,5 +47,5 @@
47
47
  "peerDependencies": {
48
48
  "@loaders.gl/core": "3.1.0"
49
49
  },
50
- "gitHead": "4a690c369779346d73c9a27395d1c08d77d279a4"
50
+ "gitHead": "4d27d3ac6023e53b562dcad83b9254b198e81ee5"
51
51
  }