New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.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 7.3.0 to 7.3.1

4

CHANGELOG.md
## CHANGE LOG
## 7.3.1
新增归档存储解冻接口
支持上传时key值为空字符串
## v7.3.0

@@ -4,0 +8,0 @@ - 新增 19 个bucket及文件相关操作

2

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

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

@@ -109,3 +109,3 @@ const conf = require('../conf');

postForm.field('token', uploadToken);
if (key) {
if (key != null) {
postForm.field('key', key);

@@ -112,0 +112,0 @@ }

@@ -976,2 +976,10 @@ const querystring = require('querystring');

//解冻归档存储文件
BucketManager.prototype.restoreAr = function (entry, freezeAfterDays, callbackFunc) {
var scheme = this.config.useHttpsDomain ? 'https://' : 'http://';
var requestURI = scheme + conf.RS_QBOX + "/restoreAr/"+util.urlsafeBase64Encode(entry)+"/freezeAfterDays/"+freezeAfterDays;
var digest = util.generateAccessToken(this.mac, requestURI, null);
rpc.postWithoutForm(requestURI, digest, callbackFunc);
};
// 上传策略

@@ -978,0 +986,0 @@ // @link https://developer.qiniu.com/kodo/manual/1206/put-policy

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