Socket
Socket
Sign inDemoInstall

live-guide

Package Overview
Dependencies
Maintainers
1
Versions
51
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

live-guide - npm Package Compare versions

Comparing version 0.6.1 to 0.6.2

6

lib/extract-comments/index.js
'use strict';
const extractComments = function(str) {
const commentRegex = /(?:\/\*\*([^])+?)\*\/|(?:\/\/(.*))/g;
const commentRegex = /(?:\/\*\*([^])+?)\*\/|(?:\/\/([^\n\r])*)/g;
let matches = str.match(commentRegex);

@@ -21,5 +21,5 @@

.replace(/^\/\//, '').trim();
});
});
return _tempMatch.join('\n');
return _tempMatch.join('\n');
});

@@ -26,0 +26,0 @@

{
"name": "live-guide",
"version": "0.6.1",
"version": "0.6.2",
"description": "Generate style guides based on commented style sheets.",

@@ -5,0 +5,0 @@ "author": {

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