Skip to content

Releases: mysticatea/eslint-plugin-node

v7.0.0

17 Jul 09:50
v7.0.0
890ee63
Compare
Choose a tag to compare

Breaking changes

New rules

Deprecated rules

Chore

I extracted the logic which detects certain globals and modules and those properties to the eslint-utils package. I wish it to be useful for your ESLint plugins.


All commits: 5260039...890ee63

v6.0.1

23 Feb 09:40
v6.0.1
5260039
Compare
Choose a tag to compare

Bug fixes

  • 234703c fixed a regression that node/no-unsupported-features crashes if engines field exists but engines.node field doesn't exist in package.json (#109). Thanks @ZauberNerd !

v6.0.0

05 Feb 09:22
v6.0.0
bbf4b60
Compare
Choose a tag to compare

Breaking Changes

v5.2.0

28 Sep 12:37
v5.2.0
7189722
Compare
Choose a tag to compare

Bug fixes

v5.1.1

19 Jul 01:46
v5.1.1
3045e95
Compare
Choose a tag to compare

Bug fixes

  • 0295a7f fixed that no-deprecated-api crashs on self-assigning of objects which have deprecated API. (#87)

v4.2.3

19 Jul 01:45
v4.2.3
2297787
Compare
Choose a tag to compare

#87 was backported to v4.

Bug fixes

  • 2297787 fixed that no-deprecated-api crashs on self-assigning of objects which have deprecated API. (#87)

v5.1.0

25 Jun 20:51
v5.1.0
af4737e
Compare
Choose a tag to compare

Enhancements

  • 47e0cc2 added resolvePaths option to no-missing-require and no-missing-import rules. You can customize paths to try for when resolving importing.

v5.0.0

02 Jun 03:26
v5.0.0
5634718
Compare
Choose a tag to compare

Notable changes are 2:

  1. Node.js 8 support were added.
  2. The check of extraneous packages were separated from no-unpublish-import rule and no-unpublish-require rule.

Breaking changes

  • 3387336 updated no-unsupported-features rule for Node.js 8.
    • Node.js 8 newly supports trailing commas in functions.
    • This rule went to use 4.0.0 if you don't specify the node version. It has been 0.10.0 before.
    • This rule went to warn SharedArrayBuffer and Atomics. Currently any versions of Node.js don't support those variables.
  • 0e487f9 updated no-deprecated-api rule for Node.js 8.
    • Node.js 8 deprecated vm.runInDebugContext().
    • Additionally, Node.js 8 made the official page about deprecated APIs. I realized this rule had been lacking the check of some deprecated APIs. I added those.
  • d4e6bc4 removed the check about extraneous packages from no-unpublish-import rule and no-unpublish-require rule.

New rules

  • a75c638 added 2 new rules, no-extraneous-import and no-extraneous-require. Those rules report require() expressions or import declarations if those import extraneous packages.
    • Those behavior were extracted from no-unpublished-require and no-unpublished-import.

Bug fixes

  • deb4f55 fixed a bug of no-unsupported-features about semver comparison. (#78)

v4.2.2

28 Mar 11:07
v4.2.2
f1a137b
Compare
Choose a tag to compare

Bug fixes

  • b2c6877 fixed a bug of node/no-unpublished-require and node/no-unpublished-import. Those had been handling some files such as raedme.js as published files always even if the files exist in subdirectories. npm always publishes such files of only top level.
    Thank you, @platinumazure !

v4.2.1

14 Mar 09:33
v4.2.1
fb3f030
Compare
Choose a tag to compare

Bug fixes

  • 113c68f fixed false positive of no-missing-require and no-missing-import rules that v4.2.0 introduced.