chore(deps): update dependency jint to v4#1604
Open
renovate[bot] wants to merge 1 commit into
Open
Conversation
eb384eb to
1b2ceae
Compare
1b2ceae to
df16bf9
Compare
df16bf9 to
3613da1
Compare
3613da1 to
b8b6bc5
Compare
5b2f63b to
1182bd6
Compare
1182bd6 to
0c23074
Compare
0c23074 to
8503050
Compare
8503050 to
e93b1ec
Compare
e93b1ec to
7d7fc10
Compare
7d7fc10 to
6298659
Compare
6298659 to
4e9126f
Compare
Contributor
|
✅ All contributors have signed the CLA! Thank you for signing the Contributor License Agreement. Your contribution can now be reviewed and merged! 🚀 |
57f64e2 to
d46c5c3
Compare
5043e1e to
598af89
Compare
a6ec4c6 to
e0a0187
Compare
|
e0a0187 to
36448f5
Compare
ddb63cc to
d126091
Compare
|
|
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.



This PR contains the following updates:
3.0.1→4.9.2Release Notes
sebastienros/jint (Jint)
v4.9.2What's Changed
New Contributors
Full Changelog: sebastienros/jint@v4.9.1...v4.9.2
v4.9.1A bug-fix release focused on async correctness, number-to-string conversion, and CLR interop edge cases.
Highlights
Async correctness
Three fixes together close a set of holes in
async/awaitand event-loop behavior:WaitForEventAsyncwaiters are all signaled now — previously only one waiter would wake when an event arrived (#2427).if/for/while/try/switch) (#2469) and through every expression type (#2475). Awaiting inside these constructs no longer drops state or fails to resume.If you use Jint's async API, this release is worth picking up.
Number.prototype.toString(radix)no longer overflows(-12345e+30).toString(2)and other large-magnitude calls used to cast directly tolong, overflowing at ~9.22e18 and returning wrong digits (or throwing). The integer part now goes throughBigIntegeronce it exceedslongrange, producing the mathematically exact base-rrepresentation for radix 2 through 36 (#2471).CLR interop: oversize numeric inputs
Numeric values that don't fit in the target CLR type now surface as a JavaScript
RangeErrorinstead of silently overflowing (#2465).Spec conformance
Updated test262 to commit
673e9bacand fixed the issues that surfaced (#2473).What's Changed
673e9baand fix newly-revealed issues by @lahma in #2473New Contributors
Full Changelog: sebastienros/jint@v4.9.0...v4.9.1
v4.9.0Highlights
Jint 4.9.0 is a large release focused on performance, CLR interop ergonomics, and ECMAScript spec coverage.
New language features
import defer * as ns from "mod"/import.defer()andimport source x from "mod"/import.source()(TC39 proposals; 346 + 428 test262 tests pass) (#2396)import txt from "./file.txt" with { type: "text" }(TC39 Stage 3; complements the existingjson/bytespaths) (#2403)Performance
The interpreter and built-ins got broad attention this release — see the v4.8.0 → v4.9.0 comparison table below for measured deltas.
Array.prototype.sort/indexOf/includes/concatand sparse-array conversion optimized (#2408)new Array(N)plusArray.Copyfast paths forshift/unshift/splice(#2451)FunctionEnvironmentpooled perJintFunctionDefinition.State(#2413)JsStringprimitive reads (#2450)CLR interop
Options.Interop.PreferJsPrototypeMethods()makes JS prototype methods win over CLR methods on wrapped objects (list.reverse()/list.sort()now do the JS thing onIList<T>) (#2440)Dictionary<string, object>(#2392)ThrowOnUnresolvedMemberno longer throws on missing dictionary keys (#2446)MissingMemberExceptionon implicit string coercion of CLR objects (#2439)JintException.TryGetJavaScriptLocation/TryGetJavaScriptCallStack, or viaJavaScriptException.Locationwhen usingCatchClrExceptions()(#2459)Correctness & spec coverage
for-ofdestructuring resume bugs fixed (#2453, #2456)Function.prototype.toString()returns the original source text for non-native functions (#2394)RegexTimeout(#2457)NumberFormatpath and a newICalendarProviderextension point (#2390, #2407, #2409, #2411, #2414, #2423)Performance: Jint 4.8.0 → 4.9.0
Same machine, same scripts, default BenchmarkDotNet settings on the v4.8.0 and v4.9.0 tags. Lower is better. Negative deltas are improvements.
Hardware: AMD Ryzen 9 5950X · Windows 11 · .NET 10.0.7 · BenchmarkDotNet 0.15.8.
Cold path —
Engine.Execute(string)(parses on every call)Cached path —
Engine.Execute(Prepared<Script>)(parse once, reuse)What's Changed
Dictionary<string, object>by @Copilot in #2392New Contributors
Full Changelog: sebastienros/jint@v4.8.0...v4.9.0
v4.8.0What's Changed
New Contributors
Full Changelog: sebastienros/jint@v4.7.1...v4.8.0
v4.7.1What's Changed
Full Changelog: sebastienros/jint@v4.7.0...v4.7.1
v4.7.0What's Changed
Full Changelog: sebastienros/jint@v4.6.4...v4.7.0
v4.6.4What's Changed
PreparedScriptBenchmarkclass closer to the original by @Taritsyn in #2325New Contributors
Full Changelog: sebastienros/jint@v4.6.3...v4.6.4
v4.6.3What's Changed
Full Changelog: sebastienros/jint@v4.6.2...v4.6.3
v4.6.2What's Changed
New Contributors
Full Changelog: sebastienros/jint@v4.6.1...v4.6.2
v4.6.1What's Changed
toJSONmethod invocation inJSON.stringifyby @Copilot in #2292UnwrapIfPromiseAsyncextension method for non-blocking promise resolution by @Copilot in #2298Object.freeze()support for CLR dictionary-backedObjectWrapperby @Copilot in #2296InvalidCastExceptionwhen a property getter is a bound function by @Copilot in #2301Dateoperations and object resolution by @Copilot in #2288Full Changelog: sebastienros/jint@v4.6.0...v4.6.1
v4.6.0This release brings Temporal and internationalization APIs available. There still might be some rough edges and specific non-English cultures might be missing specific formatting. There's a breaking change for custom
IReferenceResolverin #2266 ,undefinedandnullsemantics changed to make engine work as required by the official specification.Temporal and internationalization APIs are augmented with plugins to provide data from NodaTime and ICU4N, see https://github.com/sebastienros/jint/tree/main/Jint.Tests.Test262 for example implementations.
What's Changed
New Contributors
Full Changelog: sebastienros/jint@v4.5.0...v4.6.0
v4.5.0This is a significant milestone as this release graduates generators functionality from experimental and contains proper suspension and resume logic for both generators and async/await logic. There are a lot of changes to internals so make sure you test thoroughly.
Task interop is still marked as experimental and requires enabling explicitly in Engine options, but it also has had improvements to make it work better in Engine's event loop.
For background work to complete without engine interaction (evaluation) you need to manually process the tasks (for example if you have a timeout pending after script has been run).
What's Changed
New Contributors
Full Changelog: sebastienros/jint@v4.4.2...v4.5.0
v4.4.2What's Changed
BigIntmodulo assignment by @lahma in #2178Object.iswhen providingBigIntvalues by @tomatosalat0 in #2183Full Changelog: sebastienros/jint@v4.4.1...v4.4.2
v4.4.1What's Changed
Options.Constraints.PromiseTimeoutTo Control timeout forDisposeHint.Asyncand `JintAwaiConfiguration
📅 Schedule: (UTC)
* 0-3 * * *)🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.