chore(deps): update dependency eslint-plugin-node to v11 #16
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^5.2.0
->11.1.0
Release Notes
mysticatea/eslint-plugin-node
v11.1.0
Compare Source
The many rules for Node.js in the ESLint core will be deprecated in ESLint 7.0.0. This release includes the clone of those core rules.
✨ Enhancements
8788a11
added ten rules from the ESLint core:ade0b59
added node/no-restricted-import rule that is ES modules version of node/no-restricted-require rule.v11.0.0
Compare Source
💥 Breaking changes
b6cb9a0
updatednode/no-unsupported-features/node-builtins
rule based on Node.js 13.2.0.fb9ce15
updatednode/no-unsupported-features/es-syntax
rule to recognize BigInt literal property names.4295f6a
updated the rules that check global variables to recognizeglobalThis.*
.04051ed
updatednode/no-unsupported-features/es-builtins
rule to recognizeglobalThis
.✨ Enhancements
276a9ad
updatednode/no-deprecated-api
rule to allow revoked deprecations.972f828
updatednode/no-unsupported-features/node-builtins
rule to handle backporting properly.🐛 Bug fixes
4f74fbf
fixed a crash bug around dynamic import syntax.v10.0.0
Compare Source
This release supports BigInt and Dynamic Imports if you are using ESLint 6.2.0 or later.
💥 Breaking Changes
9ea67c9
updatednode/no-unsupported-features/es-syntax
rule to recognize BigInt literals andimport()
.b91b48d
updatednode/no-unsupported-features/es-builtins
rule to recognizeBigInt
,BigInt64Array
,BigUint64Array
, andPromise.allSettled
.b57a4f9
updatednode/file-extension-in-import
,node/no-extraneous-import
,node/no-missing-import
, andnode/no-unpublished-import
rules to recognizeimport()
.4b9c4d7
updatednode/no-deprecated-api
rule to recognizemodule.createRequireFromPath
.9c574ba
updatedplugin:node/recommended
and the other configs.node/no-exports-assign
rule.exports
global variable writable.node/*-import
rules in CommonJS mode as well.✨ New rules
a0f0ee1
addednode/no-exports-assign
rule that disallowsexports = {}
.v9.2.0
Compare Source
✨ New Rules
c1d5dbf
added a new ruleno-callback-literal
.🐛 Bug Fixes
72de3a3
updatedeslint-utils
for security fix.v9.1.0
Compare Source
✨ Features
fd9d19d
updatedno-deprecated-api
to not suggest alternative APIs if it has not supported on configured Node.js version. Thank you, @Lalem001 !🐛 Bug Fixes
e5aee3c
updatedsemver
package to not crash on wildcard*
version range.v9.0.1
Compare Source
🐛 Bug Fixes
dfb4dc0
fixed the false positive ofnode/file-extension-in-import
rule on scoped packages (#160).v9.0.0
Compare Source
Update for Node.js v12 🎉
💥 Breaking Changes
c95b2fd
dropped Node.js 6 support because of End-of-Life.fe2343f
dropped ESLint 4 support. New supported versions are^5.16.0
and>=6.0.0
.7e0c2c5
updated node/no-deprecated-api rule to check new deprecated APIs in Node.js 12.5d79f2d
updated node/no-unsupported-features/node-builtins rule to recognize new APIs in Node.js 12.02d61cf
updated node/no-unsupported-features/es-builtins rule to recognize new APIs in Node.js 12.b94731a
updated the rules forrequire()
such as node/no-missing-require rule to checkrequire.resolve()
as well.2061413
updatedplugin:node/recommended
preset.✨ New Rules
a3e0e29
added node/file-extension-in-import rule which enforce the style of file extensions.e41a1e0
added node/prefer-promises/dns rule and node/prefer-promises/fs rule which enforce to use Promise API instead of Callback API.v8.0.1
Compare Source
🐛 Bug fixes
62ba642
fixed the wrong messages ofnode/no-deprecated-api
rule (#142).0225b02
...0593c67576c86b2cbf4990db38d1cc4707b2f309 fixed the false positives ofno-unpublished-(bin|import|require)
rules (#115, #126).v8.0.0
Compare Source
This release focuses on supporting new things that were added between Node.js 8.7.0 and 11.0.0.
Breaking changes
5860795
updatednode/no-deprecated-api
rule to disallow new deprecated APIs.Especially, it includes legacy URL API.
d153b93
updatednode/no-unsupported-features/node-builtins
rule to detect new APIs.New rules
46ed54d
addednode/prefer-global/text-decoder
rule for new global varaibleTextDecoder
.46ed54d
addednode/prefer-global/text-encoder
rule for new global varaibleTextEncoder
.v7.0.1
Compare Source
Bug fixes
node/no-unsupported-features/node-builtins
reports theprocess.emitWarning
method on Node.js>=6 <8
. It was supported since Node.js 6.0.0.v7.0.0
Compare Source
Breaking changes
>=6
.>=4.19.1
. (thenode/recommended
preset is supporting only ESLint>=5.0.0
)node/recommended
config.parserOptions.ecmaVersion
to2019
from2018
.plugins: ["node"]
.10.6.0
.assert.equal
are deprecated. Use stricter methods such asassert.strictEqual
or the strict mode (assert.strict
) instead.New rules
Buffer
orrequire("buffer").Buffer
consistently.console
orrequire("console")
consistently.process
orrequire("process")
consistently.URLSearchParams
orrequire("url").URLSearchParams
consistently.URL
orrequire("url").URL
consistently.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
...890ee63e98ef95ec5a27f50f42188102526d81b1v6.0.1
Compare Source
Bug fixes
234703c
fixed a regression thatnode/no-unsupported-features
crashes ifengines
field exists butengines.node
field doesn't exist in package.json (#109). Thanks @ZauberNerd !v6.0.0
Compare Source
Breaking Changes
49c060a
updatednode/no-unsupported-features
rule to support ES2018 syntactic features. Now the rule recognizes the following syntax:8.3.0
)9.0.0
)9.0.0
)9.0.0
)10.0.0
)10.0.0
)10.0.0
)400e20a
updatednode/no-deprecated-api
rule to support new deprecated APIs. Now the rule recognizes the following APIs:async_hooks.currentId
async_hooks.triggerId
module._debug
path._makeLong
tls.parseCertString
e8d757b
updatedplugin:node/recommended
preset.Configuration
📅 Schedule: At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by WhiteSource Renovate. View repository job log here.