NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
npm
npm, #1860 most downloaded on npm
Utilities for ESLint plugins.
Latest stable
3.0.0
Last release 6 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
9 years old
13 releases · first in 2018
Drag across the ruler to compare, or tap a release to open it.
9a5c4fb0784029e0f270f2a92b684d0804ab9e30, 5361c335cec928fa49a89e0aa68252560c1b297f dropped old Node.js support. The new range is ^10.0.0 || ^12.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].getStaticValue() on expressions that re-use Symbol()s (#12)isParenthesized() on CatchClause.param should be false (#15)v3.0.0 Latest
Latest
Compare
Your coding agent can read these notes before it upgrades. Set up the MCP server →
f811251d809ac3f9af2ab429e551aa116b9d8847 improved the getFunctionNameWithKind() function to get better names of arrow functions.
getFunctionNameWithKind() function to get better names of arrow functions.d2c2c18b6502099b489a12660c497200097f18e0 updated ReferenceTracker#iterateGlobalReferences() method to recognize the member of globalThis by default.
ReferenceTracker#iterateGlobalReferences() method to recognize the member of globalThis by default.8f9e481ecc1204c7a1331b697f97903f90c75154 fixed false positive of ReferenceTracker.
ReferenceTracker.e4cb01498df6096b66edb0c78965ee6f47d3ac77 fixed a regression of the previous release.
c119e832952c8c653bd4f21e39eb9f7ce48e5947 fixed getStaticValue() function to handle null literal correctly even if runtimes don't support BigInt native
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.66456c5356310fc4309b4fe2756995f27b907747 (and ebf5a8378d3f0a20a74adb158a7112cb616bce44, aac472e815551688d23cc8fd88f9044dbf276804) added isParenthesize
isParenthesized() function that checks if a given node is parenthesized or not.hasSideEffect() function that checks if a given node may have side-effects or not.9c8e1bd1156ab90b878808105cb52063a980366b 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 :tada:
It added new getStaticValue function :tada:
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"
getPropertyName function.getStaticValue function.3f034a410aec96b179c45cd1366f9af741a45a6c added findVariable function.
Nothing published for this version
Nothing published for this version
One column per quarter.