MsieJavaScriptEngine 3.0.0

This library is a .NET wrapper for working with the JavaScript engines of Internet Explorer and Edge (JsRT versions of Chakra, ActiveScript version of Chakra and Classic JavaScript Engine). Project was based on the code of SassAndCoffee.JavaScript (https://github.com/paulcbetts/SassAndCoffee), Chakra Sample Hosts (https://github.com/panopticoncentral/chakra-host) and jsrt-dotnet (https://github.com/robpaveza/jsrt-dotnet).

There is a newer version of this package available.
See the version list below for details.
Install-Package MsieJavaScriptEngine -Version 3.0.0
dotnet add package MsieJavaScriptEngine --version 3.0.0
<PackageReference Include="MsieJavaScriptEngine" Version="3.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add MsieJavaScriptEngine --version 3.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

1. Format of the error messages was unified;
2. Created a new exception classes: `JsCompilationException`, `JsEngineException`, `JsFatalException`, `JsInterruptedException`, `JsScriptException` and `JsUsageException`. These exceptions are responsible for handling errors, some of which were previously handled by the `JsRuntimeException` class;
3. In the `JsException` class was added two new properties: `Category` and `Description`;
4. From the `JsRuntimeException` class was removed one property - `ErrorCode`;
5. In the `JsRuntimeException` class was added three new properties: `Type`, `DocumentName` and `CallStack`;
6. `JsEngineLoadException` class now is inherited from the `JsEngineException` class;
7. `Format` method of the `JsErrorHelpers` class was renamed to the `GenerateErrorDetails`;
8. One part of the auxiliary code was removed, and other part moved to an external library - [AdvancedStringBuilder](https://github.com/Taritsyn/AdvancedStringBuilder);
9. Added a ability to interrupt execution of the script;
10. In JsRT modes added a ability to pre-compile scripts;
11. In `MsieJsEngine` class was added `SupportsScriptPrecompilation` property and four new methods: `Interrupt`, `Precompile`, `PrecompileFile` and `PrecompileResource`;
12. In JavaScript engine settings was added one new property - `MaxStackSize` (default `492` or `984` KB);
13. Added support of .NET Standard 2.0 (only supported `ChakraIeJsRt` and `ChakraEdgeJsRt` modes).

Showing the top 5 GitHub repositories that depend on MsieJavaScriptEngine:

Repository Stars
reactjs/React.NET
.NET library for JSX compilation and server-side rendering of React components
smartstore/SmartStoreNET
Open Source ASP.NET MVC Enterprise eCommerce Shopping Cart Solution
Taritsyn/WebMarkupMin
The Web Markup Minifier (abbreviated WebMarkupMin) - a .NET library that contains a set of markup minifiers. The objective of this project is to improve the performance of web applications by reducing the size of HTML, XHTML and XML code.
Taritsyn/JavaScriptEngineSwitcher
JavaScript Engine Switcher determines unified interface for access to the basic features of popular JavaScript engines (ChakraCore, Jering.Javascript.NodeJS, Jint, Jurassic, MSIE JavaScript Engine for .NET, NiL.JS, Microsoft ClearScript.V8 and VroomJs). This library allows you to quickly and easily switch to using of another JavaScript engine.
levibotelho/LearnAngular
The open source code repository for LearnAngular.

Read more about the GitHub Usage information on our documentation.

Version History

Version Downloads Last updated
3.0.7 3,336 3/8/2020
3.0.6 6,168 12/16/2019
3.0.5 11,148 10/21/2019
3.0.4 1,316 10/9/2019
3.0.3 43,426 4/28/2019
3.0.2 12,548 3/13/2019
3.0.1 17,129 1/23/2019
3.0.0 8,062 12/24/2018
3.0.0-rc2 656 12/4/2018
3.0.0-rc1 4,066 9/18/2018
3.0.0-beta5 754 8/23/2018
3.0.0-beta4 16,321 6/6/2018
3.0.0-beta3 840 5/29/2018
3.0.0-beta2 838 5/22/2018
3.0.0-beta1 890 4/8/2018
3.0.0-alpha3 1,019 12/10/2017
3.0.0-alpha2 1,005 11/17/2017
3.0.0-alpha1 1,465 9/13/2017
2.2.10 4,312 11/20/2018
2.2.9 87,053 6/12/2018
2.2.8 11,607 5/24/2018
2.2.7 21,450 4/10/2018
2.2.6 20,066 2/23/2018
2.2.5 21,284 12/23/2017
2.2.4 22,440 8/25/2017
2.2.3 46,183 7/4/2017
2.2.2 323,616 6/28/2017
2.2.1 26,745 4/25/2017
2.2.0 3,328 4/21/2017
2.1.2 146,161 2/12/2017
2.1.1 1,125 2/10/2017
2.1.0 24,569 12/19/2016
2.0.2 24,869 12/2/2016
2.0.1 25,533 11/8/2016
2.0.0 100,437 9/19/2016
2.0.0-beta2 1,065 9/17/2016
2.0.0-beta1 1,077 9/9/2016
2.0.0-alpha1 1,093 9/3/2016
1.7.2 6,597 8/17/2016
1.7.1 123,338 5/24/2016
1.7.0 177,664 3/4/2016
1.7.0-beta1 860 2/26/2016
1.7.0-alpha2 939 1/16/2016
1.7.0-alpha1 893 1/5/2016
1.6.0 49,853 12/3/2015
1.5.6 103,751 7/23/2015
1.5.5 19,639 6/29/2015
1.5.4 1,003 6/28/2015
1.5.3 34,970 5/5/2015
1.5.2 24,761 4/5/2015
1.5.1 67,178 1/13/2015
1.5.0 42,612 10/13/2014
1.4.4 91,121 7/22/2014
1.4.3 26,183 4/27/2014
1.4.2 46,020 3/24/2014
1.4.1 1,058 3/22/2014
1.4.0 26,271 2/27/2014
1.3.0 9,469 1/16/2014
1.2.0 5,588 12/30/2013
1.1.3 51,658 9/3/2013
1.1.2 10,396 6/20/2013
1.1.1 5,096 10/15/2012
1.1.0 1,115 10/11/2012
1.0.8 1,245 9/20/2012
1.0.7 1,111 9/9/2012
1.0.5 1,145 8/29/2012
1.0.1 1,084 8/27/2012
1.0.0 1,114 8/26/2012
Show less