From 0482d446cca533b6d298711f3d44f61a4e2923a5 Mon Sep 17 00:00:00 2001 From: Himanshu Singh Date: Thu, 4 Sep 2025 23:33:25 +0200 Subject: [PATCH] Revert "chore: update exports entry in package.json with type mappings (#89)" This reverts commit a40bacfbaa1fd16089ab58f794a146654dd37782. --- package.json | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/package.json b/package.json index c663b64..019821d 100644 --- a/package.json +++ b/package.json @@ -16,16 +16,9 @@ "url": "https://github.com/mongodb-js/mongodb-connection-string-url/issues" }, "main": "lib/index.js", - "types": "lib/index.d.ts", "exports": { - "require": { - "default": "./lib/index.js", - "types": "./lib/index.d.ts" - }, - "import": { - "default": "./.esm-wrapper.mjs", - "types": "./lib/index.d.ts" - } + "require": "./lib/index.js", + "import": "./.esm-wrapper.mjs" }, "files": [ "LICENSE", @@ -65,4 +58,4 @@ "@types/whatwg-url": "^13.0.0", "whatwg-url": "^14.1.0 || ^13.0.0" } -} +} \ No newline at end of file