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

ks3

Package Overview
Dependencies
Maintainers
3
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ks3 - npm Package Compare versions

Comparing version 0.2.0 to 0.2.1

readme.md

6

config.js

@@ -35,3 +35,7 @@ var path = require('path');

},
reset: function(){
setRegion: function(region) {
this.region = region;
this.baseUrl = this.ENDPOINT[region];
},
resetRegion: function(){
this.baseUrl = this.ENDPOINT.HANGZHOU;

@@ -38,0 +42,0 @@ this.region = '';

2

package.json
{
"name": "ks3",
"version": "0.2.0",
"version": "0.2.1",
"description": "",

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

@@ -28,4 +28,3 @@ var KS3 = require('..');

it('create bucket to specified region && delete bucket', function(done) {
config.baseUrl = config.ENDPOINT.BEIJING;
config.region = 'BEIJING';
config.setRegion('BEIJING');
client.bucket.put({

@@ -39,3 +38,3 @@ Bucket: bucketName

res.should.have.status(204); // 删除bucket,成功的状态码为204
config.reset();
config.resetRegion();
done();

@@ -42,0 +41,0 @@ })

@@ -6,4 +6,4 @@

```
BIG_FILE=/Users/StoneRen/Desktop/金山云存储_代码.mov mocha
BIG_FILE=/Users/StoneRen/Desktop/金山云存储_代码.mov mocha
```

Sorry, the diff of this file is not supported yet

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