@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 +2 -2
- package/changes.json +1 -1
- package/package.json +3 -3
- package/src/iterateJsdoc.js +7 -0
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.
|
|
17
|
-
| Processed | 2026-09-
|
|
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
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.
|
|
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.
|
|
180
|
-
"processedAt": "2026-09-
|
|
179
|
+
"originalVersion": "64.3.4",
|
|
180
|
+
"processedAt": "2026-09-02T00:33:49.226Z",
|
|
181
181
|
"smokeTest": "passed"
|
|
182
182
|
}
|
|
183
183
|
}
|
package/src/iterateJsdoc.js
CHANGED
|
@@ -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 {};
|