Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump eslint-plugin-node from 6.0.1 to 8.0.0 #25

Merged
merged 1 commit into from
Dec 19, 2018

Conversation

dependabot-preview[bot]
Copy link
Contributor

Bumps eslint-plugin-node from 6.0.1 to 8.0.0.

Release notes

Sourced from eslint-plugin-node's releases.

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

  • 58607951356dc63cd33366282eeda98ebd587dd0 updated node/no-deprecated-api rule to disallow new deprecated APIs.
    Especially, it includes legacy URL API.
  • d153b93809c079b1be64aab706c14efb0da7991f updated node/no-unsupported-features/node-builtins rule to detect new APIs.

New rules

  • 46ed54dc3931bbf78c6b6d0761201867c74c033f added node/prefer-global/text-decoder rule for new global varaible TextDecoder.
  • 46ed54dc3931bbf78c6b6d0761201867c74c033f added node/prefer-global/text-encoder rule for new global varaible TextEncoder.

v7.0.1

Bug fixes

  • It fixed false positive that the node/no-unsupported-features/node-builtins reports the process.emitWarning method on Node.js >=6 <8. It was supported since Node.js 6.0.0.

v7.0.0

Breaking 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. (the node/recommended preset is supporting only ESLint >=5.0.0)
  • It updated the node/recommended config.
    • changed parserOptions.ecmaVersion to 2019 from 2018.
    • added plugins: ["node"].
    • removed a deprecated rule: [node/no-unsupported-features].
    • added three new rules:
      • [node/no-unsupported-features/es-builtins]
      • [node/no-unsupported-features/es-syntax]
      • [node/no-unsupported-features/node-builtins].
  • It updated the [node/no-deprecated-api] rule to support Node.js up to 10.6.0.
    • Note some assertion methods such as assert.equal are deprecated. Use stricter methods such as assert.strictEqual or the strict mode (assert.strict) instead.

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 Buffer or require("buffer").Buffer consistently.
  • [node/prefer-global/console] ... enforce the use of either console or require("console") consistently.
  • [node/prefer-global/process] ... enforce the use of either process or require("process") consistently.
  • [node/prefer-global/url-search-params] ... enforce the use of either URLSearchParams or require("url").URLSearchParams consistently.
  • [node/prefer-global/url] ... enforce the use of either URL or require("url").URL consistently.

Deprecated rules

  • [node/no-unsupported-features] was replaced by [node/no-unsupported-features/es-builtins] and [node/no-unsupported-features/es-syntax].
... (truncated)
Commits
  • 932836b 8.0.0
  • c849a27 Chore: update .travis.yml
  • ac4cb6e Fix: lint errors
  • ecf6b11 Chore: update .travis.yml
  • 5936718 Chore: upgrade dependencies
  • 46ed54d New: add two prefer-global rules
  • d153b93 Breaking: update no-unsupported-features/node-builtins rule
  • 5860795 Breaking: update no-deprecated-api rule
  • 044ecce Chore: fix tests to follow moving files in eslint
  • 51be232 Docs: fix url-search-params documentation (#132)
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Note: This repo was added to Dependabot recently, so you'll receive a maximum of 5 PRs for your first few update runs. Once an update run creates fewer than 5 PRs we'll remove that limit.

You can always request more updates by clicking Bump now in your Dependabot dashboard.

Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot ignore this [patch|minor|major] version will close this PR and stop Dependabot creating any more for this minor/major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
  • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in your Dependabot dashboard:

  • Update frequency (including time of day and day of week)
  • Automerge options (never/patch/minor, and dev/runtime dependencies)
  • Pull request limits (per update run and/or open at any time)
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

Finally, you can contact us by mentioning @dependabot.

@dependabot-preview dependabot-preview bot added the dependencies Pull requests that update a dependency file label Dec 19, 2018
@Turbo87 Turbo87 merged commit 92358df into master Dec 19, 2018
@dependabot-preview dependabot-preview bot deleted the dependabot/npm_and_yarn/eslint-plugin-node-8.0.0 branch December 19, 2018 08:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants