eslint-plugin-n 17.19.0 → 17.20.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -120,7 +120,9 @@ module.exports = {
120
120
  ":function:exit"() {
121
121
  functionDepth--
122
122
  },
123
- "AwaitExpression, ForOfStatement[await=true]"(node) {
123
+ "AwaitExpression, ForOfStatement[await=true], VariableDeclaration[kind='await using']"(
124
+ node
125
+ ) {
124
126
  if (functionDepth > 0) {
125
127
  // not top-level
126
128
  return
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eslint-plugin-n",
3
- "version": "17.19.0",
3
+ "version": "17.20.0",
4
4
  "description": "Additional ESLint's rules for Node.js",
5
5
  "engines": {
6
6
  "node": "^18.18.0 || ^20.9.0 || >=21.1.0"