0
Fork 0
mirror of https://github.com/verdaccio/verdaccio.git synced 2025-03-25 02:32:52 -05:00

Merge branch 'feat-new-detail-page' of github.com:verdaccio/verdaccio into feat-new-detail-page

This commit is contained in:
Ayush Sharma 2019-02-16 23:24:56 +01:00
commit 16ae178f97
6 changed files with 44 additions and 5 deletions

18
.github/main.workflow vendored Normal file
View file

@ -0,0 +1,18 @@
workflow "New workflow" {
on = "push"
resolves = [
"Docker build health check",
"Test Publish Verdaccio",
]
}
action "Docker build health check" {
uses = "actions/docker/cli@8cdf801b322af5f369e00d85e9cf3a7122f49108"
args = "build ."
}
action "Test Publish Verdaccio" {
uses = "verdaccio/github-actions/publish@master",
needs = ["Docker build health check"]
args = "-ddd"
}

4
.vscode/launch.json vendored
View file

@ -10,6 +10,7 @@
"name": "CLI Babel Registry",
"stopOnEntry": false,
"program": "${workspaceFolder}/debug/bootstrap.js",
"args": ["-l", "0.0.0.0:4873"],
"env": {
"BABEL_ENV": "registry"
},
@ -71,7 +72,8 @@
"name": "Verdaccio Compiled",
"preLaunchTask": "npm: code:build",
"program": "${workspaceRoot}/bin/verdaccio",
"args": ["-l", "0.0.0.0:4873"],
"console": "integratedTerminal"
}
]
}
}

View file

@ -67,6 +67,15 @@ All notable changes to this project will be documented in this file. See [standa
* verdaccio update notification on CLI ([#988](https://github.com/verdaccio/verdaccio/issues/988)) ([#998](https://github.com/verdaccio/verdaccio/issues/998)) ([bc04703](https://github.com/verdaccio/verdaccio/commit/bc04703))
<a name="3.11.4"></a>
## [3.11.4](https://github.com/verdaccio/verdaccio/compare/v3.11.3...v3.11.4) (2019-02-11)
### Bug Fixes
* update dependencies due to security vulnerabilities ([f6f014a](https://github.com/verdaccio/verdaccio/commit/f6f014a))
<a name="3.11.3"></a>
## [3.11.3](https://github.com/verdaccio/verdaccio/compare/v3.11.2...v3.11.3) (2019-02-07)

View file

@ -19,7 +19,7 @@
"@verdaccio/local-storage": "2.0.0-beta.1",
"@verdaccio/streams": "2.0.0-beta.0",
"JSONStream": "1.3.5",
"async": "2.6.1",
"async": "3.0.1-0",
"body-parser": "1.18.3",
"bunyan": "1.8.12",
"chalk": "2.4.2",
@ -177,9 +177,6 @@
"npm": ">=3"
},
"preferGlobal": true,
"publishConfig": {
"registry": "https://registry.npmjs.org/"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged && commitlint -e $GIT_PARAMS"

View file

@ -223,6 +223,14 @@ class Auth implements IAuth {
}
apiJWTmiddleware() {
const plugins = this.plugins.slice(0);
const helpers = { createAnonymousRemoteUser, createRemoteUser };
for (const plugin of plugins) {
if (plugin.apiJWTmiddleware) {
return plugin.apiJWTmiddleware(helpers);
}
}
return (req: $RequestExtend, res: $Response, _next: NextFunction) => {
req.pause();

View file

@ -1800,6 +1800,11 @@ async@2.6.1, async@^2.1.4, async@^2.5.0:
dependencies:
lodash "^4.17.10"
async@3.0.1-0:
version "3.0.1-0"
resolved "https://registry.verdaccio.org/async/-/async-3.0.1-0.tgz#ca06713f91c3d9eea3e966ace4093f41ef89f200"
integrity sha512-b+lONkCWH/GCAIrU0j4m5zed5t+5dfjM2TbUSmKCagx6TZp2jQrNkGL7j1SUb0fF1yH6sKBiXC7Zid8Zj94O6A==
async@^1.5.2:
version "1.5.2"
resolved "https://registry.verdaccio.org/async/-/async-1.5.2.tgz#ec6a61ae56480c0c3cb241c95618e20892f9672a"