component-builder
Advanced tools
Comparing version 1.1.3 to 1.1.4
@@ -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(); |
@@ -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", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Native code
Supply chain riskContains native code (e.g., compiled binaries or shared libraries). Including native code can obscure malicious behavior.
Found 4 instances in 1 package
10
211331
37
6207