MsieJavaScriptEngine 3.0.0

MSIE JavaScript Engine for .NET

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
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).

Version History

Version Downloads Last updated
3.0.2 2,016 3/13/2019
3.0.1 4,885 1/23/2019
3.0.0 3,304 12/24/2018
3.0.0-rc2 119 12/4/2018
3.0.0-rc1 1,175 9/18/2018
3.0.0-beta5 172 8/23/2018
3.0.0-beta4 6,223 6/6/2018
3.0.0-beta3 201 5/29/2018
3.0.0-beta2 199 5/22/2018
3.0.0-beta1 241 4/8/2018
3.0.0-alpha3 406 12/10/2017
3.0.0-alpha2 238 11/17/2017
3.0.0-alpha1 418 9/13/2017
2.2.10 2,457 11/20/2018
2.2.9 41,714 6/12/2018
2.2.8 9,462 5/24/2018
2.2.7 16,515 4/10/2018
2.2.6 11,874 2/23/2018
2.2.5 14,191 12/23/2017
2.2.4 15,835 8/25/2017
2.2.3 35,727 7/4/2017
2.2.2 198,641 6/28/2017
2.2.1 20,157 4/25/2017
2.2.0 2,724 4/21/2017
2.1.2 88,373 2/12/2017
2.1.1 443 2/10/2017
2.1.0 17,355 12/19/2016
2.0.2 23,410 12/2/2016
2.0.1 16,708 11/8/2016
2.0.0 83,359 9/19/2016
2.0.0-beta2 289 9/17/2016
2.0.0-beta1 300 9/9/2016
2.0.0-alpha1 306 9/3/2016
1.7.2 4,808 8/17/2016
1.7.1 91,874 5/24/2016
1.7.0 137,272 3/4/2016
1.7.0-beta1 272 2/26/2016
1.7.0-alpha2 329 1/16/2016
1.7.0-alpha1 320 1/5/2016
1.6.0 39,692 12/3/2015
1.5.6 61,389 7/23/2015
1.5.5 12,217 6/29/2015
1.5.4 395 6/28/2015
1.5.3 28,183 5/5/2015
1.5.2 20,660 4/5/2015
1.5.1 58,642 1/13/2015
1.5.0 36,356 10/13/2014
1.4.4 50,077 7/22/2014
1.4.3 20,369 4/27/2014
1.4.2 32,235 3/24/2014
1.4.1 448 3/22/2014
1.4.0 23,960 2/27/2014
1.3.0 6,711 1/16/2014
1.2.0 3,814 12/30/2013
1.1.3 43,764 9/3/2013
1.1.2 9,307 6/20/2013
1.1.1 4,169 10/15/2012
1.1.0 453 10/11/2012
1.0.8 592 9/20/2012
1.0.7 450 9/9/2012
1.0.5 482 8/29/2012
1.0.1 413 8/27/2012
1.0.0 457 8/26/2012