zold-io / zold.github.io

Zold website and JavaScript assets
https://www.zold.io
16 stars 4 forks source link

Update dependency eslint-plugin-node to v11 #141

Open renovate[bot] opened 1 year ago

renovate[bot] commented 1 year ago

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
eslint-plugin-node ^8.0.1 -> ^11.0.0 age adoption passing confidence

Release Notes

mysticatea/eslint-plugin-node (eslint-plugin-node) ### [`v11.1.0`](https://redirect.github.com/mysticatea/eslint-plugin-node/releases/tag/v11.1.0) [Compare Source](https://redirect.github.com/mysticatea/eslint-plugin-node/compare/v11.0.0...v11.1.0) 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`](https://redirect.github.com/mysticatea/eslint-plugin-node/commit/8788a11e01904f394b6c438dcb218704d449c09c) added ten rules from the ESLint core: - [node/callback-return] rule that corresponds to [callback-return] rule. - [node/global-require] rule that corresponds to [global-require] rule. - [node/handle-callback-err] rule that corresponds to [handle-callback-err] rule. - [node/no-mixed-requires] rule that corresponds to [no-mixed-requires] rule. - [node/no-new-require] rule that corresponds to [no-new-require] rule. - [node/no-path-concat] rule that corresponds to [no-path-concat] rule, plus this recognizes template literals as well. - [node/no-process-env] rule that corresponds to [no-process-env] rule. - [node/no-process-exit] rule that corresponds to [no-process-exit] rule. - [node/no-restricted-require] rule that corresponds to [no-restricted-modules] rule, but this has simplified options. - [node/no-sync] rule that corresponds to [no-sync] rule. - [`ade0b59`](https://redirect.github.com/mysticatea/eslint-plugin-node/commit/ade0b59b3bdb8671196eb5b51fdab28acc87800b) added [node/no-restricted-import] rule that is ES modules version of [node/no-restricted-require] rule. [callback-return]: https://eslint.org/docs/rules/callback-return [global-require]: https://eslint.org/docs/rules/global-require [handle-callback-err]: https://eslint.org/docs/rules/handle-callback-err [no-mixed-requires]: https://eslint.org/docs/rules/no-mixed-requires [no-new-require]: https://eslint.org/docs/rules/no-new-require [no-path-concat]: https://eslint.org/docs/rules/no-path-concat [no-process-env]: https://eslint.org/docs/rules/no-process-env [no-process-exit]: https://eslint.org/docs/rules/no-process-exit [no-restricted-modules]: https://eslint.org/docs/rules/no-restricted-modules [no-sync]: https://eslint.org/docs/rules/no-sync [node/callback-return]: https://redirect.github.com/mysticatea/eslint-plugin-node/blob/v11.1.0/docs/rules/callback-return.md [node/global-require]: https://redirect.github.com/mysticatea/eslint-plugin-node/blob/v11.1.0/docs/rules/global-require.md [node/handle-callback-err]: https://redirect.github.com/mysticatea/eslint-plugin-node/blob/v11.1.0/docs/rules/handle-callback-err.md [node/no-mixed-requires]: https://redirect.github.com/mysticatea/eslint-plugin-node/blob/v11.1.0/docs/rules/no-mixed-requires.md [node/no-new-require]: https://redirect.github.com/mysticatea/eslint-plugin-node/blob/v11.1.0/docs/rules/no-new-require.md [node/no-path-concat]: https://redirect.github.com/mysticatea/eslint-plugin-node/blob/v11.1.0/docs/rules/no-path-concat.md [node/no-process-env]: https://redirect.github.com/mysticatea/eslint-plugin-node/blob/v11.1.0/docs/rules/no-process-env.md [node/no-process-exit]: https://redirect.github.com/mysticatea/eslint-plugin-node/blob/v11.1.0/docs/rules/no-process-exit.md [node/no-restricted-import]: https://redirect.github.com/mysticatea/eslint-plugin-node/blob/v11.1.0/docs/rules/no-restricted-import.md [node/no-restricted-require]: https://redirect.github.com/mysticatea/eslint-plugin-node/blob/v11.1.0/docs/rules/no-restricted-require.md [node/no-sync]: https://redirect.github.com/mysticatea/eslint-plugin-node/blob/v11.1.0/docs/rules/no-sync.md ### [`v11.0.0`](https://redirect.github.com/mysticatea/eslint-plugin-node/releases/tag/v11.0.0) [Compare Source](https://redirect.github.com/mysticatea/eslint-plugin-node/compare/v10.0.0...v11.0.0) ##### πŸ’₯ Breaking changes - [`b6cb9a0`](https://redirect.github.com/mysticatea/eslint-plugin-node/commit/b6cb9a071a7177ad625cde07541b9d2f31aab35b) updated `node/no-unsupported-features/node-builtins` rule based on Node.js 13.2.0. - [`fb9ce15`](https://redirect.github.com/mysticatea/eslint-plugin-node/commit/fb9ce15fb6d465f2cead242a5daae2599ce90142) updated `node/no-unsupported-features/es-syntax` rule to recognize BigInt literal property names. - [`4295f6a`](https://redirect.github.com/mysticatea/eslint-plugin-node/commit/4295f6a45635ab61c53a8d51c19e1858a208492d) updated the rules that check global variables to recognize `globalThis.*`. - [`04051ed`](https://redirect.github.com/mysticatea/eslint-plugin-node/commit/04051edfe3aa8cdb9f1aa87bbd4130021f767174) updated `node/no-unsupported-features/es-builtins` rule to recognize `globalThis`. ##### ✨ Enhancements - [`276a9ad`](https://redirect.github.com/mysticatea/eslint-plugin-node/commit/276a9ad0fa8d6db224aae6fe6d35146a3fac9377) updated `node/no-deprecated-api` rule to allow revoked deprecations. - [`972f828`](https://redirect.github.com/mysticatea/eslint-plugin-node/commit/972f828d3134a9d3ec426cb11aa1cd9f66b657a2) updated `node/no-unsupported-features/node-builtins` rule to handle backporting properly. ##### πŸ› Bug fixes - [`4f74fbf`](https://redirect.github.com/mysticatea/eslint-plugin-node/commit/4f74fbf3d674ab9104880954af86f40acd88fb8e) fixed a crash bug around dynamic import syntax. ### [`v10.0.0`](https://redirect.github.com/mysticatea/eslint-plugin-node/releases/tag/v10.0.0) [Compare Source](https://redirect.github.com/mysticatea/eslint-plugin-node/compare/v9.2.0...v10.0.0) This release supports BigInt and Dynamic Imports if you are using ESLint 6.2.0 or later. #### πŸ’₯ Breaking Changes - [`9ea67c9`](https://redirect.github.com/mysticatea/eslint-plugin-node/commit/9ea67c9e130c3da5f1ce9edc67241e1803db9264) updated `node/no-unsupported-features/es-syntax` rule to recognize BigInt literals and `import()`. - [`b91b48d`](https://redirect.github.com/mysticatea/eslint-plugin-node/commit/b91b48df112426b2eb86479e4841f7008ac7cdaf) updated `node/no-unsupported-features/es-builtins` rule to recognize `BigInt`, `BigInt64Array`, `BigUint64Array`, and `Promise.allSettled`. - [`b57a4f9`](https://redirect.github.com/mysticatea/eslint-plugin-node/commit/b57a4f97dcc6ea46e3b7aa8f7e25ab59a3357375) updated `node/file-extension-in-import`, `node/no-extraneous-import`, `node/no-missing-import`, and `node/no-unpublished-import` rules to recognize `import()`. - [`4b9c4d7`](https://redirect.github.com/mysticatea/eslint-plugin-node/commit/4b9c4d7d5deb9b66a6f37c0a440131500e51624f) updated `node/no-deprecated-api` rule to recognize `module.createRequireFromPath`. - [`9c574ba`](https://redirect.github.com/mysticatea/eslint-plugin-node/commit/9c574ba29390cd5f793885d956c1c89a6d30a7d5) updated `plugin:node/recommended` and the other configs. - It added `node/no-exports-assign` rule. - It changed `exports` global variable writable. - It enabled `node/*-import` rules in CommonJS mode as well. #### ✨ New rules - [`a0f0ee1`](https://redirect.github.com/mysticatea/eslint-plugin-node/commit/a0f0ee1efa860aa1633a7d84e73247e09a950b0b) added `node/no-exports-assign` rule that disallows `exports = {}`. ### [`v9.2.0`](https://redirect.github.com/mysticatea/eslint-plugin-node/releases/tag/v9.2.0) [Compare Source](https://redirect.github.com/mysticatea/eslint-plugin-node/compare/v9.1.0...v9.2.0) #### ✨ New Rules - [`c1d5dbf`](https://redirect.github.com/mysticatea/eslint-plugin-node/commit/c1d5dbfbd01e1d2483fc3b970bc2ab2d61580db6) added a new rule `no-callback-literal`. #### πŸ› Bug Fixes - [`72de3a3`](https://redirect.github.com/mysticatea/eslint-plugin-node/commit/72de3a30a1d66414eaff3603ddc74628967a9ea3) updated `eslint-utils` for security fix. ### [`v9.1.0`](https://redirect.github.com/mysticatea/eslint-plugin-node/releases/tag/v9.1.0) [Compare Source](https://redirect.github.com/mysticatea/eslint-plugin-node/compare/v9.0.1...v9.1.0) #### ✨ Features - [`fd9d19d`](https://redirect.github.com/mysticatea/eslint-plugin-node/commit/fd9d19d369fcea13518ca97b669b9e358cd137a8) updated `no-deprecated-api` to not suggest alternative APIs if it has not supported on configured Node.js version. Thank you, [@​Lalem001](https://redirect.github.com/Lalem001) ! #### πŸ› Bug Fixes - [`e5aee3c`](https://redirect.github.com/mysticatea/eslint-plugin-node/commit/e5aee3c86d0f33788c9a11f9c3e01d8083291513) updated `semver` package to not crash on wildcard `*` version range. ### [`v9.0.1`](https://redirect.github.com/mysticatea/eslint-plugin-node/releases/tag/v9.0.1) [Compare Source](https://redirect.github.com/mysticatea/eslint-plugin-node/compare/v9.0.0...v9.0.1) #### πŸ› Bug Fixes - [`dfb4dc0`](https://redirect.github.com/mysticatea/eslint-plugin-node/commit/dfb4dc0202a9f9eb106b4dddb6c0f0205fabaff6) fixed the false positive of `node/file-extension-in-import` rule on scoped packages ([#​160](https://redirect.github.com/mysticatea/eslint-plugin-node/issues/160)). ### [`v9.0.0`](https://redirect.github.com/mysticatea/eslint-plugin-node/releases/tag/v9.0.0) [Compare Source](https://redirect.github.com/mysticatea/eslint-plugin-node/compare/v8.0.1...v9.0.0) Update for Node.js v12 :tada: #### πŸ’₯ Breaking Changes - [`c95b2fd`](https://redirect.github.com/mysticatea/eslint-plugin-node/commit/c95b2fd5959756d53c011fa1136ad9499154bfc6) dropped Node.js 6 support because of End-of-Life. - [`fe2343f`](https://redirect.github.com/mysticatea/eslint-plugin-node/commit/fe2343f2afda7931d3a980858388be4d8bf0a31b) dropped ESLint 4 support. New supported versions are `^5.16.0` and `>=6.0.0`. - [`7e0c2c5`](https://redirect.github.com/mysticatea/eslint-plugin-node/commit/7e0c2c5fa547598132441be57279e092517af08e) updated [node/no-deprecated-api] rule to check new deprecated APIs in Node.js 12. - [`5d79f2d`](https://redirect.github.com/mysticatea/eslint-plugin-node/commit/5d79f2d24bd147f35a8e3f3d906b4567270acaab) updated [node/no-unsupported-features/node-builtins] rule to recognize new APIs in Node.js 12. - [`02d61cf`](https://redirect.github.com/mysticatea/eslint-plugin-node/commit/02d61cfcc1201550945a477c8fcf95572d7b6fec) updated [node/no-unsupported-features/es-builtins] rule to recognize new APIs in Node.js 12. - [`b94731a`](https://redirect.github.com/mysticatea/eslint-plugin-node/commit/b94731af0b89c9f0e0ca11298a1cbea40c5dacf0) updated the rules for `require()` such as [node/no-missing-require] rule to check `require.resolve()` as well. - [`2061413`](https://redirect.github.com/mysticatea/eslint-plugin-node/commit/206141312ae7f1f2177393d55228da09da6573a4) updated `plugin:node/recommended` preset. #### ✨ New Rules - [`a3e0e29`](https://redirect.github.com/mysticatea/eslint-plugin-node/commit/a3e0e29b2ef03db2e597064a066bdbbd3ce734f5) added [node/file-extension-in-import] rule which enforce the style of file extensions. - [`e41a1e0`](https://redirect.github.com/mysticatea/eslint-plugin-node/commit/e41a1e08729430edca550636437738529721d286) added [node/prefer-promises/dns] rule and [node/prefer-promises/fs] rule which enforce to use Promise API instead of Callback API. [node/no-deprecated-api]: https://redirect.github.com/mysticatea/eslint-plugin-node/blob/v9.0.0/docs/rules/no-deprecated-api.md [node/no-unsupported-features/node-builtins]: https://redirect.github.com/mysticatea/eslint-plugin-node/blob/v9.0.0/docs/rules/no-unsupported-features/node-builtins.md [node/no-unsupported-features/es-builtins]: https://redirect.github.com/mysticatea/eslint-plugin-node/blob/v9.0.0/docs/rules/no-unsupported-features/es-builtins.md [node/no-missing-require]: https://redirect.github.com/mysticatea/eslint-plugin-node/blob/v9.0.0/docs/rules/no-missing-require.md [node/file-extension-in-import]: https://redirect.github.com/mysticatea/eslint-plugin-node/blob/v9.0.0/docs/rules/file-extension-in-import.md [node/prefer-promises/dns]: https://redirect.github.com/mysticatea/eslint-plugin-node/blob/v9.0.0/docs/rules/prefer-promises/dns.md [node/prefer-promises/fs]: https://redirect.github.com/mysticatea/eslint-plugin-node/blob/v9.0.0/docs/rules/prefer-promises/fs.md

