Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

grunt-sync

Package Overview
Dependencies
Maintainers
1
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

grunt-sync - npm Package Compare versions

Comparing version 0.4.1 to 0.5.0

2

package.json
{
"name": "grunt-sync",
"description": "Task to synchronize two directories. Similar to grunt-copy but updates only files that have been changed.",
"version": "0.4.1",
"version": "0.5.0",
"homepage": "https://github.com/tomusdrw/grunt-sync.git",

@@ -6,0 +6,0 @@ "author": {

@@ -75,2 +75,3 @@ # Grunt-sync

## Changelog
* 0.5.0 - Synchronous removal of directories (to avoid race conditions)
* 0.4.0 - Adding better patterns support for `ignoreInDest`

@@ -77,0 +78,0 @@ * 0.3.0 - Comparison using md5 hash of file contents or modification time

@@ -261,3 +261,3 @@ var fs = require('promised-io/fs');

return promise.all(sortedDirs.map(function (dir) {
return sortedDirs.map(function (dir) {
logger.writeln('Removing dir ' + dir.cyan + ' because not longer in src.');

@@ -267,4 +267,4 @@ if (justPretend) {

}
return fs.rmdir(dir);
}));
return fs.rmdirSync(dir);
});
});

@@ -271,0 +271,0 @@ });

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