@microsoft/tsdoc
Advanced tools
Comparing version 0.9.0 to 0.9.1
@@ -5,2 +5,14 @@ { | ||
{ | ||
"version": "0.9.1", | ||
"tag": "@microsoft/tsdoc_v0.9.1", | ||
"date": "Wed, 17 Oct 2018 12:49:01 GMT", | ||
"comments": { | ||
"patch": [ | ||
{ | ||
"comment": "Fix a regression where the paragraph splitter was sometimes skipping blocks" | ||
} | ||
] | ||
} | ||
}, | ||
{ | ||
"version": "0.9.0", | ||
@@ -7,0 +19,0 @@ "tag": "@microsoft/tsdoc_v0.9.0", |
# Change Log - @microsoft/tsdoc | ||
This log was last generated on Wed, 17 Oct 2018 04:47:19 GMT and should not be manually modified. | ||
This log was last generated on Wed, 17 Oct 2018 12:49:01 GMT and should not be manually modified. | ||
## 0.9.1 | ||
Wed, 17 Oct 2018 12:49:01 GMT | ||
### Patches | ||
- Fix a regression where the paragraph splitter was sometimes skipping blocks | ||
## 0.9.0 | ||
@@ -6,0 +13,0 @@ Wed, 17 Oct 2018 04:47:19 GMT |
@@ -1,2 +0,2 @@ | ||
import { DocComment, DocSection } from '../nodes'; | ||
import { DocSection, DocNode } from '../nodes'; | ||
/** | ||
@@ -14,5 +14,5 @@ * The ParagraphSplitter is a secondary stage that runs after the NodeParser has constructed | ||
/** | ||
* Split all paragraphs belonging to the provided DocComment. | ||
* Split all paragraphs belonging to the provided subtree. | ||
*/ | ||
static splitParagraphs(docComment: DocComment): void; | ||
static splitParagraphs(node: DocNode): void; | ||
/** | ||
@@ -19,0 +19,0 @@ * Split all paragraphs belonging to the provided DocSection. |
@@ -17,9 +17,13 @@ "use strict"; | ||
/** | ||
* Split all paragraphs belonging to the provided DocComment. | ||
* Split all paragraphs belonging to the provided subtree. | ||
*/ | ||
ParagraphSplitter.splitParagraphs = function (docComment) { | ||
for (var _i = 0, _a = docComment.getChildNodes(); _i < _a.length; _i++) { | ||
var node = _a[_i]; | ||
if (node instanceof nodes_1.DocSection) { | ||
ParagraphSplitter.splitParagraphsForSection(node); | ||
ParagraphSplitter.splitParagraphs = function (node) { | ||
if (node instanceof nodes_1.DocSection) { | ||
ParagraphSplitter.splitParagraphsForSection(node); | ||
// (We don't recurse here, since sections cannot contain subsections) | ||
} | ||
else { | ||
for (var _i = 0, _a = node.getChildNodes(); _i < _a.length; _i++) { | ||
var childNode = _a[_i]; | ||
ParagraphSplitter.splitParagraphs(childNode); | ||
} | ||
@@ -26,0 +30,0 @@ } |
{ | ||
"name": "@microsoft/tsdoc", | ||
"version": "0.9.0", | ||
"version": "0.9.1", | ||
"description": "A parser for the TypeScript doc comment syntax", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
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
533056
9408