forked from um/web
chore: Use QMC2-Crypto with embedded WASM build from 0.0.5-R3
(cherry picked from commit 9448b497ed6b80e41f0e9f731f1ffa1e56fb149a)
This commit is contained in:
parent
f80cf29657
commit
1111aaf3b7
15
package-lock.json
generated
15
package-lock.json
generated
@ -7,10 +7,11 @@
|
|||||||
"": {
|
"": {
|
||||||
"name": "unlock-music",
|
"name": "unlock-music",
|
||||||
"version": "v1.9.1",
|
"version": "v1.9.1",
|
||||||
|
"hasInstallScript": true,
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@babel/preset-typescript": "^7.16.5",
|
"@babel/preset-typescript": "^7.16.5",
|
||||||
"@jixun/qmc2-crypto": "^0.0.5-R2",
|
"@jixun/qmc2-crypto": "^0.0.5-R3",
|
||||||
"base64-js": "^1.5.1",
|
"base64-js": "^1.5.1",
|
||||||
"browser-id3-writer": "^4.4.0",
|
"browser-id3-writer": "^4.4.0",
|
||||||
"core-js": "^3.16.0",
|
"core-js": "^3.16.0",
|
||||||
@ -2983,9 +2984,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@jixun/qmc2-crypto": {
|
"node_modules/@jixun/qmc2-crypto": {
|
||||||
"version": "0.0.5-R2",
|
"version": "0.0.5-R3",
|
||||||
"resolved": "https://registry.npmjs.org/@jixun/qmc2-crypto/-/qmc2-crypto-0.0.5-R2.tgz",
|
"resolved": "https://registry.npmjs.org/@jixun/qmc2-crypto/-/qmc2-crypto-0.0.5-R3.tgz",
|
||||||
"integrity": "sha512-omrsnXSx7BpOCY8Yla+xwil0bYz/4sj3qEFy4hu4JL/ujeWMzASKq9WnW+UHfSnLUw6EGstub+CoSXrFeRDfqQ=="
|
"integrity": "sha512-Wgf0EpmIMY8iKIp56KYR4DkFccSvvTI6Z5MHzW2cpwzDvb2fbTFcEtaVujNd+6A23O+6GfPjiTToiFFf+3pJyw=="
|
||||||
},
|
},
|
||||||
"node_modules/@mrmlnc/readdir-enhanced": {
|
"node_modules/@mrmlnc/readdir-enhanced": {
|
||||||
"version": "2.2.1",
|
"version": "2.2.1",
|
||||||
@ -23155,9 +23156,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"@jixun/qmc2-crypto": {
|
"@jixun/qmc2-crypto": {
|
||||||
"version": "0.0.5-R2",
|
"version": "0.0.5-R3",
|
||||||
"resolved": "https://registry.npmjs.org/@jixun/qmc2-crypto/-/qmc2-crypto-0.0.5-R2.tgz",
|
"resolved": "https://registry.npmjs.org/@jixun/qmc2-crypto/-/qmc2-crypto-0.0.5-R3.tgz",
|
||||||
"integrity": "sha512-omrsnXSx7BpOCY8Yla+xwil0bYz/4sj3qEFy4hu4JL/ujeWMzASKq9WnW+UHfSnLUw6EGstub+CoSXrFeRDfqQ=="
|
"integrity": "sha512-Wgf0EpmIMY8iKIp56KYR4DkFccSvvTI6Z5MHzW2cpwzDvb2fbTFcEtaVujNd+6A23O+6GfPjiTToiFFf+3pJyw=="
|
||||||
},
|
},
|
||||||
"@mrmlnc/readdir-enhanced": {
|
"@mrmlnc/readdir-enhanced": {
|
||||||
"version": "2.2.1",
|
"version": "2.2.1",
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@babel/preset-typescript": "^7.16.5",
|
"@babel/preset-typescript": "^7.16.5",
|
||||||
"@jixun/qmc2-crypto": "^0.0.5-R2",
|
"@jixun/qmc2-crypto": "^0.0.5-R3",
|
||||||
"base64-js": "^1.5.1",
|
"base64-js": "^1.5.1",
|
||||||
"browser-id3-writer": "^4.4.0",
|
"browser-id3-writer": "^4.4.0",
|
||||||
"core-js": "^3.16.0",
|
"core-js": "^3.16.0",
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import QMCCryptoModule from '@jixun/qmc2-crypto';
|
import QMCCryptoModule from '@jixun/qmc2-crypto/QMC2-wasm-bundle';
|
||||||
|
|
||||||
// EOF Magic detection.
|
// EOF Magic detection.
|
||||||
const DETECTION_SIZE = 40;
|
const DETECTION_SIZE = 40;
|
||||||
|
Loading…
Reference in New Issue
Block a user