extract-comments
Advanced tools
Comparing version 0.10.0 to 0.10.1
{ | ||
"name": "extract-comments", | ||
"description": "Extract code comments from string or from a glob of files.", | ||
"version": "0.10.0", | ||
"description": "Uses esprima to extract line and block comments from a string of JavaScript. Also optionally parses code context (the next line of code after a comment).", | ||
"version": "0.10.1", | ||
"homepage": "https://github.com/jonschlinkert/extract-comments", | ||
@@ -40,2 +40,3 @@ "author": "Jon Schlinkert (https://github.com/jonschlinkert)", | ||
"keywords": [ | ||
"ast", | ||
"block", | ||
@@ -50,3 +51,6 @@ "code", | ||
"javascript", | ||
"parse" | ||
"line", | ||
"parse", | ||
"tokenize", | ||
"tokens" | ||
], | ||
@@ -53,0 +57,0 @@ "verb": { |
# extract-comments [![NPM version](https://img.shields.io/npm/v/extract-comments.svg)](https://www.npmjs.com/package/extract-comments) | ||
> Extract code comments from string or from a glob of files. | ||
> Uses esprima to extract line and block comments from a string of JavaScript. Also optionally parses code context (the next line of code after a comment). | ||
@@ -134,2 +134,7 @@ ## Install | ||
**v0.10.0** | ||
* Parsing is now handled by esprima | ||
* Breaking change: since parsing is now done by esprima, on both the line and block comment objects, the `loc.start.pos` and `loc.end.pos` properties have been renamed to `loc.start.column` and `loc.end.column`. | ||
**v0.9.0** | ||
@@ -136,0 +141,0 @@ |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
14624
157
0