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

ali-oss

Package Overview
Dependencies
Maintainers
4
Versions
127
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ali-oss - npm Package Compare versions

Comparing version 4.7.3 to 4.8.0

6

History.md
4.8.0 / 2017-01-19
==================
* feat: support VPC region #181 (#183)
* fix comment typo and add object check to avoid call properties of null object (#176)
4.7.3 / 2017-01-06

@@ -3,0 +9,0 @@ ==================

4

lib/client.js

@@ -506,4 +506,8 @@ 'use strict';

var suffix = internal ? '-internal.aliyuncs.com' : '.aliyuncs.com';
// aliyun VPC region: https://help.aliyun.com/knowledge_detail/38740.html
if (region.startsWith('vpc100-oss-cn-')) {
suffix = '.aliyuncs.com';
}
return urlutil.parse(protocol + region + suffix);
}

4

lib/multipart.js

@@ -20,3 +20,3 @@ 'use strict';

/**
* Upload an file to OSS using multipart uploads
* Upload a file to OSS using multipart uploads
* @param {String} name

@@ -340,3 +340,3 @@ * @param {String|File} file

var pushRet = true;
while (this.start < this.fileBuffer.length && pushRet) {
while (pushRet && this.fileBuffer && this.start < this.fileBuffer.length) {
var start = this.start;

@@ -343,0 +343,0 @@ var end = start + size;

{
"name": "ali-oss",
"version": "4.7.3",
"version": "4.8.0",
"description": "aliyun oss(open storage service) node client",

@@ -5,0 +5,0 @@ "main": "lib/client.js",

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