gulp-compass
Advanced tools
Comparing version 1.3.0 to 1.3.1
15
index.js
@@ -15,14 +15,11 @@ 'use strict'; | ||
if (file.isNull()) { | ||
cb(null, file); | ||
return; | ||
return cb(null, file); | ||
} | ||
if (file.isStream()) { | ||
cb(new gutil.PluginError(PLUGIN_NAME, 'Streaming not supported')); | ||
return; | ||
return cb(new gutil.PluginError(PLUGIN_NAME, 'Streaming not supported')); | ||
} | ||
if (path.basename(file.path)[0] === '_') { | ||
cb(null, file); | ||
return; | ||
return cb(); | ||
} | ||
@@ -32,5 +29,4 @@ | ||
if (code === 127) { | ||
cb(new gutil.PluginError(PLUGIN_NAME, 'You need to have Ruby and Compass installed ' + | ||
return cb(new gutil.PluginError(PLUGIN_NAME, 'You need to have Ruby and Compass installed ' + | ||
'and in your system PATH for this task to work.')); | ||
return; | ||
} | ||
@@ -40,4 +36,3 @@ | ||
if (code !== 0) { | ||
cb(new gutil.PluginError(PLUGIN_NAME, stdout || 'Compass failed', {fileName: file.path})); | ||
return; | ||
return cb(new gutil.PluginError(PLUGIN_NAME, stdout || 'Compass failed', {fileName: file.path})); | ||
} | ||
@@ -44,0 +39,0 @@ |
{ | ||
"name": "gulp-compass", | ||
"version": "1.3.0", | ||
"version": "1.3.1", | ||
"description": "Compile Compass files", | ||
@@ -34,3 +34,3 @@ "main": "index.js", | ||
"gulp-util": "^3.0.0", | ||
"through2": "^0.5.1", | ||
"through2": "^0.6.1", | ||
"which": "^1.0.5" | ||
@@ -37,0 +37,0 @@ }, |
Native code
Supply chain riskContains native code (e.g., compiled binaries or shared libraries). Including native code can obscure malicious behavior.
Found 1 instance in 1 package
51
503628
95
638
+ Addedthrough2@0.6.5(transitive)
- Removedthrough2@0.5.1(transitive)
- Removedxtend@3.0.0(transitive)
Updatedthrough2@^0.6.1