From f885d579556b2e3992af31eb148790d9c049ab13 Mon Sep 17 00:00:00 2001 From: Outvi V Date: Fri, 26 Jan 2024 22:15:02 +0800 Subject: [PATCH] chore: bump dist/index.js --- dist/index.js | 30 ++++++++++++++++++++++++++++-- 1 file changed, 28 insertions(+), 2 deletions(-) diff --git a/dist/index.js b/dist/index.js index b8904c4..5ba0a28 100644 --- a/dist/index.js +++ b/dist/index.js @@ -2759,6 +2759,30 @@ module.exports = require("net"); /***/ }), +/***/ 254: +/***/ ((module) => { + +"use strict"; +module.exports = require("node:buffer"); + +/***/ }), + +/***/ 561: +/***/ ((module) => { + +"use strict"; +module.exports = require("node:fs"); + +/***/ }), + +/***/ 411: +/***/ ((module) => { + +"use strict"; +module.exports = require("node:path"); + +/***/ }), + /***/ 37: /***/ ((module) => { @@ -2833,8 +2857,9 @@ var __webpack_exports__ = {}; // This entry need to be wrapped in an IIFE because it need to be isolated against other modules in the chunk. (() => { const core = __nccwpck_require__(954); -const fs = __nccwpck_require__(147); -const path = __nccwpck_require__(17); +const fs = __nccwpck_require__(561); +const path = __nccwpck_require__(411); +const { Buffer } = __nccwpck_require__(254); function getFilenameFromUrl(url) { const u = new URL(url); @@ -2851,6 +2876,7 @@ async function tryFetch(url, retryTimes) { for (let i = 0; i <= retryTimes; i++) { result = await fetch(url) .then((x) => x.arrayBuffer()) + .then((x) => Buffer.from(x)) .catch((err) => { console.error( `${