From 4fb6db569e472a33295b42fbb4e9733db889ac35 Mon Sep 17 00:00:00 2001 From: Hexagon Date: Wed, 8 Feb 2023 19:58:39 +0100 Subject: [PATCH] Build/Dependency fixes for Node. --- deps.ts | 2 +- scripts/build_npm.ts | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/deps.ts b/deps.ts index 4621355..0808ae3 100644 --- a/deps.ts +++ b/deps.ts @@ -20,4 +20,4 @@ export { XMLParser } from "https://esm.sh/fast-xml-parser@4.1.1"; * @private * @ignore * */ -export { ZipReader, Uint8ArrayReader, TextWriter } from "https://deno.land/x/zipjs@v2.6.61/index.js" \ No newline at end of file +export { ZipReader, Uint8ArrayReader, TextWriter } from "https://deno.land/x/zipjs@v2.6.63/index.js" \ No newline at end of file diff --git a/scripts/build_npm.ts b/scripts/build_npm.ts index 40bbdc6..c031651 100644 --- a/scripts/build_npm.ts +++ b/scripts/build_npm.ts @@ -15,6 +15,12 @@ await build({ deno: "dev", undici: true // Undici is for fetch support in old node versions }, + mappings: { + "https://deno.land/x/zipjs@v2.6.63/index.js": { + name: "@zip.js/zip.js", + version: "^2.6.63" + }, + }, package: { // package.json properties name: "entsoe-api-client",