rspack
rspack copied to clipboard
chore(deps): update dependency @discoveryjs/json-ext to ^0.6.3
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| @discoveryjs/json-ext | ^0.5.7 -> ^0.6.3 |
[!WARNING] Some dependencies could not be looked up. Check the Dependency Dashboard for more information.
Release Notes
discoveryjs/json-ext (@discoveryjs/json-ext)
v0.6.3
- Fixed an issue with
typesin theexportsofpackage.jsonthat introduced in version0.6.2
v0.6.2
- Added
spaceBytesfield tostringifyInfo()result, which indicates the number of bytes used for white spaces. This allows for estimating size ofJSON.stringify()result with and without formatting (whenspaceoption is used) in a single pass instead of two - Fixed
stringifyInfo()to correctly accept thespaceparameter from options, i.e.stringifyInfo(data, { space: 2 })
v0.6.1
- Enhanced the performance of
stringifyChunked()by 1.5-3x - Enhanced the performance of
stringifyInfo()by 1.5-5x - Fixed
parseFromWebStream()to ensure that the lock on the reader is properly released
v0.6.0
- Added
stringifyChunked()as a generator function (as a replacer forstringifyStream()) - Added
createStringifyWebStream()function - Added
parseFromWebStream()function - Changed
parseChunked()to accept an iterable or async iterable that iterates over string, Buffer, or TypedArray elements - Removed
stringifyStream(), useReadable.from(stringifyChunked())instead - Fixed conformance
stringifyChunked()withJSON.stringify()when replacer a list of keys and a key refer to an entry in a prototype chain stringifyInfo():- Aligned API with
stringifyChunkedby acceptingoptionsas the second parameter. Now supports:stringifyInfo(value, replacer?, space?)stringifyInfo(value, options?)
- Renamed
minLengthfield intobytesin functions result - Removed the
asyncoption - The function result no longer contains the
asyncandduplicatefields - Fixed conformance with
JSON.stringify()when replacer a list of keys and a key refer to an entry in a prototype chain
- Aligned API with
- Discontinued exposing the
versionattribute - Converted to Dual Package, i.e. ESM and CommonJS support
Configuration
📅 Schedule: Branch creation - "before 8am on wednesday" 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.