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

ali-oss

Package Overview
Dependencies
Maintainers
3
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.2.0 to 4.2.1

5

History.md
4.2.1 / 2016-04-07
==================
* fix: add getObjectUrl on cluster client
4.2.0 / 2016-04-07

@@ -3,0 +8,0 @@ ==================

15

lib/cluster.js

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

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

@@ -20,2 +20,3 @@ * MIT Licensed

const util = require('util');
const utility = require('utility');
const ready = require('get-ready');

@@ -80,3 +81,3 @@ const copy = require('copy-to');

proto[method] = function* () {
const args = Array.prototype.slice.call(arguments);
const args = utility.argumentsToArray(arguments);
var client = this.chooseAvailable();

@@ -120,3 +121,3 @@ var lastError;

proto[method] = function* () {
var args = Array.prototype.slice.call(arguments);
var args = utility.argumentsToArray(arguments);
var res = yield this.clients.map(function (client) {

@@ -130,3 +131,3 @@ return client[method].apply(client, args);

proto.signatureUrl = function (/* name */) {
const args = Array.prototype.slice.call(arguments);
var args = utility.argumentsToArray(arguments);
var client = this.chooseAvailable();

@@ -136,2 +137,8 @@ return client.signatureUrl.apply(client, args);

proto.getObjectUrl = function (/* name, baseUrl */) {
var args = utility.argumentsToArray(arguments);
var client = this.chooseAvailable();
return client.getObjectUrl.apply(client, args);
};
proto._init = function() {

@@ -138,0 +145,0 @@ const that = this;

{
"name": "ali-oss",
"version": "4.2.0",
"version": "4.2.1",
"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