From 6ee0afb13ab7bb7d52cb4d47f3dca2ab91547bd7 Mon Sep 17 00:00:00 2001 From: verdacciobot Date: Mon, 15 Jul 2024 00:14:05 +0000 Subject: [PATCH 1/5] chore: updated static data --- .../src/contributors.json | 8 +- .../tools/translations/src/progress_lang.json | 2 +- .../components/EcosystemSearch/addons.json | 182 +++++++++--------- 3 files changed, 96 insertions(+), 96 deletions(-) diff --git a/packages/tools/docusaurus-plugin-contributors/src/contributors.json b/packages/tools/docusaurus-plugin-contributors/src/contributors.json index 852c2e9b3..ca70c30cc 100644 --- a/packages/tools/docusaurus-plugin-contributors/src/contributors.json +++ b/packages/tools/docusaurus-plugin-contributors/src/contributors.json @@ -355,11 +355,11 @@ { "id": 59966492, "login": "mbtools", - "contributions": 35, + "contributions": 37, "repositories": [ { "name": "verdaccio", - "contributions": 35 + "contributions": 37 } ] }, @@ -5055,7 +5055,7 @@ "full_name": "verdaccio/verdaccio", "html_url": "https://github.com/verdaccio/verdaccio", "description": "πŸ“¦πŸ” A lightweight Node.js private proxy registry", - "stargazers_count": 16084, + "stargazers_count": 16093, "archived": false }, { @@ -5316,7 +5316,7 @@ "full_name": "verdaccio/charts", "html_url": "https://github.com/verdaccio/charts", "description": "☸️🐳 Verdaccio Helm chart repository", - "stargazers_count": 59, + "stargazers_count": 58, "archived": false }, { diff --git a/packages/tools/translations/src/progress_lang.json b/packages/tools/translations/src/progress_lang.json index f28796f02..dcb05c81b 100644 --- a/packages/tools/translations/src/progress_lang.json +++ b/packages/tools/translations/src/progress_lang.json @@ -68,7 +68,7 @@ "approvalProgress": 14 }, "zh-CN": { - "translationProgress": 97, + "translationProgress": 99, "approvalProgress": 97 }, "zh-TW": { diff --git a/website/src/components/EcosystemSearch/addons.json b/website/src/components/EcosystemSearch/addons.json index 389239592..65b8fc14b 100644 --- a/website/src/components/EcosystemSearch/addons.json +++ b/website/src/components/EcosystemSearch/addons.json @@ -10,7 +10,7 @@ "bundled": true, "description": "Verdaccio Middleware plugin to bypass npmjs audit", "latest": "10.2.4", - "downloads": 700984, + "downloads": 673885, "registry": "https://registry.npmjs.org/verdaccio-audit" }, { @@ -21,7 +21,7 @@ "bundled": true, "description": "Local storage implementation", "latest": "10.3.4", - "downloads": 391817, + "downloads": 364379, "registry": "https://registry.npmjs.org/@verdaccio/local-storage" }, { @@ -32,7 +32,7 @@ "bundled": true, "description": "Verdaccio User Interface", "latest": "3.4.1", - "downloads": 701326, + "downloads": 674109, "registry": "https://registry.npmjs.org/@verdaccio/ui-theme" }, { @@ -43,7 +43,7 @@ "bundled": false, "description": "Storage implementation in memory", "latest": "10.3.2", - "downloads": 29374, + "downloads": 26970, "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": 2073, + "downloads": 1960, "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": 5514, + "downloads": 4941, "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": 86150, + "downloads": 87972, "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": 701822, + "downloads": 674722, "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": 8, + "downloads": 16, "registry": "https://registry.npmjs.org/verdaccio-plugin-secfilter" }, { @@ -109,7 +109,7 @@ "bundled": false, "description": "a port of the verdaccio-ldap to version 5", "latest": "1.0.1", - "downloads": 4, + "downloads": 5, "registry": "https://registry.npmjs.org/verdaccio-ldap-port" }, { @@ -120,7 +120,7 @@ "origin": "community", "category": "authentication", "latest": "1.2.13", - "downloads": 29, + "downloads": 90, "registry": "https://registry.npmjs.org/@playerdata/verdaccio-storage-expiry" }, { @@ -131,7 +131,7 @@ "origin": "community", "category": "authentication", "latest": "1.4.1", - "downloads": 3, + "downloads": 4, "registry": "https://registry.npmjs.org/verdaccio-ldap-memcached" }, { @@ -142,7 +142,7 @@ "origin": "community", "category": "authentication", "latest": "3.0.1", - "downloads": 31, + "downloads": 32, "registry": "https://registry.npmjs.org/verdaccio-bitbucket" }, { @@ -153,7 +153,7 @@ "origin": "community", "category": "authentication", "latest": "1.0.3", - "downloads": 21, + "downloads": 29, "registry": "https://registry.npmjs.org/verdaccio-redis-search-patch" }, { @@ -164,7 +164,7 @@ "origin": "community", "category": "authentication", "latest": "2.0.6", - "downloads": 3, + "downloads": 2, "registry": "https://registry.npmjs.org/verdaccio-auther-memory" }, { @@ -175,7 +175,7 @@ "origin": "community", "category": "authentication", "latest": "0.1.100", - "downloads": 254, + "downloads": 367, "registry": "https://registry.npmjs.org/verdaccio-git" }, { @@ -186,7 +186,7 @@ "origin": "community", "category": "authentication", "latest": "6.0.0", - "downloads": 265, + "downloads": 264, "registry": "https://registry.npmjs.org/verdaccio-ldap" }, { @@ -208,7 +208,7 @@ "origin": "community", "category": "authentication", "latest": "1.0.0", - "downloads": 2, + "downloads": 1, "registry": "https://registry.npmjs.org/verdaccio-badger" }, { @@ -219,7 +219,7 @@ "origin": "community", "category": "authentication", "latest": "10.3.2", - "downloads": 3, + "downloads": 8, "registry": "https://registry.npmjs.org/@hamstudy/verdaccio-aws-s3-storage-sse" }, { @@ -230,7 +230,7 @@ "origin": "community", "category": "authentication", "latest": "2.0.2", - "downloads": 8, + "downloads": 13, "registry": "https://registry.npmjs.org/@xlts.dev/verdaccio-prometheus-middleware" }, { @@ -241,7 +241,7 @@ "origin": "community", "category": "authentication", "latest": "1.0.5", - "downloads": 6, + "downloads": 4, "registry": "https://registry.npmjs.org/verdaccio-github-auth" }, { @@ -252,7 +252,7 @@ "origin": "community", "category": "authentication", "latest": "3.0.1", - "downloads": 57, + "downloads": 50, "registry": "https://registry.npmjs.org/verdaccio-gitlab" }, { @@ -274,7 +274,7 @@ "origin": "community", "category": "authentication", "latest": "1.0.7", - "downloads": 58, + "downloads": 184, "registry": "https://registry.npmjs.org/verdaccio-package-count" }, { @@ -285,7 +285,7 @@ "origin": "community", "category": "authentication", "latest": "1.0.2", - "downloads": 41, + "downloads": 35, "registry": "https://registry.npmjs.org/verdaccio-activedirectory" }, { @@ -296,7 +296,7 @@ "origin": "community", "category": "authentication", "latest": "0.2.7", - "downloads": 23, + "downloads": 13, "registry": "https://registry.npmjs.org/verdaccio-profile-api" }, { @@ -307,7 +307,7 @@ "origin": "community", "category": "authentication", "latest": "1.1.8", - "downloads": 4, + "downloads": 3, "registry": "https://registry.npmjs.org/verdaccio-dynamodb" }, { @@ -318,7 +318,7 @@ "origin": "community", "category": "authentication", "latest": "0.2.5", - "downloads": 48, + "downloads": 28, "registry": "https://registry.npmjs.org/verdaccio-minio" }, { @@ -329,7 +329,7 @@ "origin": "community", "category": "authentication", "latest": "1.2.4", - "downloads": 20, + "downloads": 70, "registry": "https://registry.npmjs.org/verdaccio-redis-storage" }, { @@ -340,7 +340,7 @@ "origin": "community", "category": "authentication", "latest": "1.2.0", - "downloads": 3, + "downloads": 4, "registry": "https://registry.npmjs.org/verdaccio-mongodb" }, { @@ -351,7 +351,7 @@ "origin": "community", "category": "authentication", "latest": "1.0.0", - "downloads": 15, + "downloads": 16, "registry": "https://registry.npmjs.org/verdaccio-ldap5" }, { @@ -363,7 +363,7 @@ "url": "https://www.npmjs.org/@m03geek/verdaccio-google-cloud", "registry": "https://registry.npmjs.org/@m03geek/verdaccio-google-cloud", "latest": "0.1.0", - "downloads": 3 + "downloads": 4 }, { "name": "verdaccio-storage-proxy", @@ -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": 24 + "downloads": 25 }, { "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": 5 + "downloads": 11 }, { "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": 4 + "downloads": 5 }, { "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": 3 + "downloads": 2 }, { "name": "verdaccio-doreamon-oauth2", @@ -418,7 +418,7 @@ "url": "https://www.npmjs.org/verdaccio-doreamon-oauth2", "registry": "https://registry.npmjs.org/verdaccio-doreamon-oauth2", "latest": "1.2.1", - "downloads": 9 + "downloads": 23 }, { "name": "@outcome-co/verdaccio-google-cloud", @@ -429,7 +429,7 @@ "url": "https://www.npmjs.org/@outcome-co/verdaccio-google-cloud", "registry": "https://registry.npmjs.org/@outcome-co/verdaccio-google-cloud", "latest": "1.1.8", - "downloads": 3 + "downloads": 4 }, { "name": "verdaccio-pg-storage", @@ -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": 5 + "downloads": 4 }, { "name": "verdaccio-local-storage-with-cache-db", @@ -451,7 +451,7 @@ "url": "https://www.npmjs.org/verdaccio-local-storage-with-cache-db", "registry": "https://registry.npmjs.org/verdaccio-local-storage-with-cache-db", "latest": "9.7.7", - "downloads": 6 + "downloads": 4 }, { "name": "verdaccio-offline-storage", @@ -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": 27 + "downloads": 25 }, { "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": 2 + "downloads": 1 }, { "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": 163 + "downloads": 159 }, { "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": 49 + "downloads": 43 }, { "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": 52 + "downloads": 42 }, { "name": "verdaccio-auth0-ui", @@ -527,7 +527,7 @@ "url": "https://www.npmjs.org/verdaccio-auth0-ui", "registry": "https://registry.npmjs.org/verdaccio-auth0-ui", "latest": "4.0.1", - "downloads": 19 + "downloads": 24 }, { "name": "verdaccio-tagauth", @@ -538,7 +538,7 @@ "url": "https://www.npmjs.org/verdaccio-tagauth", "registry": "https://registry.npmjs.org/verdaccio-tagauth", "latest": "0.0.1", - "downloads": 1 + "downloads": 6 }, { "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": 12 + "downloads": 5 }, { "name": "verdaccio-platformatic-auth", @@ -560,7 +560,7 @@ "url": "https://www.npmjs.org/verdaccio-platformatic-auth", "registry": "https://registry.npmjs.org/verdaccio-platformatic-auth", "latest": "0.0.4", - "downloads": 3 + "downloads": 19 }, { "name": "verdaccio-google-oauth", @@ -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": 12 + "downloads": 9 }, { "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": 39 + "downloads": 52 }, { "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": 15 + "downloads": 17 }, { "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": 4 + "downloads": 3 }, { "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": 3 + "downloads": 5 }, { "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": 3 + "downloads": 2 }, { "name": "verdaccio-gitlab-oauth", @@ -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": 4 + "downloads": 3 }, { "name": "verdaccio-groups", @@ -681,7 +681,7 @@ "url": "https://www.npmjs.org/verdaccio-github-token", "registry": "https://registry.npmjs.org/verdaccio-github-token", "latest": "1.0.0", - "downloads": 8 + "downloads": 9 }, { "name": "verdaccio-mysql", @@ -692,7 +692,7 @@ "url": "https://www.npmjs.org/verdaccio-mysql", "registry": "https://registry.npmjs.org/verdaccio-mysql", "latest": "1.0.1", - "downloads": 7 + "downloads": 6 }, { "name": "verdaccio-qlchatauth", @@ -703,7 +703,7 @@ "url": "https://www.npmjs.org/verdaccio-qlchatauth", "registry": "https://registry.npmjs.org/verdaccio-qlchatauth", "latest": "0.0.9", - "downloads": 4 + "downloads": 3 }, { "name": "verdaccio-azure-ad-login", @@ -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": 11 + "downloads": 9 }, { "name": "verdaccio-oidc", @@ -725,7 +725,7 @@ "url": "https://www.npmjs.org/verdaccio-oidc", "registry": "https://registry.npmjs.org/verdaccio-oidc", "latest": "0.0.0-namesquat", - "downloads": 4 + "downloads": 2 }, { "name": "verdaccio-regman", @@ -736,7 +736,7 @@ "url": "https://www.npmjs.org/verdaccio-regman", "registry": "https://registry.npmjs.org/verdaccio-regman", "latest": "1.0.5", - "downloads": 3 + "downloads": 2 }, { "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": 4 + "downloads": 3 }, { "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": 2 + "downloads": 1 }, { "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": 6 + "downloads": 5 }, { "name": "verdaccio-auth-bearer", @@ -780,7 +780,7 @@ "url": "https://www.npmjs.org/verdaccio-auth-bearer", "registry": "https://registry.npmjs.org/verdaccio-auth-bearer", "latest": "2.5.0", - "downloads": 3 + "downloads": 2 }, { "name": "verdaccio-steedos", @@ -791,7 +791,7 @@ "url": "https://www.npmjs.org/verdaccio-steedos", "registry": "https://registry.npmjs.org/verdaccio-steedos", "latest": "1.0.0", - "downloads": 3 + "downloads": 2 }, { "name": "verdaccio-sqlite", @@ -802,7 +802,7 @@ "url": "https://www.npmjs.org/verdaccio-sqlite", "registry": "https://registry.npmjs.org/verdaccio-sqlite", "latest": "1.0.2", - "downloads": 7 + "downloads": 5 }, { "name": "verdaccio-simplegroup", @@ -813,7 +813,7 @@ "url": "https://www.npmjs.org/verdaccio-simplegroup", "registry": "https://registry.npmjs.org/verdaccio-simplegroup", "latest": "1.0.2", - "downloads": 9 + "downloads": 7 }, { "name": "verdaccio-betaversion", @@ -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": 7 + "downloads": 6 }, { "name": "verdaccio-apm-login", @@ -846,7 +846,7 @@ "url": "https://www.npmjs.org/verdaccio-apm-login", "registry": "https://registry.npmjs.org/verdaccio-apm-login", "latest": "1.0.6", - "downloads": 4 + "downloads": 3 }, { "name": "verdaccio-auth-stack", @@ -857,7 +857,7 @@ "url": "https://www.npmjs.org/verdaccio-auth-stack", "registry": "https://registry.npmjs.org/verdaccio-auth-stack", "latest": "1.0.3", - "downloads": 5 + "downloads": 4 }, { "name": "verdaccio-auth-capi", @@ -868,7 +868,7 @@ "url": "https://www.npmjs.org/verdaccio-auth-capi", "registry": "https://registry.npmjs.org/verdaccio-auth-capi", "latest": "1.0.2", - "downloads": 2 + "downloads": 1 }, { "name": "verdaccio-groupnames", @@ -879,7 +879,7 @@ "url": "https://www.npmjs.org/verdaccio-groupnames", "registry": "https://registry.npmjs.org/verdaccio-groupnames", "latest": "1.1.0", - "downloads": 24 + "downloads": 23 }, { "name": "verdaccio-auth-mongo", @@ -912,7 +912,7 @@ "url": "https://www.npmjs.org/verdaccio-simpleldap", "registry": "https://registry.npmjs.org/verdaccio-simpleldap", "latest": "0.1.1", - "downloads": 3 + "downloads": 2 }, { "name": "verdaccio-github-team", @@ -923,7 +923,7 @@ "url": "https://www.npmjs.org/verdaccio-github-team", "registry": "https://registry.npmjs.org/verdaccio-github-team", "latest": "0.1.2", - "downloads": 3 + "downloads": 2 }, { "name": "verdaccio-api-auth", @@ -934,7 +934,7 @@ "url": "https://www.npmjs.org/verdaccio-api-auth", "registry": "https://registry.npmjs.org/verdaccio-api-auth", "latest": "0.0.9", - "downloads": 3 + "downloads": 2 }, { "name": "verdaccio-delegated-auth", @@ -945,7 +945,7 @@ "url": "https://www.npmjs.org/verdaccio-delegated-auth", "registry": "https://registry.npmjs.org/verdaccio-delegated-auth", "latest": "0.1.1", - "downloads": 6 + "downloads": 4 }, { "name": "verdaccio-delegated-basic-auth", @@ -956,7 +956,7 @@ "url": "https://www.npmjs.org/verdaccio-delegated-basic-auth", "registry": "https://registry.npmjs.org/verdaccio-delegated-basic-auth", "latest": "0.0.2", - "downloads": 3 + "downloads": 2 }, { "name": "verdaccio-fixed-token", @@ -967,7 +967,7 @@ "url": "https://www.npmjs.org/verdaccio-fixed-token", "registry": "https://registry.npmjs.org/verdaccio-fixed-token", "latest": "0.0.1", - "downloads": 4 + "downloads": 8 }, { "name": "@wunderwerk/verdaccio-static-access-token-middleware-plugin", @@ -999,7 +999,7 @@ "url": "https://www.npmjs.org/verdaccio-sentry", "registry": "https://registry.npmjs.org/verdaccio-sentry", "latest": "0.0.2-beta", - "downloads": 4 + "downloads": 3 }, { "name": "verdaccio-openmetrics", @@ -1010,7 +1010,7 @@ "url": "https://www.npmjs.org/verdaccio-openmetrics", "registry": "https://registry.npmjs.org/verdaccio-openmetrics", "latest": "1.2.0", - "downloads": 53 + "downloads": 50 }, { "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": 5 + "downloads": 6 }, { "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": 33 + "downloads": 32 }, { "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": 12 + "downloads": 9 }, { "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": 378 + "downloads": 305 }, { "name": "verdaccio-apm-server", @@ -1065,7 +1065,7 @@ "url": "https://www.npmjs.org/verdaccio-apm-server", "registry": "https://registry.npmjs.org/verdaccio-apm-server", "latest": "1.0.14", - "downloads": 3 + "downloads": 2 }, { "name": "verdaccio-gae-ah", @@ -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": 24 + "downloads": 22 }, { "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": 13 + "downloads": 127 }, { "name": "verdaccio-utilities", @@ -1131,7 +1131,7 @@ "url": "https://www.npmjs.org/mlc-verdaccio-s3-archiver", "registry": "https://registry.npmjs.org/mlc-verdaccio-s3-archiver", "latest": "1.0.3", - "downloads": 2 + "downloads": 3 }, { "name": "bulk-npm-publish", @@ -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": 21 + "downloads": 19 }, { "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": 14 + "downloads": 15 } ] } From 2a6ee3307199d879e582847ee2f3b3539e98c793 Mon Sep 17 00:00:00 2001 From: Marc Bernard <59966492+mbtools@users.noreply.github.com> Date: Tue, 16 Jul 2024 13:28:45 -0400 Subject: [PATCH 2/5] fix(middleware): custom favicon (#4716) --- .changeset/cuddly-camels-relax.md | 5 ++++ .../src/middlewares/web/render-web.ts | 10 ++++++- .../src/middlewares/web/utils/renderHTML.ts | 2 ++ packages/middleware/test/config/favicon.ico | Bin 0 -> 15086 bytes .../middleware/test/config/file-logo.yaml | 1 + .../middleware/test/config/http-logo.yaml | 26 ++++++++++++++++++ packages/middleware/test/config/no-logo.yaml | 1 + packages/middleware/test/render.spec.ts | 16 +++++++++++ 8 files changed, 60 insertions(+), 1 deletion(-) create mode 100644 .changeset/cuddly-camels-relax.md create mode 100644 packages/middleware/test/config/favicon.ico create mode 100644 packages/middleware/test/config/http-logo.yaml diff --git a/.changeset/cuddly-camels-relax.md b/.changeset/cuddly-camels-relax.md new file mode 100644 index 000000000..4e0b7a3ad --- /dev/null +++ b/.changeset/cuddly-camels-relax.md @@ -0,0 +1,5 @@ +--- +'@verdaccio/middleware': patch +--- + +fix(middleware): custom favicon diff --git a/packages/middleware/src/middlewares/web/render-web.ts b/packages/middleware/src/middlewares/web/render-web.ts index 3064a42d3..a52c0588e 100644 --- a/packages/middleware/src/middlewares/web/render-web.ts +++ b/packages/middleware/src/middlewares/web/render-web.ts @@ -37,7 +37,15 @@ export function renderWebMiddleware(config, tokenMiddleware, pluginOptions) { // any match within the static is routed to the file system router.get('/-/static/*', function (req, res, next) { const filename = req.params[0]; - const file = `${staticPath}/${filename}`; + let file = `${staticPath}/${filename}`; + if (filename === 'favicon.ico' && config?.web?.favicon) { + file = config?.web?.favicon; + if (isURLhasValidProtocol(file)) { + debug('redirect to favicon %s', file); + req.url = file; + return next(); + } + } debug('render static file %o', file); res.sendFile(file, sendFileCallback(next)); }); diff --git a/packages/middleware/src/middlewares/web/utils/renderHTML.ts b/packages/middleware/src/middlewares/web/utils/renderHTML.ts index 65f1f1077..3d8976285 100644 --- a/packages/middleware/src/middlewares/web/utils/renderHTML.ts +++ b/packages/middleware/src/middlewares/web/utils/renderHTML.ts @@ -65,6 +65,7 @@ export default function renderHTML( const title = config?.web?.title ?? WEB_TITLE; const login = hasLogin(config); const scope = config?.web?.scope ?? ''; + const favicon = resolveLogo(config?.web?.favicon, config?.url_prefix, requestOptions); const logo = resolveLogo(config?.web?.logo, config?.url_prefix, requestOptions); const logoDark = resolveLogo(config?.web?.logoDark, config?.url_prefix, requestOptions); const pkgManagers = config?.web?.pkgManagers ?? ['yarn', 'pnpm', 'npm']; @@ -114,6 +115,7 @@ export default function renderHTML( version, logo, logoDark, + favicon, flags, login, pkgManagers, diff --git a/packages/middleware/test/config/favicon.ico b/packages/middleware/test/config/favicon.ico new file mode 100644 index 0000000000000000000000000000000000000000..1a4beb4b677465975cb41cf7dc28ea1b3a745038 GIT binary patch literal 15086 zcmdU0TWnNS6ulK9iHXRcCdODJ8b65fLlJ4kmPb**SH;?DLBIzEiJ*dtQK`=lKNLk2 z1T91mHToe4sA#AXYZXiB1H^)KkcWLj3v^~kl*Y1dt+ahj=pdX=V))HE$KGx2+vrXA#G!#KtJlEIqxI%l|s^KcPu1`D36 z&u~3S=WjF`y|gPHpA(J6HbmpG9V`b~;w%(UPzGgppe|J>*PRYFr?NyenCmZLJv&+7 z*?>5M@Hz_}&;^}Nc>F%+Ix?bXq6Lh%p%*bb@oRu?VDO9AoR7;5jmD#!`T%zlpXerF zF=O-k9*@Vb?25WIT9F8 zb)BY;lbv*;vqK5KpFDj^@d=4T1278*wKfG`KYQ3xupjR@K`m{q)YQ^UP0dZz+}c9z zCyrC+sgsIBN;Xfz2h4&$v99*O6I2iS3~ar$>^&NppJS2S;zIKhhJQ8>gPOA8+6m4rmW>*i~N>UK@1# zz-i$Z+e^Pswmte0#>0(Mb7|UBkA&F<;=iYiKZxyROo!M8sqQ@tzCmm+_(N=iRQ62< z_Ec;y971dZ1CQGnwR<|sf+eKPVm91PqyFQimz|#kU?a{98wjZzdU1r;x`LEyBOe?-RMpIvGu*D8e z87$HUKF5K?uwB;<={xVNU7_Z|+yGwbyx7C-(wGwRXD*SqwXE2Z0~36z4q~8x^>Y$*EXoy*X9?$Iy-RS zX7C68oi$ZFZpYK;0()7$ew8s_y49Ee!hV|a?4LAra7_jHpCJqDk{(x{miuFOQar!!)_F0X~ycz2K4KoM%Zk*Y4 zpB74`CYNt>pa(e$NP$Qmp-ohD4Yj*Q3hpEM-ZLJ%j5C_zVon*b%ik| zxsK>E)aeIDEEdaVy$3vb2KS>5pl&w|u`{v7toOfO&@KMsf6!rvA;G&hb$4S(vV-2< z{%tP%OT+~rvcC*qw*%(>kmzfI&ohNS#5NHhgvi--0R5~Zx(w~0##n%U4(_;bF}L(d z%I0$j$fSp-Dm=gy00Z`^YJ3MMqwJ0QA2{TAxA@ANh*cm4 zRrJIx8qKjHIfKtC%A>KH**L7lx*Om?cKPKDVnJC zihi>V{BZNiBisuY%&_!%a344Qc3S=UT8nw5O`LVNMJj84 zw{VyGYX9m~XIUd=*3<9@>I}(Qu#Y;s?8l+uBirbgdV4iJqxWEQ)z|@)o^^_a*j1z6yfMYIY%T)Icy-JrTCHZNXxm-2-giA z(51o@tQ&C(ge5Xrj5vjHgPk8HeYkDT+@&}-XRb2nv3%oyMq6R zrP8L1{kY}4D1$msSD>;or*j>G*-7sUZ@o&7zw(Sd2Cm1%w@04uD}Lm)k@tbTM&hj5 zPKT4Nu*PA1!#)aYYvKHvJ=WGleRg)HZ57**s=3xdU5HiN}AidvDO{z zq-R$~=&9w6w7sg$C@=k4$_GtlETq$aF$U5ZKPZonj0LAY$=qzmZwJSQ%Q;S3nxTtc MoAY1EhcYPpKk8q&4gdfE literal 0 HcmV?d00001 diff --git a/packages/middleware/test/config/file-logo.yaml b/packages/middleware/test/config/file-logo.yaml index 468ad357a..50441befc 100644 --- a/packages/middleware/test/config/file-logo.yaml +++ b/packages/middleware/test/config/file-logo.yaml @@ -15,6 +15,7 @@ web: primary_color: '#ffffff' logo: './test/config/dark-logo.png' logoDark: './test/config/dark-logo.png' + favicon: './test/config/favicon.ico' html_cache: false url_prefix: /prefix diff --git a/packages/middleware/test/config/http-logo.yaml b/packages/middleware/test/config/http-logo.yaml new file mode 100644 index 000000000..6f59e43d7 --- /dev/null +++ b/packages/middleware/test/config/http-logo.yaml @@ -0,0 +1,26 @@ +web: + title: verdaccio web + login: true + scope: '@scope' + pkgManagers: + - pnpm + - yarn + showInfo: true + showSettings: true + showSearch: true + showFooter: true + showThemeSwitch: true + showDownloadTarball: true + showRaw: true + primary_color: '#ffffff' + logo: https://raw.githubusercontent.com/verdaccio/verdaccio/master/assets/svg/logo-small.svg + logoDark: https://raw.githubusercontent.com/verdaccio/verdaccio/master/assets/svg/logo-blackwhite.svg + favicon: https://raw.githubusercontent.com/verdaccio/verdaccio/master/website/static/img/favicon/favicon.ico + html_cache: false + +url_prefix: /prefix + +log: { type: stdout, format: pretty, level: trace } + +flags: + changePassword: true diff --git a/packages/middleware/test/config/no-logo.yaml b/packages/middleware/test/config/no-logo.yaml index 794b8a441..0a7c19308 100644 --- a/packages/middleware/test/config/no-logo.yaml +++ b/packages/middleware/test/config/no-logo.yaml @@ -14,6 +14,7 @@ web: showRaw: true primary_color: '#ffffff' logo: + favicon: html_cache: false url_prefix: /prefix diff --git a/packages/middleware/test/render.spec.ts b/packages/middleware/test/render.spec.ts index 810f3adb8..96916abcd 100644 --- a/packages/middleware/test/render.spec.ts +++ b/packages/middleware/test/render.spec.ts @@ -86,6 +86,21 @@ describe('test web server', () => { expect(__VERDACCIO_BASENAME_UI_OPTIONS.logoDark).toMatch('/prefix/-/static/dark-logo.png'); }); + test('should render favicon as file', async () => { + const { + window: { __VERDACCIO_BASENAME_UI_OPTIONS }, + } = await render('file-logo.yaml'); + expect(__VERDACCIO_BASENAME_UI_OPTIONS.favicon).toMatch('/prefix/-/static/favicon.ico'); + }); + + test('should render logo and favicon as URL', async () => { + const { + window: { __VERDACCIO_BASENAME_UI_OPTIONS }, + } = await render('http-logo.yaml'); + expect(__VERDACCIO_BASENAME_UI_OPTIONS.logo).toMatch(/https:.*logo-small.svg/i); + expect(__VERDACCIO_BASENAME_UI_OPTIONS.favicon).toMatch(/https:.*favicon.ico/i); + }); + test('should not render logo as absolute file is wrong', async () => { const { window: { __VERDACCIO_BASENAME_UI_OPTIONS }, @@ -98,6 +113,7 @@ describe('test web server', () => { window: { __VERDACCIO_BASENAME_UI_OPTIONS }, } = await render('no-logo.yaml'); expect(__VERDACCIO_BASENAME_UI_OPTIONS.logo).toEqual(''); + expect(__VERDACCIO_BASENAME_UI_OPTIONS.favicon).toEqual(''); }); test.todo('should default title'); From 19df355e3cd677c3122f3209aa96a1d1f50fcf44 Mon Sep 17 00:00:00 2001 From: Marc Bernard <59966492+mbtools@users.noreply.github.com> Date: Wed, 17 Jul 2024 13:57:03 -0400 Subject: [PATCH 3/5] chore(api): update comment about route parameters (#4719) --- .changeset/witty-meals-nail.md | 5 +++++ packages/api/src/index.ts | 5 +++-- 2 files changed, 8 insertions(+), 2 deletions(-) create mode 100644 .changeset/witty-meals-nail.md diff --git a/.changeset/witty-meals-nail.md b/.changeset/witty-meals-nail.md new file mode 100644 index 000000000..325521a53 --- /dev/null +++ b/.changeset/witty-meals-nail.md @@ -0,0 +1,5 @@ +--- +'@verdaccio/api': patch +--- + +chore(api): update comment about route parameters diff --git a/packages/api/src/index.ts b/packages/api/src/index.ts index e4a3b9a1a..0be74b836 100644 --- a/packages/api/src/index.ts +++ b/packages/api/src/index.ts @@ -37,10 +37,11 @@ export default function (config: Config, auth: Auth, storage: Storage): Router { app.param('revision', validateName); app.param('token', validateName); - // these can't be safely put into express url for some reason - // TODO: For some reason? what reason? + // Express route parameter names must be valid JavaScript identifiers, which means + // they cannot start with a hyphen (-) or contain special characters like dots (.) app.param('_rev', match(/^-rev$/)); app.param('org_couchdb_user', match(/^org\.couchdb\.user:/)); + app.use(auth.apiJWTmiddleware()); app.use(express.json({ strict: false, limit: config.max_body_size || '10mb' })); app.use(antiLoop(config)); From 5a0c23f9003be4d54ac0df17600feebbeff51742 Mon Sep 17 00:00:00 2001 From: Marc Bernard <59966492+mbtools@users.noreply.github.com> Date: Wed, 17 Jul 2024 13:57:35 -0400 Subject: [PATCH 4/5] fix: Dockerfile error FromAsCasing (#4713) --- Dockerfile | 2 +- docker-examples/v5/plugins/docker-local-plugin/Dockerfile | 2 +- .../v6/plugins/docker-build-install-plugin/Dockerfile | 2 +- docker-examples/v6/plugins/docker-local-plugin/Dockerfile | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 4909bb875..3950b62cb 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM --platform=${BUILDPLATFORM:-linux/amd64} node:21-alpine as builder +FROM --platform=${BUILDPLATFORM:-linux/amd64} node:21-alpine AS builder ENV NODE_ENV=development \ VERDACCIO_BUILD_REGISTRY=https://registry.npmjs.org diff --git a/docker-examples/v5/plugins/docker-local-plugin/Dockerfile b/docker-examples/v5/plugins/docker-local-plugin/Dockerfile index 1c9d67723..d224ef7b7 100644 --- a/docker-examples/v5/plugins/docker-local-plugin/Dockerfile +++ b/docker-examples/v5/plugins/docker-local-plugin/Dockerfile @@ -1,7 +1,7 @@ # Docs based on https://github.com/xlts-dev/verdaccio-prometheus-middleware#installation # Docker multi-stage build - https://docs.docker.com/develop/develop-images/multistage-build/ # Use an alpine node image to install the plugin -FROM node:lts-alpine as builder +FROM node:lts-alpine AS builder RUN mkdir -p /verdaccio/plugins diff --git a/docker-examples/v6/plugins/docker-build-install-plugin/Dockerfile b/docker-examples/v6/plugins/docker-build-install-plugin/Dockerfile index 691a2f4a9..87396379d 100644 --- a/docker-examples/v6/plugins/docker-build-install-plugin/Dockerfile +++ b/docker-examples/v6/plugins/docker-build-install-plugin/Dockerfile @@ -2,7 +2,7 @@ # Docker multi-stage build - https://docs.docker.com/develop/develop-images/multistage-build/ # Use an alpine node image to install the plugin -FROM node:lts-alpine as builder +FROM node:lts-alpine AS builder # Install the metrics middleware plugin # npm docs diff --git a/docker-examples/v6/plugins/docker-local-plugin/Dockerfile b/docker-examples/v6/plugins/docker-local-plugin/Dockerfile index db4dc45df..141341a3e 100644 --- a/docker-examples/v6/plugins/docker-local-plugin/Dockerfile +++ b/docker-examples/v6/plugins/docker-local-plugin/Dockerfile @@ -1,7 +1,7 @@ # Docs based on https://github.com/xlts-dev/verdaccio-prometheus-middleware#installation # Docker multi-stage build - https://docs.docker.com/develop/develop-images/multistage-build/ # Use an alpine node image to install the plugin -FROM node:lts-alpine as builder +FROM node:lts-alpine AS builder RUN mkdir -p /verdaccio/plugins From c31aec833644286616f65e40843c1bad119b2fa2 Mon Sep 17 00:00:00 2001 From: Marc Bernard <59966492+mbtools@users.noreply.github.com> Date: Wed, 17 Jul 2024 15:14:44 -0400 Subject: [PATCH 5/5] fix: typo in config docs regarding check_owners (#4720) --- .changeset/thin-snails-flow.md | 6 ++++++ packages/config/src/conf/default.yaml | 2 +- packages/config/src/conf/docker.yaml | 2 +- website/docs/config.md | 4 ++-- 4 files changed, 10 insertions(+), 4 deletions(-) create mode 100644 .changeset/thin-snails-flow.md diff --git a/.changeset/thin-snails-flow.md b/.changeset/thin-snails-flow.md new file mode 100644 index 000000000..1a3645756 --- /dev/null +++ b/.changeset/thin-snails-flow.md @@ -0,0 +1,6 @@ +--- +'@verdaccio/config': patch +'@verdaccio/website': patch +--- + +fix: typo in config docs regarding check_owners diff --git a/packages/config/src/conf/default.yaml b/packages/config/src/conf/default.yaml index 638828431..474237f76 100644 --- a/packages/config/src/conf/default.yaml +++ b/packages/config/src/conf/default.yaml @@ -120,7 +120,7 @@ server: # https://verdaccio.org/docs/configuration#offline-publish # publish: # allow_offline: false -# check_owner: false +# check_owners: false # https://verdaccio.org/docs/configuration#url-prefix # url_prefix: /verdaccio/ diff --git a/packages/config/src/conf/docker.yaml b/packages/config/src/conf/docker.yaml index ddb62b516..6973f9bc4 100644 --- a/packages/config/src/conf/docker.yaml +++ b/packages/config/src/conf/docker.yaml @@ -126,7 +126,7 @@ server: # https://verdaccio.org/docs/configuration#offline-publish # publish: # allow_offline: false -# check_owner: false +# check_owners: false # https://verdaccio.org/docs/configuration#url-prefix # url_prefix: /verdaccio/ diff --git a/website/docs/config.md b/website/docs/config.md index 3dc61f037..be4543b30 100644 --- a/website/docs/config.md +++ b/website/docs/config.md @@ -194,11 +194,11 @@ publish: ### Checking Package Ownership {#chec-owner} -By default, [package access](packages.md) defines who is allowed to publish and unpublish packages. By setting `check_owner` to _true_, only package owners are allowed to make changes to a package. The first owner of a package is the user who published the first version. Further owners can be added or removed using [`npm owner`](https://docs.npmjs.com/cli/v10/commands/npm-owner). You can find the list of current owners in the package manifest under `maintainers`. +By default, [package access](packages.md) defines who is allowed to publish and unpublish packages. By setting `check_owners` to _true_, only package owners are allowed to make changes to a package. The first owner of a package is the user who published the first version. Further owners can be added or removed using [`npm owner`](https://docs.npmjs.com/cli/v10/commands/npm-owner). You can find the list of current owners using `npm owner list` or by checking the package manifest under `maintainers`. ```yaml publish: - check_owner: false + check_owners: false ``` Since: `verdaccio@2.3.6` due [#223](https://github.com/verdaccio/verdaccio/pull/223)