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.0.5 to 0.0.6

4

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.0.5",
"version": "0.0.6",
"homepage": "https://github.com/tomusdrw/grunt-sync.git",

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

"grunt": "0.4.x",
"grunt-complexity": "0.1.x",
"grunt-complexity": "git+ssh://git@github.com:tomusdrw/grunt-complexity.git",
"grunt-simple-mocha": "0.3.x",

@@ -42,0 +42,0 @@ "grunt-contrib-jshint": "0.1.x"

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

var overwriteDest = function(src, dest) {
grunt.log.writeln('Overwriting ' + dest.cyan + 'because type differs.');
grunt.verbose.writeln('Overwriting ' + dest.cyan + 'because type differs.');
grunt.file['delete'](dest);

@@ -16,3 +16,3 @@ grunt.file.copy(src, dest);

if(srcStat.mtime.getTime() > destStat.mtime.getTime()) {
grunt.log.writeln('Updating file ' + dest.cyan);
grunt.verbose.writeln('Updating file ' + dest.cyan);
// and just update destination

@@ -19,0 +19,0 @@ grunt.file.copy(src, dest);

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