Update eslint-plugin-node to the latest version π
Version 6.0.0 of eslint-plugin-node was just published.
| Dependency | eslint-plugin-node |
|---|---|
| Current Version | 5.2.1 |
| Type | devDependency |
The version 6.0.0 is not covered by your current version range.
If you donβt accept this pull request, your project will work just like it did before. However, you might be missing out on a bunch of new features, fixes and/or performance improvements from the dependency update.
It might be worth looking into these changes and trying to get this project onto the latest version of eslint-plugin-node.
If you have a solid test suite and good coverage, a passing build is a strong indicator that you can take advantage of these changes directly by merging the proposed change into your project. If the build fails or you donβt have such unconditional trust in your tests, this branch is a great starting point for you to work on the update.
Commits
The new version differs by 9 commits.
bbf4b606.0.0e8d757bBreaking: update node/recommended preset400e20aBreaking: update no-deprecated-api rule49c060aBreaking: no-unsupported-features supports ES2018 (fixes #94, fixes #103)2e2d464Chore: upgrade dependenciesdc32ab5Docs: Use link to tagged version for rule docs (#104)27ac4a8Docs: Add URL to rule documentation to the metadata (#102)846e677Chore: use semver public API's. (#99)d5a8985Docs: fix comma JSON error on the first example (#98)
See the full diff
FAQ and help
There is a collection of frequently asked questions. If those donβt help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper bot :palm_tree:
Version 6.0.1 just got published.
Update to this version instead π
Release Notes
v6.0.1Bug fixes
- 234703c fixed a regression that
node/no-unsupported-featurescrashes ifenginesfield exists butengines.nodefield doesn't exist in package.json (#109). Thanks @ZauberNerd !
Version 7.0.0 just got published.
Update to this version instead π
Release Notes
v7.0.0Breaking changes
- It dropped the support of Node.js 4. Now it requires
>=6. - It dropped the support of ESLint 3. Now it requires
>=4.19.1. (thenode/recommendedpreset is supporting only ESLint>=5.0.0) - It updated the
node/recommendedconfig.- changed
parserOptions.ecmaVersionto2019from2018. - added
plugins: ["node"]. - removed a deprecated rule: node/no-unsupported-features.
- added three new rules:
- changed
- It updated the node/no-deprecated-api rule to support Node.js up to
10.6.0.- Note some assertion methods such as
assert.equalare deprecated. Use stricter methods such asassert.strictEqualor the strict mode (assert.strict) instead.
- Note some assertion methods such as
New rules
- node/no-unsupported-features/es-builtins ... disallow unsupported ECMAScript built-in globals on the configured Node.js version.
- node/no-unsupported-features/es-syntax ... disallow unsupported ECMAScript syntax on the configured Node.js version.
- node/no-unsupported-features/node-builtins ... disallow unsupported Node.js built-in modules and globals on the configured Node.js version.
- node/prefer-global/buffer ... enforce the use of either
Bufferorrequire("buffer").Bufferconsistently. - node/prefer-global/console ... enforce the use of either
consoleorrequire("console")consistently. - node/prefer-global/process ... enforce the use of either
processorrequire("process")consistently. - node/prefer-global/url-search-params ... enforce the use of either
URLSearchParamsorrequire("url").URLSearchParamsconsistently. - node/prefer-global/url ... enforce the use of either
URLorrequire("url").URLconsistently.
Deprecated rules
- node/no-unsupported-features was replaced by node/no-unsupported-features/es-builtins and node/no-unsupported-features/es-syntax.
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
Commits
The new version differs by 48 commits.
890ee637.0.07ab875aChore: refactoring no-deprecated-apifa25150Chore: refactoring for no-unsupported-features/*8f25248Chore: refactoring for prefer-global/*4dd9bafChore: move data into rules069efe9Breaking: update 'no-deprecated-api' rule71370557.0.0-beta.0a42d38eDocs: update README.md1946d61Breaking: update recommended.jsoncb8f504Update: add ES2019 support in 'no-unsupported-features/es-syntax'3d79333New:prefer-global/*rules217411dChore: re-organize no-unsupported-features (fixes #118)b02dcefNew:no-unsupported-features/worker_threadsrule (refs #118)65cbc08New:no-unsupported-features/vmrule (refs #118)222f6c0New:no-unsupported-features/v8rule (refs #118)
There are 48 commits in total.
See the full diff
Version 7.0.1 just got published.
Update to this version instead π
Release Notes
v7.0.1Bug fixes
- It fixed false positive that the
node/no-unsupported-features/node-builtinsreports theprocess.emitWarningmethod on Node.js>=6 <8. It was supported since Node.js 6.0.0.
- The
devDependencyeslint-plugin-node was updated from5.2.1to8.0.0.
Update to this version instead π
Release Notes for v8.0.0
This release focuses on supporting new things that were added between Node.js 8.7.0 and 11.0.0.
Breaking changes
- 5860795 updated
node/no-deprecated-apirule to disallow new deprecated APIs.
Especially, it includes legacy URL API. - d153b93 updated
node/no-unsupported-features/node-builtinsrule to detect new APIs.
New rules
Commits
The new version differs by 13 commits.
932836b8.0.0c849a27Chore: update .travis.ymlac4cb6eFix: lint errorsecf6b11Chore: update .travis.yml5936718Chore: upgrade dependencies46ed54dNew: add two prefer-global rulesd153b93Breaking: update no-unsupported-features/node-builtins rule5860795Breaking: update no-deprecated-api rule044ecceChore: fix tests to follow moving files in eslint51be232Docs: fix url-search-params documentation (#132)ef0f103Docs: remove trailing comma from sample .eslintc.json in README (#131)a589060Docs: update README.md for deprecation rules4467dcbDocs: add deprecated rules table (fixes #129) (#130)
See the full diff
- The
devDependencyeslint-plugin-node was updated from5.2.1to9.0.0.
- The
devDependencyeslint-plugin-node was updated from5.2.1to9.0.1.
- The
devDependencyeslint-plugin-node was updated from5.2.1to9.1.0.
- The
devDependencyeslint-plugin-node was updated from5.2.1to9.2.0.
- The
devDependencyeslint-plugin-node was updated from5.2.1to10.0.0.
- The
devDependencyeslint-plugin-node was updated from5.2.1to11.0.0.
- The
devDependencyeslint-plugin-node was updated from5.2.1to11.1.0.