Skip to content

Commit d4097dc

Browse files
committed
In JavaScriptEngineSwitcher.NiL:
1. NiL.JS was updated to version 2.5.1623; 2. Added support of .NET 7.0.
1 parent 414002b commit d4097dc

File tree

3 files changed

+10
-10
lines changed

3 files changed

+10
-10
lines changed

src/JavaScriptEngineSwitcher.NiL/JavaScriptEngineSwitcher.NiL.csproj

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<PropertyGroup>
44
<Product>JS Engine Switcher: NiL</Product>
55
<VersionPrefix>3.20.1</VersionPrefix>
6-
<TargetFrameworks>net461;net48;netcoreapp3.1;net5.0;net6.0</TargetFrameworks>
6+
<TargetFrameworks>net461;net48;netcoreapp3.1;net5.0;net6.0;net7.0</TargetFrameworks>
77
<OutputType>Library</OutputType>
88
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
99
<NoWarn>$(NoWarn);CS1591</NoWarn>
@@ -17,16 +17,16 @@
1717
<Import Project="../../build/nuget-for-dotnet-lib.props" />
1818

1919
<PropertyGroup>
20-
<Description>JavaScriptEngineSwitcher.NiL contains adapter `NiLJsEngine` (wrapper for the NiL JavaScript Engine (https://github.com/nilproject/NiL.JS) version 2.5.1600).</Description>
20+
<Description>JavaScriptEngineSwitcher.NiL contains adapter `NiLJsEngine` (wrapper for the NiL JavaScript Engine (https://github.com/nilproject/NiL.JS) version 2.5.1623).</Description>
2121
<PackageTags>$(PackageCommonTags);NiL</PackageTags>
2222
<PackageIconFullPath>../../Icons/JavaScriptEngineSwitcher_NiL_Logo128x128.png</PackageIconFullPath>
23-
<PackageReleaseNotes>1. NiL.JS was updated to version 2.5.1600;
24-
2. JS run-time exception now contains a script call stack.</PackageReleaseNotes>
23+
<PackageReleaseNotes>1. NiL.JS was updated to version 2.5.1623;
24+
2. Added support of .NET 7.0.</PackageReleaseNotes>
2525
</PropertyGroup>
2626

2727
<ItemGroup>
2828
<ProjectReference Include="../JavaScriptEngineSwitcher.Core/JavaScriptEngineSwitcher.Core.csproj" />
29-
<PackageReference Include="NiL.JS" Version="2.5.1600" />
29+
<PackageReference Include="NiL.JS" Version="2.5.1623" />
3030
</ItemGroup>
3131

3232
<ItemGroup>

src/JavaScriptEngineSwitcher.NiL/NiLJsEngine.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ public sealed class NiLJsEngine : JsEngineBase
4141
/// <summary>
4242
/// Version of original JS engine
4343
/// </summary>
44-
private const string EngineVersion = "2.5.1600";
44+
private const string EngineVersion = "2.5.1623";
4545

4646
/// <summary>
4747
/// Regular expression for working with the syntax error message
@@ -201,7 +201,7 @@ private static WrapperException WrapJsException(OriginalException originalExcept
201201
}
202202
else
203203
{
204-
string sourceCode = originalException.Code;
204+
string sourceCode = originalException.SourceCode;
205205
OriginalCodeCoordinates codeCoordinates = originalException.CodeCoordinates;
206206
if (codeCoordinates != null)
207207
{

src/JavaScriptEngineSwitcher.NiL/readme.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,13 @@
1212
DESCRIPTION
1313
===========
1414
JavaScriptEngineSwitcher.NiL contains adapter `NiLJsEngine` (wrapper for the
15-
NiL JavaScript Engine (https://github.com/nilproject/NiL.JS) version 2.5.1600).
15+
NiL JavaScript Engine (https://github.com/nilproject/NiL.JS) version 2.5.1623).
1616

1717
=============
1818
RELEASE NOTES
1919
=============
20-
1. NiL.JS was updated to version 2.5.1600;
21-
2. JS run-time exception now contains a script call stack.
20+
1. NiL.JS was updated to version 2.5.1623;
21+
2. Added support of .NET 7.0.
2222

2323
=============
2424
DOCUMENTATION

0 commit comments

Comments
 (0)