@loaders.gl/tile-converter 4.2.2 → 4.2.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.
@@ -1 +1 @@
1
- {"version":3,"file":"deps-installer.d.ts","sourceRoot":"","sources":["../../src/deps-installer/deps-installer.ts"],"names":[],"mappings":"AAiBA;;;;;GAKG;AACH,qBAAa,aAAa;IACxB;;;;;;OAMG;IAEG,OAAO,CAAC,IAAI,GAAE,MAAW,GAAG,OAAO,CAAC,IAAI,CAAC;YAsEjC,cAAc;YAiBd,cAAc;CAS7B"}
1
+ {"version":3,"file":"deps-installer.d.ts","sourceRoot":"","sources":["../../src/deps-installer/deps-installer.ts"],"names":[],"mappings":"AAiBA;;;;;GAKG;AACH,qBAAa,aAAa;IACxB;;;;;;OAMG;IAEG,OAAO,CAAC,IAAI,GAAE,MAAW,GAAG,OAAO,CAAC,IAAI,CAAC;YAuEjC,cAAc;YAiBd,cAAc;CAS7B"}
@@ -9,7 +9,7 @@ import { ChildProcessProxy } from '@loaders.gl/worker-utils';
9
9
  import { DRACO_EXTERNAL_LIBRARIES, DRACO_EXTERNAL_LIBRARY_URLS } from '@loaders.gl/draco';
10
10
  import { BASIS_EXTERNAL_LIBRARIES } from '@loaders.gl/textures';
11
11
  // @ts-ignore TS2304: Cannot find name '__VERSION__'.
12
- const VERSION = typeof "4.2.1" !== 'undefined' ? "4.2.1" : 'latest';
12
+ const VERSION = typeof "4.2.3" !== 'undefined' ? "4.2.3" : 'latest';
13
13
  const PGM_LINK = 'https://raw.githubusercontent.com/visgl/deck.gl-data/master/egm/egm2008-5.zip';
14
14
  /**
15
15
  * Install external dependencies for converter:
@@ -60,13 +60,14 @@ export class DepsInstaller {
60
60
  const childProcess = new ChildProcessProxy();
61
61
  const nodeDir = dirname(process.execPath);
62
62
  await childProcess.start({
63
- command: `${nodeDir}/${process.platform === 'win32' ? 'npm.cmd' : 'npm'}`,
63
+ command: `"${nodeDir}/${process.platform === 'win32' ? 'npm.cmd' : 'npm'}"`,
64
64
  // `npm install sharp join-images` works unstable. It fails because installed `sharp` version
65
65
  // may be different from the version required by `join-images`. Pointing to specific versions
66
66
  // resolve this issue
67
67
  arguments: ['install', 'sharp@0.30.4', 'join-images@1.1.3'],
68
68
  wait: 0,
69
- ignoreStderr: true
69
+ ignoreStderr: true,
70
+ spawn: { shell: true }
70
71
  });
71
72
  console.log('All dependencies were installed succesfully.'); // eslint-disable-line no-console
72
73
  }