@depup/eslint-plugin-jest 29.16.2-depup.3 → 29.16.3-depup.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.
package/README.md CHANGED
@@ -13,7 +13,7 @@ npm install @depup/eslint-plugin-jest
13
13
 
14
14
  | Field | Value |
15
15
  |-------|-------|
16
- | Original | [eslint-plugin-jest](https://www.npmjs.com/package/eslint-plugin-jest) @ 29.16.2 |
16
+ | Original | [eslint-plugin-jest](https://www.npmjs.com/package/eslint-plugin-jest) @ 29.16.3 |
17
17
  | Processed | 2026-08-27 |
18
18
  | Smoke test | passed |
19
19
  | Deps updated | 1 |
package/changes.json CHANGED
@@ -5,6 +5,6 @@
5
5
  "to": "^8.68.0"
6
6
  }
7
7
  },
8
- "timestamp": "2026-08-27T01:38:06.665Z",
8
+ "timestamp": "2026-08-27T19:33:09.109Z",
9
9
  "totalUpdated": 1
10
10
  }
@@ -52,10 +52,13 @@ var _default = exports.default = (0, _utils2.createRule)({
52
52
  property
53
53
  } = object);
54
54
  }
55
- if (object.type !== _utils.AST_NODE_TYPES.Identifier || object.name !== 'module' || (0, _utils2.resolveScope)(context.sourceCode.getScope(object), 'module') !== null) {
55
+ if (object.type !== _utils.AST_NODE_TYPES.Identifier) {
56
56
  return;
57
57
  }
58
- if (property.type === _utils.AST_NODE_TYPES.Identifier && /^exports?$/u.test(property.name)) {
58
+ if ((object.name !== 'module' || (0, _utils2.resolveScope)(context.sourceCode.getScope(object), 'module') !== null) && (object.name !== 'exports' || (0, _utils2.resolveScope)(context.sourceCode.getScope(object), 'exports') !== null)) {
59
+ return;
60
+ }
61
+ if (object.name === 'exports' || property.type === _utils.AST_NODE_TYPES.Identifier && /^exports?$/u.test(property.name)) {
59
62
  exportNodes.push(node);
60
63
  }
61
64
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@depup/eslint-plugin-jest",
3
- "version": "29.16.2-depup.3",
3
+ "version": "29.16.3-depup.0",
4
4
  "description": "ESLint rules for Jest (with updated dependencies)",
5
5
  "keywords": [
6
6
  "eslint-plugin-jest",
@@ -157,8 +157,8 @@
157
157
  },
158
158
  "depsUpdated": 1,
159
159
  "originalPackage": "eslint-plugin-jest",
160
- "originalVersion": "29.16.2",
161
- "processedAt": "2026-08-27T01:38:24.704Z",
160
+ "originalVersion": "29.16.3",
161
+ "processedAt": "2026-08-27T19:33:40.635Z",
162
162
  "smokeTest": "passed"
163
163
  }
164
164
  }