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

component-builder

Package Overview
Dependencies
Maintainers
25
Versions
61
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

component-builder - npm Package Compare versions

Comparing version 1.1.3 to 1.1.4

10

build/builders/styles.js

@@ -424,3 +424,3 @@ (function(

if (!(file.string === true)) {
$ctx0.next = 4;
$ctx0.next = 5;
break;

@@ -432,4 +432,6 @@ }

case 4:
file.string = $ctx0.sent;
case 5:
if (!!file.string) {
$ctx0.next = 6;
$ctx0.next = 7;
break;

@@ -439,5 +441,5 @@ }

return $ctx0.abrupt("return", '');
case 6:
case 7:
return $ctx0.abrupt("return", file.string + '\n\n');
case 7:
case 8:
case "end":

@@ -444,0 +446,0 @@ return $ctx0.stop();

2

lib/builders/styles.js

@@ -28,5 +28,5 @@ var Builder = require('./builder');

// read file now if not already read
if (file.string === true) yield file.read;
if (file.string === true) file.string = yield file.read;
if (!file.string) return '';
return file.string + '\n\n';
}
{
"name": "component-builder",
"description": "builder for component",
"version": "1.1.3",
"version": "1.1.4",
"author": {

@@ -6,0 +6,0 @@ "name": "Jonathan Ong",

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