Fixed blowfish library

This commit is contained in:
RemixDev 2021-07-25 16:55:45 +02:00
parent 34cc000f8d
commit 6e1d126f30
4 changed files with 2 additions and 7 deletions

1
deemix/utils/blowfish.js Normal file

File diff suppressed because one or more lines are too long

View file

@ -1,7 +1,7 @@
const crypto = require('crypto')
let Blowfish
try {
Blowfish = require('egoroof-blowfish')
Blowfish = require('./blowfish.js')
} catch (e) { /* empty */ }
function _md5 (data, type = 'binary') {

View file

@ -12,7 +12,6 @@
"async": "^3.2.0",
"crypto": "^1.0.1",
"deezer-js": "^1.0.3",
"egoroof-blowfish": "^2.2.2",
"got": "^11.8.2",
"metaflac-js2": "^1.0.7",
"spotify-web-api-node": "^5.0.2"

View file

@ -403,11 +403,6 @@ ecc-jsbn@~0.1.1:
jsbn "~0.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:
version "8.0.0"
resolved "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz"