NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
npm, #1525 most downloaded on npm
Detect global variables in JavaScript using acorn
Latest stable
7.0.1
Last release 4 years ago
no release in 18 months
Release timing varies
gaps range from 9 days to 2.5 years
Some releases are documented
notes for 7 of 25 stable releases
Nothing withdrawn
no release was ever pulled
12 years old
27 releases · first in 2014
Drag across the ruler to compare, or tap a release to open it.
The body of switch statement is a block scope
The body of switch statement is a block scope (#67)
In this example:
switch (3) {
case 3:
let a;
}
a; // this 'a' is a global
The a at the bottom is global, even though a variable called a was declared inside the switch statement.
Nothing published for this version
Set default ecmaVersion to "latest"
Upgrade to acorn v8 (#60)
Set default ecmaVersion to "latest" (#64)
You can now override the default options passed to the acorn parser: (#64)
cons defaults = {
allowReturnOutsideFunction: true,
allowImportExportEverywhere: true,
allowHashBang: true,
ecmaVersion: "latest"
}
Support catch handler without binding the error to a variable (#58)
Ignore this in class property definitions (#52)
Your coding agent can read these notes before it upgrades. Set up the MCP server →
Nothing published for this version
Updates acorn and acorn-walk to v7
Updates acorn and acorn-walk to v7
Nothing published for this version
fix add pattern destructuring support to the catch handler
catch handlerfix handle variable names that exist in Object.prototype
Fix: Classes are now correctly block-scoped rather than function/module scoped
Fix destructuring rest args now declares the local variable name
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
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
Nothing published for this version
One column per quarter.