From facb2a72d1afd3bb58e0068a8c2f960b8cc97fd2 Mon Sep 17 00:00:00 2001 From: RemixDev Date: Tue, 20 Jul 2021 14:56:31 +0200 Subject: [PATCH] v3.2.1 - Use promisified pipeline instead --- deemix/decryption.js | 3 +-- package.json | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/deemix/decryption.js b/deemix/decryption.js index a0b591e..512e83b 100644 --- a/deemix/decryption.js +++ b/deemix/decryption.js @@ -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 diff --git a/package.json b/package.json index 72c8f60..b6cb371 100644 --- a/package.json +++ b/package.json @@ -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": {