From 672b7ed533fc08330da947214cd26c90538e7ee3 Mon Sep 17 00:00:00 2001 From: Cody Olsen Date: Mon, 8 Apr 2024 23:09:32 +0200 Subject: [PATCH] fix: bundle `use-error-boundary` for strict ESM compat --- package-lock.json | 5 +++-- package.json | 4 ++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/package-lock.json b/package-lock.json index c5914ed7..8afed3bd 100644 --- a/package-lock.json +++ b/package-lock.json @@ -23,8 +23,7 @@ "scroll-into-view-if-needed": "^3.1.0", "suspend-react": "^0.1.3", "swr": "^2.2.5", - "type-fest": "^4.10.2", - "use-error-boundary": "^2.0.6" + "type-fest": "^4.10.2" }, "devDependencies": { "@commitlint/cli": "^19.2.1", @@ -60,6 +59,7 @@ "semantic-release": "^23.0.7", "styled-components": "^6.1.8", "typescript": "5.4.2", + "use-error-boundary": "^2.0.6", "yalc": "1.0.0-pre.53" }, "engines": { @@ -23621,6 +23621,7 @@ "version": "2.0.6", "resolved": "https://registry.npmjs.org/use-error-boundary/-/use-error-boundary-2.0.6.tgz", "integrity": "sha512-AWCVKSAanLe6R/on/ZkHYtGKfXs8BQX6z/TUGYqtvkajLqQyrGKJJscbahtq8OyN8L3LqTRjJWx4gCOLmfIObw==", + "dev": true, "peerDependencies": { "react": ">=16.9.0", "react-dom": ">=16.9.0" diff --git a/package.json b/package.json index f94e814a..0a18e75c 100644 --- a/package.json +++ b/package.json @@ -70,8 +70,7 @@ "scroll-into-view-if-needed": "^3.1.0", "suspend-react": "^0.1.3", "swr": "^2.2.5", - "type-fest": "^4.10.2", - "use-error-boundary": "^2.0.6" + "type-fest": "^4.10.2" }, "devDependencies": { "@commitlint/cli": "^19.2.1", @@ -107,6 +106,7 @@ "semantic-release": "^23.0.7", "styled-components": "^6.1.8", "typescript": "5.4.2", + "use-error-boundary": "^2.0.6", "yalc": "1.0.0-pre.53" }, "peerDependencies": {