Skip to content

Commit

Permalink
In JavaScriptEngineSwitcher.Jint added support for the Jint version 3…
Browse files Browse the repository at this point in the history
….1.0
  • Loading branch information
Taritsyn committed Apr 10, 2024
1 parent cb5e7fc commit 3102ff2
Show file tree
Hide file tree
Showing 8 changed files with 15 additions and 15 deletions.
2 changes: 1 addition & 1 deletion global.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"sdk": {
"version": "8.0.202"
"version": "8.0.204"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -32,15 +32,15 @@
</ItemGroup>

<ItemGroup Condition=" '$(TargetFramework)' == 'net6.0' ">
<FrameworkReference Include="Microsoft.AspNetCore.App" Version="6.0.28" />
<FrameworkReference Include="Microsoft.AspNetCore.App" Version="6.0.29" />
</ItemGroup>

<ItemGroup Condition=" '$(TargetFramework)' == 'net7.0' ">
<FrameworkReference Include="Microsoft.AspNetCore.App" Version="7.0.17" />
<FrameworkReference Include="Microsoft.AspNetCore.App" Version="7.0.18" />
</ItemGroup>

<ItemGroup Condition=" '$(TargetFramework)' == 'net8.0' ">
<FrameworkReference Include="Microsoft.AspNetCore.App" Version="8.0.3" />
<FrameworkReference Include="Microsoft.AspNetCore.App" Version="8.0.4" />
</ItemGroup>

</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -44,15 +44,15 @@
</ItemGroup>

<ItemGroup Condition=" '$(TargetFramework)' == 'net6.0' ">
<FrameworkReference Include="Microsoft.AspNetCore.App" Version="6.0.28" />
<FrameworkReference Include="Microsoft.AspNetCore.App" Version="6.0.29" />
</ItemGroup>

<ItemGroup Condition=" '$(TargetFramework)' == 'net7.0' ">
<FrameworkReference Include="Microsoft.AspNetCore.App" Version="7.0.17" />
<FrameworkReference Include="Microsoft.AspNetCore.App" Version="7.0.18" />
</ItemGroup>

<ItemGroup Condition=" '$(TargetFramework)' == 'net8.0' ">
<FrameworkReference Include="Microsoft.AspNetCore.App" Version="8.0.3" />
<FrameworkReference Include="Microsoft.AspNetCore.App" Version="8.0.4" />
</ItemGroup>

</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@
<PackageIconFullPath>../../Icons/JavaScriptEngineSwitcher_Jint_Logo128x128.png</PackageIconFullPath>
<Description>JavaScriptEngineSwitcher.Jint contains a `JintJsEngine` adapter (wrapper for the Jint).</Description>
<PackageTags>$(PackageCommonTags);Jint</PackageTags>
<PackageReleaseNotes>Jint was updated to version 3.0.2.</PackageReleaseNotes>
<PackageReleaseNotes>Jint was updated to version 3.1.0.</PackageReleaseNotes>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Jint" Version="3.0.2" />
<PackageReference Include="Jint" Version="3.1.0" />

<ProjectReference Include="../JavaScriptEngineSwitcher.Core/JavaScriptEngineSwitcher.Core.csproj" />
</ItemGroup>
Expand Down
4 changes: 2 additions & 2 deletions src/JavaScriptEngineSwitcher.Jint/JintJsEngine.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
using OriginalJavaScriptException = Jint.Runtime.JavaScriptException;
using OriginalMemoryLimitExceededException = Jint.Runtime.MemoryLimitExceededException;
using OriginalObjectInstance = Jint.Native.Object.ObjectInstance;
using OriginalParsedScript = Esprima.Ast.Script;
using OriginalParsedScript = Jint.Prepared<Esprima.Ast.Script>;
using OriginalParserException = Esprima.ParserException;
using OriginalRecursionDepthOverflowException = Jint.Runtime.RecursionDepthOverflowException;
using OriginalRuntimeException = Jint.Runtime.JintException;
Expand Down Expand Up @@ -50,7 +50,7 @@ public sealed class JintJsEngine : JsEngineBase
/// <summary>
/// Version of original JS engine
/// </summary>
private const string EngineVersion = "3.0.2";
private const string EngineVersion = "3.1.0";

/// <summary>
/// Jint JS engine
Expand Down
2 changes: 1 addition & 1 deletion src/JavaScriptEngineSwitcher.Jint/JintPrecompiledScript.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using OriginalParsedScript = Esprima.Ast.Script;
using OriginalParsedScript = Jint.Prepared<Esprima.Ast.Script>;

using JavaScriptEngineSwitcher.Core;

Expand Down
2 changes: 1 addition & 1 deletion src/JavaScriptEngineSwitcher.Jint/PACKAGE-DESCRIPTION.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
JavaScriptEngineSwitcher.Jint contains a `JintJsEngine` adapter (wrapper for the [Jint](https://github.com/sebastienros/jint) version 3.0.2).
JavaScriptEngineSwitcher.Jint contains a `JintJsEngine` adapter (wrapper for the [Jint](https://github.com/sebastienros/jint) version 3.1.0).
4 changes: 2 additions & 2 deletions src/JavaScriptEngineSwitcher.Jint/readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@
DESCRIPTION
===========
JavaScriptEngineSwitcher.Jint contains a `JintJsEngine` adapter (wrapper for the
Jint (https://github.com/sebastienros/jint) version 3.0.2).
Jint (https://github.com/sebastienros/jint) version 3.1.0).

=============
RELEASE NOTES
=============
Jint was updated to version 3.0.2.
Jint was updated to version 3.1.0.

=============
DOCUMENTATION
Expand Down

0 comments on commit 3102ff2

Please sign in to comment.