mysticatea/eslint-plugin-node
### [`v8.0.1`](https://togithub.com/mysticatea/eslint-plugin-node/releases/v8.0.1)
[Compare Source](https://togithub.com/mysticatea/eslint-plugin-node/compare/v8.0.0...v8.0.1)
#### 🐛 Bug fixes
- [`62ba642`](https://togithub.com/mysticatea/eslint-plugin-node/commit/62ba6425a73845c235e93d706b7d826f70853c40) fixed the wrong messages of `node/no-deprecated-api` rule ([#142](https://togithub.com/mysticatea/eslint-plugin-node/issues/142)).
- [`0225b02`](https://togithub.com/mysticatea/eslint-plugin-node/commit/0225b02d0f3f8dbf2d2d52577455bf9817e925ca)...[`0593c67`](https://togithub.com/mysticatea/eslint-plugin-node/commit/0593c67576c86b2cbf4990db38d1cc4707b2f309) fixed the false positives of `no-unpublished-(bin|import|require)` rules ([#115](https://togithub.com/mysticatea/eslint-plugin-node/issues/115), [#126](https://togithub.com/mysticatea/eslint-plugin-node/issues/126)).
### [`v8.0.0`](https://togithub.com/mysticatea/eslint-plugin-node/releases/v8.0.0)
[Compare Source](https://togithub.com/mysticatea/eslint-plugin-node/compare/v7.0.1...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`](https://togithub.com/mysticatea/eslint-plugin-node/commit/58607951356dc63cd33366282eeda98ebd587dd0) updated `node/no-deprecated-api` rule to disallow new deprecated APIs.
Especially, it includes [legacy URL API](https://nodejs.org/dist/v11.0.0/docs/api/url.html#url_legacy_url_api).
- [`d153b93`](https://togithub.com/mysticatea/eslint-plugin-node/commit/d153b93809c079b1be64aab706c14efb0da7991f) updated `node/no-unsupported-features/node-builtins` rule to detect new APIs.
#### New rules
- [`46ed54d`](https://togithub.com/mysticatea/eslint-plugin-node/commit/46ed54dc3931bbf78c6b6d0761201867c74c033f) added `node/prefer-global/text-decoder` rule for new global varaible `TextDecoder`.
- [`46ed54d`](https://togithub.com/mysticatea/eslint-plugin-node/commit/46ed54dc3931bbf78c6b6d0761201867c74c033f) added `node/prefer-global/text-encoder` rule for new global varaible `TextEncoder`.
### [`v7.0.1`](https://togithub.com/mysticatea/eslint-plugin-node/releases/v7.0.1)
[Compare Source](https://togithub.com/mysticatea/eslint-plugin-node/compare/v7.0.0...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`](https://togithub.com/mysticatea/eslint-plugin-node/releases/v7.0.0)
[Compare Source](https://togithub.com/mysticatea/eslint-plugin-node/compare/v6.0.1...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].
#### 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`](https://togithub.com/mysticatea/eslint-plugin-node/commit/5260039c77fd7e6368c1a5808f90462e5beec6f3)...[`890ee63`](https://togithub.com/mysticatea/eslint-plugin-node/commit/890ee63e98ef95ec5a27f50f42188102526d81b1)
[node/no-deprecated-api]: https://togithub.com/mysticatea/eslint-plugin-node/blob/v7.0.0/docs/rules/no-deprecated-api.md
[node/no-unsupported-features]: https://togithub.com/mysticatea/eslint-plugin-node/blob/v7.0.0/docs/rules/no-unsupported-features.md
[node/no-unsupported-features/es-builtins]: https://togithub.com/mysticatea/eslint-plugin-node/blob/v7.0.0/docs/rules/no-unsupported-features/es-builtins.md
[node/no-unsupported-features/es-syntax]: https://togithub.com/mysticatea/eslint-plugin-node/blob/v7.0.0/docs/rules/no-unsupported-features/es-syntax.md
[node/no-unsupported-features/node-builtins]: https://togithub.com/mysticatea/eslint-plugin-node/blob/v7.0.0/docs/rules/no-unsupported-features/node-builtins.md
[node/prefer-global/buffer]: https://togithub.com/mysticatea/eslint-plugin-node/blob/v7.0.0/docs/rules/prefer-global/buffer.md
[node/prefer-global/console]: https://togithub.com/mysticatea/eslint-plugin-node/blob/v7.0.0/docs/rules/prefer-global/console.md
[node/prefer-global/process]: https://togithub.com/mysticatea/eslint-plugin-node/blob/v7.0.0/docs/rules/prefer-global/process.md
[node/prefer-global/url-search-params]: https://togithub.com/mysticatea/eslint-plugin-node/blob/v7.0.0/docs/rules/prefer-global/url-search-params.md
[node/prefer-global/url]: https://togithub.com/mysticatea/eslint-plugin-node/blob/v7.0.0/docs/rules/prefer-global/url.md
[eslint-utils]: https://togithub.com/mysticatea/eslint-utils#readme
Renovate configuration
:date: Schedule: At any time (no schedule defined).
:vertical_traffic_light: Automerge: Disabled by config. Please merge this manually once you are satisfied.
:recycle: Rebasing: Whenever PR becomes conflicted, or if you modify the PR title to begin with "rebase!".
:no_bell: Ignore: Close this PR and you won't be reminded about this update again.
[ ] If you want to rebase/retry this PR, check this box
This PR has been generated by Renovate Bot. View repository job log here.
This PR contains the following updates:
6.0.1
->8.0.1
Release Notes
mysticatea/eslint-plugin-node
### [`v8.0.1`](https://togithub.com/mysticatea/eslint-plugin-node/releases/v8.0.1) [Compare Source](https://togithub.com/mysticatea/eslint-plugin-node/compare/v8.0.0...v8.0.1) #### 🐛 Bug fixes - [`62ba642`](https://togithub.com/mysticatea/eslint-plugin-node/commit/62ba6425a73845c235e93d706b7d826f70853c40) fixed the wrong messages of `node/no-deprecated-api` rule ([#142](https://togithub.com/mysticatea/eslint-plugin-node/issues/142)). - [`0225b02`](https://togithub.com/mysticatea/eslint-plugin-node/commit/0225b02d0f3f8dbf2d2d52577455bf9817e925ca)...[`0593c67`](https://togithub.com/mysticatea/eslint-plugin-node/commit/0593c67576c86b2cbf4990db38d1cc4707b2f309) fixed the false positives of `no-unpublished-(bin|import|require)` rules ([#115](https://togithub.com/mysticatea/eslint-plugin-node/issues/115), [#126](https://togithub.com/mysticatea/eslint-plugin-node/issues/126)). ### [`v8.0.0`](https://togithub.com/mysticatea/eslint-plugin-node/releases/v8.0.0) [Compare Source](https://togithub.com/mysticatea/eslint-plugin-node/compare/v7.0.1...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`](https://togithub.com/mysticatea/eslint-plugin-node/commit/58607951356dc63cd33366282eeda98ebd587dd0) updated `node/no-deprecated-api` rule to disallow new deprecated APIs. Especially, it includes [legacy URL API](https://nodejs.org/dist/v11.0.0/docs/api/url.html#url_legacy_url_api). - [`d153b93`](https://togithub.com/mysticatea/eslint-plugin-node/commit/d153b93809c079b1be64aab706c14efb0da7991f) updated `node/no-unsupported-features/node-builtins` rule to detect new APIs. #### New rules - [`46ed54d`](https://togithub.com/mysticatea/eslint-plugin-node/commit/46ed54dc3931bbf78c6b6d0761201867c74c033f) added `node/prefer-global/text-decoder` rule for new global varaible `TextDecoder`. - [`46ed54d`](https://togithub.com/mysticatea/eslint-plugin-node/commit/46ed54dc3931bbf78c6b6d0761201867c74c033f) added `node/prefer-global/text-encoder` rule for new global varaible `TextEncoder`. ### [`v7.0.1`](https://togithub.com/mysticatea/eslint-plugin-node/releases/v7.0.1) [Compare Source](https://togithub.com/mysticatea/eslint-plugin-node/compare/v7.0.0...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`](https://togithub.com/mysticatea/eslint-plugin-node/releases/v7.0.0) [Compare Source](https://togithub.com/mysticatea/eslint-plugin-node/compare/v6.0.1...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]. #### 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`](https://togithub.com/mysticatea/eslint-plugin-node/commit/5260039c77fd7e6368c1a5808f90462e5beec6f3)...[`890ee63`](https://togithub.com/mysticatea/eslint-plugin-node/commit/890ee63e98ef95ec5a27f50f42188102526d81b1) [node/no-deprecated-api]: https://togithub.com/mysticatea/eslint-plugin-node/blob/v7.0.0/docs/rules/no-deprecated-api.md [node/no-unsupported-features]: https://togithub.com/mysticatea/eslint-plugin-node/blob/v7.0.0/docs/rules/no-unsupported-features.md [node/no-unsupported-features/es-builtins]: https://togithub.com/mysticatea/eslint-plugin-node/blob/v7.0.0/docs/rules/no-unsupported-features/es-builtins.md [node/no-unsupported-features/es-syntax]: https://togithub.com/mysticatea/eslint-plugin-node/blob/v7.0.0/docs/rules/no-unsupported-features/es-syntax.md [node/no-unsupported-features/node-builtins]: https://togithub.com/mysticatea/eslint-plugin-node/blob/v7.0.0/docs/rules/no-unsupported-features/node-builtins.md [node/prefer-global/buffer]: https://togithub.com/mysticatea/eslint-plugin-node/blob/v7.0.0/docs/rules/prefer-global/buffer.md [node/prefer-global/console]: https://togithub.com/mysticatea/eslint-plugin-node/blob/v7.0.0/docs/rules/prefer-global/console.md [node/prefer-global/process]: https://togithub.com/mysticatea/eslint-plugin-node/blob/v7.0.0/docs/rules/prefer-global/process.md [node/prefer-global/url-search-params]: https://togithub.com/mysticatea/eslint-plugin-node/blob/v7.0.0/docs/rules/prefer-global/url-search-params.md [node/prefer-global/url]: https://togithub.com/mysticatea/eslint-plugin-node/blob/v7.0.0/docs/rules/prefer-global/url.md [eslint-utils]: https://togithub.com/mysticatea/eslint-utils#readmeRenovate configuration
:date: Schedule: At any time (no schedule defined).
:vertical_traffic_light: Automerge: Disabled by config. Please merge this manually once you are satisfied.
:recycle: Rebasing: Whenever PR becomes conflicted, or if you modify the PR title to begin with "
rebase!
".:no_bell: Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Renovate Bot. View repository job log here.