@loaders.gl/crypto 3.1.0 → 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.
package/dist/es5/index.js CHANGED
@@ -67,7 +67,7 @@ var _nodeHash = require("./lib/node-hash");
67
67
 
68
68
  var _digestUtils = require("./lib/utils/digest-utils");
69
69
 
70
- var VERSION = typeof "3.1.0" !== 'undefined' ? "3.1.0" : 'latest';
70
+ var VERSION = typeof "3.1.4" !== 'undefined' ? "3.1.4" : 'latest';
71
71
  var CryptoWorker = {
72
72
  id: 'crypto',
73
73
  name: 'CRC32, CRC32c and MD5 Hashes',
package/dist/esm/index.js CHANGED
@@ -5,7 +5,7 @@ export { SHA256Hash } from './lib/sha256-hash';
5
5
  export { CryptoHash } from './lib/crypto-hash';
6
6
  export { NodeHash } from './lib/node-hash';
7
7
  export { hexToBase64 as _hexToBase64, toHex as _toHex } from './lib/utils/digest-utils';
8
- const VERSION = typeof "3.1.0" !== 'undefined' ? "3.1.0" : 'latest';
8
+ const VERSION = typeof "3.1.4" !== 'undefined' ? "3.1.4" : 'latest';
9
9
  export const CryptoWorker = {
10
10
  id: 'crypto',
11
11
  name: 'CRC32, CRC32c and MD5 Hashes',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@loaders.gl/crypto",
3
- "version": "3.1.0",
3
+ "version": "3.1.4",
4
4
  "description": "Cryptographic/hashing plugins for loaders.gl",
5
5
  "license": "MIT",
6
6
  "publishConfig": {
@@ -29,12 +29,12 @@
29
29
  "scripts": {
30
30
  "pre-build": "npm run build-worker && npm run build-bundle",
31
31
  "build-bundle": "esbuild src/bundle.ts --outfile=dist/dist.min.js --bundle --minify --sourcemap",
32
- "build-worker": "esbuild src/workers/worker.ts --outfile=dist/worker.js --bundle --minify --sourcemap"
32
+ "build-worker": "esbuild src/workers/worker.ts --outfile=dist/worker.js --bundle --minify --sourcemap --define:__VERSION__=\\\"$npm_package_version\\\""
33
33
  },
34
34
  "dependencies": {
35
35
  "@babel/runtime": "^7.3.1",
36
- "@loaders.gl/loader-utils": "3.1.0",
37
- "@loaders.gl/worker-utils": "3.1.0",
36
+ "@loaders.gl/loader-utils": "3.1.4",
37
+ "@loaders.gl/worker-utils": "3.1.4",
38
38
  "@types/crypto-js": "^4.0.1"
39
39
  },
40
40
  "devDependencies": {
@@ -44,5 +44,5 @@
44
44
  "crypto": false,
45
45
  "sse4_crc32": false
46
46
  },
47
- "gitHead": "b02a011b5a6d6aa6c5870819045c70db168cb930"
47
+ "gitHead": "4d27d3ac6023e53b562dcad83b9254b198e81ee5"
48
48
  }