From ef9e2bfb0d0d348aebd5e0269ae61bd3b48e5816 Mon Sep 17 00:00:00 2001 From: Ziggy Jonsson Date: Wed, 31 Jul 2024 08:27:43 -0400 Subject: [PATCH 1/2] add ts-ignore on dynamic require --- lib/Open/index.js | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/Open/index.js b/lib/Open/index.js index 81f95d5..76727bd 100644 --- a/lib/Open/index.js +++ b/lib/Open/index.js @@ -94,6 +94,7 @@ module.exports = { return directory(source, options); }, s3_v3: function (client, params, options) { + //@ts-ignore const { GetObjectCommand, HeadObjectCommand } = require('@aws-sdk/client-s3'); const source = { size: async () => { From e7a4c380a282fc41bac289433ec99c51923a8637 Mon Sep 17 00:00:00 2001 From: Ziggy Jonsson Date: Wed, 31 Jul 2024 08:45:07 -0400 Subject: [PATCH 2/2] Update package.json --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 59b6034..28163fe 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "unzipper", - "version": "0.12.2", + "version": "0.12.3", "description": "Unzip cross-platform streaming API ", "author": "Evan Oxfeld ", "contributors": [