File tree Expand file tree Collapse file tree 3 files changed +8
-8
lines changed
src/JavaScriptEngineSwitcher.NiL Expand file tree Collapse file tree 3 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 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.1650 ).</Description >
20+ <Description >JavaScriptEngineSwitcher.NiL contains adapter `NiLJsEngine` (wrapper for the NiL JavaScript Engine (https://github.com/nilproject/NiL.JS) version 2.5.1655 ).</Description >
2121 <PackageTags >$(PackageCommonTags);NiL</PackageTags >
2222 <PackageIconFullPath >../../Icons/JavaScriptEngineSwitcher_NiL_Logo128x128.png</PackageIconFullPath >
23- <PackageReleaseNotes >NiL.JS was updated to version 2.5.1650 .</PackageReleaseNotes >
23+ <PackageReleaseNotes >NiL.JS was updated to version 2.5.1655 .</PackageReleaseNotes >
2424 </PropertyGroup >
2525
2626 <ItemGroup >
2727 <ProjectReference Include =" ../JavaScriptEngineSwitcher.Core/JavaScriptEngineSwitcher.Core.csproj" />
28- <PackageReference Include =" NiL.JS" Version =" 2.5.1650 " />
28+ <PackageReference Include =" NiL.JS" Version =" 2.5.1655 " />
2929 </ItemGroup >
3030
3131 <ItemGroup >
Original file line number Diff line number Diff 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.1650 " ;
44+ private const string EngineVersion = "2.5.1655 " ;
4545
4646 /// <summary>
4747 /// Regular expression for working with the syntax error message
@@ -116,7 +116,7 @@ private static OriginalValue MapToScriptType(object value)
116116 return OriginalValue . Undefined ;
117117 }
118118
119- return OriginalValue . Marshal ( value ) ;
119+ return OriginalContext . CurrentGlobalContext . ProxyValue ( value ) ;
120120 }
121121
122122 /// <summary>
@@ -478,7 +478,7 @@ protected override void InnerRemoveVariable(string variableName)
478478
479479 protected override void InnerEmbedHostObject ( string itemName , object value )
480480 {
481- OriginalValue processedValue = OriginalValue . Marshal ( value ) ;
481+ OriginalValue processedValue = _jsContext . GlobalContext . ProxyValue ( value ) ;
482482
483483 try
484484 {
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.1650 ).
15+ NiL JavaScript Engine (https://github.com/nilproject/NiL.JS) version 2.5.1655 ).
1616
1717 =============
1818 RELEASE NOTES
1919 =============
20- NiL.JS was updated to version 2.5.1650 .
20+ NiL.JS was updated to version 2.5.1655 .
2121
2222 =============
2323 DOCUMENTATION
You can’t perform that action at this time.
0 commit comments