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

ali-oss

Package Overview
Dependencies
Maintainers
2
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 3.1.2 to 3.1.3

6

History.md
3.1.3 / 2015-12-18
==================
* fix(object): custom content-type support lower case
* deps: update dependencies
3.1.2 / 2015-10-26

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

10

lib/client.js

@@ -1,2 +0,2 @@

/**!
/**
* Copyright(c) ali-sdk and other contributors.

@@ -134,3 +134,3 @@ * MIT Licensed

headers['Content-Md5'] || '',
headers['Content-Type'],
getHeader(headers, 'Content-Type'),
headers.Date || new Date().toString()

@@ -193,3 +193,3 @@ ];

if ((params.content || params.stream) && !headers['Content-Type']) {
if ((params.content || params.stream) && !getHeader(headers, 'Content-Type')) {
if (params.mime && params.mime.indexOf('/') > 0) {

@@ -369,1 +369,5 @@ headers['Content-Type'] = params.mime;

};
function getHeader(headers, name) {
return headers[name] || headers[name.toLowerCase()];
}

@@ -1,2 +0,2 @@

/**!
/**
* Copyright(c) ali-sdk and other contributors.

@@ -3,0 +3,0 @@ * MIT Licensed

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

@@ -35,9 +35,9 @@ "main": "lib/client.js",

"devDependencies": {
"autod": "^2.1.3",
"autod": "^2.2.0",
"co-fs": "^1.2.0",
"istanbul": "^0.3.21",
"istanbul": "^0.4.1",
"mm": "^1.3.5",
"mocha": "^2.3.3",
"mocha": "^2.3.4",
"should": "^7.1.0",
"thunk-mocha": "^0.1.1"
"thunk-mocha": "^1.0.1"
},

@@ -55,10 +55,10 @@ "dependencies": {

"humanize-ms": "~1.0.1",
"is-type-of": "~0.3.1",
"is-type-of": "~1.0.0",
"merge-descriptors": "~1.0.0",
"mime": "~1.3.4",
"sdk-base": "~1.0.1",
"urllib": "~2.5.0",
"utility": "~1.4.0",
"sdk-base": "~1.1.0",
"urllib": "~2.6.0",
"utility": "~1.6.0",
"xml2js": "~0.4.12"
}
}
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