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

qiniu

Package Overview
Dependencies
Maintainers
1
Versions
62
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

qiniu - npm Package Compare versions

Comparing version 6.1.0 to 6.1.1

7

CHANGELOG.md
## CHANGE LOG
### v6.1.1
2013-12-5 issue [#90](https://github.com/qiniu/nodejs-sdk/pull/90)
- 创建buffer前检测
### v6.1.0

@@ -4,0 +11,0 @@

4

package.json
{
"name": "qiniu",
"version": "6.1.0",
"version": "6.1.1",
"description": "Node wrapper for Qiniu Resource (Cloud) Storage API",

@@ -11,3 +11,3 @@ "main": "index.js",

"test": "make test",
"blanket": {
"blanket": {
"pattern": "qiniu/qiniu",

@@ -14,0 +14,0 @@ "data-cover-flags": {

@@ -30,5 +30,5 @@ var conf = require('./conf');

this.key = key || null;
}
}
// onret: callback function instead of ret
// onret: callback function instead of ret
function put(uptoken, key, body, extra, onret) {

@@ -63,5 +63,5 @@ if(!extra) {

}
var buf = Buffer.isBuffer(body) ? body : new Buffer(body);
form.buffer('file', buf, key, extra.mimeType);
form.buffer('file', new Buffer(body), key, extra.mimeType);
//extra['checkcrc']

@@ -105,2 +105,1 @@ if (extra.checkCrc == 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