Socket
Socket
Sign inDemoInstall

extract-comments

Package Overview
Dependencies
Maintainers
1
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

extract-comments - npm Package Compare versions

Comparing version 0.10.0 to 0.10.1

10

package.json
{
"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 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc