Added better configurability for comment scrubbing default behavior
Added better hardening against Prototype Pollution attacks, thanks @kevin-mizu
Added better handling and readability of the nodeType property, thanks @ssi02014
Fixed some smaller issues in README and other documentation
DOMPurify 3.1.2
Addressed and fixed a mXSS variation found by @kevin-mizu
Addressed and fixed a mXSS variation found by Adam Kues of Assetnote
Updated tests for older Safari and Chrome versions
DOMPurify 3.1.1
Fixed an mXSS sanitiser bypass reported by @icesfont
Added new code to track element nesting depth
Added new code to enforce a maximum nesting depth of 255
Added coverage tests and necessary clobbering protections
Note that this is a security release and should be upgraded to immediately. Please also note that further releases may follow as the underlying vulnerability is apparently new and further variations may be discovered.
DOMPurify 3.1.0
Added new setting SAFE_FOR_XML to enable better control over comment scrubbing
Updated README to warn about happy-dom not being safe for use with DOMPurify yet
Updated the LICENSE file to show the accurate year number
Updated several build and test dependencies
DOMPurify 3.0.11
Fixed another conditional bypass caused by Processing Instructions, thanks @Ry0taK
Fixed the regex for HTML Custom Element detection, thanks @AlekseySolovey3T
DOMPurify 3.0.10
Fixed two possible bypasses when sanitizing an XML document and later using it in HTML, thanks @Slonser
When using a custom runtimeModule, the plugin will not try to pre-optimize react/compiler-runtime dependency.
Reminder: Vite expect code outside of node_modules to be ESM, so you will need to update the gist with import React from 'react'.
v4.3.0
Fix support for React compiler
Don't set retainLines: true when the React compiler is used. This creates whitespace issues and the compiler is modifying the JSX too much to get correct line numbers after that. If you want to use the React compiler and get back correct line numbers for tools like vite-plugin-react-click-to-component to work, you should update your config to something like:
This is a long overdue and should fix some issues people had with HMR when migrating from CRA.
v4.2.1
Remove generic parameter on Plugin to avoid type error with Rollup 4/Vite 5 and skipLibCheck: false.
I expect very few people to currently use this feature, but if you are extending the React plugin via api object, you can get back the typing of the hook by importing ViteReactPluginApi:
import type { Plugin } from 'vite'
import type { ViteReactPluginApi } from '@vitejs/plugin-react'
When using a custom runtimeModule, the plugin will not try to pre-optimize react/compiler-runtime dependency.
Reminder: Vite expect code outside of node_modules to be ESM, so you will need to update the gist with import React from 'react'.
4.3.0 (2024-05-22)
Fix support for React compiler
Don't set retainLines: true when the React compiler is used. This creates whitespace issues and the compiler is modifying the JSX too much to get correct line numbers after that. If you want to use the React compiler and get back correct line numbers for tools like vite-plugin-react-click-to-component to work, you should update your config to something like:
This is a long overdue and should fix some issues people had with HMR when migrating from CRA.
4.2.1 (2023-12-04)
Remove generic parameter on Plugin to avoid type error with Rollup 4/Vite 5 and skipLibCheck: false.
I expect very few people to currently use this feature, but if you are extending the React plugin via api object, you can get back the typing of the hook by importing ViteReactPluginApi:
import type { Plugin } from 'vite'
import type { ViteReactPluginApi } from '@vitejs/plugin-react'
Bumps the node-requirements group with 16 updates in the /frontend directory:
8.112.5
8.119.3
9.37.3
9.54.6
9.7.3
9.7.4
3.0.6
3.1.6
3.0.4
3.0.5
6.23.1
6.25.1
0.20.2
0.23.2
9.5.0
9.7.0
4.1.1
4.3.1
8.57.0
9.7.0
7.34.3
7.35.0
15.6.0
15.8.0
3.0.3
3.3.3
5.4.5
5.5.4
7.13.1
7.17.0
4.5.3
5.3.4
Updates
@fluentui/react
from 8.112.5 to 8.119.3Release notes
Sourced from
@fluentui/react
's releases.Commits
02db285
release: applying package updates - react v88303652
release: applying package updates - web-components233720f
Chore: Create Divider base class to abstract out style and layout specific ap...5c3c0ba
fix(TimePicker): Clear text when date value changes to null (#31626)1bfb9c9
fix(web-components): move spinner animation off of mainthread (#32056)0c3c4ac
chore: unify jest maxWorkers usage on CI and turn off code coverage (#27680)5333195
ci(vrt): install vr-app as part of standard yarn install and remedy necessary...ba0b6c5
chore: remove component poster (#32057)651b92e
ci(vrt): upgrade VR tool to be security compliant (#31997)bae6b88
ci: improve codeql performance by not analyzing sourcefiles that cause infint...Updates
@fluentui/react-components
from 9.37.3 to 9.54.6Release notes
Sourced from
@fluentui/react-components
's releases.Commits
e55fceb
release: applying package updates - react-components970bf5c
[Chore]: Create Spinner base class to abstract out style and layout specific ...60952ac
[Chore]: Create Progress Bar base class to abstract out style and layout spec...9b99a9d
fix(react-storybook-addon): transform decorator to function in withAriaLive()...ace4b73
fix(motion): improve Web Animations API detection in tests (#32029)5e3705d
chore(eslint-plugin): removes type dependency on@fluentui/react-utilities
in...02db285
release: applying package updates - react v88303652
release: applying package updates - web-components233720f
Chore: Create Divider base class to abstract out style and layout specific ap...5c3c0ba
fix(TimePicker): Clear text when date value changes to null (#31626)Updates
@fluentui/react-icons
from 2.0.221 to 2.0.249Commits
Updates
@react-spring/web
from 9.7.3 to 9.7.4Release notes
Sourced from
@react-spring/web
's releases.... (truncated)
Commits
fd65b60
v9.7.4d64fc47
fix(shared): add rafz as a packagea755bd8
fix: adduseReducedMotion
compatibility for Safari 13 and older (#2300)f96db5e
Revert "chore(deps): update dependency remark-mdx-frontmatter to v5 (#2298)"28a172d
chore(deps): update dependency remark-mdx-frontmatter to v5 (#2298)1e4406e
chore(deps): update dependency tsx to v4 (#2260)58d06b8
chore: make deps absolute (#2283)f6047e4
chore(deps): update github artifact actions to v4 (major) (#2262)84ed1db
chore(deps): update testing deps (#2282)da2c12e
chore: update tooling depsUpdates
dompurify
from 3.0.6 to 3.1.6Release notes
Sourced from dompurify's releases.
... (truncated)
Commits
4083a90
Merge pull request #978 from cure53/main90a10a1
fix: Fixed a typo on the README65df042
chore: Preparing 3.1.6 release6e03334
fix: Made sure that remove() is not called directly from node00fc06c
fix: Fixed a DOM clobbering issue leading to an error being thrownf8c2ef5
Merge pull request #977 from cure53/dependabot/npm_and_yarn/multi-99ca4f73d8e5112ec
build(deps): bump ws and socket.io-adapter9978cec
docs: Added better security warning about SAFE_FOR_XML to READMEfa542df
fix: Changed the order for attribute checks slightly for safer hooksb8b552c
Merge pull request #975 from cure53/dependabot/npm_and_yarn/multi-2d3aef8690Updates
@types/dompurify
from 3.0.4 to 3.0.5Commits
Updates
react-router-dom
from 6.23.1 to 6.25.1Release notes
Sourced from react-router-dom's releases.
... (truncated)
Changelog
Sourced from react-router-dom's changelog.
... (truncated)
Commits
98941f8
chore: Update version for release (#11815)db24ec9
chore: Update version for release (pre) (#11814)a252428
Reduce RouterProvider re-renders when using View Transitions (#11803)6b8daf9
Revert "Temporary change to test release process off v6 branch"b8a4cdb
Temporary change to test release process off v6 branch13dfa13
chore: Update version for release (#11807)21b61c0
chore: Update version for release (pre) (#11800)7b22365
Stabilize future.unstable_skipActionErrorRevalidation (#11769)da65120
Fix useMatch undecoded params (#11789)0a87644
chore: Update version for release (#11767)Updates
scheduler
from 0.20.2 to 0.23.2Commits
Maintainer changes
This version was pushed to npm by react-bot, a new releaser for scheduler since your current version.
Updates
@eslint/js
from 9.5.0 to 9.7.0Release notes
Sourced from
@eslint/js
's releases.Changelog
Sourced from
@eslint/js
's changelog.Commits
7ed6f9a
chore: package.json update for@eslint/js
released655503
chore: package.json update for@eslint/js
releaseUpdates
@types/dompurify
from 3.0.4 to 3.0.5Commits
Updates
@vitejs/plugin-react
from 4.1.1 to 4.3.1Release notes
Sourced from
@vitejs/plugin-react
's releases.... (truncated)
Changelog
Sourced from
@vitejs/plugin-react
's changelog.... (truncated)
Commits
1609186
release: plugin-react@4.3.1ea647d1
fix: handle using compiler with React 18 (#330)7e7322a
release: plugin-react@4.3.04b4a95c
fix: don't use retainLines with react compiler (#319)2b7f2ae
fix: support HMR for class components (#320)302a323
docs: add minimum react version (#321)Superseded by #61.