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

grunt-contrib-watch

Package Overview
Dependencies
Maintainers
3
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

grunt-contrib-watch - npm Package Compare versions

Comparing version 0.1.0 to 0.1.1

test/fixtures/multiTargets/Gruntfile.js

4

package.json
{
"name": "grunt-contrib-watch",
"description": "Run predefined tasks whenever watched file patterns are added, changed or deleted.",
"version": "0.1.0",
"version": "0.1.1",
"homepage": "https://github.com/gruntjs/grunt-contrib-watch",

@@ -31,3 +31,3 @@ "author": {

"dependencies": {
"gaze": "~0.1.5"
"gaze": "~0.1.6"
},

@@ -34,0 +34,0 @@ "devDependencies": {

@@ -20,3 +20,10 @@ /*

var gruntBin = path.resolve(process.cwd(), 'node_modules', '.bin', 'grunt');
if (!grunt.file.exists(gruntBin)) {
// Use the globally installed grunt
gruntBin = path.resolve(path.dirname(process.execPath), 'grunt');
}
if (process.platform === 'win32') { gruntBin += '.cmd'; }
if (!grunt.file.exists(gruntBin)) {
grunt.fatal('The Grunt binary could not be found. Please install grunt first with: npm install grunt');
}

@@ -42,4 +49,2 @@ grunt.registerTask('watch', 'Run predefined tasks whenever watched files change.', function(target) {

// Get a list of files to be watched
var patterns = grunt.util._.chain(targets).pluck('files').flatten().uniq().value();
// Message to display when waiting for changes

@@ -46,0 +51,0 @@ var waiting = 'Waiting...';

Sorry, the diff of this file is not supported yet

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