@loaders.gl/crypto 3.4.9 → 3.4.11
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 +1 -1
- package/dist/es5/index.js.map +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/index.js.map +1 -1
- package/package.json +4 -4
package/dist/es5/index.js
CHANGED
|
@@ -59,7 +59,7 @@ var _sha256Hash = require("./lib/sha256-hash");
|
|
|
59
59
|
var _cryptoHash = require("./lib/crypto-hash");
|
|
60
60
|
var _nodeHash = require("./lib/node-hash");
|
|
61
61
|
var _digestUtils = require("./lib/utils/digest-utils");
|
|
62
|
-
var VERSION = typeof "3.4.
|
|
62
|
+
var VERSION = typeof "3.4.11" !== 'undefined' ? "3.4.11" : 'latest';
|
|
63
63
|
var CryptoWorker = {
|
|
64
64
|
id: 'crypto',
|
|
65
65
|
name: 'CRC32, CRC32c and MD5 Hashes',
|
package/dist/es5/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":["_crc32Hash","require","_crc32cHash","_md5Hash","_sha256Hash","_cryptoHash","_nodeHash","_digestUtils","VERSION","CryptoWorker","id","name","module","version","options","crypto","exports","CryptoJSWorker","cryptojs"],"sources":["../../src/index.ts"],"sourcesContent":["// import type {WorkerObject} from '@loaders.gl/worker-utils';\n\nexport {CRC32Hash} from './lib/crc32-hash';\nexport {CRC32CHash} from './lib/crc32c-hash';\nexport {MD5Hash} from './lib/md5-hash';\nexport {SHA256Hash} from './lib/sha256-hash';\n\nexport {CryptoHash} from './lib/crypto-hash';\nexport {NodeHash} from './lib/node-hash';\n\nexport {hexToBase64 as _hexToBase64, toHex as _toHex} from './lib/utils/digest-utils';\n\n// __VERSION__ is injected by babel-plugin-version-inline\n// @ts-ignore TS2304: Cannot find name '__VERSION__'.\nconst VERSION = typeof __VERSION__ !== 'undefined' ? __VERSION__ : 'latest';\n\n/**\n * Small, fast worker for CRC32, CRC32c and MD5 Hashes\n */\nexport const CryptoWorker = {\n id: 'crypto',\n name: 'CRC32, CRC32c and MD5 Hashes',\n module: 'crypto',\n version: VERSION,\n options: {\n crypto: {}\n }\n};\n\n/**\n * Large worker for full complement of Cryptographic Hashes\n * bundles the full crypto.js library\n */\nexport const CryptoJSWorker = {\n id: 'cryptojs',\n name: 'Cryptographic Hashes',\n module: 'crypto',\n version: VERSION,\n options: {\n cryptojs: {}\n }\n};\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,IAAAA,UAAA,GAAAC,OAAA;AACA,IAAAC,WAAA,GAAAD,OAAA;AACA,IAAAE,QAAA,GAAAF,OAAA;AACA,IAAAG,WAAA,GAAAH,OAAA;AAEA,IAAAI,WAAA,GAAAJ,OAAA;AACA,IAAAK,SAAA,GAAAL,OAAA;AAEA,IAAAM,YAAA,GAAAN,OAAA;AAIA,IAAMO,OAAO,GAAG,
|
|
1
|
+
{"version":3,"file":"index.js","names":["_crc32Hash","require","_crc32cHash","_md5Hash","_sha256Hash","_cryptoHash","_nodeHash","_digestUtils","VERSION","CryptoWorker","id","name","module","version","options","crypto","exports","CryptoJSWorker","cryptojs"],"sources":["../../src/index.ts"],"sourcesContent":["// import type {WorkerObject} from '@loaders.gl/worker-utils';\n\nexport {CRC32Hash} from './lib/crc32-hash';\nexport {CRC32CHash} from './lib/crc32c-hash';\nexport {MD5Hash} from './lib/md5-hash';\nexport {SHA256Hash} from './lib/sha256-hash';\n\nexport {CryptoHash} from './lib/crypto-hash';\nexport {NodeHash} from './lib/node-hash';\n\nexport {hexToBase64 as _hexToBase64, toHex as _toHex} from './lib/utils/digest-utils';\n\n// __VERSION__ is injected by babel-plugin-version-inline\n// @ts-ignore TS2304: Cannot find name '__VERSION__'.\nconst VERSION = typeof __VERSION__ !== 'undefined' ? __VERSION__ : 'latest';\n\n/**\n * Small, fast worker for CRC32, CRC32c and MD5 Hashes\n */\nexport const CryptoWorker = {\n id: 'crypto',\n name: 'CRC32, CRC32c and MD5 Hashes',\n module: 'crypto',\n version: VERSION,\n options: {\n crypto: {}\n }\n};\n\n/**\n * Large worker for full complement of Cryptographic Hashes\n * bundles the full crypto.js library\n */\nexport const CryptoJSWorker = {\n id: 'cryptojs',\n name: 'Cryptographic Hashes',\n module: 'crypto',\n version: VERSION,\n options: {\n cryptojs: {}\n }\n};\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,IAAAA,UAAA,GAAAC,OAAA;AACA,IAAAC,WAAA,GAAAD,OAAA;AACA,IAAAE,QAAA,GAAAF,OAAA;AACA,IAAAG,WAAA,GAAAH,OAAA;AAEA,IAAAI,WAAA,GAAAJ,OAAA;AACA,IAAAK,SAAA,GAAAL,OAAA;AAEA,IAAAM,YAAA,GAAAN,OAAA;AAIA,IAAMO,OAAO,GAAG,eAAkB,KAAK,WAAW,cAAiB,QAAQ;AAKpE,IAAMC,YAAY,GAAG;EAC1BC,EAAE,EAAE,QAAQ;EACZC,IAAI,EAAE,8BAA8B;EACpCC,MAAM,EAAE,QAAQ;EAChBC,OAAO,EAAEL,OAAO;EAChBM,OAAO,EAAE;IACPC,MAAM,EAAE,CAAC;EACX;AACF,CAAC;AAACC,OAAA,CAAAP,YAAA,GAAAA,YAAA;AAMK,IAAMQ,cAAc,GAAG;EAC5BP,EAAE,EAAE,UAAU;EACdC,IAAI,EAAE,sBAAsB;EAC5BC,MAAM,EAAE,QAAQ;EAChBC,OAAO,EAAEL,OAAO;EAChBM,OAAO,EAAE;IACPI,QAAQ,EAAE,CAAC;EACb;AACF,CAAC;AAACF,OAAA,CAAAC,cAAA,GAAAA,cAAA"}
|
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.4.
|
|
8
|
+
const VERSION = typeof "3.4.11" !== 'undefined' ? "3.4.11" : 'latest';
|
|
9
9
|
export const CryptoWorker = {
|
|
10
10
|
id: 'crypto',
|
|
11
11
|
name: 'CRC32, CRC32c and MD5 Hashes',
|
package/dist/esm/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":["CRC32Hash","CRC32CHash","MD5Hash","SHA256Hash","CryptoHash","NodeHash","hexToBase64","_hexToBase64","toHex","_toHex","VERSION","CryptoWorker","id","name","module","version","options","crypto","CryptoJSWorker","cryptojs"],"sources":["../../src/index.ts"],"sourcesContent":["// import type {WorkerObject} from '@loaders.gl/worker-utils';\n\nexport {CRC32Hash} from './lib/crc32-hash';\nexport {CRC32CHash} from './lib/crc32c-hash';\nexport {MD5Hash} from './lib/md5-hash';\nexport {SHA256Hash} from './lib/sha256-hash';\n\nexport {CryptoHash} from './lib/crypto-hash';\nexport {NodeHash} from './lib/node-hash';\n\nexport {hexToBase64 as _hexToBase64, toHex as _toHex} from './lib/utils/digest-utils';\n\n// __VERSION__ is injected by babel-plugin-version-inline\n// @ts-ignore TS2304: Cannot find name '__VERSION__'.\nconst VERSION = typeof __VERSION__ !== 'undefined' ? __VERSION__ : 'latest';\n\n/**\n * Small, fast worker for CRC32, CRC32c and MD5 Hashes\n */\nexport const CryptoWorker = {\n id: 'crypto',\n name: 'CRC32, CRC32c and MD5 Hashes',\n module: 'crypto',\n version: VERSION,\n options: {\n crypto: {}\n }\n};\n\n/**\n * Large worker for full complement of Cryptographic Hashes\n * bundles the full crypto.js library\n */\nexport const CryptoJSWorker = {\n id: 'cryptojs',\n name: 'Cryptographic Hashes',\n module: 'crypto',\n version: VERSION,\n options: {\n cryptojs: {}\n }\n};\n"],"mappings":"AAEA,SAAQA,SAAS,QAAO,kBAAkB;AAC1C,SAAQC,UAAU,QAAO,mBAAmB;AAC5C,SAAQC,OAAO,QAAO,gBAAgB;AACtC,SAAQC,UAAU,QAAO,mBAAmB;AAE5C,SAAQC,UAAU,QAAO,mBAAmB;AAC5C,SAAQC,QAAQ,QAAO,iBAAiB;AAExC,SAAQC,WAAW,IAAIC,YAAY,EAAEC,KAAK,IAAIC,MAAM,QAAO,0BAA0B;AAIrF,MAAMC,OAAO,GAAG,
|
|
1
|
+
{"version":3,"file":"index.js","names":["CRC32Hash","CRC32CHash","MD5Hash","SHA256Hash","CryptoHash","NodeHash","hexToBase64","_hexToBase64","toHex","_toHex","VERSION","CryptoWorker","id","name","module","version","options","crypto","CryptoJSWorker","cryptojs"],"sources":["../../src/index.ts"],"sourcesContent":["// import type {WorkerObject} from '@loaders.gl/worker-utils';\n\nexport {CRC32Hash} from './lib/crc32-hash';\nexport {CRC32CHash} from './lib/crc32c-hash';\nexport {MD5Hash} from './lib/md5-hash';\nexport {SHA256Hash} from './lib/sha256-hash';\n\nexport {CryptoHash} from './lib/crypto-hash';\nexport {NodeHash} from './lib/node-hash';\n\nexport {hexToBase64 as _hexToBase64, toHex as _toHex} from './lib/utils/digest-utils';\n\n// __VERSION__ is injected by babel-plugin-version-inline\n// @ts-ignore TS2304: Cannot find name '__VERSION__'.\nconst VERSION = typeof __VERSION__ !== 'undefined' ? __VERSION__ : 'latest';\n\n/**\n * Small, fast worker for CRC32, CRC32c and MD5 Hashes\n */\nexport const CryptoWorker = {\n id: 'crypto',\n name: 'CRC32, CRC32c and MD5 Hashes',\n module: 'crypto',\n version: VERSION,\n options: {\n crypto: {}\n }\n};\n\n/**\n * Large worker for full complement of Cryptographic Hashes\n * bundles the full crypto.js library\n */\nexport const CryptoJSWorker = {\n id: 'cryptojs',\n name: 'Cryptographic Hashes',\n module: 'crypto',\n version: VERSION,\n options: {\n cryptojs: {}\n }\n};\n"],"mappings":"AAEA,SAAQA,SAAS,QAAO,kBAAkB;AAC1C,SAAQC,UAAU,QAAO,mBAAmB;AAC5C,SAAQC,OAAO,QAAO,gBAAgB;AACtC,SAAQC,UAAU,QAAO,mBAAmB;AAE5C,SAAQC,UAAU,QAAO,mBAAmB;AAC5C,SAAQC,QAAQ,QAAO,iBAAiB;AAExC,SAAQC,WAAW,IAAIC,YAAY,EAAEC,KAAK,IAAIC,MAAM,QAAO,0BAA0B;AAIrF,MAAMC,OAAO,GAAG,eAAkB,KAAK,WAAW,cAAiB,QAAQ;AAK3E,OAAO,MAAMC,YAAY,GAAG;EAC1BC,EAAE,EAAE,QAAQ;EACZC,IAAI,EAAE,8BAA8B;EACpCC,MAAM,EAAE,QAAQ;EAChBC,OAAO,EAAEL,OAAO;EAChBM,OAAO,EAAE;IACPC,MAAM,EAAE,CAAC;EACX;AACF,CAAC;AAMD,OAAO,MAAMC,cAAc,GAAG;EAC5BN,EAAE,EAAE,UAAU;EACdC,IAAI,EAAE,sBAAsB;EAC5BC,MAAM,EAAE,QAAQ;EAChBC,OAAO,EAAEL,OAAO;EAChBM,OAAO,EAAE;IACPG,QAAQ,EAAE,CAAC;EACb;AACF,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@loaders.gl/crypto",
|
|
3
|
-
"version": "3.4.
|
|
3
|
+
"version": "3.4.11",
|
|
4
4
|
"description": "Cryptographic/hashing plugins for loaders.gl",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"publishConfig": {
|
|
@@ -33,8 +33,8 @@
|
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
35
|
"@babel/runtime": "^7.3.1",
|
|
36
|
-
"@loaders.gl/loader-utils": "3.4.
|
|
37
|
-
"@loaders.gl/worker-utils": "3.4.
|
|
36
|
+
"@loaders.gl/loader-utils": "3.4.11",
|
|
37
|
+
"@loaders.gl/worker-utils": "3.4.11",
|
|
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": "
|
|
47
|
+
"gitHead": "2b8d490d2372e70dd89eef8f6b215a5205c16621"
|
|
48
48
|
}
|