@es-joy/jsdoccomment
Advanced tools
Comparing version 0.39.2 to 0.39.3
# CHANGES for `@es-joy/jsdoccomment` | ||
## 0.39.3 | ||
- fix: add type details for Node range and settings | ||
## 0.39.2 | ||
@@ -4,0 +8,0 @@ |
export type Token = import('eslint').AST.Token | import('estree').Comment | { | ||
type: import('eslint').AST.TokenType | "Line" | "Block" | "Shebang"; | ||
range: [number, number]; | ||
value: string; | ||
@@ -23,3 +24,3 @@ }; | ||
* the comment for. | ||
* @param {{maxLines: int, minLines: int}} settings The | ||
* @param {{maxLines: int, minLines: int, [name: string]: any}} settings The | ||
* settings in context | ||
@@ -32,2 +33,3 @@ * @returns {Token|null} The Block comment | ||
export function getJSDocComment(sourceCode: import('eslint').SourceCode, node: import('eslint').Rule.Node, settings: { | ||
[name: string]: any; | ||
maxLines: int; | ||
@@ -59,3 +61,3 @@ minLines: int; | ||
* @param {import('eslint').SourceCode} sourceCode | ||
* @param {{maxLines: int, minLines: int}} settings | ||
* @param {{maxLines: int, minLines: int, [name: string]: any}} settings | ||
* @returns {Token|null} The Block comment token containing the JSDoc comment | ||
@@ -66,2 +68,3 @@ * for the given node or null if not found. | ||
export function findJSDocComment(astNode: import('eslint').Rule.Node, sourceCode: import('eslint').SourceCode, settings: { | ||
[name: string]: any; | ||
maxLines: int; | ||
@@ -68,0 +71,0 @@ minLines: int; |
{ | ||
"name": "@es-joy/jsdoccomment", | ||
"version": "0.39.2", | ||
"version": "0.39.3", | ||
"author": "Brett Zamir <brettz9@yahoo.com>", | ||
@@ -5,0 +5,0 @@ "contributors": [], |
@@ -10,2 +10,3 @@ /** | ||
* type: import('eslint').AST.TokenType|"Line"|"Block"|"Shebang", | ||
* range: [number, number], | ||
* value: string | ||
@@ -277,3 +278,3 @@ * }} Token | ||
* @param {import('eslint').SourceCode} sourceCode | ||
* @param {{maxLines: int, minLines: int}} settings | ||
* @param {{maxLines: int, minLines: int, [name: string]: any}} settings | ||
* @returns {Token|null} The Block comment token containing the JSDoc comment | ||
@@ -341,3 +342,3 @@ * for the given node or null if not found. | ||
* the comment for. | ||
* @param {{maxLines: int, minLines: int}} settings The | ||
* @param {{maxLines: int, minLines: int, [name: string]: any}} settings The | ||
* settings in context | ||
@@ -344,0 +345,0 @@ * @returns {Token|null} The Block comment |
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
109790
2596