Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

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.7.2 to 0.7.3

9

index.js

@@ -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": {

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