chore(deps): react-widget in-range updates

Babel 7.29.7, React 19.3, styled-components 6.5.3, dompurify 3.4.15,
typescript-eslint 8.70, prettier 3.9.6, svgo 4.1, markdown-it 14.3.

Clears all 5 npm audit advisories, including svgo removeScripts
GHSA-w27v-7q3p-w38r and GHSA-4vpr-x523-8j87 (both high).

Prettier 3.9 changed ternary and union-type wrapping, so two src files are
reformatted by lint-fix. No behavior change.

Build, tsc --noEmit and lint all clean.
This commit is contained in:
Alex committed 2026-09-12 19:25:00 +01:00
1 parent d1f75b1d82
commit 08a2c038bc
4 files changed
+1398 -1370

No files matched your search

+1355 -1332
View File
File diff suppressed because it is too large. Load diff
+22 -22
View File
@@ -42,45 +42,45 @@
"ci": "yarn build && yarn test && yarn lint && yarn check"
},
"dependencies": {
"@babel/plugin-transform-flow-strip-types": "^7.23.3",
"@babel/plugin-transform-flow-strip-types": "^7.29.7",
"@parcel/resolver-glob": "^2.16.4",
"@parcel/transformer-svg-react": "^2.16.4",
"@parcel/transformer-typescript-tsc": "^2.16.4",
"@parcel/validator-typescript": "^2.16.4",
"@radix-ui/react-icons": "^1.3.0",
"class-variance-authority": "^0.7.0",
"clsx": "^2.1.0",
"dompurify": "^3.1.5",
"@radix-ui/react-icons": "^1.3.2",
"class-variance-authority": "^0.7.1",
"clsx": "^2.1.1",
"dompurify": "^3.4.15",
"flow-bin": "^0.326.0",
"markdown-it": "^14.1.0",
"react": "^19.2.5",
"react-dom": "^19.2.5",
"styled-components": "^6.1.8"
"markdown-it": "^14.3.2",
"react": "^19.3.0",
"react-dom": "^19.3.0",
"styled-components": "^6.5.3"
},
"devDependencies": {
"@babel/core": "^7.24.0",
"@babel/preset-env": "^7.24.0",
"@babel/preset-react": "^7.23.3",
"@babel/core": "^7.29.7",
"@babel/preset-env": "^7.29.7",
"@babel/preset-react": "^7.29.7",
"@eslint/js": "^9.39.4",
"@parcel/packager-ts": "^2.16.4",
"@parcel/transformer-typescript-types": "^2.16.4",
"@types/dompurify": "^3.0.5",
"@types/markdown-it": "^14.1.2",
"@types/react": "^19.2.14",
"@types/react-dom": "^19.2.3",
"@typescript-eslint/eslint-plugin": "^8.59.0",
"@typescript-eslint/parser": "^8.59.0",
"@types/markdown-it": "^14.2.0",
"@types/react": "^19.3.0",
"@types/react-dom": "^19.3.0",
"@typescript-eslint/eslint-plugin": "^8.70.0",
"@typescript-eslint/parser": "^8.70.0",
"babel-loader": "^10.1.1",
"eslint": "^9.39.4",
"eslint": "^9.39.5",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-prettier": "^5.5.5",
"eslint-plugin-prettier": "^5.5.6",
"eslint-plugin-react": "^7.37.5",
"eslint-plugin-unused-imports": "^4.4.1",
"globals": "^17.5.0",
"globals": "^17.12.0",
"parcel": "^2.16.4",
"prettier": "^3.8.1",
"prettier": "^3.9.6",
"process": "^0.11.10",
"svgo": "^4.0.1",
"svgo": "^4.1.0",
"typescript": "^6.0.3"
},
"publishConfig": {
@@ -656,20 +656,28 @@ const ActionButton = styled.button<{
${(props) =>
props.$active &&
css`
color: ${props.$tone === 'danger'
? props.theme.danger!.text
: props.theme.accent!.base};
background-color: ${props.$tone === 'danger'
? props.theme.danger!.soft
: props.theme.accent!.soft};
color: ${
props.$tone === 'danger'
? props.theme.danger!.text
: props.theme.accent!.base
};
background-color: ${
props.$tone === 'danger'
? props.theme.danger!.soft
: props.theme.accent!.soft
};
&:hover {
color: ${props.$tone === 'danger'
? props.theme.danger!.text
: props.theme.accent!.base};
background-color: ${props.$tone === 'danger'
? props.theme.danger!.soft
: props.theme.accent!.soft};
color: ${
props.$tone === 'danger'
? props.theme.danger!.text
: props.theme.accent!.base
};
background-color: ${
props.$tone === 'danger'
? props.theme.danger!.soft
: props.theme.accent!.soft
};
}
svg {
+1 -4
View File
@@ -51,10 +51,7 @@ export type Status = 'idle' | 'loading' | 'failed';
export type FEEDBACK = 'LIKE' | 'DISLIKE';
export type AttachmentStatus =
| 'uploading'
| 'processing'
| 'completed'
| 'failed';
'uploading' | 'processing' | 'completed' | 'failed';
export interface Attachment {
/** Client-side key for the chip; never sent to the server. */