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

copy

Package Overview
Dependencies
Maintainers
2
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

copy - npm Package Compare versions

Comparing version 0.2.3 to 0.3.0

README.md

6

lib/dest.js

@@ -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",

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