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

sftp-uploader

Package Overview
Dependencies
Maintainers
5
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sftp-uploader - npm Package Compare versions

Comparing version 2.0.1 to 2.0.2

3

lib/util.js

@@ -49,3 +49,4 @@ import chalk from 'chalk'

).toFixed(2)}% (${opts.completed}/${opts.total})` // 在单行输出文本
stdout(pointLog(cmdText))
// stdout(pointLog(cmdText))
stdout(cmdText)
}

@@ -52,0 +53,0 @@ }

{
"name": "sftp-uploader",
"version": "2.0.1",
"version": "2.0.2",
"description": "sftp-uploader",

@@ -26,7 +26,9 @@ "type": "module",

},
"devDependencies": {
},
"devDependencies": {},
"engines": {
"node": "^18.0.0 || >=20.0.0"
},
"publishConfig": {
"registry": "https://registry.npmjs.org"
}
}

@@ -14,3 +14,3 @@ # sftp-uploader

此版本仅适用于 node "^18.0.0 || >=20.0.0" <br />
低版本node请下载1.x版本
低版本node请下载[v1.x](https://www.npmjs.com/package/sftp-uploader/v/1.0.5)版本

@@ -20,7 +20,7 @@ ## 配置

```javascript
const path = require('path')
const SftpUploader = require('sftp-uploader')
import { resolve } from 'path'
import SftpUploader from 'sftp-uploader'
const sftp = SftpUploader({
dir: path.join(__dirname, 'dist/'), // 需要上传文件的目录
dir: resolve('./dist'), // 需要上传文件的目录
url: '******', // 上传到的目录

@@ -27,0 +27,0 @@ host: '*****', // sftp地址

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