Latest Threat Research:SANDWORM_MODE: Shai-Hulud-Style npm Worm Hijacks CI Workflows and Poisons AI Toolchains.Details
Socket
Book a DemoInstallSign in
Socket

egg-oss

Package Overview
Dependencies
Maintainers
3
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

egg-oss - npm Package Compare versions

Comparing version
1.0.1
to
1.0.2
+5
-0
History.md
1.0.2 / 2017-04-20
==================
* fix: dont resolve endpoint url (#3)
1.0.1 / 2017-02-07

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

+0
-5

@@ -6,3 +6,2 @@ 'use strict';

const RE_HTTP_PROTOCOL = /^https?:\/\//;
function checkBucketConfig(config) {

@@ -13,6 +12,2 @@ assert(config.endpoint || config.region,

'[egg-oss] Must set `accessKeyId` and `accessKeySecret` in oss\'s config');
if (config.endpoint && RE_HTTP_PROTOCOL.test(config.endpoint)) {
config.endpoint = config.endpoint.replace(RE_HTTP_PROTOCOL, '');
}
}

@@ -19,0 +14,0 @@

+13
-13
{
"name": "egg-oss",
"version": "1.0.1",
"description": "oss plugin for egg",
"version": "1.0.2",
"description": "OSS plugin for egg",
"eggPlugin": {

@@ -10,5 +10,5 @@ "name": "oss"

"app",
"lib",
"config",
"agent.js",
"lib",
"app.js"

@@ -19,3 +19,4 @@ ],

"egg-plugin",
"eggPlugin"
"eggPlugin",
"oss"
],

@@ -26,13 +27,11 @@ "dependencies": {

"devDependencies": {
"autod": "^2.7.1",
"autod": "^2.8.0",
"co": "^4.6.0",
"egg": "^0.9.0",
"egg-bin": "^2.0.2",
"egg-mock": "^2.3.1",
"eslint": "^3.14.1",
"egg": "^1.1.0",
"egg-bin": "^3.3.0",
"egg-mock": "^3.4.0",
"eslint": "^3.19.0",
"eslint-config-egg": "^3.2.0",
"is-type-of": "^1.0.0",
"pedding": "^1.1.0",
"supertest": "^3.0.0",
"urllib": "2"
"pedding": "^1.1.0"
},

@@ -48,3 +47,4 @@ "engines": {

"cov": "egg-bin cov",
"ci": "npm run lint && npm run cov"
"pkgfiles": "egg-bin pkgfiles",
"ci": "egg-bin pkgfiles --check && npm run lint && npm run cov"
},

@@ -51,0 +51,0 @@ "repository": {

@@ -23,5 +23,3 @@ # egg-oss

<!--
Description here.
-->
[OSS](https://cn.aliyun.com/product/oss) plugin for egg

@@ -39,3 +37,7 @@ ## Install

```js
exports.oss = true;
// config/plugin.js
exports.oss = {
enable: true,
package: 'egg-oss',
};
```

@@ -176,3 +178,2 @@

## Questions & Suggestions

@@ -179,0 +180,0 @@