Configuration

πŸ“… Schedule: Branch creation - At any time (no schedule defined), Automerge - 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 was generated by Mend Renovate. View the repository job log.

0crat commented 1 year ago

@renovate/z[bot] this pull request is too small, just 2 lines changed (less than 10), there will be no formal code review, see Β§53 and Β§28; in the future, try to make sure your pull requests are not too small; @yegor256/z please review this and merge or reject

yegor256 commented 1 month ago

@rultor please, try to merge

rultor commented 1 month ago

@rultor please, try to merge

@yegor256 OK, I'll try to merge now. You can check the progress of the merge here.

rultor commented 1 month ago

@rultor please, try to merge

@renovate[bot] @yegor256 Oops, I failed. You can see the full log here (spent 1min).

From github.com:zold-io/zold.github.io
 * [new branch]      gh-pages               -> fork/gh-pages
 * [new branch]      master                 -> fork/master
 * [new branch]      renovate/actions-checkout-4.x -> fork/renovate/actions-checkout-4.x
 * [new branch]      renovate/eslint-config-google-0.x -> fork/renovate/eslint-config-google-0.x
 * [new branch]      renovate/eslint-config-standard-17.x -> fork/renovate/eslint-config-standard-17.x
 * [new branch]      renovate/eslint-plugin-node-11.x -> fork/renovate/eslint-plugin-node-11.x
 * [new branch]      renovate/grunt-cli-1.x -> fork/renovate/grunt-cli-1.x
 * [new branch]      renovate/grunt-contrib-clean-1.x -> fork/renovate/grunt-contrib-clean-1.x
 * [new branch]      renovate/grunt-contrib-clean-2.x -> fork/renovate/grunt-contrib-clean-2.x
 * [new branch]      renovate/grunt-contrib-compress-2.x -> fork/renovate/grunt-contrib-compress-2.x
 * [new branch]      renovate/node-gyp-9.x  -> fork/renovate/node-gyp-9.x
 * [new branch]      renovate/npm-9.x       -> fork/renovate/npm-9.x
