extract-comments
Advanced tools
Comparing version 0.7.2 to 0.7.3
@@ -58,3 +58,3 @@ /*! | ||
o.begin = b = i; | ||
o.after = ''; | ||
o.code = ''; | ||
o.content = ''; | ||
@@ -79,9 +79,8 @@ } | ||
} | ||
o.after += line + '\n'; | ||
o.code += line + '\n'; | ||
afterCount++; | ||
} | ||
if (b && o.after !== '') { | ||
o.after = o.after.trim().split('\n')[0]; | ||
comments[b].blocks = comments[b].content.split('\n\n'); | ||
if (b && o.code !== '') { | ||
o.code = o.code.trim(); | ||
@@ -88,0 +87,0 @@ // callback |
{ | ||
"name": "extract-comments", | ||
"description": "Extract code comments from string or from a glob of files.", | ||
"version": "0.7.2", | ||
"version": "0.7.3", | ||
"homepage": "https://github.com/jonschlinkert/extract-comments", | ||
@@ -32,3 +32,3 @@ "author": { | ||
"dependencies": { | ||
"is-whitespace": "^0.2.0" | ||
"is-whitespace": "^0.3.0" | ||
}, | ||
@@ -35,0 +35,0 @@ "devDependencies": { |
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
8382
104
+ Addedis-whitespace@0.3.0(transitive)
- Removedis-whitespace@0.2.0(transitive)
Updatedis-whitespace@^0.3.0