diff --git a/.changeset/dry-goats-press.md b/.changeset/dry-goats-press.md new file mode 100644 index 000000000000..da2a7f4855cd --- /dev/null +++ b/.changeset/dry-goats-press.md @@ -0,0 +1,5 @@ +--- +"@modern-js/hmr-client": patch +--- + +revert 'react-error-overlay' to a stable version diff --git a/packages/server/hmr-client/package.json b/packages/server/hmr-client/package.json index 592996a1fec7..2b163ad55817 100644 --- a/packages/server/hmr-client/package.json +++ b/packages/server/hmr-client/package.json @@ -37,7 +37,7 @@ "dependencies": { "@babel/runtime": "^7", "@modern-js/utils": "workspace:^1.1.6", - "react-error-overlay": "^6.0.9", + "react-error-overlay": "6.0.9", "strip-ansi": "^7.0.0", "url": "^0.11.0" }, diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 3045defb803d..5a11e03fd543 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -3301,7 +3301,7 @@ importers: '@types/node': ^14 esbuild: ^0.13.13 jest: ^27 - react-error-overlay: ^6.0.9 + react-error-overlay: 6.0.9 strip-ansi: ^7.0.0 typescript: ^4 url: ^0.11.0 @@ -3310,7 +3310,7 @@ importers: '@babel/runtime': 7.16.7 '@modern-js/utils': link:../../toolkit/utils esbuild: 0.13.15 - react-error-overlay: 6.0.10 + react-error-overlay: 6.0.9 strip-ansi: 7.0.1 url: 0.11.0 devDependencies: @@ -29690,6 +29690,12 @@ packages: dependencies: esbuild: 0.13.15 + /react-error-overlay/6.0.9: + resolution: {integrity: sha512-nQTTcUu+ATDbrSD1BZHr5kgSD4oF8OFjxun8uAaL8RwPBacGBNPf/yAuVVdx17N8XNzRDMrZ9XcKZHCjPW+9ew==} + dependencies: + esbuild: 0.13.15 + dev: false + /react-fast-compare/3.2.0: resolution: {integrity: sha512-rtGImPZ0YyLrscKI9xTpV8psd6I8VAtjKCzQDlzyDvqJA8XOW78TXYQwNRNd8g8JZnDu8q9Fu/1v4HPAVwVdHA==} dependencies: