From 6501fc454060ec16d8a56995a0c03b033702105d Mon Sep 17 00:00:00 2001 From: ahabhgk Date: Mon, 19 Aug 2024 14:47:01 +0800 Subject: [PATCH] fix: html title error --- cases/10000/index.html | 2 +- package.json | 2 +- pnpm-lock.yaml | 24 ++++++++++++++++++++---- 3 files changed, 22 insertions(+), 6 deletions(-) diff --git a/cases/10000/index.html b/cases/10000/index.html index eb277687..79f82481 100644 --- a/cases/10000/index.html +++ b/cases/10000/index.html @@ -4,7 +4,7 @@ - <%= htmlWebpackPlugin.options.title %> + 10000
diff --git a/package.json b/package.json index 8f3a61e8..32f3da0e 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "dependencies": { "@actions/core": "^1.10.1", "@icon-park/react": "^1.4.2", - "@rspack/plugin-react-refresh": "^0.7.5", + "@rspack/plugin-react-refresh": "1.0.0", "meow": "^13.2.0", "react": "^18.2.0", "react-dom": "^18.2.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index fed4fc98..0cf20e24 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -15,8 +15,8 @@ importers: specifier: ^1.4.2 version: 1.4.2(react-dom@18.2.0)(react@18.2.0) '@rspack/plugin-react-refresh': - specifier: ^0.7.5 - version: 0.7.5(react-refresh@0.14.0) + specifier: 1.0.0 + version: 1.0.0(react-refresh@0.14.0) meow: specifier: ^13.2.0 version: 13.2.0 @@ -1790,14 +1790,16 @@ packages: react-is: 16.13.1 dev: false - /@rspack/plugin-react-refresh@0.7.5(react-refresh@0.14.0): - resolution: {integrity: sha512-ROI9lrmfIH+Z9lbBaP3YMhbD2R3rlm9SSzi/9WzzkQU6KK911S1D+sL2ByeJ7ipZafbHvMPWTmC2aQEvjhwQig==} + /@rspack/plugin-react-refresh@1.0.0(react-refresh@0.14.0): + resolution: {integrity: sha512-WvXkLewW5G0Mlo5H1b251yDh5FFiH4NDAbYlFpvFjcuXX2AchZRf9zdw57BDE/ADyWsJgA8kixN/zZWBTN3iYA==} peerDependencies: react-refresh: '>=0.10.0 <1.0.0' peerDependenciesMeta: react-refresh: optional: true dependencies: + error-stack-parser: 2.1.4 + html-entities: 2.5.2 react-refresh: 0.14.0 dev: false @@ -4064,6 +4066,12 @@ packages: is-arrayish: 0.2.1 dev: true + /error-stack-parser@2.1.4: + resolution: {integrity: sha512-Sk5V6wVazPhq5MhpO+AUxJn5x7XSXGl1R93Vn7i+zS15KDVxQijejNCrz8340/2bgLBjR9GtEG8ZVKONDjcqGQ==} + dependencies: + stackframe: 1.3.4 + dev: false + /es-abstract@1.22.3: resolution: {integrity: sha512-eiiY8HQeYfYH2Con2berK+To6GrK2RxbPawDkGq4UiCQQfZHb6wX9qQqkbpPqaxQFcl8d9QzZqo0tGE0VcrdwA==} engines: {node: '>= 0.4'} @@ -4465,6 +4473,10 @@ packages: react-is: 16.13.1 dev: false + /html-entities@2.5.2: + resolution: {integrity: sha512-K//PSRMQk4FZ78Kyau+mZurHn3FH0Vwr+H36eE0rPbeYkRRi9YxceYPhuN60UwWorxyKHhqoAJl2OFKa4BVtaA==} + dev: false + /human-signals@2.1.0: resolution: {integrity: sha512-B4FFZ6q/T2jhhksgkbEW3HBvWIfDW85snkQgawt07S7J5QXTk6BkNV+0yAeZrM5QpMAdYlocGoljn0sJ/WQkFw==} engines: {node: '>=10.17.0'} @@ -5884,6 +5896,10 @@ packages: engines: {node: '>=6'} dev: false + /stackframe@1.3.4: + resolution: {integrity: sha512-oeVtt7eWQS+Na6F//S4kJ2K2VbRlS9D43mAlMyVpVWovy9o+jfgH8O9agzANzaiLjclA0oYzUXEM4PurhSUChw==} + dev: false + /strict-uri-encode@2.0.0: resolution: {integrity: sha512-QwiXZgpRcKkhTj2Scnn++4PKtWsH0kpzZ62L2R6c/LUVYv7hVnZqcg2+sMuT6R7Jusu1vviK/MFsu6kNJfWlEQ==} engines: {node: '>=4'}