Skip to content

chore(deps): update dependency jint to v4#1604

Open
renovate[bot] wants to merge 1 commit intomasterfrom
renovate/jint-4.x
Open

chore(deps): update dependency jint to v4#1604
renovate[bot] wants to merge 1 commit intomasterfrom
renovate/jint-4.x

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate Bot commented Dec 12, 2024

ℹ️ Note

This PR body was truncated due to platform limits.

This PR contains the following updates:

Package Change Age Confidence
Jint 3.0.14.8.0 age confidence

Release Notes

sebastienros/jint (Jint)

v4.8.0

What's Changed

New Contributors

Full Changelog: sebastienros/jint@v4.7.1...v4.8.0

v4.7.1

What's Changed

Full Changelog: sebastienros/jint@v4.7.0...v4.7.1

v4.7.0

What's Changed

Full Changelog: sebastienros/jint@v4.6.4...v4.7.0

v4.6.4

What's Changed

  • Bump the all-dependencies group with 7 updates by @​dependabot[bot] in #​2327
  • Fix Date.toString() showing StandardName instead of DaylightName during DST by @​Copilot in #​2329
  • Make a PreparedScriptBenchmark class closer to the original by @​Taritsyn in #​2325
  • Fix toLocaleString timeZoneName returning full name instead of abbreviation by @​Copilot in #​2330
  • Update Regex terminology in README by @​codeman4033 in #​2333
  • Fix typo in README for RegExp to Regex by @​codeman4033 in #​2334
  • Fix mixed-type addition chain incorrectly treated as pure string concatenation by @​Copilot in #​2337
  • fix: prevent StackOverflow, IndexOutOfRange, and InvalidCast crashes on malformed JavaScript by @​Copilot in #​2340
  • Support running test262 using Jint.Repl by @​ivankra in #​2326
  • Update test262 suite to latest commit and fix 3 new failures by @​Copilot in #​2341
  • Implement non-ISO calendar support for Temporal (Chinese, Dangi, Hebrew, Persian) by @​lahma in #​2342
  • Replace embedded resource text files with inline data for Intl CLDR data by @​lahma in #​2343
  • Enable Intl.Era-monthcode and implement 7 new calendar systems (+2,498 test262 passes) by @​lahma in #​2344
  • Optimize interpreter hot paths for arithmetic, comparisons, and control flow by @​lahma in #​2345
  • Eliminate lazy initialization overhead from interpreter hot paths (~8% faster) by @​lahma in #​2346
  • Fix Temporal calendar handling and enable 2,782 more test262 passes by @​lahma in #​2347
  • Optimize Intl and Temporal hot paths with caching and algorithmic fixes by @​lahma in #​2348
  • Fix BigInt exponentiation bypassing execution constraints by @​lahma in #​2350

New Contributors

Full Changelog: sebastienros/jint@v4.6.3...v4.6.4

v4.6.3

What's Changed

Full Changelog: sebastienros/jint@v4.6.2...v4.6.3

v4.6.2

What's Changed

New Contributors

Full Changelog: sebastienros/jint@v4.6.1...v4.6.2

v4.6.1

What's Changed

Full Changelog: sebastienros/jint@v4.6.0...v4.6.1

v4.6.0

This 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 IReferenceResolver in #​2266 , undefined and null semantics 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.0

This 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).

engine.Execute(script);
for (var i = 0; i < 100; ++i)
{
    engine.Advanced.ProcessTasks();
    await Task.Delay(100);
}

What's Changed

New Contributors

Full Changelog: sebastienros/jint@v4.4.2...v4.5.0

v4.4.2

What's Changed

Full Changelog: sebastienros/jint@v4.4.1...v4.4.2

v4.4.1

What's Changed

New Contributors

Full Changelog: sebastienros/jint@v4.4.0...v4.4.1

v4.4.0

This release brings both using and await using statements available to both native JS usage and NET interop. Interop will automatically wrap IDisposable and IAsyncDisposable to have handlers that will be called after using scope ends. Read more about the proposal.

What's Changed

New Contributors

Full Changelog: sebastienros/jint@v4.3.0...v4.4.0

v4.3.0

What's Changed

New Contributors

Full Changelog: sebastienros/jint@v4.2.2...v4.3.0

v4.2.2

This release improves interop performance when you target CLR methods with lambda functions, like List<string>.Find(x => x === "test").

What's Changed

Full Changelog: sebastienros/jint@v4.2.1...v4.2.2

v4.2.1

What's Changed

New Contributors

Full Changelog: sebastienros/jint@v4.2.0...v4.2.1

v4.2.0

What's Changed

New Contributors

Full Changelog: sebastienros/jint@v4.1.0...v4.2.0

v4.1.0

This release contains a breaking change for interop for static fields and properties. They are no longer exposed as part of interop wrapper by default. You read more about the reasoning here.

To access public static fields or properties you should use registered TypeReferences.

Following example shows the new behavior:

