New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

cp-file

Package Overview
Dependencies
Maintainers
1
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cp-file - npm Package Compare versions

Comparing version 2.0.1 to 2.0.2

4

index.js

@@ -5,2 +5,3 @@ 'use strict';

var mkdirp = require('mkdirp');
var objectAssign = require('object-assign');

@@ -18,2 +19,3 @@ module.exports = function (src, dest, opts, cb) {

cb = cb || function () {};
opts = objectAssign({overwrite: true}, opts);

@@ -77,3 +79,3 @@ var cbCalled = false;

opts = opts || {};
opts = objectAssign({overwrite: true}, opts);

@@ -80,0 +82,0 @@ if (!opts.overwrite && fs.existsSync(dest)) {

{
"name": "cp-file",
"version": "2.0.1",
"version": "2.0.2",
"description": "Copy a file",

@@ -31,3 +31,4 @@ "license": "MIT",

"graceful-fs": "^3.0.2",
"mkdirp": "^0.5.0"
"mkdirp": "^0.5.0",
"object-assign": "^2.0.0"
},

@@ -34,0 +35,0 @@ "devDependencies": {

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