From 9426ec44d47a9bd739445ea142b1b7b3b57e0924 Mon Sep 17 00:00:00 2001 From: Fatih Aziz Date: Thu, 16 Jun 2022 01:56:03 +0700 Subject: [PATCH 1/2] =?UTF-8?q?=F0=9F=94=A7Fix=20"deepmerge-ts=20module=20?= =?UTF-8?q?not=20found"=20error?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit It seems you forgot to change this when updating to 4.2, because `"dist/node/types/current/index.d.ts"` changed to `"dist/node/types/current/index.d.mts"` or `"dist/node/types/current/index.d.cts"` --- package.json | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 9c22925d..a430ab91 100644 --- a/package.json +++ b/package.json @@ -39,7 +39,8 @@ "require": "./dist/node/types/current/index.d.cts" }, "import": "./dist/node/index.mjs", - "require": "./dist/node/index.cjs" + "require": "./dist/node/index.cjs", + "default": "./dist/node/index.cjs" }, "main": "dist/node/index.cjs", "module": "dist/node/index.mjs", @@ -57,7 +58,7 @@ }, ">=4.7": { "*": [ - "dist/node/types/current/index.d.ts" + "dist/node/types/current/index.d.mts" ] } }, From b24b639507c1bd1dd80b3206841cd8712fd5d856 Mon Sep 17 00:00:00 2001 From: Rebecca Stevens Date: Thu, 16 Jun 2022 10:44:56 +1200 Subject: [PATCH 2/2] build: drop default node export --- package.json | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/package.json b/package.json index a430ab91..025855fe 100644 --- a/package.json +++ b/package.json @@ -39,8 +39,7 @@ "require": "./dist/node/types/current/index.d.cts" }, "import": "./dist/node/index.mjs", - "require": "./dist/node/index.cjs", - "default": "./dist/node/index.cjs" + "require": "./dist/node/index.cjs" }, "main": "dist/node/index.cjs", "module": "dist/node/index.mjs",