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.13.0 to 0.13.1

10

lib/extract-comments/index.js

@@ -20,3 +20,4 @@ 'use strict';

.replace(/^([\W\w]+)\*\//, '$1')
.replace(/^\/\//, '');
.replace(/^\/\//, '')
.replace(/^ /, '');
});

@@ -30,6 +31,2 @@

const cleanComments = function(str) {
return str.split(/\n/).map((l) => l.trim()).join('\n');
}
module.exports = function(sgArray) {

@@ -42,4 +39,3 @@ console.log('Extracting comments...');

obj.rawComments = extractComments(_str);
obj.filteredComments = cleanComments(obj.rawComments);
obj.rawComments = obj.filteredComments = extractComments(_str);
});

@@ -46,0 +42,0 @@

{
"name": "live-guide",
"version": "0.13.0",
"version": "0.13.1",
"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