Shiro
Shiro copied to clipboard
fix(deps): update dependency qrcode.react to v4
This PR contains the following updates:
Package | Change | Age | Adoption | Passing | Confidence |
---|---|---|---|---|---|
qrcode.react (source) | 3.2.0 -> 4.0.1 |
Release Notes
zpao/qrcode.react (qrcode.react)
v4.0.1
Fixed
- Corrected issue with loading types in Typescript when configured with
"moduleResolution": "Bundler"
or"module": "ESNext"
. (#​368)
v4.0.0
Added
- Added proper support for
ref
, enabling direct access for underlyingcanvas
orsvg
nodes. This also resulted in much more accurate type defitions. (#​202) - Added support for
marginSize
prop, replacing the now deprecatedincludeMargin
. This enables margins of any value, not just0
or4
. (#​281) - Added Support for Setting Image Opacity via
imageSettings.opacity
(#​292) - Added
minVersion
prop to give better control over QR Code generated (#​323) - Added support for specifying
cross-origin
for embedded images viaimageSettings.crossOrigin
. (#​324)
Changed
- Improved accessibility for
QRCodeSVG
by rendering a<title>
node instead of setting atitle
attribute. (#​284) - Improved accessibility with explicit
role
set on rendered SVG and Canvas. (#​321) - Improved documentation (#​358)
- Used better types in TypeScript for ErrorCorrectionLevel, resulting in better developer experience. (#​291)
Deprecated
- The
includeMargin
prop has been deprecated in favor ofmarginSize
. (#​281)
Removed
- Removed default export which was deprecated in v3. (#​208)
- Remove explicit
style
prop. This still works identically as it was passed through and the type definitions are unaffected as they were improved via theref
changes (#​357)
Fixed
- Improved support for dual publishing of ESM/CJS modules for better compatibility with tools. (#​301)
- Set explicit display names for improved debugging experience. (#​304)
- Improved SVG compatibility by using
href
in place ofxlink:href
for embedded images. (#​336) - Mitigated warnings when using QRCodeSVG in server components (#​352)
Configuration
📅 Schedule: Branch creation - "after 9pm,before 9am" in timezone Asia/Shanghai, Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
â™» Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
- [ ] If you want to rebase/retry this PR, check this box
This PR was generated by Mend Renovate. View the repository job log.