All notable changes to this module will be documented in this file. This project adheres to Semantic Versioning. This change log adheres to standards from Keep a CHANGELOG.
hash
: add support for hashing functions (#3072, thanks @michaelfaith)parse
: remove unneeded extra backticks (#3057, thanks @G-Rath)parse
: espree parser isn't working with flat config (#3061, thanks @michaelfaith)parse
: add ecmaVersion
and sourceType
to parserOptions
(#3061, thanks @michaelfaith)declaredScope
: take a node
for modern eslint versions (thanks @michaelfaith)exports
, main
repository.directory
fieldparse
: also delete parserOptions.EXPERIMENTAL_useProjectService
(#2963, thanks @JoshuaKGoldberg)parse
: restore compatibility by making the return value ast
again (#2350, thanks [@ljharb])@babel/eslint-parser
8 compatibility (#2343, thanks @nicolo-ribaudo)pkgDir
implementation; remove pkg-dir
fileExistsWithCaseSync
: add strict
argument (#1262, thanks @sergei-startsev)visit
, to support dynamic imports (#1660, #2212, thanks @maxkomarychev, @aladdin-add, @Hypnosphi)pkg-up
and read-pkg-up
(#2047, @mgwalker)context.getPhysicalFilename()
when available (ESLint 7.28+) (#2160, thanks @pmcelhaney)no-unresolved
: check import()
(#2026, thanks @aladdin-add)debug
Array.isArray
instead of instanceof Array
createRequire
instead of createRequireFromPath
if available (#1602, thanks @iamnapo)@typescript-eslint/parser
(#1409, thanks @bradzacher)no-cycle
], [no-relative-parent-import
], [no-unresolved
], [no-useless-path-segments
]) (#1218, #1166, #1035, thanks @vikr01)parse
: attach node locations by default.moduleVisitor
: visitor now gets the full import
statement node as a second
argument, so rules may report against the full statement / require
call instead
of only the string literal node.Re-releasing v2.1.0 after vetting (again) and unable to reproduce issue.
Yanked due to critical issue with cache key resulting from #839.
parse
now additionally passes filePath
to parser
in parserOptions
like eslint
core doesunambiguous
no longer exposes fast test regexunambiguous.test()
regex is now properly in multiline mode