[Snyk] Upgrade eslint-plugin-node from 5.2.0 to 11.1.0 #4
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 was automatically created by Snyk using the credentials of a real user.
![snyk-top-banner](https://github.com/andygongea/OWASP-Benchmark/assets/818805/c518c423-16fe-447e-b67f-ad5a49b5d123)
Snyk has created this PR to upgrade eslint-plugin-node from 5.2.0 to 11.1.0.
ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.
The recommended version is 15 versions ahead of your current version.
The recommended version was released on 4 years ago.
Issues fixed by the recommended upgrade:
SNYK-JS-SEMVER-3247795
SNYK-JS-LODASH-567746
SNYK-JS-LODASH-608086
SNYK-JS-LODASH-6139239
SNYK-JS-LODASH-73638
SNYK-JS-JSYAML-174129
SNYK-JS-LODASH-1040724
SNYK-JS-LODASH-450202
SNYK-JS-LODASH-73639
npm:lodash:20180130
SNYK-JS-MINIMATCH-3050818
SNYK-JS-MINIMIST-559764
SNYK-JS-PATHPARSE-1077067
SNYK-JS-HOSTEDGITINFO-1088355
SNYK-JS-JSYAML-173999
SNYK-JS-LODASH-1018905
npm:debug:20170905
npm:eslint:20180222
SNYK-JS-MINIMIST-2429795
Release notes
Package name: eslint-plugin-node
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
💥 Breaking changes
node/no-unsupported-features/node-builtins
rule based on Node.js 13.2.0.node/no-unsupported-features/es-syntax
rule to recognize BigInt literal property names.globalThis.*
.node/no-unsupported-features/es-builtins
rule to recognizeglobalThis
.✨ Enhancements
node/no-deprecated-api
rule to allow revoked deprecations.node/no-unsupported-features/node-builtins
rule to handle backporting properly.🐛 Bug fixes
This release supports BigInt and Dynamic Imports if you are using ESLint 6.2.0 or later.
💥 Breaking Changes
node/no-unsupported-features/es-syntax
rule to recognize BigInt literals andimport()
.node/no-unsupported-features/es-builtins
rule to recognizeBigInt
,BigInt64Array
,BigUint64Array
, andPromise.allSettled
.node/file-extension-in-import
,node/no-extraneous-import
,node/no-missing-import
, andnode/no-unpublished-import
rules to recognizeimport()
.node/no-deprecated-api
rule to recognizemodule.createRequireFromPath
.plugin: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
node/no-exports-assign
rule that disallowsexports = {}
.✨ New Rules
no-callback-literal
.🐛 Bug Fixes
eslint-utils
for security fix.✨ Features
no-deprecated-api
to not suggest alternative APIs if it has not supported on configured Node.js version. Thank you, @ Lalem001 !🐛 Bug Fixes
semver
package to not crash on wildcard*
version range.🐛 Bug Fixes
node/file-extension-in-import
rule on scoped packages (#160).Update for Node.js v12 🎉
💥 Breaking Changes
^5.16.0
and>=6.0.0
.require()
such as node/no-missing-require rule to checkrequire.resolve()
as well.plugin:node/recommended
preset.✨ New Rules
🐛 Bug fixes
node/no-deprecated-api
rule (#142).no-unpublished-(bin|import|require)
rules (#115, #126).This release focuses on supporting new things that were added between Node.js 8.7.0 and 11.0.0.
Breaking changes
node/no-deprecated-api
rule to disallow new deprecated APIs.Especially, it includes legacy URL API.
node/no-unsupported-features/node-builtins
rule to detect new APIs.New rules
node/prefer-global/text-decoder
rule for new global varaibleTextDecoder
.node/prefer-global/text-encoder
rule for new global varaibleTextEncoder
.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.Important
Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information: