-
Notifications
You must be signed in to change notification settings - Fork 40
Commit 7b91cbb
authored
build(deps): Bump @discoveryjs/json-ext from 0.5.7 to 0.6.2 (#1251)
Bumps [@discoveryjs/json-ext](https://github.com/discoveryjs/json-ext)
from 0.5.7 to 0.6.2.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/discoveryjs/json-ext/releases"><code>@discoveryjs/json-ext</code>'s
releases</a>.</em></p>
<blockquote>
<h2>0.6.2</h2>
<ul>
<li>Added <code>spaceBytes</code> field to <code>stringifyInfo()</code>
result, which indicates the number of bytes used for white spaces. This
allows for estimating size of <code>JSON.stringify()</code> result with
and without formatting (when <code>space</code> option is used) in a
single pass instead of two</li>
<li>Fixed <code>stringifyInfo()</code> to correctly accept the
<code>space</code> parameter from options, i.e.
<code>stringifyInfo(data, { space: 2 })</code></li>
</ul>
<h2>0.6.1</h2>
<ul>
<li>Enhanced the performance of <code>stringifyChunked()</code> by
1.5-3x</li>
<li>Enhanced the performance of <code>stringifyInfo()</code> by
1.5-5x</li>
<li>Fixed <code>parseFromWebStream()</code> to ensure that the lock on
the reader is properly released</li>
</ul>
<h2>0.6.0</h2>
<ul>
<li>Added <code>stringifyChunked()</code> as a generator function</li>
<li>Added <code>createStringifyWebStream()</code> function</li>
<li>Added <code>parseFromWebStream()</code> function</li>
<li>Changed <code>parseChunked()</code> to accept an iterable or async
iterable that iterates over string, Buffer, or TypedArray elements</li>
<li>Removed <code>stringifyStream()</code>, use
<code>Readable.from(stringifyChunked())</code> instead</li>
<li>Fixed conformance <code>stringifyChunked()</code> with
<code>JSON.stringify()</code> when replacer a list of keys and a key
refer to an entry in a prototype chain</li>
<li><code>stringifyInfo()</code>:
<ul>
<li>Aligned API with <code>stringifyChunked</code> by accepting
<code>options</code> as the second parameter. Now supports:
<ul>
<li><code>stringifyInfo(value, replacer?, space?)</code></li>
<li><code>stringifyInfo(value, options?)</code></li>
</ul>
</li>
<li>Renamed <code>minLength</code> field into <code>bytes</code> in
functions result</li>
<li>Removed the <code>async</code> option</li>
<li>The function result no longer contains the <code>async</code> and
<code>duplicate</code> fields</li>
<li>Fixed conformance with <code>JSON.stringify()</code> when replacer a
list of keys and a key refer to an entry in a prototype chain</li>
</ul>
</li>
<li>Discontinued exposing the <code>version</code> attribute</li>
<li>Converted to Dual Package, i.e. ESM and CommonJS support</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/discoveryjs/json-ext/blob/master/CHANGELOG.md"><code>@discoveryjs/json-ext</code>'s
changelog</a>.</em></p>
<blockquote>
<h2>0.6.2 (2024-10-18)</h2>
<ul>
<li>Added <code>spaceBytes</code> field to <code>stringifyInfo()</code>
result, which indicates the number of bytes used for white spaces. This
allows for estimating size of <code>JSON.stringify()</code> result with
and without formatting (when <code>space</code> option is used) in a
single pass instead of two</li>
<li>Fixed <code>stringifyInfo()</code> to correctly accept the
<code>space</code> parameter from options, i.e.
<code>stringifyInfo(data, { space: 2 })</code></li>
</ul>
<h2>0.6.1 (2024-08-06)</h2>
<ul>
<li>Enhanced the performance of <code>stringifyChunked()</code> by
1.5-3x</li>
<li>Enhanced the performance of <code>stringifyInfo()</code> by
1.5-5x</li>
<li>Fixed <code>parseFromWebStream()</code> to ensure that the lock on
the reader is properly released</li>
</ul>
<h2>0.6.0 (2024-07-02)</h2>
<ul>
<li>Added <code>stringifyChunked()</code> as a generator function (as a
replacer for <code>stringifyStream()</code>)</li>
<li>Added <code>createStringifyWebStream()</code> function</li>
<li>Added <code>parseFromWebStream()</code> function</li>
<li>Changed <code>parseChunked()</code> to accept an iterable or async
iterable that iterates over string, Buffer, or TypedArray elements</li>
<li>Removed <code>stringifyStream()</code>, use
<code>Readable.from(stringifyChunked())</code> instead</li>
<li>Fixed conformance <code>stringifyChunked()</code> with
<code>JSON.stringify()</code> when replacer a list of keys and a key
refer to an entry in a prototype chain</li>
<li><code>stringifyInfo()</code>:
<ul>
<li>Aligned API with <code>stringifyChunked</code> by accepting
<code>options</code> as the second parameter. Now supports:
<ul>
<li><code>stringifyInfo(value, replacer?, space?)</code></li>
<li><code>stringifyInfo(value, options?)</code></li>
</ul>
</li>
<li>Renamed <code>minLength</code> field into <code>bytes</code> in
functions result</li>
<li>Removed the <code>async</code> option</li>
<li>The function result no longer contains the <code>async</code> and
<code>duplicate</code> fields</li>
<li>Fixed conformance with <code>JSON.stringify()</code> when replacer a
list of keys and a key refer to an entry in a prototype chain</li>
</ul>
</li>
<li>Discontinued exposing the <code>version</code> attribute</li>
<li>Converted to Dual Package, i.e. ESM and CommonJS support</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/discoveryjs/json-ext/commit/6614e754520c2ab73ad3904f30311f04ad4bf7b9"><code>6614e75</code></a>
0.6.2</li>
<li><a
href="https://github.com/discoveryjs/json-ext/commit/51e3b2c3bd22314005ddab6e8521a767ac6c2f75"><code>51e3b2c</code></a>
Fix example</li>
<li><a
href="https://github.com/discoveryjs/json-ext/commit/5b99d0e31d2c514a507e2f1309a2b62db44f8a7e"><code>5b99d0e</code></a>
Refine into</li>
<li><a
href="https://github.com/discoveryjs/json-ext/commit/8ff6ab98eb9b7f9873250face4896e3491904b02"><code>8ff6ab9</code></a>
Refine intro</li>
<li><a
href="https://github.com/discoveryjs/json-ext/commit/976e097e389d0461e7d0dd44cb7e6214b799fe19"><code>976e097</code></a>
Refactor stringify functions and related</li>
<li><a
href="https://github.com/discoveryjs/json-ext/commit/05c261fe3ed5cf79b31ba65ba72dd234e563645e"><code>05c261f</code></a>
Bump esbuild & rollup</li>
<li><a
href="https://github.com/discoveryjs/json-ext/commit/00233e221acd9e3cb242cc059a342018049fef50"><code>00233e2</code></a>
Fix tests rejects -> throws</li>
<li><a
href="https://github.com/discoveryjs/json-ext/commit/835a9ba1621bf83665d532e9dcf4e55fa10077dc"><code>835a9ba</code></a>
Add <code>spaceBytes</code> field to <code>stringifyInfo()</code>
result</li>
<li><a
href="https://github.com/discoveryjs/json-ext/commit/5dcb5c4aaa83a10af0dda9f614be3f65c6659afb"><code>5dcb5c4</code></a>
Fix <code>stringifyInfo()</code> to correctly accept the
<code>space</code> parameter from options</li>
<li><a
href="https://github.com/discoveryjs/json-ext/commit/32b95ebeac3f6405b3725f7f16a7a66e5a82ba55"><code>32b95eb</code></a>
Refactor stringifyChunked tests</li>
<li>Additional commits viewable in <a
href="https://github.com/discoveryjs/json-ext/compare/v0.5.7...v0.6.2">compare
view</a></li>
</ul>
</details>
<br />
[](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
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-automerge-start)
[//]: # (dependabot-automerge-end)
---
<details>
<summary>Dependabot commands and options</summary>
<br />
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 <dependency name> 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)
</details>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>1 parent ce50aae commit 7b91cbbCopy full SHA for 7b91cbb
File tree
Expand file treeCollapse file tree
2 files changed
+9
-6
lines changedFilter options
Expand file treeCollapse file tree
2 files changed
+9
-6
lines changed+8-5Lines changed: 8 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
+1-1Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
60 | 60 |
| |
61 | 61 |
| |
62 | 62 |
| |
63 |
| - | |
| 63 | + | |
64 | 64 |
| |
65 | 65 |
| |
66 | 66 |
| |
|
0 commit comments