contentful / contentful-import

Node module that uses the data provided by contentful-export to import it to contentful space
MIT License
101 stars 39 forks source link

build(deps): Bump @discoveryjs/json-ext from 0.5.7 to 0.6.2 #1251

Closed dependabot[bot] closed 1 month ago

dependabot[bot] commented 1 month ago

Bumps @discoveryjs/json-ext from 0.5.7 to 0.6.2.

Release notes

Sourced from @​discoveryjs/json-ext's releases.

0.6.2

  • 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

  • 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

  • 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
Changelog

Sourced from @​discoveryjs/json-ext's changelog.

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 (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
Commits
  • 6614e75 0.6.2
  • 51e3b2c Fix example
  • 5b99d0e Refine into
  • 8ff6ab9 Refine intro
  • 976e097 Refactor stringify functions and related
  • 05c261f Bump esbuild & rollup
  • 00233e2 Fix tests rejects -> throws
  • 835a9ba Add spaceBytes field to stringifyInfo() result
  • 5dcb5c4 Fix stringifyInfo() to correctly accept the space parameter from options
  • 32b95eb Refactor stringifyChunked tests
  • Additional commits viewable in compare view


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
contentful-automation[bot] commented 1 month ago

:tada: This PR is included in version 9.4.62 :tada:

The release is available on:

Your semantic-release bot :package::rocket: