Comparing version 0.2.3 to 0.3.0
@@ -36,6 +36,6 @@ 'use strict'; | ||
destDir = path.resolve(opts.destBase, destDir); | ||
} else if (opts.srcBase || isRelative(destDir)) { | ||
destDir = path.resolve(opts.srcBase, path.resolve(destDir)); | ||
} else if (utils.isAbsolute(destDir)) { | ||
destDir = path.resolve(opts.cwd, path.resolve(destDir)); | ||
} else { | ||
destDir = path.resolve(opts.cwd, destDir); | ||
destDir = path.join(opts.cwd, destDir); | ||
} | ||
@@ -42,0 +42,0 @@ |
@@ -23,2 +23,3 @@ 'use strict'; | ||
require('has-glob'); | ||
require('is-absolute'); | ||
require('matched', 'glob'); | ||
@@ -25,0 +26,0 @@ require('mkdirp'); |
{ | ||
"name": "copy", | ||
"description": "Copy files or directories using globs.", | ||
"version": "0.2.3", | ||
"version": "0.3.0", | ||
"homepage": "https://github.com/jonschlinkert/copy", | ||
@@ -35,2 +35,3 @@ "author": "Jon Schlinkert (https://github.com/jonschlinkert)", | ||
"has-glob": "^0.1.1", | ||
"is-absolute": "^0.2.5", | ||
"lazy-cache": "^2.0.1", | ||
@@ -37,0 +38,0 @@ "log-ok": "^0.1.1", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No README
QualityPackage does not have a README. This may indicate a failed publish or a low quality package.
Found 1 instance in 1 package
24074
11
529
0
208
14
+ Addedis-absolute@^0.2.5
+ Addedis-absolute@0.2.6(transitive)
+ Addedis-relative@0.2.1(transitive)
+ Addedis-unc-path@0.1.2(transitive)
+ Addedunc-path-regex@0.1.2(transitive)