Skip to content

Commit 4856631

Browse files
committed
Version 3.2.0
1 parent 0deec16 commit 4856631

File tree

14 files changed

+53
-25
lines changed

14 files changed

+53
-25
lines changed

CHANGELOG.md

+3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
Change log
22
==========
33

4+
## v3.2.0 - February 26, 2023
5+
* In JavaScript engine settings was added one new property - `AllowReflection` (default `false`)
6+
47
## v3.1.0 - February 6, 2023
58
* In JsRT modes, `JsVariantToValue` and `JsValueToVariant` native methods are no longer used for embedding objects and types
69
* JSON2 library was updated to version of October 30, 2022

Licenses/bundler-and-minifier-license.txt

-13
This file was deleted.

Licenses/uglify-js-license.txt

+29
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
UglifyJS is released under the BSD license:
2+
3+
Copyright 2012-2019 (c) Mihai Bazon <[email protected]>
4+
5+
Redistribution and use in source and binary forms, with or without
6+
modification, are permitted provided that the following conditions
7+
are met:
8+
9+
* Redistributions of source code must retain the above
10+
copyright notice, this list of conditions and the following
11+
disclaimer.
12+
13+
* Redistributions in binary form must reproduce the above
14+
copyright notice, this list of conditions and the following
15+
disclaimer in the documentation and/or other materials
16+
provided with the distribution.
17+
18+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER “AS IS” AND ANY
19+
EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
20+
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
21+
PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE
22+
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,
23+
OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
24+
PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
25+
PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
26+
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
27+
TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF
28+
THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
29+
SUCH DAMAGE.

README.md

