File tree Expand file tree Collapse file tree 3 files changed +10
-10
lines changed
src/JavaScriptEngineSwitcher.NiL Expand file tree Collapse file tree 3 files changed +10
-10
lines changed Original file line number Diff line number Diff line change 3
3
<PropertyGroup >
4
4
<Product >JS Engine Switcher: NiL</Product >
5
5
<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 >
7
7
<OutputType >Library</OutputType >
8
8
<TreatWarningsAsErrors >true</TreatWarningsAsErrors >
9
9
<NoWarn >$(NoWarn);CS1591</NoWarn >
17
17
<Import Project =" ../../build/nuget-for-dotnet-lib.props" />
18
18
19
19
<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 >
21
21
<PackageTags >$(PackageCommonTags);NiL</PackageTags >
22
22
<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 >
25
25
</PropertyGroup >
26
26
27
27
<ItemGroup >
28
28
<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 " />
30
30
</ItemGroup >
31
31
32
32
<ItemGroup >
Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ public sealed class NiLJsEngine : JsEngineBase
41
41
/// <summary>
42
42
/// Version of original JS engine
43
43
/// </summary>
44
- private const string EngineVersion = "2.5.1600 " ;
44
+ private const string EngineVersion = "2.5.1623 " ;
45
45
46
46
/// <summary>
47
47
/// Regular expression for working with the syntax error message
@@ -201,7 +201,7 @@ private static WrapperException WrapJsException(OriginalException originalExcept
201
201
}
202
202
else
203
203
{
204
- string sourceCode = originalException . Code ;
204
+ string sourceCode = originalException . SourceCode ;
205
205
OriginalCodeCoordinates codeCoordinates = originalException . CodeCoordinates ;
206
206
if ( codeCoordinates != null )
207
207
{
Original file line number Diff line number Diff line change 12
12
DESCRIPTION
13
13
===========
14
14
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 ).
16
16
17
17
=============
18
18
RELEASE NOTES
19
19
=============
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 .
22
22
23
23
=============
24
24
DOCUMENTATION
You can’t perform that action at this time.
0 commit comments