From de3b432d354fa13243882305e9b2496de71beb9d Mon Sep 17 00:00:00 2001 From: Samir Date: Sat, 22 Jun 2024 11:32:58 +0530 Subject: [PATCH] Fixed no default export issue --- package.json | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 8b2cb5a..9b01e7d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@samocodes/s3-safe-key", - "version": "1.1.0", + "version": "1.1.1", "private": false, "description": "Package that sanitizes s3 object keys", "type": "module", @@ -10,11 +10,13 @@ "exports": { "import": { "types": "./dist/index.d.ts", - "import": "./dist/index.js" + "import": "./dist/index.js", + "default": "./dist/index.js" }, "require": { "types": "./dist/index.d.cts", - "import": "./dist/index.cjs" + "import": "./dist/index.cjs", + "default": "./dist/index.cjs" } }, "scripts": {