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.5 to 6.1.6

7

CHANGELOG.md
## CHANGE LOG
### v6.1.6
2014-10-31
- 增加fsizelimit, insertonly
### v6.1.5

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

2

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

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -206,2 +206,8 @@

flags['deadline'] = this.expires + Math.floor(Date.now() / 1000);
if (this.fsizeLimit != null) {
flags['fsizeLimit'] = this.fsizeLimit;
}
if (this.insertOnly != null) {
flags['insertOnly'] = this.insertOnly;
}
return flags;

@@ -234,6 +240,6 @@ }

}
function makeBaseUrl(domain, key) {
// query like '-thumbnail', '?imageMogr2/thumbnail/960x' and so on
function makeBaseUrl(domain, key, query) {
key = new Buffer(key);
return 'http://' + domain + '/' + querystring.escape(key);
return 'http://' + domain + '/' + querystring.escape(key) + (query||'');
}
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