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

copys2

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

copys2 - npm Package Compare versions

Comparing version 0.0.1 to 0.0.2

4

index.js

@@ -18,3 +18,3 @@ var gulp = require('gulp')

function copys(srcs, dsts, cb) {
function copys2(srcs, dsts, cb) {
if(srcs.length !== dsts.length) {

@@ -36,2 +36,2 @@ throw new Error('路径数组不相等')

module.exports = copys
module.exports = copys2
{
"name": "copys2",
"version": "0.0.1",
"description": "copys",
"version": "0.0.2",
"description": "copys2",
"main": "index.js",

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

@@ -8,3 +8,3 @@ # copys2

```js
var copys = require('copys')
var copys2 = require('copys2')
var srcs = [

@@ -18,5 +18,5 @@ 'test1.txt',

]
copys(srcs, dsts, () => {
copys2(srcs, dsts, () => {
console.log('ok')
})
```
var path = require('path')
var copys = require('../index')
var copys2 = require('../index')
var srcs = [

@@ -11,4 +11,4 @@ path.join(__dirname, 'src', 'test1.txt'),

]
copys(srcs, dsts, () => {
copys2(srcs, dsts, () => {
console.log('ok')
})
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