From 17ef255a09b39157dd8e7cb47060c62493e7cc1c Mon Sep 17 00:00:00 2001 From: Xmader Date: Thu, 12 Nov 2020 13:33:26 -0500 Subject: [PATCH] v0.14.5 --- dist/main.js | 8 +++++--- package-lock.json | 2 +- package.json | 2 +- 3 files changed, 7 insertions(+), 5 deletions(-) diff --git a/dist/main.js b/dist/main.js index 88e3d76..7ed48e8 100644 --- a/dist/main.js +++ b/dist/main.js @@ -5,7 +5,7 @@ // @supportURL https://github.com/Xmader/musescore-downloader/issues // @updateURL https://msdl.librescore.org/install.user.js // @downloadURL https://msdl.librescore.org/install.user.js -// @version 0.14.4 +// @version 0.14.5 // @description download sheet music from musescore.com for free, no login or Musescore Pro required | 免登录、免 Musescore Pro,免费下载 musescore.com 上的曲谱 // @author Xmader // @match https://musescore.com/*/* @@ -26552,8 +26552,10 @@ Please pipe the document into a Node stream.\ t.d(r, 'a', () => { return (...args) => { if (magic instanceof Promise) { - magic = args[MAGIC_ARG_INDEX]; - resolve(magic); + if (args.every(a => typeof a === 'number' || typeof a === 'string')) { + magic = args[MAGIC_ARG_INDEX]; + resolve(magic); + } } return fn(...args); }; diff --git a/package-lock.json b/package-lock.json index 97d7e65..e70fa5b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "musescore-downloader", - "version": "0.14.4", + "version": "0.14.5", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index c8a3522..c2c3438 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "musescore-downloader", - "version": "0.14.4", + "version": "0.14.5", "description": "download sheet music from musescore.com for free, no login or Musescore Pro required | 免登录、免 Musescore Pro,免费下载 musescore.com 上的曲谱", "main": "dist/main.js", "repository": {