chore(deps): update all non-major dependencies (minor) - #81
Merged
Conversation
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
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:
4.15.3→4.16.018.8.1→18.9.0Release Notes
sebastienros/jint (Jint)
v4.16.0Jint 4.16.0 is a correctness- and reliability-focused release: alongside asynchronous module loading, proper tail calls and four new iterator built-ins, a pre-tag review swept the whole engine and fixed what it found — including long-standing defects that predate this cycle. No option defaults changed. Behaviour changes to note up front:
JSON.stringifyand other machine-readable output now format invariantly under every host culture — under Swedish or Finnish locales on .NET 8+ it used to emit a Unicode minus sign no JSON parser accepts;JSON.parsenow rejects trailing commas as the grammar requires; bare identifiers at global scope resolve through the global's prototype chain per spec;IModuleLoader.Resolveis consulted once per (referrer, specifier) pair, so a loader using it as a per-import access-control checkpoint should move the check toLoadModule; and an inconsistent sort comparator now finishes with an implementation-defined order on every target framework instead of hanging (net462/netstandard) or throwing a CLR exception at script (net8+).Highlights
Proper tail calls (#2975). Strict-mode calls in tail position reuse their frame, so
"use strict"tail recursion runs in constant stack — the first ES2015 PTC implementation among the .NET engines.Asynchronous module loading (#2872).
IAsyncModuleLoaderand theAsyncModuleLoadertemplate let a host fetch module source over I/O without blocking a thread;Engine.Modules.StartImportreturns an operation a game loop drives viaProcessTasks(), andImportAsyncawaits without holding a thread. The spec's load phase now exists as written, a warm-cache async loader keeps the blockingImportfully synchronous, and the blocking drain wakes on a work-arrived signal instead of polling. A module served over a transport keeps its whole url asModule.Locationso its own relative imports resolve, a deferred namespace evaluates its module instead of exposing uninitialized bindings, and an import abandoned by a global snapshot restore reports itself faulted instead of polling forever.The process no longer dies for recoverable reasons.
Options.LimitRecursionused to kill the host process for most useful limits — the constraint fired, and the unwind itself overflowed the stack; exception filters now let it unwind ~7× deeper. The new opt-inOptions.Constraints.StackOverflowGuardconverts unbounded recursion — reachable through eighteen distinct routes,new, accessors, coercions and Proxy traps included — from a process kill into a catchableRangeError, exempting strict tail calls, which grow no stack. And a family of CLR exceptions that escapedengine.Evaluatepast every scriptcatchare now proper JavaScript errors or correct results: sorting with an inconsistent comparator, destructuring with a function-valued default (const { onChange = () => {} } = opts),toLocaleStringoutsideDateTime's range, typed-arraydefinePropertywithout a value,DataViewreads at 2³¹,String.replace$'with a lying exec, and the first instant of year 10000.New built-ins.
Iterator.prototype.join,chunks,windowsandincludes;take/dropnow throwRangeErrorfor a finite limit above 2^53−1 per the updated proposals.Intl.Locale.prototype.getCollationsreports CLDR-cited collation data thatIntl.Collatoraccepts in full, a malformedcollationoption is aRangeError, andIntl.supportedValuesOf("collation")derives from the same lists so the three can never drift.Conformance, from a review that ran what the suite does not. Two of the fixed defects had test262 coverage only under the never-generated
staging/directory, and several had none at all:parseIntstrips the sign before testing for a hex prefix, soparseInt("-0x10")is −16; a suspendedfinallyno longer swallows a pendingbreak/continue; a Proxy (or exotic host object) as the global's prototype answers bare identifiers through itsgettrap;Date.prototype.toISOStringemits the spec's six-digit expanded year and round-trips throughDate.parsein every spelling including year 0; iterator helpers close their receiver exactly once and only when the spec says so, and carry their own@@toStringTag;Map/Setsizeis the prototype accessor the spec defines rather than a phantom own property; a Proxy'sdefinePropertytrap receives the partial descriptor the caller wrote; a string's@@iteratoris read once, with the primitive as receiver;Array.prototype.joinre-asks the array when a side effect fills a hole mid-join; a direct eval reaches the enclosing function'sargumentsin both modes; andTemporal.Nowdrops the methods the proposal removed.Embedder surface.
OperationDeadlineConstraintbounds a whole multi-entry host operation;ScriptPreparationOptions.StaticAnalysistrades prepare-time analysis for per-engine materialization on shared graphs;ModuleFactory.LocationOfexposes the module-naming rule a host must match;Engine.Advanced.HostDefinedcarries per-request state on a pooled engine; the CLR exception behind an interop error is reachable throughJintException.TryGetClrExceptionwith opt-inChainClrExceptions(), and a host method's ownTargetExceptionis no longer mistaken for a receiver mismatch; and a recursion-limit failure propagates out of a module load instead of becoming a catchable rejection.Performance, gated. Against v4.15.3 on idle hardware, medians of three paired runs:
controlflow-recursive−15.6% time and −40.4% allocation (proper tail calls),bitops-3bit-bits-in-byte−8.9%,math-spectral-norm−7.3%,crypto-sha1−6.9%,3d-raytrace−5.9%,math-cordic−5.8%, with a broad −1–4% tail across the call- and string-heavy rows; no row moved outside its own measured cross-run envelope in the other direction, and allocation is flat within ±0.2% suite-wide. WarmedparseIntcall sites take the frameless fast-call lane (−13% on the parse loop), joined by theNumberpredicates,String.prototype.indexOf/startsWith/endsWith/includes/at/substr, globalisNaN/isFiniteandArray.isArray(−3% to −19%) and theMap/Setmethod family (map.gethit loop −13%); existence questions on a wrapped dictionary answer fromContainsKey, takingin−33% with −98% allocation andObject.keys−37%; resolving an inherited global no longer allocates per miss (−99.99% on the read loop) and a global created through an inherited write keeps the in-place store; JSON replacer/reviver eligibility is decided once per document, built-in callback dispatch once per loop, a call site's arguments reach an interpreted callee in registers, and function-locallet/constlive in fixed slots.Breaking changes.
Int32Extensions/Int64Extensions/DoubleExtensions— polyfill hosts that leaked into the public API — are now internal; on net462/netstandard2.0, code withusing Jint;may have bound spanParse/TryParsemembers through them.JsonParserrejects trailing commas.Number.parseInt.length/Number.parseFloat.lengthreport their spec values. Post-construction mutation of anOptionsinstance no longer reaches an already-built engine, andOptions.Configurecallbacks work again.UnwrapIfPromisereports a cancelled engine asExecutionCanceledExceptioninstead of a timeout. Time-zone matching is ASCII-case-insensitive per ECMA-402.On the engine comparison benchmarks, Jint 4.16.0 is the fastest engine outright on 5 of 12 scripts — leading
dromaeo-object-regexp-modernover native V8 by 1.25× — in a statistical tie for first oninterop-collection-traversal, the fastest managed engine on 10 of 12, the fastest interpreter on all 12, and 8.6×–11.2× ahead of ClearScript (native V8) on every interop row while allocating 3.9×–12.4× less than the nearest managed competitor.What's Changed
3655e74and make Promise.try use PromiseResolve by @lahma in #2978New Contributors
Full Changelog: sebastienros/jint@v4.15.3...v4.16.0
microsoft/vstest (Microsoft.NET.Test.Sdk)
v18.9.0What's Changed
New Contributors
Full Changelog: microsoft/vstest@v18.8.0...v18.9.0
Configuration
📅 Schedule: (in timezone America/Los_Angeles)
* * * * 0,6)🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR was generated by Mend Renovate. View the repository job log.