v3.2.1 - Use promisified pipeline instead

This commit is contained in:
RemixDev 2021-07-20 14:56:31 +02:00
parent b4a584a518
commit facb2a72d1
2 changed files with 2 additions and 3 deletions

View file

@ -1,8 +1,7 @@
const got = require('got')
const {_md5, _ecbCrypt, _ecbDecrypt, generateBlowfishKey, decryptChunk} = require('./utils/crypto.js')
const { USER_AGENT_HEADER } = require('./utils/index.js')
const { pipeline } = require('stream/promises')
const { USER_AGENT_HEADER, pipeline } = require('./utils/index.js')
function generateStreamPath(sngID, md5, mediaVersion, format){
let urlPart = md5+"¤"+format+"¤"+sngID+"¤"+mediaVersion

View file

@ -1,6 +1,6 @@
{
"name": "deemix",
"version": "3.2.0",
"version": "3.2.1",
"description": "a barebones deezer downloader library",
"main": "deemix/index.js",
"scripts": {