@loaders.gl/crypto 4.0.5 → 4.0.6
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.dev.js +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +4 -4
package/dist/dist.dev.js
CHANGED
|
@@ -837,7 +837,7 @@ var __exports__ = (() => {
|
|
|
837
837
|
};
|
|
838
838
|
|
|
839
839
|
// src/index.ts
|
|
840
|
-
var VERSION =
|
|
840
|
+
var VERSION = true ? "4.0.6" : "latest";
|
|
841
841
|
var CryptoWorker = {
|
|
842
842
|
id: "crypto",
|
|
843
843
|
name: "CRC32, CRC32c and MD5 Hashes",
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const VERSION = typeof
|
|
1
|
+
const VERSION = typeof "4.0.6" !== 'undefined' ? "4.0.6" : 'latest';
|
|
2
2
|
export { Hash } from "./lib/hash.js";
|
|
3
3
|
export { CRC32Hash } from "./lib/crc32-hash.js";
|
|
4
4
|
export { CRC32CHash } from "./lib/crc32c-hash.js";
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":["VERSION","
|
|
1
|
+
{"version":3,"file":"index.js","names":["VERSION","Hash","CRC32Hash","CRC32CHash","MD5Hash","SHA256Hash","CryptoHash","NodeHash","CryptoWorker","id","name","module","version","options","crypto","CryptoJSWorker","cryptojs","encodeNumber","encodeHex","encodeBase64","asciiToBase64","base64ToAscii"],"sources":["../src/index.ts"],"sourcesContent":["// loaders.gl, MIT license\n// Copyright (c) vis.gl contributors\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\nexport {Hash} from './lib/hash';\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\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\n// EXPERIMENTAL\n\nexport {encodeNumber, encodeHex, encodeBase64} from './lib/utils/digest-utils';\nexport {asciiToBase64, base64ToAscii} from './lib/utils/base64-utils';\n"],"mappings":"AAKA,MAAMA,OAAO,GAAG,cAAkB,KAAK,WAAW,aAAiB,QAAQ;AAAC,SAEpEC,IAAI;AAAA,SAEJC,SAAS;AAAA,SACTC,UAAU;AAAA,SACVC,OAAO;AAAA,SACPC,UAAU;AAAA,SAEVC,UAAU;AAAA,SACVC,QAAQ;AAKhB,OAAO,MAAMC,YAAY,GAAG;EAC1BC,EAAE,EAAE,QAAQ;EACZC,IAAI,EAAE,8BAA8B;EACpCC,MAAM,EAAE,QAAQ;EAChBC,OAAO,EAAEZ,OAAO;EAChBa,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,EAAEZ,OAAO;EAChBa,OAAO,EAAE;IACPG,QAAQ,EAAE,CAAC;EACb;AACF,CAAC;AAAC,SAIMC,YAAY,EAAEC,SAAS,EAAEC,YAAY;AAAA,SACrCC,aAAa,EAAEC,aAAa"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@loaders.gl/crypto",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.6",
|
|
4
4
|
"description": "Cryptographic/hashing plugins for loaders.gl",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -42,8 +42,8 @@
|
|
|
42
42
|
},
|
|
43
43
|
"dependencies": {
|
|
44
44
|
"@babel/runtime": "^7.3.1",
|
|
45
|
-
"@loaders.gl/loader-utils": "4.0.
|
|
46
|
-
"@loaders.gl/worker-utils": "4.0.
|
|
45
|
+
"@loaders.gl/loader-utils": "4.0.6",
|
|
46
|
+
"@loaders.gl/worker-utils": "4.0.6",
|
|
47
47
|
"@types/crypto-js": "^4.0.2"
|
|
48
48
|
},
|
|
49
49
|
"devDependencies": {
|
|
@@ -53,5 +53,5 @@
|
|
|
53
53
|
"crypto": false,
|
|
54
54
|
"sse4_crc32": false
|
|
55
55
|
},
|
|
56
|
-
"gitHead": "
|
|
56
|
+
"gitHead": "1582e06e4ac81b61091148f3d872f67478fe7511"
|
|
57
57
|
}
|