eslint-plugin-jsdoc
Advanced tools
Comparing version 48.2.3 to 48.2.4
@@ -8,3 +8,3 @@ { | ||
"dependencies": { | ||
"@es-joy/jsdoccomment": "~0.42.0", | ||
"@es-joy/jsdoccomment": "~0.43.0", | ||
"are-docs-informative": "^0.0.2", | ||
@@ -21,18 +21,18 @@ "comment-parser": "1.4.1", | ||
"devDependencies": { | ||
"@babel/cli": "^7.23.9", | ||
"@babel/core": "^7.23.9", | ||
"@babel/eslint-parser": "^7.23.10", | ||
"@babel/cli": "^7.24.1", | ||
"@babel/core": "^7.24.4", | ||
"@babel/eslint-parser": "^7.24.1", | ||
"@babel/node": "^7.23.9", | ||
"@babel/plugin-syntax-class-properties": "^7.12.13", | ||
"@babel/plugin-transform-flow-strip-types": "^7.23.3", | ||
"@babel/preset-env": "^7.23.9", | ||
"@babel/plugin-transform-flow-strip-types": "^7.24.1", | ||
"@babel/preset-env": "^7.24.4", | ||
"@es-joy/escodegen": "^3.5.1", | ||
"@es-joy/jsdoc-eslint-parser": "^0.21.1", | ||
"@hkdobrev/run-if-changed": "^0.3.1", | ||
"@semantic-release/commit-analyzer": "^11.1.0", | ||
"@semantic-release/github": "^9.2.6", | ||
"@semantic-release/npm": "^11.0.2", | ||
"@types/chai": "^4.3.11", | ||
"@semantic-release/commit-analyzer": "^12.0.0", | ||
"@semantic-release/github": "^10.0.2", | ||
"@semantic-release/npm": "^12.0.0", | ||
"@types/chai": "^4.3.14", | ||
"@types/debug": "^4.1.12", | ||
"@types/eslint": "^8.56.2", | ||
"@types/eslint": "^8.56.7", | ||
"@types/esquery": "^1.5.3", | ||
@@ -43,6 +43,6 @@ "@types/estree": "^1.0.5", | ||
"@types/mocha": "^10.0.6", | ||
"@types/node": "^20.11.16", | ||
"@types/semver": "^7.5.6", | ||
"@types/node": "^20.12.5", | ||
"@types/semver": "^7.5.8", | ||
"@types/spdx-expression-parse": "^3.0.5", | ||
"@typescript-eslint/parser": "^6.21.0", | ||
"@typescript-eslint/parser": "^7.5.0", | ||
"babel-plugin-add-module-exports": "^1.0.4", | ||
@@ -55,9 +55,9 @@ "babel-plugin-istanbul": "^6.1.1", | ||
"decamelize": "^5.0.1", | ||
"eslint": "9.0.0-alpha.0", | ||
"eslint": "9.0.0", | ||
"eslint-config-canonical": "~42.8.1", | ||
"espree": "^10.0.0", | ||
"espree": "^10.0.1", | ||
"gitdown": "^3.1.5", | ||
"glob": "^10.3.10", | ||
"globals": "^13.24.0", | ||
"husky": "^9.0.10", | ||
"glob": "^10.3.12", | ||
"globals": "^15.0.0", | ||
"husky": "^9.0.11", | ||
"jsdoc-type-pratt-parser": "^4.0.0", | ||
@@ -67,7 +67,7 @@ "json-schema": "^0.4.0", | ||
"lodash.defaultsdeep": "^4.6.1", | ||
"mocha": "^10.2.0", | ||
"mocha": "^10.4.0", | ||
"open-editor": "^3.0.0", | ||
"replace": "^1.2.2", | ||
"rimraf": "^5.0.5", | ||
"semantic-release": "^23.0.0", | ||
"semantic-release": "^23.0.7", | ||
"typescript": "5.3.3" | ||
@@ -149,3 +149,3 @@ }, | ||
}, | ||
"version": "48.2.3" | ||
"version": "48.2.4" | ||
} |
@@ -1617,3 +1617,3 @@ import jsdocUtils from './jsdocUtils.js'; | ||
utils.isAsync = () => { | ||
return 'async' in /** @type {Node} */ (node) && node.async; | ||
return Boolean(node && 'async' in node && node.async); | ||
}; | ||
@@ -1620,0 +1620,0 @@ |
@@ -110,3 +110,7 @@ import iterateJsdoc from '../iterateJsdoc.js'; | ||
)) && | ||
(!exemptGenerators || !('generator' in /** @type {import('../iterateJsdoc.js').Node} */ (node)) || !node.generator) | ||
Boolean( | ||
!exemptGenerators || !node || | ||
!('generator' in /** @type {import('../iterateJsdoc.js').Node} */ (node)) || | ||
!(/** @type {import('@typescript-eslint/types').TSESTree.FunctionDeclaration} */ (node)).generator | ||
) | ||
) { | ||
@@ -113,0 +117,0 @@ report(`JSDoc @${tagName} declaration present but return expression not available in function.`); |
@@ -215,2 +215,8 @@ import iterateJsdoc from '../iterateJsdoc.js'; | ||
if (tag.tag === 'import') { | ||
// A named import will look like a type, but not be valid; we also don't | ||
// need to check the name/namepath | ||
continue; | ||
} | ||
if (tag.tag === 'borrows') { | ||
@@ -217,0 +223,0 @@ const thisNamepath = /** @type {string} */ ( |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1842586
30388
+ Added@es-joy/jsdoccomment@0.43.1(transitive)
+ Added@types/eslint@8.56.12(transitive)
+ Added@typescript-eslint/types@7.18.0(transitive)
- Removed@es-joy/jsdoccomment@0.42.0(transitive)
Updated@es-joy/jsdoccomment@~0.43.0