NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
NuGet · #2791 most downloaded on NuGet
A standard-compliant JavaScript parser, which is a fork of Esprima.NET combined with the .NET port of the acornjs parser.
Last release 1 months ago
28 Aug 2026
Release timing varies
gaps range from 8 days to 8 months
Some releases are documented
notes for 11 of 19 stable releases
Nothing withdrawn
no release was ever pulled
3 years old
19 releases · first in 2024
Introduce ParserOptions.AllowSuperCallOutsideConstructor to support PerformEval (see #44 ).
New features:
ParserOptions.AllowSuperCallOutsideConstructor to support PerformEval (see #44).Bug fixes:
ParserOptions.AllowSuperOutsideMethod to reject super property access in function contexts outside of classes (see #44 (comment)).super() in class fields when the class is declared inside another class's constructor (see #44 (comment)).One column per month.
Significant performance improvements to execution time and memory allocation (see #41 , #42 , #43 - big thanks to @lahma !):
Improvements:
Significant performance improvements to execution time and memory allocation (see #41, #42, #43 - big thanks to @lahma!):
| Diff | Method | FileName | Mean | Error | Allocated |
|---|---|---|---|---|---|
| Old | AcornimaParse | angular-1.2.5 | 6,537.2 μs | 41.25 μs | 3970.92 KB |
| New | 5,802.3 μs (-11%) | 33.54 μs | 3746.47 KB (-6%) | ||
| Old | AcornimaParse | angular-1.7.9 | 14,917.3 μs | 200.57 μs | 6719.28 KB |
| New | 10,488.5 μs (-30%) | 64.75 μs | 6380.38 KB (-5%) | ||
| Old | AcornimaParse | backbone-1.1.0 | 806.5 μs | 3.85 μs | 628.3 KB |
| New | 718.7 μs (-11%) | 23.39 μs | 585.99 KB (-7%) | ||
| Old | AcornimaParse | jquery-1.9.1 | 4,897.8 μs | 67.04 μs | 3263.86 KB |
| New | 4,309.8 μs (-12%) | 36.58 μs | 3122.52 KB (-4%) | ||
| Old | AcornimaParse | jquery.mobile-1.4.2 | 8,620.0 μs | 88.40 μs | 5443.43 KB |
| New | 7,329.0 μs (-15%) | 75.73 μs | 5231.79 KB (-4%) | ||
| Old | AcornimaParse | mootools-1.4.5 | 4,068.6 μs | 33.49 μs | 2750.82 KB |
| New | 3,384.7 μs (-17%) | 15.17 μs | 2609.48 KB (-5%) | ||
| Old | AcornimaParse | underscore-1.5.2 | 695.8 μs | 4.79 μs | 528.92 KB |
| New | 589.2 μs (-15%) | 4.38 μs | 500.55 KB (-5%) | ||
| Old | AcornimaParse | yui-3.12.0 | 3,693.0 μs | 21.02 μs | 2607.91 KB |
| New | 3,282.1 μs (-11%) | 4.38 μs | 2466.57 KB (-5%) |
Bug fixes:
OnToken callback for edge cases (see also acornjs/acorn#1443 (comment)).ParenthesizedExpression is omitted from the AST when converting existing expressions to pattern nodes, despite enabling the PreserveParens option.await expressions as the left side of exponentiation.({ *m() { yield <></> } }) and ({ async m() { await <></> } })).let/var/const line without terminating semicolon (see also acornjs/acorn-jsx#92).Acornima.Cli's tokenizer mode.Eliminate some unnecessary range checks and a few other micro-optimizations.
Improvements:
Bug fixes:
/[!-\#]/v).Tokenizer.AdaptRegExp and Tokenizer.ValidateRegExp.Fix bug that disallows quantifier after modifier groups in flag v regexp patterns (i.e., in patterns like /(?i:x)?/v ).
Bug fixes:
/(?i:x)?/v).Implement the Source phase imports and Deferring module evaluation Stage 3 proposals as experimental features (see #39 ).
New features:
Bug fixes:
Expose information about the parsed code to OnNode callbacks.
Improvements:
OnNode callbacks.NotNullWhen attribute to the signature Tokenizer.ValidateRegExp to improve nullable static analysis.Bug fixes:
\w and \W character classes in regexp patterns. (U+0130 should not be matched.)$ anchor in regexp patterns. (In .NET, \z should be used instead of $ to avoid matching before potential newline at the end of the input string.)Breaking changes:
context parameter of ParserOptions.OnNode callbacks to be passed by-ref.The corresponding members in ExperimentalESFeatures have been deprecated as these features are now enabled for the related EcmaVersion compatibility l…
This release brings full support for ES2026.
The Import Attributes, Duplicate named capturing groups, Regular expression modifiers and Explicit resource management features are no longer experimental. The corresponding members in ExperimentalESFeatures have been deprecated as these features are now enabled for the related EcmaVersion compatibility levels by default.
A side note about regular expressions: For flag v patterns, only validation is supported. There are no plans to implement JS RegExp to .NET Regex conversion for flag v mode. Moreover, conversion logic for the other modes is going to be extracted into a separate library in v2.0. Therefore, this release deprecates regular expression conversion-related APIs but introduces new extension points (TokenizerOptions.OnRegExp and ParserOptions.OnRegExp) to take control over regular expression parsing if needed.
New features:
TokenizerOptions.OnRegExp and ParserOptions.OnRegExp as an alternative to TokenizerOptions.RegExpParseMode and ParserOptions.RegExpParseMode, respectively.Improvements:
EcmaVersion to allow parsing against the recent ECMAScript standards, up to ES2026.Breaking changes:
RegExpParseResult.ConversionError property to ParseError.Implement Annex B.3.9 ("Runtime Errors for Function Call Assignment Targets") (see acornjs/acorn#1433 , #33 )
Improvements:
Bug fixes:
using/await using edge cases in for loops (see acornjs/acorn#1432, #31, #32)Disallow new super() expressions (see also acornjs/acorn#1431 ).
Bug fixes:
new super() expressions (see also acornjs/acorn#1431).Implement Regular Expression Modifiers as an experimental feature (see ExperimentalESFeatures.RegExpModifiers ).
New features:
ExperimentalESFeatures.RegExpModifiers).Improvements:
Breaking changes:
DuplicateImportAttribute to ImportAttributesDuplicateKey to match V8 naming.RegExpInvalidClassEscape as it is no longer reported.Minor improvement to error reporting (adjust some RegExp-related error messages changed in V8 recently).
Improvements:
Bug fixes:
ConditionalExpression to be an unparenthesized ArrowFunctionExpression (see also acornjs/acorn#1428).Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Your coding agent can read these notes before it upgrades. Set up the MCP server →