Skip to content

Conversation

@Dustin4444
Copy link
Owner

snyk-top-banner

Snyk has created this PR to upgrade @discoveryjs/json-ext from 0.5.7 to 0.6.3.

ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.


  • The recommended version is 4 versions ahead of your current version.

  • The recommended version was released 7 months ago.

Release notes
Package name: @discoveryjs/json-ext
  • 0.6.3 - 2024-10-24
    • Fixed an issue with types in the exports of package.json that introduced in version 0.6.2 (#14)
  • 0.6.2 - 2024-10-18
    • 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 })
  • 0.6.1 - 2024-08-06
    • 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
  • 0.6.0 - 2024-07-02
    • Added stringifyChunked() as a generator function
    • 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
  • 0.5.7 - 2022-03-09
    • Fixed adding entire package.json content to a bundle when target is a browser
from @discoveryjs/json-ext GitHub release notes

Important

  • Check the changes in this PR to ensure they won't cause issues with your project.
  • This PR was automatically created by Snyk using the credentials of a real user.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.

For more information:

Snyk has created this PR to upgrade @discoveryjs/json-ext from 0.5.7 to 0.6.3.

See this package in npm:
@discoveryjs/json-ext

See this project in Snyk:
https://app.snyk.io/org/dustin4444/project/720e8914-c129-4c50-b9c5-5a79e76105be?utm_source=github&utm_medium=referral&page=upgrade-pr
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants