Repository navigation
Conversation
Bumps Jint from 4.18.0 to 4.18.1 --- updated-dependencies: - dependency-name: Jint dependency-version: 4.18.1 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: test-dependencies ... Signed-off-by: dependabot[bot] <support@github.com>
…-dependencies-0287ca84f2
Menelion
deleted the
dependabot/nuget/tests/PlanCake.Tests/test-dependencies-0287ca84f2
branch
November 29, 2026 19:11
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Updated Jint from 4.18.0 to 4.18.1.
Release notes
Sourced from Jint's releases.
4.18.1
Jint 4.18.1 is a patch release from the
4.xbranch. It backports correctness and conformance fixes frommain: 17 pull requests since 4.18.0, with no new public API. Several of them change what a script observes, because Jint now does what the specification says where it did not; What might change for you below lists them.Highlights
Five spec deviations, reported together (#4581, from #4580; issue #4579, reported by @trackoor).
undefinedis read, not folded to the global value:(function (undefined) { return undefined; })('s')returns's'.{ "__proto__": proto }sets the prototype, as{ __proto__: proto }already did.parseFloat('1e5.5')stops at the second point and returns100000.String(2 ** 60)is"1152921504606847000".forEach,every,flatMapand the other array generics read the array as it is after a callbackunshifts into it.Strings.
for...of,Array.from, destructuring,Iterator.fromandArray.fromAsync:[...'\r\n'].lengthis2(#4694, from #4688; issue #4228, reported by @mkromann).String.rawconverts anundefinedsubstitution instead of dropping it, and<on two objects compares the primitives it already converted instead of converting again (#4659, from #4658; issue #4613, reported by @trackoor).Intl.Segmenterfollows Unicode UAX #29, from a pinned Unicode 17.0 table, the same on every target framework: sentence (#4675, from #4672), word (#4690, from #4686; issue #4683) and grapheme granularity (#4693, from #4691).Segments.prototype.containingfinds its segment by binary search (#4720, from #4719).Limits a host configured hold in more places.
Options.Constraints.MaxArraySizenow boundstoSorted,toReversed,withandsort, andArray.from,Iterator.prototype.toArrayand its async form, which close their iterator when the limit is passed rather than drain an endless source first (#4676, from #4665; issue #4520).Typed arrays and property definitions.
ArrayBufferfollows the proposal's internal methods: its elements are non-writable and non-configurable,definePropertyaccepts only a restatement of them, and an assignment is refused before its value is converted (strict code throws aTypeError, sloppy code does nothing) (#4730, from #4729).0as-0is a change of value: a non-writable property refuses it and a writable one stores it (#4730, from #4729).Hosts and interop.
JsonValuecrosses as the primitive it holds, and aJsonObjectorJsonArraystringifies without a cyclic-reference error; on .NET 8 and later, aJsonValuearound a CLR object no longer overflows the stack (#4689, from #4685; issue #4681).DisposableStackandAsyncDisposableStackmethods use the built-in's own realm (#4671, from #4663).Reading
undefinedin unprepared code stays as fast as in 4.18.0. The first fix above made every read ofundefinedthat the static analysis did not fold resolve through the scope chain, and code run throughExecute(string)is never analysed. Two changes close that again. Read-only globals such asundefined,NaNandInfinityare now served from the global-binding cache (#4732, from #4731). And a read ofundefinedthat has resolved to the global is folded at run time, the way the analysis folds it, with fusedx === undefinedandx == undefinedcomparisons; the fold is undone wherever a binding of that name can appear later (#4735, from #4734).Temporal.
Temporal.Duration.from('P1DT')is rejected, and aPlainMonthDaywith a year pastint.MaxValuekeeps that year's leap status (#4674, from #4669).Build and tests. The branch builds with the .NET 11 SDK (#4718, from #4373), and a stack-guard test no longer flakes on an exact-depth comparison (#4716, from #3140).
What might change for you
undefinedis now read. A script that declares one, as a parameter, avaror a catch parameter, sees its value where it used to see the globalundefined.[...s]orfor (const c of s), as in every other engine.Intl.Segmenterresults change wherever the previous segmentation differed from UAX #29.MaxArraySize, when set, now stopstoSorted,withand the other copying methods and the iterator collections with the same error other arrays past it raise.JsonValueon .NET Framework and netstandard reaches script as a string, number or boolean instead of a wrapped object.Verification
Every backport was verified failing-first: its tests ran against the unfixed
4.xtree on .NET 10 and .NET Framework 4.7.2, then again with the change. The release candidate was measured against 4.18.0 in paired rounds, alternating which build ran first in each round.math-cordicandbitops-nsieve-bits. Six more paired rounds put them at +0.70% [−0.84, +2.36] and −2.12% [−4.36, +5.86], so both 95% intervals include zero.undefinedin unprepared code: neither suite readsundefined, so a targeted benchmark measured it. Before #4735 the candidate was 10–30% slower than 4.18.0 on those reads. The final candidate reads +0.12%, +0.05% and −0.67% against 4.18.0, every 95% interval includes zero, and its control rows are unchanged.What's Changed
... (truncated)
Commits viewable in compare view.
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 rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore <dependency name> major versionwill close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)@dependabot ignore <dependency name> minor versionwill close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)@dependabot ignore <dependency name>will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)@dependabot unignore <dependency name>will remove all of the ignore conditions of the specified dependency@dependabot unignore <dependency name> <ignore condition>will remove the ignore condition of the specified dependency and ignore conditions