rspack icon indicating copy to clipboard operation
rspack copied to clipboard

chore(deps): update dependency @discoveryjs/json-ext to ^0.6.3

Open renovate[bot] opened this issue 7 months ago • 1 comments

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@discoveryjs/json-ext ^0.5.7 -> ^0.6.3 age adoption passing confidence

[!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

Compare Source

  • Fixed an issue with types in the exports of package.json that introduced in version 0.6.2

v0.6.2

Compare Source

  • Added spaceBytes field to stringifyInfo() result, which indicates the number of bytes used for white spaces. This allows for estimating size of JSON.stringify() result with and without formatting (when space option is used) in a single pass instead of two
  • Fixed stringifyInfo() to correctly accept the space parameter from options, i.e. stringifyInfo(data, { space: 2 })

v0.6.1

Compare Source

  • 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

Compare Source

  • Added stringifyChunked() as a generator function (as a replacer for stringifyStream())
  • 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(), use Readable.from(stringifyChunked()) instead
  • Fixed conformance stringifyChunked() with JSON.stringify() when replacer a list of keys and a key refer to an entry in a prototype chain
  • stringifyInfo():
    • Aligned API with stringifyChunked by accepting options as the second parameter. Now supports:
      • stringifyInfo(value, replacer?, space?)
      • stringifyInfo(value, options?)
    • Renamed minLength field into bytes in functions result
    • Removed the async option
    • The function result no longer contains the async and duplicate fields
    • Fixed conformance with JSON.stringify() when replacer a list of keys and a key refer to an entry in a prototype chain
  • Discontinued exposing the version attribute
  • 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.

renovate[bot] avatar Mar 18 '25 22:03 renovate[bot]