You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

grunt-contrib-copy

Package Overview
Dependencies
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

grunt-contrib-copy - npm Package Compare versions

Comparing version

to
0.2.4

2

package.json
{
"name": "grunt-contrib-copy",
"description": "Copy files and folders.",
"version": "0.2.3",
"version": "0.2.4",
"homepage": "https://github.com/gruntjs/grunt-contrib-copy",

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

@@ -81,3 +81,5 @@ # grunt-contrib-copy

* 2012/08/10 - v0.2.0 - Refactored from grunt-contrib into individual repo.
* 2012/09/17 - v0.2.2 - single file copy support. test refactoring.
* 2012/09/18 - v0.2.4 - no valid source check.
* 2012/09/17 - v0.2.3 - path.sep fallback for node <= 0.7.9.
* 2012/09/17 - v0.2.2 - single file copy support. test refactoring.
* 2012/08/10 - v0.2.0 - Refactored from grunt-contrib into individual repo.

@@ -63,3 +63,6 @@ /*

basePath = options.basePath || findBasePath(srcFiles);
if (srcFiles.length === 0) {
grunt.fail.warn('Unable to copy; no valid source files were found.');
}
destType = detectDestType(file.dest);

@@ -71,3 +74,3 @@

grunt.verbose.or.write('Copying file' + ' to ' + file.dest + '...');
grunt.verbose.or.write('Copying file' + ' to ' + file.dest.cyan + '...');
grunt.file.copy(srcFile, file.dest);

@@ -80,4 +83,6 @@

} else if (destType === 'dir') {
basePath = options.basePath || findBasePath(srcFiles);
grunt.verbose.writeln('Base Path: ' + basePath.cyan);
grunt.verbose.or.write('Copying files' + ' to ' + file.dest + '...');
grunt.verbose.or.write('Copying files' + ' to ' + file.dest.cyan + '...');

@@ -84,0 +89,0 @@ srcFiles.forEach(function(srcFile) {