File tree Expand file tree Collapse file tree 3 files changed +7
-15
lines changed
src/JavaScriptEngineSwitcher.NiL Expand file tree Collapse file tree 3 files changed +7
-15
lines changed Original file line number Diff line number Diff line change 99 <TreatWarningsAsErrors >true</TreatWarningsAsErrors >
1010 <NoWarn >$(NoWarn);CS1591</NoWarn >
1111 <GenerateDocumentationFile >true</GenerateDocumentationFile >
12- <Description >JavaScriptEngineSwitcher.NiL contains adapter `NiLJsEngine` (wrapper for the NiL JavaScript Engine (https://github.com/nilproject/NiL.JS) version 2.5.1243 ).</Description >
12+ <Description >JavaScriptEngineSwitcher.NiL contains adapter `NiLJsEngine` (wrapper for the NiL JavaScript Engine (https://github.com/nilproject/NiL.JS) version 2.5.1275 ).</Description >
1313 <PackageIconUrl >https://raw.githubusercontent.com/Taritsyn/JavaScriptEngineSwitcher/3.X/Icons/JavaScriptEngineSwitcher_NiL_Logo128x128.png</PackageIconUrl >
1414 <PackageTags >JavaScriptEngineSwitcher;JavaScript;ECMAScript;NiL</PackageTags >
15- <PackageReleaseNotes >Added support of .NET Framework 4.7.1 .</PackageReleaseNotes >
15+ <PackageReleaseNotes >NiL.JS was updated to version 2.5.1275 .</PackageReleaseNotes >
1616 </PropertyGroup >
1717
1818 <Import Project =" ../../build/common.props" />
2626 </ItemGroup >
2727
2828 <ItemGroup Condition =" '$(TargetFramework)' == 'net40-client' Or '$(TargetFramework)' == 'net45' Or '$(TargetFramework)' == 'net471' " >
29- <PackageReference Include =" NiL.JS" Version =" 2.5.1243 " />
29+ <PackageReference Include =" NiL.JS" Version =" 2.5.1275 " />
3030 </ItemGroup >
3131
3232 <ItemGroup Condition =" '$(TargetFramework)' == 'netstandard1.3' Or '$(TargetFramework)' == 'netstandard2.0' " >
33- <PackageReference Include =" NiL.JS.NetCore" Version =" 2.5.1243 " />
33+ <PackageReference Include =" NiL.JS.NetCore" Version =" 2.5.1275 " />
3434 </ItemGroup >
3535
3636 <ItemGroup >
Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ public sealed class NiLJsEngine : JsEngineBase
3939 /// <summary>
4040 /// Version of original JS engine
4141 /// </summary>
42- private const string EngineVersion = "2.5.1243 " ;
42+ private const string EngineVersion = "2.5.1275 " ;
4343
4444 /// <summary>
4545 /// Regular expression for working with the syntax error message
@@ -441,15 +441,7 @@ protected override void InnerRemoveVariable(string variableName)
441441 {
442442 lock ( _synchronizer )
443443 {
444- #if NETSTANDARD
445- OriginalValue variableValue = _jsContext . GetVariable ( variableName ) ;
446- if ( variableValue . ValueType != OriginalValueType . NotExists )
447- {
448- variableValue . Assign ( OriginalValue . NotExists ) ;
449- }
450- #else
451444 _jsContext . DeleteVariable ( variableName ) ;
452- #endif
453445 }
454446 }
455447 catch ( OriginalException e )
Original file line number Diff line number Diff line change 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.1243 ).
15+ NiL JavaScript Engine (https://github.com/nilproject/NiL.JS) version 2.5.1275 ).
1616
1717 =============
1818 RELEASE NOTES
1919 =============
20- Added support of .NET Framework 4.7.1 .
20+ NiL.JS was updated to version 2.5.1275 .
2121
2222 =============
2323 DOCUMENTATION
You can’t perform that action at this time.
0 commit comments