0
Fork 0
mirror of https://github.com/verdaccio/verdaccio.git synced 2024-12-16 21:56:25 -05:00

Merge branch 'verdaccio:master' into apm

This commit is contained in:
Marc Bernard 2024-07-19 12:56:08 -04:00 committed by GitHub
commit 71fcd2de91
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
20 changed files with 2081 additions and 3376 deletions

View file

@ -10,9 +10,5 @@
],
"@babel/typescript"
],
"ignore": ["**/*.d.ts"],
"plugins": [
"@babel/plugin-proposal-optional-chaining",
"@babel/plugin-proposal-nullish-coalescing-operator"
]
"ignore": ["**/*.d.ts"]
}

View file

@ -0,0 +1,5 @@
---
'verdaccio-audit': minor
---
feat: verdaccio-audit support timeout option

View file

@ -0,0 +1,5 @@
---
'@verdaccio/ui-components': patch
---
chore(ui): update babel dependencies

View file

@ -15,30 +15,30 @@
"url": "https://opencollective.com/verdaccio"
},
"devDependencies": {
"@babel/cli": "7.23.9",
"@babel/core": "7.23.9",
"@babel/eslint-parser": "7.23.3",
"@babel/node": "7.23.9",
"@babel/plugin-proposal-class-properties": "7.18.6",
"@babel/plugin-proposal-decorators": "7.23.9",
"@babel/plugin-proposal-export-namespace-from": "7.18.9",
"@babel/plugin-proposal-function-sent": "7.23.3",
"@babel/plugin-proposal-json-strings": "7.18.6",
"@babel/plugin-proposal-nullish-coalescing-operator": "7.18.6",
"@babel/plugin-proposal-numeric-separator": "7.18.6",
"@babel/plugin-proposal-object-rest-spread": "7.20.7",
"@babel/plugin-proposal-optional-chaining": "7.21.0",
"@babel/plugin-proposal-throw-expressions": "7.23.3",
"@babel/cli": "7.24.8",
"@babel/core": "7.24.9",
"@babel/eslint-parser": "7.24.8",
"@babel/node": "7.24.8",
"@babel/plugin-proposal-decorators": "7.24.7",
"@babel/plugin-proposal-function-sent": "7.24.7",
"@babel/plugin-proposal-throw-expressions": "7.24.7",
"@babel/plugin-syntax-dynamic-import": "7.8.3",
"@babel/plugin-syntax-import-meta": "7.10.4",
"@babel/plugin-transform-async-to-generator": "7.23.3",
"@babel/plugin-transform-classes": "7.23.8",
"@babel/plugin-transform-runtime": "7.23.9",
"@babel/preset-env": "7.23.9",
"@babel/preset-react": "7.23.3",
"@babel/preset-typescript": "7.23.3",
"@babel/register": "7.23.7",
"@babel/runtime": "7.23.9",
"@babel/plugin-transform-async-to-generator": "7.24.7",
"@babel/plugin-transform-class-properties": "7.24.7",
"@babel/plugin-transform-classes": "7.24.8",
"@babel/plugin-transform-export-namespace-from": "7.24.7",
"@babel/plugin-transform-json-strings": "7.24.7",
"@babel/plugin-transform-nullish-coalescing-operator": "7.24.7",
"@babel/plugin-transform-numeric-separator": "7.24.7",
"@babel/plugin-transform-object-rest-spread": "7.24.7",
"@babel/plugin-transform-optional-chaining": "7.24.8",
"@babel/plugin-transform-runtime": "7.24.7",
"@babel/preset-env": "7.24.8",
"@babel/preset-react": "7.24.7",
"@babel/preset-typescript": "7.24.7",
"@babel/register": "7.24.6",
"@babel/runtime": "7.24.8",
"@changesets/changelog-github": "0.5.0",
"@changesets/cli": "2.27.1",
"@changesets/get-dependents-graph": "1.3.6",
@ -75,13 +75,11 @@
"@types/react-dom": "18.2.18",
"@types/react-router-dom": "5.3.3",
"@types/react-virtualized": "9.21.29",
"@types/redux": "3.6.0",
"@types/semver": "7.5.6",
"@types/send": "0.17.4",
"@types/serve-static": "1.15.5",
"@types/superagent": "4.1.24",
"@types/supertest": "2.0.16",
"@types/testing-library__jest-dom": "6.0.0",
"@types/validator": "13.11.8",
"@types/webpack": "5.28.5",
"@types/webpack-env": "1.18.4",

View file

@ -187,6 +187,7 @@ server:
middlewares:
audit:
enabled: true
# timeout: 10000
# https://verdaccio.org/docs/logger
# log settings

View file

@ -193,6 +193,7 @@ server:
middlewares:
audit:
enabled: true
# timeout: 10000
# https://verdaccio.org/docs/logger
# log settings

View file

@ -26,6 +26,7 @@ middlewares:
audit:
enabled: true
strict_ssl: true # optional, defaults to true
timeout: 1000
```
### Strict SSL

View file

@ -19,11 +19,13 @@ export default class ProxyAudit
public enabled: boolean;
public logger: Logger;
public strict_ssl: boolean;
public timeout: number;
public constructor(config: ConfigAudit, options: pluginUtils.PluginOptions) {
super(config, options);
this.enabled = config.enabled || false;
this.strict_ssl = config.strict_ssl !== undefined ? config.strict_ssl : true;
this.timeout = config.timeout ?? 1000 * 60 * 1;
this.logger = options.logger;
}
@ -57,7 +59,17 @@ export default class ProxyAudit
const auditEndpoint = `${REGISTRY_DOMAIN}${req.baseUrl}${req.route.path}`;
this.logger.debug('fetching audit from ' + auditEndpoint);
const response = await fetch(auditEndpoint, requestOptions);
const controller = new AbortController();
setTimeout(
() => controller.abort(`Fetch ${auditEndpoint} timeout ${this.timeout}ms`),
this.timeout
);
const response = await fetch(auditEndpoint, {
...requestOptions,
signal: controller.signal,
});
if (response.ok) {
res.status(response.status).send(await response.json());

View file

@ -2,4 +2,5 @@ export interface ConfigAudit {
enabled: boolean;
max_body?: string;
strict_ssl?: boolean;
timeout?: number;
}

View file

@ -639,6 +639,10 @@
"username": "Tiny-Fendy",
"id": 8954107
},
{
"username": "morlay",
"id": 1667873
},
{
"username": "morrain",
"id": 9381634
@ -1083,6 +1087,10 @@
"username": "LekoArts",
"id": 16143594
},
{
"username": "caoxiemeihao",
"id": 26263658
},
{
"username": "mavimo",
"id": 43941
@ -1111,10 +1119,6 @@
"username": "somethingSTRANGE",
"id": 6905832
},
{
"username": "morlay",
"id": 1667873
},
{
"username": "einfallstoll",
"id": 619048

View file

@ -355,11 +355,11 @@
{
"id": 59966492,
"login": "mbtools",
"contributions": 37,
"contributions": 41,
"repositories": [
{
"name": "verdaccio",
"contributions": 37
"contributions": 41
}
]
},
@ -2264,6 +2264,17 @@
}
]
},
{
"id": 1667873,
"login": "morlay",
"contributions": 1,
"repositories": [
{
"name": "verdaccio",
"contributions": 1
}
]
},
{
"id": 9381634,
"login": "morrain",
@ -3485,6 +3496,17 @@
}
]
},
{
"id": 26263658,
"login": "caoxiemeihao",
"contributions": 1,
"repositories": [
{
"name": "verdaccio",
"contributions": 1
}
]
},
{
"id": 43941,
"login": "mavimo",
@ -3562,17 +3584,6 @@
}
]
},
{
"id": 1667873,
"login": "morlay",
"contributions": 1,
"repositories": [
{
"name": "verdaccio",
"contributions": 1
}
]
},
{
"id": 619048,
"login": "einfallstoll",
@ -5055,7 +5066,7 @@
"full_name": "verdaccio/verdaccio",
"html_url": "https://github.com/verdaccio/verdaccio",
"description": "📦🔐 A lightweight Node.js private proxy registry",
"stargazers_count": 16093,
"stargazers_count": 16103,
"archived": false
},
{
@ -5172,7 +5183,7 @@
"full_name": "verdaccio/verdaccio-audit",
"html_url": "https://github.com/verdaccio/verdaccio-audit",
"description": "🛡🔬verdaccio plugin for npm audit support",
"stargazers_count": 12,
"stargazers_count": 13,
"archived": true
},
{

View file

@ -36,8 +36,8 @@
"approvalProgress": 8
},
"pl": {
"translationProgress": 17,
"approvalProgress": 17
"translationProgress": 16,
"approvalProgress": 16
},
"pt-BR": {
"translationProgress": 27,

View file

@ -61,8 +61,8 @@
"validator": "13.11.0"
},
"devDependencies": {
"@babel/core": "^7.23.0",
"@emotion/babel-plugin": "11.10.6",
"@babel/core": "7.24.9",
"@emotion/babel-plugin": "11.11.0",
"@emotion/jest": "11.11.0",
"@storybook/addon-actions": "^6.5.15",
"@storybook/addon-essentials": "^6.5.15",

File diff suppressed because it is too large Load diff

View file

@ -364,6 +364,7 @@ a built-in middleware plugin to handle this command.
middlewares:
audit:
enabled: true
# timeout: 10000
```
### Experiments {#experiments}

View file

@ -35,5 +35,5 @@ Note: Rotating log stream is not supported in cluster mode. [See here](https://g
| type | string | No | [stdout, file] | all | define the output |
| path | string | No | verdaccio.log | all | if type is file, define the location of that file |
| format | string | No | [pretty, pretty-timestamped] | all | output format |
| level | string | No | [fatal, error, warn, http, info, debug, trace] | all | verbose level |
| level | string | No | [fatal, error, warn, info, http, debug, trace] | all | verbose level |
| colors | boolean | No | false | v5.7.0 | disable or enable colors |

View file

@ -10,7 +10,7 @@
"bundled": true,
"description": "Verdaccio Middleware plugin to bypass npmjs audit",
"latest": "10.2.4",
"downloads": 673885,
"downloads": 708130,
"registry": "https://registry.npmjs.org/verdaccio-audit"
},
{
@ -21,7 +21,7 @@
"bundled": true,
"description": "Local storage implementation",
"latest": "10.3.4",
"downloads": 364379,
"downloads": 377469,
"registry": "https://registry.npmjs.org/@verdaccio/local-storage"
},
{
@ -32,7 +32,7 @@
"bundled": true,
"description": "Verdaccio User Interface",
"latest": "3.4.1",
"downloads": 674109,
"downloads": 708338,
"registry": "https://registry.npmjs.org/@verdaccio/ui-theme"
},
{
@ -43,7 +43,7 @@
"bundled": false,
"description": "Storage implementation in memory",
"latest": "10.3.2",
"downloads": 26970,
"downloads": 28756,
"registry": "https://registry.npmjs.org/verdaccio-memory"
},
{
@ -54,7 +54,7 @@
"bundled": false,
"description": "AWS S3 storage implementation for Verdaccio",
"latest": "10.4.0",
"downloads": 1960,
"downloads": 2112,
"registry": "https://registry.npmjs.org/verdaccio-aws-s3-storage"
},
{
@ -65,7 +65,7 @@
"bundled": false,
"description": "Google Cloud storage implementation for Verdaccio",
"latest": "10.2.1",
"downloads": 4941,
"downloads": 5154,
"registry": "https://registry.npmjs.org/verdaccio-google-cloud"
},
{
@ -76,7 +76,7 @@
"bundled": false,
"description": "Auth plugin for Verdaccio that keeps users in memory",
"latest": "10.2.2",
"downloads": 87972,
"downloads": 92360,
"registry": "https://registry.npmjs.org/verdaccio-auth-memory"
},
{
@ -87,7 +87,7 @@
"bundled": true,
"description": "htpasswd auth plugin for Verdaccio",
"latest": "10.5.5",
"downloads": 674722,
"downloads": 708990,
"registry": "https://registry.npmjs.org/verdaccio-htpasswd"
},
{
@ -98,7 +98,7 @@
"bundled": false,
"description": "plugin for filtering packages with security purposes",
"latest": "1.1.0",
"downloads": 16,
"downloads": 18,
"registry": "https://registry.npmjs.org/verdaccio-plugin-secfilter"
},
{
@ -120,7 +120,7 @@
"origin": "community",
"category": "authentication",
"latest": "1.2.13",
"downloads": 90,
"downloads": 93,
"registry": "https://registry.npmjs.org/@playerdata/verdaccio-storage-expiry"
},
{
@ -142,7 +142,7 @@
"origin": "community",
"category": "authentication",
"latest": "3.0.1",
"downloads": 32,
"downloads": 33,
"registry": "https://registry.npmjs.org/verdaccio-bitbucket"
},
{
@ -153,7 +153,7 @@
"origin": "community",
"category": "authentication",
"latest": "1.0.3",
"downloads": 29,
"downloads": 28,
"registry": "https://registry.npmjs.org/verdaccio-redis-search-patch"
},
{
@ -164,7 +164,7 @@
"origin": "community",
"category": "authentication",
"latest": "2.0.6",
"downloads": 2,
"downloads": 3,
"registry": "https://registry.npmjs.org/verdaccio-auther-memory"
},
{
@ -175,7 +175,7 @@
"origin": "community",
"category": "authentication",
"latest": "0.1.100",
"downloads": 367,
"downloads": 354,
"registry": "https://registry.npmjs.org/verdaccio-git"
},
{
@ -186,7 +186,7 @@
"origin": "community",
"category": "authentication",
"latest": "6.0.0",
"downloads": 264,
"downloads": 271,
"registry": "https://registry.npmjs.org/verdaccio-ldap"
},
{
@ -197,7 +197,7 @@
"origin": "community",
"category": "authentication",
"latest": "1.0.6",
"downloads": 2,
"downloads": 3,
"registry": "https://registry.npmjs.org/verdaccio-ldap-node"
},
{
@ -208,7 +208,7 @@
"origin": "community",
"category": "authentication",
"latest": "1.0.0",
"downloads": 1,
"downloads": 2,
"registry": "https://registry.npmjs.org/verdaccio-badger"
},
{
@ -219,7 +219,7 @@
"origin": "community",
"category": "authentication",
"latest": "10.3.2",
"downloads": 8,
"downloads": 9,
"registry": "https://registry.npmjs.org/@hamstudy/verdaccio-aws-s3-storage-sse"
},
{
@ -241,7 +241,7 @@
"origin": "community",
"category": "authentication",
"latest": "1.0.5",
"downloads": 4,
"downloads": 5,
"registry": "https://registry.npmjs.org/verdaccio-github-auth"
},
{
@ -252,7 +252,7 @@
"origin": "community",
"category": "authentication",
"latest": "3.0.1",
"downloads": 50,
"downloads": 45,
"registry": "https://registry.npmjs.org/verdaccio-gitlab"
},
{
@ -263,7 +263,7 @@
"origin": "community",
"category": "authentication",
"latest": "1.3.4",
"downloads": 10,
"downloads": 12,
"registry": "https://registry.npmjs.org/verdaccio-bitbucket-server"
},
{
@ -274,7 +274,7 @@
"origin": "community",
"category": "authentication",
"latest": "1.0.7",
"downloads": 184,
"downloads": 185,
"registry": "https://registry.npmjs.org/verdaccio-package-count"
},
{
@ -285,7 +285,7 @@
"origin": "community",
"category": "authentication",
"latest": "1.0.2",
"downloads": 35,
"downloads": 43,
"registry": "https://registry.npmjs.org/verdaccio-activedirectory"
},
{
@ -296,7 +296,7 @@
"origin": "community",
"category": "authentication",
"latest": "0.2.7",
"downloads": 13,
"downloads": 14,
"registry": "https://registry.npmjs.org/verdaccio-profile-api"
},
{
@ -307,7 +307,7 @@
"origin": "community",
"category": "authentication",
"latest": "1.1.8",
"downloads": 3,
"downloads": 4,
"registry": "https://registry.npmjs.org/verdaccio-dynamodb"
},
{
@ -318,7 +318,7 @@
"origin": "community",
"category": "authentication",
"latest": "0.2.5",
"downloads": 28,
"downloads": 11,
"registry": "https://registry.npmjs.org/verdaccio-minio"
},
{
@ -329,7 +329,7 @@
"origin": "community",
"category": "authentication",
"latest": "1.2.4",
"downloads": 70,
"downloads": 76,
"registry": "https://registry.npmjs.org/verdaccio-redis-storage"
},
{
@ -340,7 +340,7 @@
"origin": "community",
"category": "authentication",
"latest": "1.2.0",
"downloads": 4,
"downloads": 5,
"registry": "https://registry.npmjs.org/verdaccio-mongodb"
},
{
@ -351,7 +351,7 @@
"origin": "community",
"category": "authentication",
"latest": "1.0.0",
"downloads": 16,
"downloads": 17,
"registry": "https://registry.npmjs.org/verdaccio-ldap5"
},
{
@ -374,7 +374,7 @@
"url": "https://www.npmjs.org/verdaccio-storage-proxy",
"registry": "https://registry.npmjs.org/verdaccio-storage-proxy",
"latest": "0.0.11",
"downloads": 25
"downloads": 24
},
{
"name": "verdaccio-local-storage-advance",
@ -385,7 +385,7 @@
"url": "https://www.npmjs.org/verdaccio-local-storage-advance",
"registry": "https://registry.npmjs.org/verdaccio-local-storage-advance",
"latest": "0.0.10",
"downloads": 11
"downloads": 12
},
{
"name": "verdaccio-kuzzle",
@ -396,7 +396,7 @@
"url": "https://www.npmjs.org/verdaccio-kuzzle",
"registry": "https://registry.npmjs.org/verdaccio-kuzzle",
"latest": "1.0.9",
"downloads": 5
"downloads": 6
},
{
"name": "verdaccio-dist-tag-control",
@ -407,7 +407,7 @@
"url": "https://www.npmjs.org/verdaccio-dist-tag-control",
"registry": "https://registry.npmjs.org/verdaccio-dist-tag-control",
"latest": "1.0.2",
"downloads": 2
"downloads": 3
},
{
"name": "verdaccio-doreamon-oauth2",
@ -440,7 +440,7 @@
"url": "https://www.npmjs.org/verdaccio-pg-storage",
"registry": "https://registry.npmjs.org/verdaccio-pg-storage",
"latest": "1.0.3",
"downloads": 4
"downloads": 6
},
{
"name": "verdaccio-local-storage-with-cache-db",
@ -462,7 +462,7 @@
"url": "https://www.npmjs.org/verdaccio-offline-storage",
"registry": "https://registry.npmjs.org/verdaccio-offline-storage",
"latest": "2.0.0",
"downloads": 25
"downloads": 27
},
{
"name": "verdaccio-aliyunoss-storage",
@ -473,7 +473,7 @@
"url": "https://www.npmjs.org/verdaccio-aliyunoss-storage",
"registry": "https://registry.npmjs.org/verdaccio-aliyunoss-storage",
"latest": "1.0.10",
"downloads": 1
"downloads": 2
},
{
"name": "verdaccio-openid-connect",
@ -484,7 +484,7 @@
"url": "https://www.npmjs.org/verdaccio-openid-connect",
"registry": "https://registry.npmjs.org/verdaccio-openid-connect",
"latest": "2.0.0",
"downloads": 159
"downloads": 143
},
{
"name": "verdaccio-github-oauth-ui",
@ -505,7 +505,7 @@
"url": "https://www.npmjs.org/verdaccio-github-oauth",
"registry": "https://registry.npmjs.org/verdaccio-github-oauth",
"latest": "1.1.0",
"downloads": 43
"downloads": 36
},
{
"name": "verdaccio-auth-gitlab",
@ -516,7 +516,7 @@
"url": "https://www.npmjs.org/verdaccio-auth-gitlab",
"registry": "https://registry.npmjs.org/verdaccio-auth-gitlab",
"latest": "2.0.0-beta.11",
"downloads": 42
"downloads": 39
},
{
"name": "verdaccio-auth0-ui",
@ -538,7 +538,7 @@
"url": "https://www.npmjs.org/verdaccio-tagauth",
"registry": "https://registry.npmjs.org/verdaccio-tagauth",
"latest": "0.0.1",
"downloads": 6
"downloads": 7
},
{
"name": "verdaccio-gitea-auth",
@ -549,7 +549,7 @@
"url": "https://www.npmjs.org/verdaccio-gitea-auth",
"registry": "https://registry.npmjs.org/verdaccio-gitea-auth",
"latest": "0.1.4",
"downloads": 5
"downloads": 6
},
{
"name": "verdaccio-platformatic-auth",
@ -571,7 +571,7 @@
"url": "https://www.npmjs.org/verdaccio-google-oauth",
"registry": "https://registry.npmjs.org/verdaccio-google-oauth",
"latest": "1.0.1",
"downloads": 9
"downloads": 10
},
{
"name": "verdaccio-passport-google-oauth-ui",
@ -582,7 +582,7 @@
"url": "https://www.npmjs.org/verdaccio-passport-google-oauth-ui",
"registry": "https://registry.npmjs.org/verdaccio-passport-google-oauth-ui",
"latest": "0.1.3",
"downloads": 52
"downloads": 49
},
{
"name": "verdaccio-aukilabs-npm-auth",
@ -604,7 +604,7 @@
"url": "https://www.npmjs.org/verdaccio-gitlab-hilio",
"registry": "https://registry.npmjs.org/verdaccio-gitlab-hilio",
"latest": "1.1.17",
"downloads": 17
"downloads": 18
},
{
"name": "verdaccio-auth-knex",
@ -615,7 +615,7 @@
"url": "https://www.npmjs.org/verdaccio-auth-knex",
"registry": "https://registry.npmjs.org/verdaccio-auth-knex",
"latest": "1.0.3",
"downloads": 3
"downloads": 2
},
{
"name": "verdaccio-qnapldap",
@ -626,7 +626,7 @@
"url": "https://www.npmjs.org/verdaccio-qnapldap",
"registry": "https://registry.npmjs.org/verdaccio-qnapldap",
"latest": "0.0.6",
"downloads": 5
"downloads": 6
},
{
"name": "verdaccio-fast-ldap",
@ -637,7 +637,7 @@
"url": "https://www.npmjs.org/verdaccio-fast-ldap",
"registry": "https://registry.npmjs.org/verdaccio-fast-ldap",
"latest": "4.2.1",
"downloads": 2
"downloads": 3
},
{
"name": "verdaccio-gitlab-oauth",
@ -648,7 +648,7 @@
"url": "https://www.npmjs.org/verdaccio-gitlab-oauth",
"registry": "https://registry.npmjs.org/verdaccio-gitlab-oauth",
"latest": "1.0.4",
"downloads": 24
"downloads": 21
},
{
"name": "verdaccio-group-htpasswd",
@ -659,7 +659,7 @@
"url": "https://www.npmjs.org/verdaccio-group-htpasswd",
"registry": "https://registry.npmjs.org/verdaccio-group-htpasswd",
"latest": "1.0.0",
"downloads": 3
"downloads": 2
},
{
"name": "verdaccio-groups",
@ -670,7 +670,7 @@
"url": "https://www.npmjs.org/verdaccio-groups",
"registry": "https://registry.npmjs.org/verdaccio-groups",
"latest": "1.2.0",
"downloads": 53
"downloads": 55
},
{
"name": "verdaccio-github-token",
@ -692,7 +692,7 @@
"url": "https://www.npmjs.org/verdaccio-mysql",
"registry": "https://registry.npmjs.org/verdaccio-mysql",
"latest": "1.0.1",
"downloads": 6
"downloads": 5
},
{
"name": "verdaccio-qlchatauth",
@ -714,7 +714,7 @@
"url": "https://www.npmjs.org/verdaccio-azure-ad-login",
"registry": "https://registry.npmjs.org/verdaccio-azure-ad-login",
"latest": "1.1.1",
"downloads": 9
"downloads": 11
},
{
"name": "verdaccio-oidc",
@ -736,7 +736,7 @@
"url": "https://www.npmjs.org/verdaccio-regman",
"registry": "https://registry.npmjs.org/verdaccio-regman",
"latest": "1.0.5",
"downloads": 2
"downloads": 4
},
{
"name": "verdaccio-level-auth",
@ -747,7 +747,7 @@
"url": "https://www.npmjs.org/verdaccio-level-auth",
"registry": "https://registry.npmjs.org/verdaccio-level-auth",
"latest": "1.0.12",
"downloads": 3
"downloads": 5
},
{
"name": "verdaccio-activedirectory-extended",
@ -758,7 +758,7 @@
"url": "https://www.npmjs.org/verdaccio-activedirectory-extended",
"registry": "https://registry.npmjs.org/verdaccio-activedirectory-extended",
"latest": "1.4.3",
"downloads": 1
"downloads": 2
},
{
"name": "verdaccio-acl-plugin",
@ -769,7 +769,7 @@
"url": "https://www.npmjs.org/verdaccio-acl-plugin",
"registry": "https://registry.npmjs.org/verdaccio-acl-plugin",
"latest": "1.0.1",
"downloads": 5
"downloads": 6
},
{
"name": "verdaccio-auth-bearer",
@ -813,7 +813,7 @@
"url": "https://www.npmjs.org/verdaccio-simplegroup",
"registry": "https://registry.npmjs.org/verdaccio-simplegroup",
"latest": "1.0.2",
"downloads": 7
"downloads": 8
},
{
"name": "verdaccio-betaversion",
@ -824,7 +824,7 @@
"url": "https://www.npmjs.org/verdaccio-betaversion",
"registry": "https://registry.npmjs.org/verdaccio-betaversion",
"latest": "1.0.3",
"downloads": 3
"downloads": 5
},
{
"name": "verdaccio-auth-username",
@ -835,7 +835,7 @@
"url": "https://www.npmjs.org/verdaccio-auth-username",
"registry": "https://registry.npmjs.org/verdaccio-auth-username",
"latest": "1.1.2",
"downloads": 6
"downloads": 7
},
{
"name": "verdaccio-apm-login",
@ -901,7 +901,7 @@
"url": "https://www.npmjs.org/verdaccio-coauth",
"registry": "https://registry.npmjs.org/verdaccio-coauth",
"latest": "0.0.2",
"downloads": 2
"downloads": 3
},
{
"name": "verdaccio-simpleldap",
@ -912,7 +912,7 @@
"url": "https://www.npmjs.org/verdaccio-simpleldap",
"registry": "https://registry.npmjs.org/verdaccio-simpleldap",
"latest": "0.1.1",
"downloads": 2
"downloads": 3
},
{
"name": "verdaccio-github-team",
@ -988,7 +988,7 @@
"url": "https://www.npmjs.org/verdaccio-sentryrich",
"registry": "https://registry.npmjs.org/verdaccio-sentryrich",
"latest": "0.1.3",
"downloads": 4
"downloads": 6
},
{
"name": "verdaccio-sentry",
@ -1010,7 +1010,7 @@
"url": "https://www.npmjs.org/verdaccio-openmetrics",
"registry": "https://registry.npmjs.org/verdaccio-openmetrics",
"latest": "1.2.0",
"downloads": 50
"downloads": 51
},
{
"name": "verdaccio-https",
@ -1021,7 +1021,7 @@
"url": "https://www.npmjs.org/verdaccio-https",
"registry": "https://registry.npmjs.org/verdaccio-https",
"latest": "1.0.11",
"downloads": 6
"downloads": 9
},
{
"name": "verdaccio-badges",
@ -1032,7 +1032,7 @@
"url": "https://www.npmjs.org/verdaccio-badges",
"registry": "https://registry.npmjs.org/verdaccio-badges",
"latest": "1.1.2",
"downloads": 32
"downloads": 34
},
{
"name": "verdaccio-npm-urls",
@ -1043,7 +1043,7 @@
"url": "https://www.npmjs.org/verdaccio-npm-urls",
"registry": "https://registry.npmjs.org/verdaccio-npm-urls",
"latest": "1.0.1",
"downloads": 9
"downloads": 11
},
{
"name": "verdaccio-static-token",
@ -1054,7 +1054,7 @@
"url": "https://www.npmjs.org/verdaccio-static-token",
"registry": "https://registry.npmjs.org/verdaccio-static-token",
"latest": "1.0.1",
"downloads": 305
"downloads": 340
},
{
"name": "verdaccio-apm-server",
@ -1076,7 +1076,7 @@
"url": "https://www.npmjs.org/verdaccio-gae-ah",
"registry": "https://registry.npmjs.org/verdaccio-gae-ah",
"latest": "0.0.3",
"downloads": 3
"downloads": 4
},
{
"name": "verdaccio-oidc-ui",
@ -1087,7 +1087,7 @@
"url": "https://www.npmjs.org/verdaccio-oidc-ui",
"registry": "https://registry.npmjs.org/verdaccio-oidc-ui",
"latest": "2.2.7",
"downloads": 22
"downloads": 21
},
{
"name": "verdaccio-github-oauth-ui-without-groups",
@ -1109,7 +1109,7 @@
"url": "https://www.npmjs.org/verdaccio-zip",
"registry": "https://registry.npmjs.org/verdaccio-zip",
"latest": "1.0.19",
"downloads": 127
"downloads": 128
},
{
"name": "verdaccio-utilities",
@ -1142,7 +1142,7 @@
"url": "https://www.npmjs.org/bulk-npm-publish",
"registry": "https://registry.npmjs.org/bulk-npm-publish",
"latest": "3.0.2",
"downloads": 19
"downloads": 15
},
{
"name": "tgz-checker",
@ -1153,7 +1153,7 @@
"url": "https://www.npmjs.org/tgz-checker",
"registry": "https://registry.npmjs.org/tgz-checker",
"latest": "0.1.9",
"downloads": 15
"downloads": 18
}
]
}

