@es-joy/jsdoccomment
Advanced tools
Comparing version 0.40.0 to 0.40.1
# CHANGES for `@es-joy/jsdoccomment` | ||
## 0.40.1 | ||
- chore(TS): fix path issue | ||
## 0.40.0 | ||
@@ -4,0 +8,0 @@ |
export function hasSeeWithLink(spec: import('comment-parser').Spec): boolean; | ||
export const defaultNoTypes: string[]; | ||
export const defaultNoNames: string[]; | ||
/** | ||
* Can't import `comment-parser/es6/parser/tokenizers/index.js`, | ||
* so we redefine here. | ||
*/ | ||
export type CommentParserTokenizer = (spec: import('comment-parser').Spec) => import('comment-parser').Spec; | ||
/** | ||
* Can't import `comment-parser/es6/parser/tokenizers/index.js`, | ||
* so we redefine here. | ||
* @typedef {(spec: import('comment-parser').Spec) => | ||
* import('comment-parser').Spec} CommentParserTokenizer | ||
*/ | ||
/** | ||
* @param {object} [cfg] | ||
* @param {string[]} [cfg.noTypes] | ||
* @param {string[]} [cfg.noNames] | ||
* @returns {CommentParserTokenizer[]} | ||
*/ | ||
export function getTokenizers({ noTypes, noNames }?: { | ||
noTypes?: string[] | undefined; | ||
noNames?: string[] | undefined; | ||
}): import("../node_modules/comment-parser/es6/parser/tokenizers/index.js").Tokenizer[]; | ||
} | undefined): CommentParserTokenizer[]; | ||
/** | ||
@@ -9,0 +26,0 @@ * Accepts a comment token and converts it into `comment-parser` AST. |
{ | ||
"name": "@es-joy/jsdoccomment", | ||
"version": "0.40.0", | ||
"version": "0.40.1", | ||
"author": "Brett Zamir <brettz9@yahoo.com>", | ||
@@ -5,0 +5,0 @@ "contributors": [], |
@@ -48,2 +48,15 @@ /* eslint-disable prefer-named-capture-group -- Temporary */ | ||
/** | ||
* Can't import `comment-parser/es6/parser/tokenizers/index.js`, | ||
* so we redefine here. | ||
* @typedef {(spec: import('comment-parser').Spec) => | ||
* import('comment-parser').Spec} CommentParserTokenizer | ||
*/ | ||
/** | ||
* @param {object} [cfg] | ||
* @param {string[]} [cfg.noTypes] | ||
* @param {string[]} [cfg.noNames] | ||
* @returns {CommentParserTokenizer[]} | ||
*/ | ||
const getTokenizers = ({ | ||
@@ -50,0 +63,0 @@ noTypes = defaultNoTypes, |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
112683
2651