@depup/eslint-plugin-jsdoc 64.3.3-depup.0 → 64.3.4-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,8 +13,8 @@ npm install @depup/eslint-plugin-jsdoc
13
13
 
14
14
  | Field | Value |
15
15
  |-------|-------|
16
- | Original | [eslint-plugin-jsdoc](https://www.npmjs.com/package/eslint-plugin-jsdoc) @ 64.3.3 |
17
- | Processed | 2026-09-01 |
16
+ | Original | [eslint-plugin-jsdoc](https://www.npmjs.com/package/eslint-plugin-jsdoc) @ 64.3.4 |
17
+ | Processed | 2026-09-02 |
18
18
  | Smoke test | passed |
19
19
  | Deps updated | 2 |
20
20
 
package/changes.json CHANGED
@@ -9,6 +9,6 @@
9
9
  "to": "^8.69.0"
10
10
  }
11
11
  },
12
- "timestamp": "2026-09-01T00:40:40.623Z",
12
+ "timestamp": "2026-09-02T00:33:20.653Z",
13
13
  "totalUpdated": 2
14
14
  }
package/package.json CHANGED
@@ -162,7 +162,7 @@
162
162
  "test-cov": "TIMING=1 c8 --reporter text pnpm run test-no-cov",
163
163
  "test-index": "pnpm run test-no-cov test/rules/index.js"
164
164
  },
165
- "version": "64.3.3-depup.0",
165
+ "version": "64.3.4-depup.0",
166
166
  "depup": {
167
167
  "changes": {
168
168
  "@es-joy/jsdoccomment": {
@@ -176,8 +176,8 @@
176
176
  },
177
177
  "depsUpdated": 2,
178
178
  "originalPackage": "eslint-plugin-jsdoc",
179
- "originalVersion": "64.3.3",
180
- "processedAt": "2026-09-01T00:41:05.665Z",
179
+ "originalVersion": "64.3.4",
180
+ "processedAt": "2026-09-02T00:33:49.226Z",
181
181
  "smokeTest": "passed"
182
182
  }
183
183
  }
@@ -2338,6 +2338,13 @@ const iterateAllJsdocs = (iterator, ruleConfig, contexts, additiveCommentContext
2338
2338
  // @ts-expect-error ESLint < 10
2339
2339
  sourceCode = context.getSourceCode(),
2340
2340
  } = context;
2341
+
2342
+ // Custom languages provide their own `SourceCode` implementations.
2343
+ // JSDoc traversal requires the JavaScript token API.
2344
+ if (typeof sourceCode.getTokenBefore !== 'function') {
2345
+ return {};
2346
+ }
2347
+
2341
2348
  settings = getSettings(context);
2342
2349
  if (!settings) {
2343
2350
  return {};