Socket
Socket
Sign inDemoInstall

chokidar-cli

Package Overview
Dependencies
Maintainers
3
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

chokidar-cli - npm Package Compare versions

Comparing version 1.2.0 to 1.2.1

2

index.js
#!/usr/bin/env node
var childProcess = require('child_process');
var Promise = require('bluebird');
var _ = require('lodash');

@@ -6,0 +4,0 @@ var chokidar = require('chokidar');

20

package.json
{
"name": "chokidar-cli",
"description": "Ultra-fast cross-platform command line utility to watch file system changes.",
"version": "1.2.0",
"version": "1.2.1",
"keywords": [

@@ -33,17 +33,9 @@ "fs",

"dependencies": {
"anymatch": "^1.1.0",
"bluebird": "^2.9.24",
"chokidar": "^1.0.1",
"lodash": "^3.7.0",
"shell-quote": "^1.4.3",
"yargs": "^3.7.2"
"bluebird": "3.5.1",
"chokidar": "2.0.4",
"lodash": "4.17.10",
"yargs": "12.0.1"
},
"devDependencies": {
"commander": "^2.8.0",
"mocha": "^2.2.4",
"mustache": "^2.0.0",
"releasor": "^1.2.1",
"semver": "^4.3.3",
"shelljs": "^0.4.0",
"string": "^3.1.1"
"mocha": "5.2.0"
},

@@ -50,0 +42,0 @@ "scripts": {

@@ -41,3 +41,3 @@ # Chokidar CLI

```bash
$ chokidar '**/.js' '**/*.less'
$ chokidar '**/*.js' '**/*.less'
change:test/dir/a.js

@@ -54,3 +54,3 @@ change:test/dir/a.less

```bash
$ chokidar '**/.js' '**/*.less' | cut -d ':' -f 2-
$ chokidar '**/*.js' '**/*.less' | cut -d ':' -f 2-
test/dir/a.js

@@ -70,3 +70,3 @@ test/dir/a.less

**Pass the path and event details in to your custom command
**Pass the path and event details in to your custom command**

@@ -73,0 +73,0 @@ ```chokidar '**/*.less' -c 'if [ "{event}" = "change" ]; then npm run build-less -- {path}; fi;'```

var childProcess = require('child_process');
var _ = require('lodash');
var Promise = require('bluebird');
var shellQuote = require('shell-quote');

@@ -6,0 +5,0 @@ // Try to resolve path to shell.

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