forked from sebastienros/jint
-
Notifications
You must be signed in to change notification settings - Fork 0
[pull] main from sebastienros:main #2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
pull
wants to merge
549
commits into
Wolf1329:main
Choose a base branch
from
sebastienros:main
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
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
* Move Engine.ResetCallStack to Engine.Advanced * Rename Engine.ClrTypeConverter to Engine.TypeConverter * Rename Engine.DebugHandler to Engine.Debugger * Move constraint related methods to Engine.Constraints * Move module related methods to Engine.Modules and shorten method names * Move Engine.RegisterPromise to Engine.Advanced.RegisterPromise
* Hide CanPut() * Hide DefinePropertyOrThrow() * Hide DeletePropertyOrThrow() * Hide IsArray() from ObjectInstance and add JsValueExtensions.IsArray() * Hide SetPrototypeOf() and allow set via Prototype property * Make IsLooselyEqual() protected * Hide IsArrayLike * Only expose Length property for JsArray and JsTypedArray * Remove Invoke
* Add fast case for single statement in a block * improve assignment fast case checks * update benchmark results
* make Environment and GlobalEnvironment internal, use Key as lookup
* Move Reference to Jint.Runtime namespace * Internalize Binding * Internalize Advanced operations constructors * Make Advanced operations inner classes * Make Options sub-options inner classes * Move delegate definitions under options * Make StrictModeScope internal * Move ModuleBuilder under Runtime.Modules namespace
* Implement Set.difference * implement Set.symmetricDifference * implement Set.isSubsetOf * Implement Set.isSupersetOf * Implement Set.intersection * Implement Set.isDisjointFrom * update README
* Support ValueTask/ValueTask<T> in modern targets Adds new `IsAwaitable` and `ConvertAwaitableToPromise` methods. `IsAwaitable` checks if a result is a `Task`. For .NET Standard 2.1/.NET targets, the method also checks if a result is `ValueTask` or `ValueTask<T>`. If a result is awaitable, `Call` now calls `ConvertAwaitableToPromise`. This method makes use of the existing `ConvertTaskToPromise` method for `Task`-based results. For .NET Standard 2.1/.NET targets, it also handles conversion of `ValueTask`/`ValueTask<T>` results into `Task`/`Task<T>` before calling `ConvertTaskToPromise`. * Add ValueTask/ValueTask<T> tests
Co-authored-by: Pisotskyi Pavel <[email protected]>
* Modules created by the ModuleBuilder use location properly now * Public interface test for module loader shows expected API usage
* move node prepossessing to preparation
* use state for best match resolving
Bumps Meziantou.Analyzer from 2.0.202 to 2.0.205 Bumps YantraJS.Core from 1.2.282 to 1.2.286 --- updated-dependencies: - dependency-name: Meziantou.Analyzer dependency-version: 2.0.205 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: all-dependencies - dependency-name: YantraJS.Core dependency-version: 1.2.286 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: all-dependencies ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps Microsoft.Extensions.DependencyInjection from 9.0.6 to 9.0.7 Bumps Microsoft.Extensions.TimeProvider.Testing from 9.6.0 to 9.7.0 Bumps xunit.runner.visualstudio from 3.1.1 to 3.1.2 --- updated-dependencies: - dependency-name: Microsoft.Extensions.DependencyInjection dependency-version: 9.0.7 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: all-dependencies - dependency-name: Microsoft.Extensions.TimeProvider.Testing dependency-version: 9.7.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: all-dependencies - dependency-name: xunit.runner.visualstudio dependency-version: 3.1.2 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: all-dependencies ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…poseHint.Async` and `JintAwaitExpression` (#2150) --------- Co-authored-by: liuyan <[email protected]>
Bumps xunit.runner.visualstudio from 3.1.2 to 3.1.3 --- updated-dependencies: - dependency-name: xunit.runner.visualstudio dependency-version: 3.1.3 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: all-dependencies ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Martin Burtscher <[email protected]>
--------- Co-authored-by: Martin Burtscher <[email protected]>
Bumps BenchmarkDotNet from 0.15.2 to 0.15.4 Bumps Meziantou.Analyzer from 2.0.205 to 2.0.227 Bumps Microsoft.Extensions.DependencyInjection from 9.0.7 to 9.0.10 Bumps Microsoft.Extensions.TimeProvider.Testing from 9.7.0 to 9.10.0 Bumps Microsoft.NET.Test.Sdk from 17.14.1 to 18.0.0 Bumps Newtonsoft.Json from 13.0.3 to 13.0.4 Bumps NiL.JS from 2.6.1700 to 2.6.1706 Bumps NUnit from 4.3.2 to 4.4.0 Bumps NUnit3TestAdapter from 5.0.0 to 5.2.0 Bumps xunit.runner.visualstudio from 3.1.3 to 3.1.5 Bumps xunit.v3 from 3.0.0 to 3.1.0 Bumps YantraJS.Core from 1.2.286 to 1.2.290 --- updated-dependencies: - dependency-name: BenchmarkDotNet dependency-version: 0.15.4 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: all-dependencies - dependency-name: Meziantou.Analyzer dependency-version: 2.0.227 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: all-dependencies - dependency-name: Microsoft.Extensions.DependencyInjection dependency-version: 9.0.10 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: all-dependencies - dependency-name: Microsoft.Extensions.TimeProvider.Testing dependency-version: 9.10.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: all-dependencies - dependency-name: Microsoft.NET.Test.Sdk dependency-version: 18.0.0 dependency-type: direct:production update-type: version-update:semver-major dependency-group: all-dependencies - dependency-name: Newtonsoft.Json dependency-version: 13.0.4 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: all-dependencies - dependency-name: NiL.JS dependency-version: 2.6.1706 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: all-dependencies - dependency-name: NUnit dependency-version: 4.4.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: all-dependencies - dependency-name: NUnit3TestAdapter dependency-version: 5.2.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: all-dependencies - dependency-name: xunit.runner.visualstudio dependency-version: 3.1.5 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: all-dependencies - dependency-name: xunit.v3 dependency-version: 3.1.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: all-dependencies - dependency-name: YantraJS.Core dependency-version: 1.2.290 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: all-dependencies ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps Meziantou.Analyzer from 2.0.227 to 2.0.238 Bumps YantraJS.Core from 1.2.290 to 1.2.292 --- updated-dependencies: - dependency-name: Meziantou.Analyzer dependency-version: 2.0.238 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: all-dependencies - dependency-name: YantraJS.Core dependency-version: 1.2.292 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: all-dependencies ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Prevent accidential leakage of arguments between separate calls because of the JsValueArrayPool.
* Allow garbage collector to collect unused memory * Added polyfill for Array.Fill for full framework * Polyfill also used for dotnet standard 2.0
Bumps BenchmarkDotNet from 0.15.4 to 0.15.5 Bumps Meziantou.Analyzer from 2.0.238 to 2.0.248 Bumps xunit.v3 from 3.1.0 to 3.2.0 Bumps YantraJS.Core from 1.2.292 to 1.2.293 --- updated-dependencies: - dependency-name: BenchmarkDotNet dependency-version: 0.15.5 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: all-dependencies - dependency-name: Meziantou.Analyzer dependency-version: 2.0.248 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: all-dependencies - dependency-name: xunit.v3 dependency-version: 3.2.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: all-dependencies - dependency-name: YantraJS.Core dependency-version: 1.2.293 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: all-dependencies ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps BenchmarkDotNet from 0.15.5 to 0.15.6 Bumps Meziantou.Analyzer from 2.0.248 to 2.0.250 Bumps NiL.JS from 2.6.1706 to 2.6.1707 --- updated-dependencies: - dependency-name: BenchmarkDotNet dependency-version: 0.15.6 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: all-dependencies - dependency-name: Meziantou.Analyzer dependency-version: 2.0.250 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: all-dependencies - dependency-name: NiL.JS dependency-version: 2.6.1707 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: all-dependencies ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
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.
See Commits and Changes for more details.
Created by
pull[bot]
Can you help keep this open source service alive? 💖 Please sponsor : )