+5
-0
| 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": { |
+6
-5
@@ -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 @@ |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
9109
0.13%9
-18.18%189
0.53%0
-100%53
-7.02%