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 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.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 >
21
21
<PackageTags >$(PackageCommonTags);NiL</PackageTags >
22
22
<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 >
24
24
</PropertyGroup >
25
25
26
26
<ItemGroup >
27
27
<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 " />
29
29
</ItemGroup >
30
30
31
31
<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.1650 " ;
44
+ private const string EngineVersion = "2.5.1655 " ;
45
45
46
46
/// <summary>
47
47
/// Regular expression for working with the syntax error message
@@ -116,7 +116,7 @@ private static OriginalValue MapToScriptType(object value)
116
116
return OriginalValue . Undefined ;
117
117
}
118
118
119
- return OriginalValue . Marshal ( value ) ;
119
+ return OriginalContext . CurrentGlobalContext . ProxyValue ( value ) ;
120
120
}
121
121
122
122
/// <summary>
@@ -478,7 +478,7 @@ protected override void InnerRemoveVariable(string variableName)
478
478
479
479
protected override void InnerEmbedHostObject ( string itemName , object value )
480
480
{
481
- OriginalValue processedValue = OriginalValue . Marshal ( value ) ;
481
+ OriginalValue processedValue = _jsContext . GlobalContext . ProxyValue ( value ) ;
482
482
483
483
try
484
484
{
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.1650 ).
15
+ NiL JavaScript Engine (https://github.com/nilproject/NiL.JS) version 2.5.1655 ).
16
16
17
17
=============
18
18
RELEASE NOTES
19
19
=============
20
- NiL.JS was updated to version 2.5.1650 .
20
+ NiL.JS was updated to version 2.5.1655 .
21
21
22
22
=============
23
23
DOCUMENTATION
You can’t perform that action at this time.
0 commit comments