New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

gulp-resolve-dependencies

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gulp-resolve-dependencies - npm Package Compare versions

Comparing version 0.2.0 to 1.0.0

9

index.js

@@ -44,8 +44,4 @@ 'use strict';

if (!fs.existsSync(filePath)) {
gutil.log('[' + gutil.colors.red(PLUGIN_NAME) + '] File not found: ', filePath);
stream.emit('error', new Error('File not found: ' + filePath));
if (config.fail) {
process.exit(1);
}
continue;

@@ -76,4 +72,3 @@ }

pattern: /\* @requires [\s-]*(.*?\.js)/g,
log: false,
fail: true
log: false
}, config);

@@ -80,0 +75,0 @@

{
"name": "gulp-resolve-dependencies",
"version": "0.2.0",
"version": "1.0.0",
"description": "Resolve dependency directives in assets (e.g. \"@requires\" or \"//= require\" in JavaScript)",

@@ -28,3 +28,3 @@ "license": "MIT",

"dependencies": {
"gulp-util": "~2.2.0",
"gulp-util": "~2.2.17 ",
"lodash": "~2.4.1"

@@ -34,5 +34,5 @@ },

"mocha": "*",
"event-stream": "~3.1.0",
"gulp": "~3.5.2"
"event-stream": "~3.1.5",
"gulp": "~3.8.2"
}
}

@@ -23,2 +23,5 @@ # gulp-resolve-dependencies

})
.on('error', function(err) {
console.log(err.message);
})
.pipe(concat())

@@ -64,6 +67,1 @@ .pipe(gulp.dest('dest/assets/js/'));

#### options.fail
Type: `Boolean`
Whether to fail if dependency is not found (optional, defaults to ```true```).
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