Changelog
All notable changes to this project will be documented in this file. See standard-version for commit guidelines.
2.0.1 (2024-02-21)
Bug Fixes
- Fix release of operator char trigger event (1309a18)
2.0.0 (2024-02-19)
⚠ BREAKING CHANGES
- Main
esniff
interface changed from code, trigger, callback
to code, executor
where executor function is provided with emitter that provides access to internal parsing process
- Property and variable names resolution now respects ES2015+ language rules instead of ES5
- Utilties were moved:
ensure-string-literal.js
-> utils/ensure-string-literal.js
is-string-literal.js
-> utils/is-string-literal.js
is-var-name-valid.js
-> utils/is-variable-name.js
Features
- Replace parser with state machine based event driven variant (0d9bf17)
- Support ES2015 template strings syntax (4016496)
- Upgrade variable and property name patterns to ES2015+ (7f2f4ab)
Maintenance Improvements
- Move basic utils into
utils
directory (afc6ddf)
- Refactor
stripComments
to rely on main parser (6d2dd7f)
- Rely on
type
package instead of es5-ext
(2a79744)
1.1.3 (2024-01-04)
Maintenance Improvements
- Improve
isVarNameValid
internals (82138c2)
1.1.2 (2024-01-04)
Maintenance Improvements
1.1.1 (2024-01-04)
Bug Fixes
- Ensure to detect Windows EOL (
\r\n
) as single EOL (72a17fe)
- Fix column indexing in move function (3c0a6cb)
Maintenance Improvements
- Declare support for Node.js v0.10+ (1eba1d6)
- ESLint suggested improvements (d7c65ef)
- Extract regular expression patterns into modules (1b12cbe)
- Fix reference links in source code comments (4787424)
- Replace
xlint
configuration with eslint
(f434553)
- Switch LICENSE from MIT to ISC (cc33510)
Changelog for previous versions
See CHANGES
file