Jurassic 3.2.8

dotnet add package Jurassic --version 3.2.8                
NuGet\Install-Package Jurassic -Version 3.2.8                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Jurassic" Version="3.2.8" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Jurassic --version 3.2.8                
#r "nuget: Jurassic, 3.2.8"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Jurassic as a Cake Addin
#addin nuget:?package=Jurassic&version=3.2.8

// Install Jurassic as a Cake Tool
#tool nuget:?package=Jurassic&version=3.2.8                

Jurassic

Build status

What is Jurassic?

Jurassic is an implementation of the ECMAScript language and runtime. It aims to provide the best performing and most standards-compliant implementation of JavaScript for .NET. Jurassic is not intended for end-users; instead it is intended to be integrated into .NET programs. If you are the author of a .NET program, you can use Jurassic to compile and execute JavaScript code.

Features

  • Supports all ECMAScript 3 and ECMAScript 5 functionality, including ES5 strict mode
  • Well tested - passes over five thousand unit tests (with over thirty thousand asserts)
  • Simple yet powerful API
  • Compiles JavaScript into .NET bytecode (CIL); not an interpreter
  • Deployed as a single .NET assembly (no native code)
  • Basic support for integrated debugging within Visual Studio
  • Uses light-weight code generation, so generated code is fully garbage collected
  • Tested on .NET 3.5, .NET 4 and Silverlight

How do I get it?

Install the NuGet package.

Usage

See the wiki for full usage details.

ECMAScript 6 status

Support for ECMAScript 6 is in progress. See http://kangax.github.io/compat-table/es6/ for the definition of each feature. The table below is correct as of version 3.1.

Feature Status
  proper tail calls (tail call optimisation) :x:
  default function parameters 4/7
  rest parameters :x:
  spread syntax for iterable objects :x:
  object literal extensions :white_check_mark: 6/6
  for..of loops 6/9
  octal and binary literals :white_check_mark: 4/4
  template literals 6/7
  RegExp "y" and "u" flags :x:
  destructuring, declarations :x:
  destructuring, assignment :x:
  destructuring, parameters :x:
  Unicode code point escapes :white_check_mark: 4/4
  new.target :white_check_mark: 2/2
  const :white_check_mark: 18/18
  let 14/16
  block-level function declaration[18] :x:
  arrow functions :x:
  class :white_check_mark: 24/24
  super :white_check_mark: 8/8
  generators :x:
  typed arrays 45/46
  Map 18/19
  Set 18/19
  WeakMap 11/12
  WeakSet 10/11
  Proxy [25] 33/34
  Reflect [26] 18/20
  Promise 4/8
  Symbol :white_check_mark: 12/12
  well-known symbols[27] 23/26
  Object static methods :white_check_mark: 4/4
  function "name" property 10/17
  String static methods :white_check_mark: 2/2
  String.prototype methods :white_check_mark: 10/10
  RegExp.prototype properties :white_check_mark: 6/6
  Array static methods 8/11
  Array.prototype methods :white_check_mark: 10/10
  Number properties :white_check_mark: 9/9
  Math methods :white_check_mark: 17/17
  Date.prototype[Symbol.toPrimitive] :white_check_mark: 1/1
  Array is subclassable 9/11
  RegExp is subclassable :white_check_mark: 4/4
  Function is subclassable 4/6
  Promise is subclassable :x:
  miscellaneous subclassables :x:
  prototype of bound functions 1/5
  Proxy, internal 'get' calls 19/36
  Proxy, internal 'set' calls 7/11
  Proxy, internal 'defineProperty' calls :x:
  Proxy, internal 'deleteProperty' calls :x:
  Proxy, internal 'getOwnPropertyDescriptor' calls 2/4
  Proxy, internal 'ownKeys' calls :white_check_mark: 3/3
  Object static methods accept primitives :white_check_mark: 10/10
  own property order 5/7
  Updated identifier syntax 1/3
  miscellaneous 8/9
  non-strict function semantics[35] 2/3
  __proto__ in object literals [36] :x:
  Object.prototype.__proto__ 1/6
  String.prototype HTML methods :white_check_mark: 3/3
  RegExp.prototype.compile 1/2
  RegExp syntax extensions 4/8
  HTML-style comments :x:
Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (38)

Showing the top 5 NuGet packages that depend on Jurassic:

Package Downloads
Xam.Plugin.LatestVersion

Easily detect if you are running the latest version of your Xamarin or UWP app and open it in the App Store, Play Store or Microsoft Store to update it.

XAct.Languages.JS.Jurassic

An XActLib assembly: OBSOLETE: Prefer using XAct.Languages.JS.ClearScript

HandlebarsHelper

HandlebarsHelper is a library for helping you precompile Handlebars v2.0 templates for Emberjs. If you are using a version of Handlebars less than v2.0 (version of Ember.JS less than v1.9) you should use 1.1.0 of this package.

Vidyano.Service

Vidyano is a full featured development platform with the flexibility for creating small to enterprise scale web applications on .NET 4.8.

SquishIt.CoffeeScript

Adds CoffeeScript processing capability to SquishIt.

GitHub repositories (6)

Showing the top 5 popular GitHub repositories that depend on Jurassic:

Repository Stars
sebastienros/jint
Javascript Interpreter for .NET
andrewdavey/cassette
Manages .NET web application assets (scripts, css and templates)
thunderbird-team/ThunderBird_OpenSource
ThunderBird OpenSource
NightlyRevenger/TataruHelper
Tataru Helper - application for translation of in-game texts in Japan MMORPG - Final Fantasy XIV. The texts are understood as MSQ, cutscenes, quests, NPC replicas, etc.
edsnider/latestversionplugin
LatestVersion Plugin for Xamarin and Windows apps
Version Downloads Last updated
3.2.8 318 11/22/2024
3.2.7 72,461 11/1/2023
3.2.6 241,888 4/30/2022
3.2.5 6,285 4/19/2022
3.2.4 28,639 8/4/2021
3.2.3 1,646 7/21/2021
3.2.2 7,610 7/1/2021
3.2.1 3,252 5/27/2021
3.1.0 241,614 6/11/2020
3.0.0 253,533 3/20/2019
3.0.0-alpha2 17,730 11/24/2017
3.0.0-alpha 1,871 11/1/2017
2.2.2 136,509 2/6/2018
2.2.1 573,903 2/14/2016
2.2.0 163,621 1/21/2014
2.1.1 369,635 9/13/2011
2.1.0 91,979 7/12/2011

New in 3.2.8: fixed incompatibility with .NET 9.
     
     New in 3.2.0:
     
     Language changes:
     * Add support for ES6 classes.
     * Add support for ES6 let and const.

     Library changes:
     * Add Reflect class & functions.
     * Add Proxy class & functions.

     .NET 4 specific functionality has been removed, if you need this you'll have to stick with the previous version, sorry!