@es-joy/jsdoccomment
Advanced tools
Comparing version 0.39.4 to 0.40.0
# CHANGES for `@es-joy/jsdoccomment` | ||
## 0.40.0 | ||
- chore: update comment-parser and devDeps. | ||
- chore(TS): switch to NodeNext | ||
## 0.39.4 | ||
@@ -4,0 +9,0 @@ |
@@ -65,3 +65,3 @@ export type JsdocTypeLine = { | ||
* @param {object} opts | ||
* @param {boolean} [opts.throwOnTypeParsingErrors=false] | ||
* @param {boolean} [opts.throwOnTypeParsingErrors] | ||
* @returns {JsdocBlock} | ||
@@ -73,8 +73,8 @@ */ | ||
export namespace jsdocVisitorKeys { | ||
const JsdocBlock: string[]; | ||
const JsdocDescriptionLine: never[]; | ||
const JsdocTypeLine: never[]; | ||
const JsdocTag: string[]; | ||
const JsdocInlineTag: never[]; | ||
let JsdocBlock: string[]; | ||
let JsdocDescriptionLine: never[]; | ||
let JsdocTypeLine: never[]; | ||
let JsdocTag: string[]; | ||
let JsdocInlineTag: never[]; | ||
} | ||
//# sourceMappingURL=commentParserToESTree.d.ts.map |
@@ -7,7 +7,7 @@ export function hasSeeWithLink(spec: import('comment-parser').Spec): boolean; | ||
noNames?: string[] | undefined; | ||
}): import("comment-parser/lib/parser/tokenizers/index.js").Tokenizer[]; | ||
}): import("../node_modules/comment-parser/es6/parser/tokenizers/index.js").Tokenizer[]; | ||
/** | ||
* Accepts a comment token and converts it into `comment-parser` AST. | ||
* @param {{value: string}} commentNode | ||
* @param {string} [indent=""] Whitespace | ||
* @param {string} [indent] Whitespace | ||
* @returns {import('./index.js').JsdocBlockWithInline} | ||
@@ -14,0 +14,0 @@ */ |
{ | ||
"name": "@es-joy/jsdoccomment", | ||
"version": "0.39.4", | ||
"version": "0.40.0", | ||
"author": "Brett Zamir <brettz9@yahoo.com>", | ||
@@ -46,3 +46,3 @@ "contributors": [], | ||
"dependencies": { | ||
"comment-parser": "1.3.1", | ||
"comment-parser": "1.4.0", | ||
"esquery": "^1.5.0", | ||
@@ -52,19 +52,19 @@ "jsdoc-type-pratt-parser": "~4.0.0" | ||
"devDependencies": { | ||
"@babel/core": "^7.21.8", | ||
"@babel/core": "^7.22.9", | ||
"@babel/plugin-syntax-class-properties": "^7.12.13", | ||
"@babel/preset-env": "^7.21.5", | ||
"@babel/preset-env": "^7.22.9", | ||
"@brettz9/eslint-plugin": "^1.0.4", | ||
"@rollup/plugin-babel": "^6.0.3", | ||
"@types/chai": "^4.3.5", | ||
"@types/eslint": "^8.37.0", | ||
"@types/esquery": "^1.0.2", | ||
"@types/eslint": "^8.44.1", | ||
"@types/esquery": "^1.5.0", | ||
"@types/estraverse": "^5.1.2", | ||
"@types/estree": "^1.0.1", | ||
"@types/mocha": "^10.0.1", | ||
"@typescript-eslint/types": "^5.59.5", | ||
"c8": "^7.13.0", | ||
"@typescript-eslint/types": "^6.2.1", | ||
"c8": "^8.0.1", | ||
"chai": "^4.3.7", | ||
"eslint": "^8.40.0", | ||
"eslint-config-ash-nazg": "34.12.0", | ||
"eslint-config-standard": "^17.0.0", | ||
"eslint": "^8.46.0", | ||
"eslint-config-ash-nazg": "34.15.0", | ||
"eslint-config-standard": "^17.1.0", | ||
"eslint-plugin-array-func": "^3.1.8", | ||
@@ -74,16 +74,16 @@ "eslint-plugin-compat": "^4.1.4", | ||
"eslint-plugin-html": "^7.1.0", | ||
"eslint-plugin-import": "^2.27.5", | ||
"eslint-plugin-jsdoc": "^44.2.2", | ||
"eslint-plugin-markdown": "^3.0.0", | ||
"eslint-plugin-n": "^15.7.0", | ||
"eslint-plugin-import": "^2.28.0", | ||
"eslint-plugin-jsdoc": "^46.4.5", | ||
"eslint-plugin-markdown": "^3.0.1", | ||
"eslint-plugin-n": "^16.0.1", | ||
"eslint-plugin-no-unsanitized": "^4.0.2", | ||
"eslint-plugin-no-use-extend-native": "^0.5.0", | ||
"eslint-plugin-promise": "^6.1.1", | ||
"eslint-plugin-sonarjs": "^0.19.0", | ||
"eslint-plugin-unicorn": "^47.0.0", | ||
"espree": "^9.5.2", | ||
"eslint-plugin-sonarjs": "^0.20.0", | ||
"eslint-plugin-unicorn": "^48.0.1", | ||
"espree": "^9.6.1", | ||
"estraverse": "^5.3.0", | ||
"mocha": "^10.2.0", | ||
"rollup": "^3.21.6", | ||
"typescript": "^5.0.4" | ||
"rollup": "^3.27.2", | ||
"typescript": "^5.1.6" | ||
}, | ||
@@ -90,0 +90,0 @@ "scripts": { |
@@ -34,3 +34,3 @@ import esquery from 'esquery'; | ||
_ast | ||
), selector, null, { | ||
), selector, undefined, { | ||
visitorKeys: { | ||
@@ -37,0 +37,0 @@ ...jsdocTypePrattParserVisitorKeys, |
@@ -131,3 +131,3 @@ import {parse as jsdocTypePrattParse} from 'jsdoc-type-pratt-parser'; | ||
* @param {object} opts | ||
* @param {boolean} [opts.throwOnTypeParsingErrors=false] | ||
* @param {boolean} [opts.throwOnTypeParsingErrors] | ||
* @returns {JsdocBlock} | ||
@@ -134,0 +134,0 @@ */ |
@@ -0,1 +1,2 @@ | ||
/* eslint-disable jsdoc/imports-as-dependencies -- https://github.com/gajus/eslint-plugin-jsdoc/issues/1114 */ | ||
/** | ||
@@ -2,0 +3,0 @@ * Obtained originally from {@link https://github.com/eslint/eslint/blob/master/lib/util/source-code.js#L313}. |
@@ -133,3 +133,3 @@ /* eslint-disable prefer-named-capture-group -- Temporary */ | ||
* @param {{value: string}} commentNode | ||
* @param {string} [indent=""] Whitespace | ||
* @param {string} [indent] Whitespace | ||
* @returns {import('./index.js').JsdocBlockWithInline} | ||
@@ -136,0 +136,0 @@ */ |
@@ -1,2 +0,1 @@ | ||
/** | ||
@@ -3,0 +2,0 @@ * @param {RegExpMatchArray & { |
{ | ||
"compilerOptions": { | ||
"lib": ["es2022"], | ||
"moduleResolution": "node", | ||
"moduleResolution": "NodeNext", | ||
"module": "NodeNext", | ||
@@ -6,0 +6,0 @@ "allowJs": true, |
{ | ||
"compilerOptions": { | ||
"lib": ["es2022"], | ||
"moduleResolution": "node", | ||
"moduleResolution": "NodeNext", | ||
"module": "NodeNext", | ||
@@ -6,0 +6,0 @@ "allowJs": true, |
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
111309
2610
+ Addedcomment-parser@1.4.0(transitive)
- Removedcomment-parser@1.3.1(transitive)
Updatedcomment-parser@1.4.0