Huge News!Announcing our $40M Series B led by Abstract Ventures.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 3.2.0 to 4.0.0

8

index.js

@@ -6,7 +6,5 @@ 'use strict';

var stream = require('readable-stream');
var Promise = require('pinkie-promise');
var pify = require('pify');
var fs = require('graceful-fs');
var mkdirp = require('mkdirp');
var objectAssign = require('object-assign');
var NestedError = require('nested-error-stacks');

@@ -19,3 +17,3 @@

NestedError.call(this, message, nested);
objectAssign(this, nested);
Object.assign(this, nested);
}

@@ -32,3 +30,3 @@

opts = objectAssign({overwrite: true}, opts);
opts = Object.assign({overwrite: true}, opts);

@@ -137,3 +135,3 @@ var size = 0;

opts = objectAssign({overwrite: true}, opts);
opts = Object.assign({overwrite: true}, opts);

@@ -140,0 +138,0 @@ var read;

{
"name": "cp-file",
"version": "3.2.0",
"version": "4.0.0",
"description": "Copy a file",

@@ -48,9 +48,6 @@ "license": "MIT",

"nested-error-stacks": "^1.0.1",
"object-assign": "^4.0.1",
"pify": "^2.3.0",
"pinkie-promise": "^2.0.0",
"readable-stream": "^2.1.4"
},
"devDependencies": {
"buffer-equals": "^1.0.3",
"istanbul": "^0.4.0",

@@ -57,0 +54,0 @@ "mocha": "*",

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