mirror of
https://seed.radicle.dev/rad:z4V1sjrXqjvFdnCUbxPFqd5p4DtH5.git
synced 2026-10-18 19:30:27 +08:00
Upgrade npm dependencies
This also upgrades dompurify to the latest version, outside our cooldown window, for a security fix (verified safe with extra security checks). Newer dompurify versions expose a bug where happy-dom renders one of our custom elements incorrectly in tests, unlike real browsers. Switch the unit test environment from happy-dom to jsdom to fix the failing tests.
This commit is contained in:
+1
-1
@@ -2,6 +2,6 @@
|
||||
set -e
|
||||
|
||||
npx tsc --noEmit
|
||||
npx svelte-check --tsconfig tsconfig.json --fail-on-warnings --compiler-warnings options_missing_custom_element:ignore
|
||||
npx svelte-check --tsconfig tsconfig.json --config ./vite.config.ts --fail-on-warnings --compiler-warnings options_missing_custom_element:ignore
|
||||
npx eslint --cache --cache-location node_modules/.cache/eslint --max-warnings 0 .
|
||||
npx prettier "**/*.@(ts|js|svelte|json|css|html|yml)" --ignore-path .gitignore --ignore-path .prettierignore --check --cache
|
||||
|
||||
Reference in New Issue
Block a user