mirror of
https://gitlab.com/RemixDev/deemix-js.git
synced 2025-01-15 10:45:15 +00:00
Fixed blowfish library
This commit is contained in:
parent
34cc000f8d
commit
6e1d126f30
1
deemix/utils/blowfish.js
Normal file
1
deemix/utils/blowfish.js
Normal file
File diff suppressed because one or more lines are too long
|
@ -1,7 +1,7 @@
|
||||||
const crypto = require('crypto')
|
const crypto = require('crypto')
|
||||||
let Blowfish
|
let Blowfish
|
||||||
try {
|
try {
|
||||||
Blowfish = require('egoroof-blowfish')
|
Blowfish = require('./blowfish.js')
|
||||||
} catch (e) { /* empty */ }
|
} catch (e) { /* empty */ }
|
||||||
|
|
||||||
function _md5 (data, type = 'binary') {
|
function _md5 (data, type = 'binary') {
|
||||||
|
|
|
@ -12,7 +12,6 @@
|
||||||
"async": "^3.2.0",
|
"async": "^3.2.0",
|
||||||
"crypto": "^1.0.1",
|
"crypto": "^1.0.1",
|
||||||
"deezer-js": "^1.0.3",
|
"deezer-js": "^1.0.3",
|
||||||
"egoroof-blowfish": "^2.2.2",
|
|
||||||
"got": "^11.8.2",
|
"got": "^11.8.2",
|
||||||
"metaflac-js2": "^1.0.7",
|
"metaflac-js2": "^1.0.7",
|
||||||
"spotify-web-api-node": "^5.0.2"
|
"spotify-web-api-node": "^5.0.2"
|
||||||
|
|
|
@ -403,11 +403,6 @@ ecc-jsbn@~0.1.1:
|
||||||
jsbn "~0.1.0"
|
jsbn "~0.1.0"
|
||||||
safer-buffer "^2.1.0"
|
safer-buffer "^2.1.0"
|
||||||
|
|
||||||
egoroof-blowfish@^2.2.2:
|
|
||||||
version "2.2.2"
|
|
||||||
resolved "https://registry.yarnpkg.com/egoroof-blowfish/-/egoroof-blowfish-2.2.2.tgz#d9ad386a8d2f8ddb55f2f7ff00341fc7565f9222"
|
|
||||||
integrity sha512-J2YRdTmgeebSiLB/WN2p5shat6eCnc7L/fM5SX9E8Yi0HGBWHcE6lQnHVCoXmkUflIwFU2j1/XcERYBdilMECA==
|
|
||||||
|
|
||||||
emoji-regex@^8.0.0:
|
emoji-regex@^8.0.0:
|
||||||
version "8.0.0"
|
version "8.0.0"
|
||||||
resolved "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz"
|
resolved "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz"
|
||||||
|
|
Loading…
Reference in a new issue