[Fact]
public void StaticFieldsShouldFollowJsSemantics()
{
    _engine.Evaluate("Number.MAX_SAFE_INTEGER").AsNumber().Should().Be(NumberConstructor.MaxSafeInteger);
    _engine.Evaluate("new Number().MAX_SAFE_INTEGER").Should().Be(JsValue.Undefined);

    _engine.Execute("class MyJsClass { static MAX_SAFE_INTEGER = Number.MAX_SAFE_INTEGER; }");
    _engine.Evaluate("MyJsClass.MAX_SAFE_INTEGER").AsNumber().Should().Be(NumberConstructor.MaxSafeInteger);
    _engine.Evaluate("new MyJsClass().MAX_SAFE_INTEGER").Should().Be(JsValue.Undefined);

    _engine.SetValue("MyCsClass", typeof(MyClass));
    _engine.Evaluate("MyCsClass.MAX_SAFE_INTEGER").AsNumber().Should().Be(NumberConstructor.MaxSafeInteger);
    // NEW BEHAVIOR, NOW UNDEFINED
    _engine.Evaluate("new MyCsClass().MAX_SAFE_INTEGER").Should().Be(JsValue.Undefined);
}

private class MyClass
{
    public static JsNumber MAX_SAFE_INTEGER = new JsNumber(NumberConstructor.MaxSafeInteger);
}

If you want to expose static instance fields and properties as part of instance wrappers, you need to configure the engine to do so:

var engine = new Engine(options =>
{
    options.Interop.ObjectWrapperReportedFieldBindingFlags |= BindingFlags.Static;
    options.Interop.ObjectWrapperReportedPropertyBindingFlags |= BindingFlags.Static;
});

Static methods can still be accessed as before, but you could limit exposing them too if you wish to do so:

var engine = new Engine(options =>
{
    options.Interop.ObjectWrapperReportedMethodBindingFlags = BindingFlags.Instance | BindingFlags.Public;
});

What's Changed

New Contributors

Full Changelog: sebastienros/jint@v4.0.3...v4.1.0

v4.0.3

What's Changed

New Contributors

Full Changelog: sebastienros/jint@v4.0.2...v4.0.3

v4.0.2

With this release you will start to see CLR methods also reported as object members under interop when calling functions like Object.getOwnPropertyNames(x). You can revert back to old behavior by configuring an option options.Interop.ObjectWrapperReportedMemberTypes = MemberTypes.Field | MemberTypes.Property;.

What's Changed

New Contributors

Full Changelog: sebastienros/jint@v4.0.1...v4.0.2

v4.0.1

What's Changed

Full Changelog: sebastienros/jint@v4.0.0...v4.0.1

v4.0.0

This release changes internal JavaScript parser from Esprima to Acornima and adds some new ECMAScript features.

Relevant bug fixes below have been backported into 3.x and are already part of its releases.

What's Changed


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • Between 12:00 AM and 03:59 AM (* 0-3 * * *)
  • Automerge
    • At any time (no schedule defined)

🚦 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.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate Bot force-pushed the renovate/jint-4.x branch from eb384eb to 1b2ceae Compare December 13, 2024 13:56
@renovate renovate Bot force-pushed the renovate/jint-4.x branch from 1b2ceae to df16bf9 Compare January 20, 2025 19:22
@renovate renovate Bot force-pushed the renovate/jint-4.x branch from df16bf9 to 3613da1 Compare January 28, 2025 20:55
@renovate renovate Bot force-pushed the renovate/jint-4.x branch from 3613da1 to b8b6bc5 Compare March 9, 2025 18:12
@renovate renovate Bot force-pushed the renovate/jint-4.x branch 5 times, most recently from 5b2f63b to 1182bd6 Compare April 5, 2025 07:02
@renovate renovate Bot force-pushed the renovate/jint-4.x branch from 1182bd6 to 0c23074 Compare April 17, 2025 06:02
@renovate renovate Bot force-pushed the renovate/jint-4.x branch from 0c23074 to 8503050 Compare April 25, 2025 19:28
@renovate renovate Bot force-pushed the renovate/jint-4.x branch from 8503050 to e93b1ec Compare June 30, 2025 19:36
@renovate renovate Bot force-pushed the renovate/jint-4.x branch from e93b1ec to 7d7fc10 Compare July 12, 2025 22:36
@renovate renovate Bot force-pushed the renovate/jint-4.x branch from 7d7fc10 to 6298659 Compare July 26, 2025 14:43
@renovate renovate Bot force-pushed the renovate/jint-4.x branch from 6298659 to 4e9126f Compare September 8, 2025 19:30
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Sep 8, 2025

All contributors have signed the CLA!

Thank you for signing the Contributor License Agreement. Your contribution can now be reviewed and merged! 🚀
Posted by the CLA Assistant Lite bot.

@renovate renovate Bot force-pushed the renovate/jint-4.x branch 14 times, most recently from 57f64e2 to d46c5c3 Compare September 14, 2025 11:33
@renovate renovate Bot force-pushed the renovate/jint-4.x branch 6 times, most recently from 5043e1e to 598af89 Compare October 4, 2025 10:39
@renovate renovate Bot force-pushed the renovate/jint-4.x branch 5 times, most recently from a6ec4c6 to e0a0187 Compare October 8, 2025 05:28
@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud Bot commented Oct 8, 2025

@renovate renovate Bot force-pushed the renovate/jint-4.x branch from e0a0187 to 36448f5 Compare November 9, 2025 22:10
@renovate renovate Bot force-pushed the renovate/jint-4.x branch 15 times, most recently from ddb63cc to d126091 Compare December 5, 2025 16:36
@sonarqubecloud
Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants