dependabot[bot] opened a new pull request, #4702: URL: https://github.com/apache/doris-website/pull/4702
Bumps [immutable](https://github.com/immutable-js/immutable-js) from 5.1.5 to 5.2.1. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/immutable-js/immutable-js/releases">immutable's releases</a>.</em></p> <blockquote> <h2>v5.2.1</h2> <h2>What's Changed</h2> <ul> <li>[TypeScript] Accept a key path typed KeyPath wherever a path is taken by <a href="https://github.com/jdeniau"><code>@jdeniau</code></a> in <a href="https://redirect.github.com/immutable-js/immutable-js/pull/2328">immutable-js/immutable-js#2328</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/immutable-js/immutable-js/compare/v5.2.0...v5.2.1">https://github.com/immutable-js/immutable-js/compare/v5.2.0...v5.2.1</a></p> <h2>v5.2.0</h2> <h2>What's Changed</h2> <ul> <li>Fix keySeq() on a lazy indexed Seq of unknown size by <a href="https://github.com/kevin9327"><code>@kevin9327</code></a> in <a href="https://redirect.github.com/immutable-js/immutable-js/pull/2325">immutable-js/immutable-js#2325</a></li> <li>[TypeScript] Type Record#getIn from the Record's properties, like MapOf#getIn by <a href="https://github.com/jdeniau"><code>@jdeniau</code></a> in <a href="https://redirect.github.com/immutable-js/immutable-js/pull/2324">immutable-js/immutable-js#2324</a></li> </ul> <h2>New Contributors</h2> <ul> <li><a href="https://github.com/kevin9327"><code>@kevin9327</code></a> made their first contribution in <a href="https://redirect.github.com/immutable-js/immutable-js/pull/2325">immutable-js/immutable-js#2325</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/immutable-js/immutable-js/compare/v5.1.10...v5.2.0">https://github.com/immutable-js/immutable-js/compare/v5.1.10...v5.2.0</a></p> <h2>v5.1.10</h2> <ul> <li>fix(Seq): Incorrect (<code>NaN</code>) keys when iterating in reverse an indexed lazy Sequence of unknown size <a href="https://redirect.github.com/immutable-js/immutable-js/pull/2268">#2268</a></li> <li>fix(Seq): Stack overflow when slicing a zipped Sequence of unknown size from the end - by <a href="https://github.com/b84330808"><code>@b84330808</code></a> in <a href="https://redirect.github.com/immutable-js/immutable-js/pull/2311">immutable-js/immutable-js#2311</a></li> <li>fix(Seq): Incorrect keys of an <em>interposed</em> Sequence when iterated in reverse - by <a href="https://github.com/b84330808"><code>@b84330808</code></a> in <a href="https://redirect.github.com/immutable-js/immutable-js/pull/2310">immutable-js/immutable-js#2310</a></li> <li>fix(Seq): Incorrect keys of a <em>filtered</em> indexed Seq when iterated in reverse - by <a href="https://github.com/b84330808"><code>@b84330808</code></a> in <a href="https://redirect.github.com/immutable-js/immutable-js/pull/2309">immutable-js/immutable-js#2309</a></li> <li>fix(Seq): Fix <code>takeLast(0)</code> on a Sequence of unknown size - by <a href="https://github.com/b84330808"><code>@b84330808</code></a> in <a href="https://redirect.github.com/immutable-js/immutable-js/pull/2313">immutable-js/immutable-js#2313</a></li> <li>fix(Seq): <code>skipWhile</code> and <code>skipUntil</code> on an indexed Seq now renumber iterator keys from 0, consistently with <code>toArray</code> and <code>entrySeq</code>, and <code>entries()</code> no longer throws once exhausted. This also fixes iterating a chained <code>map</code>/<code>filter</code> and <code>equals</code> on such sequences - by <a href="https://github.com/wozhenbang2004"><code>@wozhenbang2004</code></a> in <a href="https://redirect.github.com/immutable-js/immutable-js/pull/2319">immutable-js/immutable-js#2319</a></li> <li>[TypeScript]: on a <code>MapOf</code> (a <code>Map</code> built from an object), <code>delete</code> and <code>remove</code> of a required key now give a <code>MapOf</code> without that key (<code>Map({ a: 1, b: 'b' }).delete('b')</code> is a <code>MapOf<{ a: number }></code>) instead of <code>never</code>. Deleting an optional key still keeps the type. <a href="https://redirect.github.com/immutable-js/immutable-js/pull/2312">#2312</a></li> </ul> <h3>Doc</h3> <ul> <li>[TypeScript]: on a <code>MapOf</code> (a <code>Map</code> built from an object), <code>delete</code> and <code>remove</code> of a required key now give a <code>MapOf</code> without that key (<code>Map({ a: 1, b: 'b' }).delete('b')</code> is a <code>MapOf<{ a: number }></code>) instead of <code>never</code>. Deleting an optional key still keeps the type. <a href="https://redirect.github.com/immutable-js/immutable-js/pull/2312">#2312</a></li> </ul> <h2>New Contributors</h2> <ul> <li><a href="https://github.com/Hashim1999164"><code>@Hashim1999164</code></a> made their first contribution in <a href="https://redirect.github.com/immutable-js/immutable-js/pull/2244">immutable-js/immutable-js#2244</a></li> <li><a href="https://github.com/iambumblehead"><code>@iambumblehead</code></a> made their first contribution in <a href="https://redirect.github.com/immutable-js/immutable-js/pull/2299">immutable-js/immutable-js#2299</a></li> <li><a href="https://github.com/b84330808"><code>@b84330808</code></a> made their first contribution in <a href="https://redirect.github.com/immutable-js/immutable-js/pull/2311">immutable-js/immutable-js#2311</a></li> <li><a href="https://github.com/wozhenbang2004"><code>@wozhenbang2004</code></a> made their first contribution in <a href="https://redirect.github.com/immutable-js/immutable-js/pull/2319">immutable-js/immutable-js#2319</a></li> <li><a href="https://github.com/Shubham-Padkonde"><code>@Shubham-Padkonde</code></a> made their first contribution in <a href="https://redirect.github.com/immutable-js/immutable-js/pull/2293">immutable-js/immutable-js#2293</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/immutable-js/immutable-js/compare/v5.1.9...v5.1.10">https://github.com/immutable-js/immutable-js/compare/v5.1.9...v5.1.10</a></p> <h2>v5.1.9</h2> <h2>What's Changed</h2> <ul> <li>fix(List): preserve undefined values when grown past 32 elements by <a href="https://github.com/spokodev"><code>@spokodev</code></a> / <a href="https://github.com/jdeniau"><code>@jdeniau</code></a> in <a href="https://redirect.github.com/immutable-js/immutable-js/pull/2235">immutable-js/immutable-js#2235</a> (originated from <a href="https://redirect.github.com/immutable-js/immutable-js/pull/2230">immutable-js/immutable-js#2230</a> )</li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/immutable-js/immutable-js/compare/v5.1.8...v5.1.9">https://github.com/immutable-js/immutable-js/compare/v5.1.8...v5.1.9</a></p> <h2>v5.1.8</h2> <h2>What's Changed</h2> <ul> <li>fix(List): guard oversized bounds in setListBounds. Fixes CVE <a href="https://github.com/immutable-js/immutable-js/security/advisories/GHSA-v56q-mh7h-f735">https://github.com/immutable-js/immutable-js/security/advisories/GHSA-v56q-mh7h-f735</a></li> <li>perf(Map): index large hash-collision buckets for faster lookups. Fixes CVE <a href="https://github.com/immutable-js/immutable-js/security/advisories/GHSA-xvcm-6775-5m9r">https://github.com/immutable-js/immutable-js/security/advisories/GHSA-xvcm-6775-5m9r</a></li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/immutable-js/immutable-js/blob/main/CHANGELOG.md">immutable's changelog</a>.</em></p> <blockquote> <h2>5.2.1</h2> <ul> <li>[TypeScript] The functional <code>getIn</code> accepts a key path typed <code>KeyPath</code> again, like the one a wrapper function receives and forwards. It was a type error since 5.2.0; the result is <code>unknown</code>, as in 5.1. <a href="https://redirect.github.com/immutable-js/immutable-js/pull/2328">#2328</a> by <a href="https://github.com/jdeniau"><code>@jdeniau</code></a></li> <li>[TypeScript] The methods <code>setIn</code>, <code>updateIn</code>, <code>mergeIn</code>, <code>mergeDeepIn</code>, <code>deleteIn</code>, <code>removeIn</code>, the untyped <code>getIn</code> and <code>hasIn</code>, and the functions <code>setIn</code> and <code>removeIn</code> type their key path as <code>KeyPath</code>, which the functions <code>hasIn</code> and <code>updateIn</code> already used: an array-like or an ordered Immutable collection, as the runtime accepts. A path typed <code>KeyPath</code> is now accepted everywhere. A path typed <code>Iterable<…></code> is now a type error, like an ES6 <code>Set</code> or a generator, which throw <code>Invalid keyPath</code> at runtime: type it <code>KeyPath<…></code> instead, exported since 5.1.0. <a href="https://redirect.github.com/immutable-js/immutable-js/pull/2328">#2328</a> by <a href="https://github.com/jdeniau"><code>@jdeniau</code></a></li> </ul> <h2>5.2.0</h2> <ul> <li>Fix keySeq() on a lazy indexed Seq of unknown size in <a href="https://redirect.github.com/immutable-js/immutable-js/pull/2325">#2325</a> by <a href="https://github.com/kevin9327">kevin9327</a></li> </ul> <h4>[TypeScript] <code>Record#getIn</code> is typed from the Record's properties, like <code>MapOf#getIn</code></h4> <p>No runtime change. <code>Record#getIn</code> also accepts a <code>notSetValue</code>, as the runtime always did.</p> <pre lang="ts"><code>const Address = Record({ city: '', zip: 0 }); const Person = Record({ name: '', address: Address() }); const person = Person(); <p>person.getIn(['address', 'city']); // was unknown, now string person.getIn(['address', 'street']); // was unknown, now a type error: expected one of "city" | "zip" person.getIn(['address', 'street'], 'nsv'); // was a type error (one argument expected), now 'nsv' </code></pre></p> <h4>[TypeScript] <code>Record#update(updater)</code> is properly typed</h4> <pre lang="ts"><code>const point = Record({ x: 0, y: 0 })(); <p>point.update((p) => p.x + p.y); // was a type error (two arguments expected), now number </code></pre></p> <h4>[TypeScript Break] A key path the types can not follow is a type error</h4> <p>For <code>MapOf#getIn</code>, <code>Record#getIn</code> and the functional <code>getIn</code>. Such a path previously gave <code>never</code>, which TypeScript accepted silently, and a valid path needed <code>as const</code> to give its type.</p> <pre lang="ts"><code>const map = Map({ a: { b: 1 } }); <p>map.getIn(['a', 'b']); // was never (number with <code>['a', 'b'] as const</code>), now number without <code>as const</code> map.getIn(['z']); // was never, now a type error: expected one of "a" map.getIn(['a', 'b', 'c']); // was never, now a type error: no key can be read from number map.getIn(['z'], 'nsv'); // was never, now 'nsv': with a <code>notSetValue</code>, a key the types do not know is accepted </code></pre></p> <p>A path only known at runtime is typed as such, and the result is <code>unknown</code>:</p> <pre lang="ts"><code>const path: Array<string> = ['a', 'b']; <p>map.getIn(path); // was never, now unknown </tr></table> </code></pre></p> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/immutable-js/immutable-js/commit/4c18997be6706ea9b817e23c19efa218c4068c89"><code>4c18997</code></a> 5.2.1</li> <li><a href="https://github.com/immutable-js/immutable-js/commit/1449984b1a34c028fa04ef345b299130a56d6d0c"><code>1449984</code></a> Merge pull request <a href="https://redirect.github.com/immutable-js/immutable-js/issues/2328">#2328</a> from jdeniau/getin-forwarded-keypath</li> <li><a href="https://github.com/immutable-js/immutable-js/commit/dc12267e5b1a5d1de663e41dc1c3ee43224ea272"><code>dc12267</code></a> [TypeScript] Type every key path parameter as KeyPath</li> <li><a href="https://github.com/immutable-js/immutable-js/commit/4844b96c3e2e6cfc6d68bd65b9be97f3962847cd"><code>4844b96</code></a> [TypeScript] getIn: accept a key path typed KeyPath</li> <li><a href="https://github.com/immutable-js/immutable-js/commit/7146ae1898e01b878eca7c2519ec6b3aa9f2d481"><code>7146ae1</code></a> Merge pull request <a href="https://redirect.github.com/immutable-js/immutable-js/issues/2326">#2326</a> from immutable-js/release-5.2.0</li> <li><a href="https://github.com/immutable-js/immutable-js/commit/3e7070bdfe02f0fcfd5b689455d7dde80e1d9d33"><code>3e7070b</code></a> Add changelog for 5.2.0</li> <li><a href="https://github.com/immutable-js/immutable-js/commit/92e6eaae504af734111c07f249b375bf816e9e2f"><code>92e6eaa</code></a> 5.2.0</li> <li><a href="https://github.com/immutable-js/immutable-js/commit/b39d130828da4fe7b4ea26f8bfaaa9ba44a6ddbf"><code>b39d130</code></a> Merge pull request <a href="https://redirect.github.com/immutable-js/immutable-js/issues/2324">#2324</a> from jdeniau/typed-record-getin</li> <li><a href="https://github.com/immutable-js/immutable-js/commit/2de45349586bbdbb95975937f5f89d10dd010bb0"><code>2de4534</code></a> [TypeScript] getIn: follow a nested Record, accept an object key of a Map</li> <li><a href="https://github.com/immutable-js/immutable-js/commit/4ac12ccb3d43eb8712994d624800824f91e9a1c8"><code>4ac12cc</code></a> [TypeScript] getIn: a key that may be missing and generic collections</li> <li>Additional commits viewable in <a href="https://github.com/immutable-js/immutable-js/compare/v5.1.5...v5.2.1">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 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) You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/apache/doris-website/network/alerts). </details> -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