+ args=
+ '[' default == default ']'
+ args=' --ff'
+ '[' default == no ']'
+ '[' default == only ']'
+ export BRANCH=__rultor
+ BRANCH=__rultor
++ wc -l
++ git show-branch __rultor
+ '[' 0 -gt 0 ']'
+ git status
On branch master
Your branch is up to date with 'origin/master'.

nothing to commit, working tree clean
+ git checkout -B __rultor fork/renovate/eslint-plugin-node-11.x
Switched to a new branch '__rultor'
Branch '__rultor' set up to track remote branch 'renovate/eslint-plugin-node-11.x' from 'fork'.
+ git checkout -B master origin/master
Switched to and reset branch 'master'
Branch 'master' set up to track remote branch 'master' from 'origin'.
Your branch is up to date with 'origin/master'.
+ '[' false == true ']'
+ '[' false == true ']'
+ git merge --ff __rultor
Merge made by the 'ort' strategy.
 package.json | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
+ docker_when_possible
+ true
++ tail -n 1
++ sed 's/ /\n/g'
++ uptime
+ load=0.20
++ bc
++ echo 0.20 '>' 30
+ '[' 0 -eq 1 ']'
+ echo 'load average is 0.20, low enough to run a new Docker container'
load average is 0.20, low enough to run a new Docker container
+ break
+ cd ..
+ '[' -n '' ']'
+ use_image=yegor256/blog
+ docker pull yegor256/blog
Using default tag: latest
Error response from daemon: pull access denied for yegor256/blog, repository does not exist or may require 'docker login': denied: requested access to the resource is denied
'cid' file is absent, most probably the Docker container wasn't started correctly