From 049290ab08fdbefd0b5a23d01954b9dc805f5ce9 Mon Sep 17 00:00:00 2001 From: jaywcjlove <398188662@qq.com> Date: Mon, 25 Mar 2024 14:55:52 +0800 Subject: [PATCH] chore(deps): update dependency @uiw/react-markdown-preview to ^5 --- .kktrc.ts | 2 ++ package.json | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.kktrc.ts b/.kktrc.ts index 224ece58..596c7d15 100644 --- a/.kktrc.ts +++ b/.kktrc.ts @@ -21,6 +21,8 @@ export default (conf: Configuration, env: 'production' | 'development', options: }), ); + conf.ignoreWarnings = [{ module: /node_modules[\\/]parse5[\\/]/ }]; + if (env === 'production') { conf.optimization = { ...conf.optimization, diff --git a/package.json b/package.json index b93422fe..626b98bf 100644 --- a/package.json +++ b/package.json @@ -56,7 +56,7 @@ "@types/react-dom": "^18.2.22", "@types/react-test-renderer": "~18.0.0", "@uiw/react-github-corners": "~1.5.14", - "@uiw/react-markdown-preview": "~4.2.0", + "@uiw/react-markdown-preview": "^5.1.1", "@uiw/reset.css": "~1.0.6", "@wcj/dark-mode": "^1.0.14", "compile-less-cli": "~1.9.0",