+10-1
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,15 @@ Consider in detail properties of the <code title="MsieJavaScriptEngine.JsEngineS
103103
</tr>
104104
</thead>
105105
<tbody>
106+
<tr valign="top">
107+
<td><code>AllowReflection</code></td>
108+
<td><code title="System.Boolean">Boolean</code></td>
109+
<td><code>false</code></td>
110+
<td>
111+
<p>Flag for whether to allow the usage of reflection API in the script code.</p>
112+
<p>This affects <code>Object.GetType</code>, <code>Exception.GetType</code>, <code>Exception.TargetSite</code> and <code>Delegate.Method</code>.</p>
113+
</td>
114+
</tr>
106115
<tr valign="top">
107116
<td><code>EnableDebugging</code></td>
108117
<td><code title="System.Boolean">Boolean</code></td>
@@ -153,7 +162,7 @@ See the [changelog](CHANGELOG.md).
153162
* [ECMAScript 5 Polyfill](https://www.nuget.org/packages/ES5) and [MDN JavaScript Polyfills](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference) - Adds support for many of the new functions in ECMAScript 5 to downlevel browsers.
154163
* [Cross-Browser Split](https://blog.stevenlevithan.com/archives/cross-browser-split) - Adds ECMAScript compliant and uniform cross-browser split method.
155164
* [JSON2 library](https://github.com/douglascrockford/JSON-js) - Adds support of the JSON object from ECMAScript 5 to downlevel browsers.
156-
* [Bundler and Minifier](https://github.com/madskristensen/BundlerMinifier) - [License: Apache License 2.0 (Apache)](http://github.com/madskristensen/BundlerMinifier/blob/master/LICENSE) JS-files, that used MSIE JS Engine, minificated by using this tool.
165+
* [UglifyJS](https://github.com/mishoo/UglifyJS) - [License: BSD License (BSD)](https://github.com/mishoo/UglifyJS/blob/master/LICENSE) JS-files, that used MSIE JS Engine, minificated by using this tool.
157166

158167
## Who's Using MSIE JavaScript Engine
159168
If you use the MSIE JavaScript Engine in some project, please send me a message so I can include it in this list:

src/MsieJavaScriptEngine/MsieJavaScriptEngine.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<PropertyGroup>
44
<Product>MSIE JavaScript Engine for .NET</Product>
5-
<VersionPrefix>3.1.0</VersionPrefix>
5+
<VersionPrefix>3.2.0</VersionPrefix>
66
<TargetFrameworks>net40-client;net45;netstandard1.3;netstandard2.0</TargetFrameworks>
77
<NetStandardImplicitPackageVersion Condition=" '$(TargetFramework)' == 'netstandard1.3' ">1.6.0</NetStandardImplicitPackageVersion>
88
<LangVersion>7.3</LangVersion>

src/MsieJavaScriptEngine/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "MsieJavaScriptEngine",
3-
"version": "3.1.0",
3+
"version": "3.2.0",
44
"devDependencies": {
55
"uglify-js": "3.16.1"
66
},

src/MsieJavaScriptEngine/readme.txt

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22

33
--------------------------------------------------------------------------------
4-
README file for MSIE JavaScript Engine for .NET v3.1.0
4+
README file for MSIE JavaScript Engine for .NET v3.2.0
55

66
--------------------------------------------------------------------------------
77

@@ -27,4 +27,4 @@
2727
============
2828
PROJECT SITE
2929
============
30-
http://github.com/Taritsyn/MsieJavaScriptEngine
30+
https://github.com/Taritsyn/MsieJavaScriptEngine

test/MsieJavaScriptEngine.Benchmarks/MsieJavaScriptEngine.Benchmarks.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<PropertyGroup>
44
<Product>MSIE JavaScript Engine: Benchmarks</Product>
5-
<VersionPrefix>3.1.0</VersionPrefix>
5+
<VersionPrefix>3.2.0</VersionPrefix>
66
<TargetFrameworks>net461;netcoreapp2.1;netcoreapp3.1;net5.0;net6.0;net7.0</TargetFrameworks>
77
<OutputType>Exe</OutputType>
88
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>

test/MsieJavaScriptEngine.Test.Auto/MsieJavaScriptEngine.Test.Auto.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<PropertyGroup>
44
<Product>MSIE JavaScript Engine: Tests for Auto Mode</Product>
5-
<VersionPrefix>3.1.0</VersionPrefix>
5+
<VersionPrefix>3.2.0</VersionPrefix>
66
<TargetFrameworks>net40;net45;netcoreapp2.1;netcoreapp3.1;net5.0;net6.0;net7.0</TargetFrameworks>
77
<OutputType>Library</OutputType>
88
<LangVersion>latest</LangVersion>

test/MsieJavaScriptEngine.Test.ChakraActiveScript/MsieJavaScriptEngine.Test.ChakraActiveScript.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<PropertyGroup>
44
<Product>MSIE JavaScript Engine: Tests for Chakra ActiveScript Mode</Product>
5-
<VersionPrefix>3.1.0</VersionPrefix>
5+
<VersionPrefix>3.2.0</VersionPrefix>
66
<TargetFrameworks>net40;net45</TargetFrameworks>
77
<OutputType>Library</OutputType>
88
<LangVersion>latest</LangVersion>

test/MsieJavaScriptEngine.Test.ChakraEdgeJsRt/MsieJavaScriptEngine.Test.ChakraEdgeJsRt.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<PropertyGroup>
44
<Product>MSIE JavaScript Engine: Tests for Chakra Edge JsRT Mode</Product>
5-
<VersionPrefix>3.1.0</VersionPrefix>
5+
<VersionPrefix>3.2.0</VersionPrefix>
66
<TargetFrameworks>net40;net45;netcoreapp2.1;netcoreapp3.1;net5.0;net6.0;net7.0</TargetFrameworks>
77
<OutputType>Library</OutputType>
88
<LangVersion>latest</LangVersion>

test/MsieJavaScriptEngine.Test.ChakraIeJsRt/MsieJavaScriptEngine.Test.ChakraIeJsRt.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<PropertyGroup>
44
<Product>MSIE JavaScript Engine: Tests for Chakra IE JsRT Mode</Product>
5-
<VersionPrefix>3.1.0</VersionPrefix>
5+
<VersionPrefix>3.2.0</VersionPrefix>
66
<TargetFrameworks>net40;net45;netcoreapp2.1;netcoreapp3.1;net5.0;net6.0;net7.0</TargetFrameworks>
77
<OutputType>Library</OutputType>
88
<LangVersion>latest</LangVersion>

test/MsieJavaScriptEngine.Test.Classic/MsieJavaScriptEngine.Test.Classic.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<PropertyGroup>
44
<Product>MSIE JavaScript Engine: Tests for Classic Mode</Product>
5-
<VersionPrefix>3.1.0</VersionPrefix>
5+
<VersionPrefix>3.2.0</VersionPrefix>
66
<TargetFrameworks>net40;net45</TargetFrameworks>
77
<OutputType>Library</OutputType>
88
<LangVersion>latest</LangVersion>

test/MsieJavaScriptEngine.Test.Common/MsieJavaScriptEngine.Test.Common.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<PropertyGroup>
44
<Product>MSIE JavaScript Engine: Common Tests</Product>
5-
<VersionPrefix>3.1.0</VersionPrefix>
5+
<VersionPrefix>3.2.0</VersionPrefix>
66
<TargetFrameworks>net40;net45;netcoreapp2.1;netcoreapp3.1;net5.0;net6.0;net7.0</TargetFrameworks>
77
<OutputType>Library</OutputType>
88
<LangVersion>latest</LangVersion>

0 commit comments

Comments
 (0)