NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
npm · #1860 most downloaded on npm
Utilities for ESLint plugins.
Last release 5 years ago
no release in 18 months
Release timing varies
gaps range from 3 weeks to 13 months
Most releases are documented
notes for 11 of 13 stable releases
Nothing withdrawn
no release was ever pulled
8 years old
13 releases · first in 2018
9a5c4fb , 5361c33 dropped old Node.js support. The new range is ^10.0.0 || ^12.0.0 || >= 14.0.0 .
^10.0.0 || ^12.0.0 || >= 14.0.0.exports field to package.json. Now direct accesses to internal files are disallowed.getFunctionNameWithKind(node) function in some cases.
{ foo: function bar() {} } is method 'foo'.{ foo: () => {} } is method 'foo'.foo = function() {} is function 'foo'.getFunctionNameWithKind(node). If you give context.getSourceCode() to that, the getFunctionNameWithKind(node, sourceCode) function handles the name of computed properties. E.g., { [foo]() {} } is method [foo].One column per quarter.
f811251 improved the getFunctionNameWithKind() function to get better names of arrow functions.
d2c2c18 updated ReferenceTracker#iterateGlobalReferences() method to recognize the member of globalThis by default.
ReferenceTracker#iterateGlobalReferences() method to recognize the member of globalThis by default.8f9e481 fixed false positive of ReferenceTracker .
ReferenceTracker.e4cb014 fixed a regression of the previous release.
c119e83 fixed getStaticValue() function to handle null literal correctly even if runtimes don't support BigInt natively.
getStaticValue() function to handle null literal correctly even if runtimes don't support BigInt natively.getStringIfConstant() function to handle regular expression literals and BigInt literals even if runtimes don't support those.66456c5 (and ebf5a83 , aac472e ) added isParenthesized() function that checks if a given node is parenthesized or not.
9c8e1bd fixed the problem that ReferenceTracker#iterateGlobalReferences iterates modified globals.
ReferenceTracker#iterateGlobalReferences iterates modified globals.It added new PatternMatcher class which finds a regular expression pattern in given strings, with handling escape sequences. It will ignore the found
\.It added new getStaticValue function 🎉
It added new getStaticValue function 🎉
The getStaticValue evaluates AST node statically then get the static value.
For a complex example, this function can evaluate the following case on AST:
const eventName = "click"
const aMap = Object.freeze({
click: 777
})
;`on${eventName} : ${aMap[eventName]}` // evaluated to "onclick : 777"3f034a410aec96b179c45cd1366f9af741a45a6c added findVariable function.
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 →