View file

@ -387,6 +387,7 @@ a built-in middleware plugin to handle this command.
middlewares:
audit:
enabled: true
# timeout: 10000
```
### Experiments {#experiments}

View file

@ -35,5 +35,5 @@ Note: Rotating log stream is not supported in cluster mode. [See here](https://g
| type | string | No | [stdout, file] | all | define the output |
| path | string | No | verdaccio.log | all | if type is file, define the location of that file |
| format | string | No | [pretty, pretty-timestamped] | all | output format |
| level | string | No | [fatal, error, warn, http, info, debug, trace] | all | verbose level |
| level | string | No | [fatal, error, warn, info, http, debug, trace] | all | verbose level |
| colors | boolean | No | false | v5.7.0 | disable or enable colors |

View file

@ -35,5 +35,5 @@ Note: Rotating log stream is not supported in cluster mode. [See here](https://g
| type | string | No | [stdout, file] | all | define the output |
| path | string | No | verdaccio.log | all | if type is file, define the location of that file |
| format | string | No | [pretty, pretty-timestamped] | all | output format |
| level | string | No | [fatal, error, warn, http, info, debug, trace] | all | verbose level |
| level | string | No | [fatal, error, warn, info, http, debug, trace] | all | verbose level |
| colors | boolean | No | false | v5.7.0 | disable or enable colors |