CHANGELOG.md
6.31 KB
Change Log
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.
Unreleased
v2.7.4 - 2022-08-11
Fixed
- [Fix] Ignore hashbang and BOM while parsing (#2431, thanks [@silverwind])
Changed
v2.7.3 - 2022-01-26
Fixed
- [Fix]
parse
: restore compatibility by making the return valueast
again (#2350, thanks [@ljharb])
v2.7.2 - 2022-01-01
Fixed
- [patch] Fix
@babel/eslint-parser
8 compatibility (#2343, thanks @nicolo-ribaudo)
Changed
- [Refactor] inline
pkgDir
implementation; removepkg-dir
v2.7.1 - 2021-10-13
Fixed
v2.7.0 - 2021-10-11
Added
-
fileExistsWithCaseSync
: addstrict
argument (#1262, thanks @sergei-startsev) - add
visit
, to support dynamic imports (#1660, #2212, thanks @maxkomarychev, @aladdin-add, @Hypnosphi) - create internal replacement for
pkg-up
andread-pkg-up
(#2047, @mgwalker)
v2.6.2 - 2021-08-08
Fixed
- Use
context.getPhysicalFilename()
when available (ESLint 7.28+) (#2160, thanks @pmcelhaney)
v2.6.1 - 2021-05-13
Fixed
-
no-unresolved
: checkimport()
(#2026, thanks @aladdin-add) - Add fix for Windows Subsystem for Linux (#1786, thanks @manuth)
Changed
- [deps] update
debug
- [Refactor] use
Array.isArray
instead ofinstanceof Array
v2.6.0 - 2020-03-28
Added
v2.5.2 - 2020-01-12
Fixed
- Makes the loader resolution more tolerant (#1606, thanks @arcanis)
- Use
createRequire
instead ofcreateRequireFromPath
if available (#1602, thanks @iamnapo)
v2.5.1 - 2020-01-11
Fixed
- Uses createRequireFromPath to resolve loaders (#1591, thanks @arcanis)
- report the error stack on a resolution error (#599, thanks @sompylasar)
v2.5.0 - 2019-12-07
Added
Changed
v2.4.1 - 2019-07-19
Fixed
- Improve parse perf when using
@typescript-eslint/parser
(#1409, thanks @bradzacher) - Improve support for TypeScript declare structures (#1356, thanks @christophercurrie)
v2.4.0 - 2019-04-13
Added
Fixed
- Fix overwriting of dynamic import() CallExpression ([
no-cycle
], [no-relative-parent-import
], [no-unresolved
], [no-useless-path-segments
]) (#1218, #1166, #1035, thanks @vikr01)
v2.3.0 - 2019-01-22
Fixed
v2.2.0 - 2018-03-29
Changed
-
parse
: attach node locations by default. -
moduleVisitor
: visitor now gets the fullimport
statement node as a second argument, so rules may report against the full statement /require
call instead of only the string literal node.
v2.1.1 - 2017-06-22
Re-releasing v2.1.0 after vetting (again) and unable to reproduce issue.
v2.1.0 - 2017-06-02 [YANKED]
Yanked due to critical issue with cache key resulting from #839.
Added
-
parse
now additionally passesfilePath
toparser
inparserOptions
likeeslint
core does
v2.0.0 - 2016-11-07
Changed
-
unambiguous
no longer exposes fast test regex
Fixed
-
unambiguous.test()
regex is now properly in multiline mode