Compare commits

...

57 Commits

Author SHA1 Message Date
Juan Picado
23e6967a69 chore: update versions (6-next) (#3823)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-05-14 17:03:36 +02:00
Juan Picado
4a33e269b2 chore: restore logger versions 2023-05-14 15:10:03 +02:00
Juan Picado
74a9a9d18c update renovate 2023-05-14 14:57:37 +02:00
Juan Picado
c91f94faa5 Update renovate.json 2023-05-14 14:31:37 +02:00
Juan Picado
109a836a3c Update renovate.json 2023-05-14 14:25:49 +02:00
Juan Picado
ff99597e73 Update renovate.json 2023-05-14 14:24:12 +02:00
Juan Picado
4371899b92 Update renovate.json 2023-05-14 14:04:10 +02:00
Juan Picado
763f149c46 Update renovate.json 2023-05-14 13:40:10 +02:00
Juan Picado
3f0c89b562 Update renovate.json 2023-05-14 13:31:07 +02:00
Juan Picado
658ff3a3c3 chore: update renovate 2023-05-14 13:29:06 +02:00
Juan Picado
6369612ccb chore: update versions (6-next) (#3759)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-05-14 12:36:49 +02:00
Juan Picado
15e58d988c feat: add search package utils (#3819)
* chore: add search package

* feat: add search package utils

* feat: add search package utils

* fix order dependencies
2023-05-14 12:22:02 +02:00
renovate[bot]
fdd7d963ca fix(deps): update dependency pino to v8.14.1 (#3817) 2023-05-14 08:56:58 +02:00
renovate[bot]
bef3e2742e chore(deps): update dependency fastify to v4.17.0 (#3814)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-13 20:27:10 +02:00
renovate[bot]
17e8e8c5fd chore(deps): update dependency webpack to v5.82.1 (#3815)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-13 20:27:02 +02:00
Juan Picado
5706de56b4 chore: remove comment docusaurus 2023-05-13 17:14:21 +02:00
renovate[bot]
16cb1fd797 fix(deps): update dependency ajv to v8.12.0 (#3809)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-13 16:51:17 +02:00
renovate[bot]
0e4e1c12bf fix(deps): update dependency core-js to v3.30.2 (#3810)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-13 16:51:09 +02:00
Juan Picado
bbd97b7cf8 chore: restore dep (#3813) 2023-05-13 16:50:32 +02:00
Juan Picado
cc43ba4faf chore: fix local startup 2023-05-13 16:17:57 +02:00
renovate[bot]
d52dbadae8 fix(deps): update dependency memfs to v3.5.1 (#3808) 2023-05-11 14:12:01 +02:00
Juan Picado
ffaf5cc0f4 Update renovate.json 2023-05-11 07:41:08 +02:00
verdacciobot
fa09aed2e7 chore: updated static data 2023-05-11 00:13:14 +00:00
Daniel Ruf
eed6bc01f2 Remove mention of HackerOne program (#3803) 2023-05-08 22:47:18 +02:00
renovate[bot]
90fcbedf1f chore(deps): update dependency @types/async to v3.2.20 (#3801)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-08 22:45:45 +02:00
verdacciobot
91741915df chore: updated static data 2023-05-08 00:13:04 +00:00
renovate[bot]
1c1a681138 fix(deps): update dependency sonic-boom to v3.3.0 (#3790) 2023-05-07 12:49:49 +02:00
renovate[bot]
30293f70cb fix(deps): update dependency pino to v8.12.1 (#3789) 2023-05-07 12:49:31 +02:00
renovate[bot]
548f1293c7 fix(deps): update dependency npm to v9.6.6 (master) (#3784)
* fix(deps): update dependency npm to v9.6.6

* Update audit.spec.ts

* Update audit.spec.ts

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Juan Picado <juanpicado19@gmail.com>
2023-05-07 11:15:37 +02:00
renovate[bot]
8ec6b0d47e chore(deps): update dependency html-webpack-plugin to v5.5.1 (#3788)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-06 07:49:55 +02:00
renovate[bot]
f0a53d3095 chore(deps): update github/codeql-action digest to 29b1f65 (#3780)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-06 07:34:19 +02:00
renovate[bot]
ba19faeae2 chore(deps): update dependency body-parser to v1.20.2 (#3787)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-06 07:34:05 +02:00
verdacciobot
14e8969c6d chore: updated static data 2023-05-04 00:14:01 +00:00
renovate[bot]
b8469cdbf7 chore(deps): update dependency @testing-library/react to v12.1.5 (#3781) 2023-05-02 22:09:38 +02:00
dependabot[bot]
1d82994f2e chore(deps): bump github/codeql-action from 2.3.0 to 2.3.2 (#3782)
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 2.3.0 to 2.3.2.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](b2c19fb9a2...f3feb00acb)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-02 19:08:15 +02:00
renovate[bot]
55f2b9301e fix(deps): update dependency marked to v4.3.0 (#3783)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-02 19:05:45 +02:00
renovate[bot]
437ab92f0b fix(deps): update dependency colorette to v2.0.20 (#3785)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-02 19:05:33 +02:00
renovate[bot]
08e664bbd2 fix(deps): update dependency kleur to v4.1.5 (#3786)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-02 19:05:22 +02:00
verdacciobot
7f050bc6f1 chore: updated static data 2023-05-01 00:14:46 +00:00
Raz Luvaton
489f036773 added e2e example test (#3779) 2023-04-30 22:56:37 +02:00
renovate[bot]
94fb0c7922 fix(deps): update dependency @crowdin/crowdin-api-client to v1.22.1 (#3774)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-30 08:48:14 +02:00
renovate[bot]
827c9d7852 fix(deps): update dependency @lyrasearch/lyra to ^0.4.0 (#3775) 2023-04-27 20:03:06 +02:00
renovate[bot]
37c8557e36 chore(deps): update dependency http-errors to v2.0.0 (#3772) 2023-04-27 18:39:45 +02:00
renovate[bot]
690d8e69b4 fix(deps): update dependency semver to v7.5.0 (#3777) 2023-04-27 18:39:25 +02:00
renovate[bot]
154f96e490 fix(deps): update dependency lru-cache to v7.18.3 (#3776) 2023-04-27 17:45:54 +02:00
renovate[bot]
0b3eb5ffb4 chore(deps): update dependency js-yaml to v4.1.0 (#3773) 2023-04-27 17:29:37 +02:00
renovate[bot]
eff234af57 fix(deps): update dependency copy-text-to-clipboard to v3.1.0 (#3771) 2023-04-27 16:53:19 +02:00
Xingwang Liao
910fc03f62 fix(ui-theme): fix menuKey for Khmer language (#3770) 2023-04-27 15:50:19 +02:00
verdacciobot
82fe99ae12 chore: updated static data 2023-04-27 00:17:48 +00:00
Sergio Herrera
a8a34d74a6 fix: packages/plugins/aws-storage/package.json to reduce vulnerabilities (#3766)
The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-JS-XML2JS-5414874

Co-authored-by: snyk-bot <snyk-bot@snyk.io>
2023-04-25 17:29:17 +02:00
dependabot[bot]
24f5bf26ca chore(deps): bump treosh/lighthouse-ci-action from 9.6.8 to 10.1.0 (#3764)
Bumps [treosh/lighthouse-ci-action](https://github.com/treosh/lighthouse-ci-action) from 9.6.8 to 10.1.0.
- [Release notes](https://github.com/treosh/lighthouse-ci-action/releases)
- [Commits](2e159d989f...03becbfc54)

---
updated-dependencies:
- dependency-name: treosh/lighthouse-ci-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-24 17:24:39 +02:00
renovate[bot]
954dbae5f4 chore(deps): update marocchino/sticky-pull-request-comment digest to f61b6cf (#3762)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-24 07:33:48 +02:00
renovate[bot]
3a55dc2be2 chore(deps): update github/codeql-action digest to b2c19fb (#3761)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-24 07:33:27 +02:00
verdacciobot
a0980feba1 chore: updated static data 2023-04-24 00:14:41 +00:00
Juan Picado
c9d1af0e5b feat: async bcrypt hash (#3694)
* +feat: async bcrypt hash

* +feat: async bcrypt hash
2023-04-22 20:55:45 +02:00
Juan Picado
4275b1894e chore: update link support 2023-04-22 12:27:24 +02:00
Juan Picado
50a0daf1e6 Update renovate.json 2023-04-22 11:25:16 +02:00
111 changed files with 2844 additions and 1672 deletions

View File

@@ -58,7 +58,8 @@
"@verdaccio/logger-7": "6.0.0-6-next.1",
"@verdaccio/logger-commons": "6.0.0-6-next.25",
"@verdaccio/e2e-cli-pnpm8": "1.0.1-6-next.6",
"@verdaccio/signature": "6.0.0-6-next.1"
"@verdaccio/signature": "6.0.0-6-next.1",
"@verdaccio/search": "6.0.0-6-next.1"
},
"changesets": [
"afraid-mice-obey",
@@ -146,6 +147,7 @@
"shiny-chefs-heal",
"shy-ducks-cover",
"silly-moose-watch",
"six-boats-sparkle",
"slow-carrots-relate",
"slow-snails-sniff",
"smart-apricots-kneel",
@@ -158,9 +160,12 @@
"spicy-snakes-sip",
"strange-ladybugs-nail",
"strong-socks-type",
"stupid-sloths-leave",
"swift-pumpkins-knock",
"ten-parents-breathe",
"tender-bags-call",
"tender-pots-yawn",
"tender-tigers-hammer",
"thick-countries-move",
"thick-geese-wash",
"thick-readers-hang",

View File

@@ -0,0 +1,5 @@
---
'@verdaccio/search': minor
---
feat: add search package utilities

View File

@@ -0,0 +1,7 @@
---
'@verdaccio/logger-7': patch
'@verdaccio/logger-commons': patch
'@verdaccio/logger-prettify': patch
---
fix: restore pino legacy version

View File

@@ -0,0 +1,5 @@
---
'@verdaccio/ui-theme': patch
---
fix menuKey for Khmer language

View File

@@ -0,0 +1,7 @@
---
'@verdaccio/auth': minor
'@verdaccio/core': minor
'verdaccio-htpasswd': minor
---
feat: async bcrypt hash

View File

@@ -34,7 +34,7 @@ jobs:
# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@7df0ce34898d659f95c0c4a09eaa8d4e32ee64db # tag=v2
uses: github/codeql-action/init@29b1f65c5e92e24fe6b6647da1eaabe529cec70f # v2
# Override language selection by uncommenting this and choosing your languages
# with:
@@ -42,7 +42,7 @@ jobs:
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@7df0ce34898d659f95c0c4a09eaa8d4e32ee64db # tag=v2
uses: github/codeql-action/autobuild@29b1f65c5e92e24fe6b6647da1eaabe529cec70f # v2
# Command-line programs to run using the OS shell.
# 📚 https://git.io/JvXDl
@@ -56,4 +56,4 @@ jobs:
# make release
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@7df0ce34898d659f95c0c4a09eaa8d4e32ee64db # tag=v2
uses: github/codeql-action/analyze@29b1f65c5e92e24fe6b6647da1eaabe529cec70f # v2

View File

@@ -100,7 +100,7 @@ jobs:
- name: Audit preview URL with Lighthouse
if: github.repository == 'verdaccio/verdaccio'
id: lighthouse_audit
uses: treosh/lighthouse-ci-action@2e159d989f91bb9e399801b3e1ad90bcd4749f75 # tag=9.6.8
uses: treosh/lighthouse-ci-action@03becbfc543944dd6e7534f7ff768abb8a296826 # tag=10.1.0
with:
urls: |
${{ steps.netlify_preview.outputs.preview-url }}
@@ -134,7 +134,7 @@ jobs:
- name: Add comment to PR
if: github.repository == 'verdaccio/verdaccio'
id: comment_to_pr
uses: marocchino/sticky-pull-request-comment@3d60a5b2dae89d44e0c6ddc69dd7536aec2071cd # tag=v2
uses: marocchino/sticky-pull-request-comment@f61b6cf21ef2fcc468f4345cdfcc9bda741d2343 # v2
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
number: ${{ github.event.issue.number }}

View File

@@ -28,7 +28,7 @@ At Verdaccio, we consider the security of our systems a top priority. But no mat
If you discover a security vulnerability, please use one of the following means of communications to report it to us:
- Report the security issue to the Node.js Security WG through the [HackerOne program](https://hackerone.com/nodejs-ecosystem) for ecosystem modules on npm, or to [Snyk Security Team](https://snyk.io/vulnerability-disclosure). They will help triage the security issue and work with all involved parties to remediate and release a fix.
- Report the security issue to [Snyk Security Team](https://snyk.io/vulnerability-disclosure). They will help triage the security issue and work with all involved parties to remediate and release a fix.
Note that time-frame and processes are subject to each programs own policy.

View File

@@ -5,8 +5,8 @@
"main": "./build/index.js",
"types": "./build/index.d.ts",
"devDependencies": {
"@verdaccio/config": "workspace:6.0.0-6-next.68",
"@verdaccio/core": "workspace:6.0.0-6-next.68",
"@verdaccio/config": "workspace:6.0.0-6-next.70",
"@verdaccio/core": "workspace:6.0.0-6-next.70",
"@verdaccio/types": "workspace:11.0.0-6-next.25",
"debug": "4.3.4",
"fs-extra": "10.1.0",
@@ -14,7 +14,7 @@
"js-yaml": "4.1.0",
"get-port": "5.1.1",
"lodash": "4.17.21",
"verdaccio": "workspace:6.0.0-6-next.68"
"verdaccio": "workspace:6.0.0-6-next.70"
},
"scripts": {
"test": "jest",

View File

@@ -33,9 +33,6 @@ describe('audit a package', () => {
);
const parsedBody = JSON.parse(resp.stdout as string);
expect(parsedBody.metadata).toBeDefined();
expect(parsedBody.actions).toBeDefined();
expect(parsedBody.advisories).toBeDefined();
expect(parsedBody.muted).toBeDefined();
}
);

View File

@@ -4,7 +4,7 @@
"version": "1.0.1-6-next.7",
"dependencies": {
"@verdaccio/test-cli-commons": "workspace:1.1.0-6-next.7",
"npm": "6.14.18"
"npm": "9.6.6"
},
"scripts": {
"test": "jest"

View File

@@ -4,7 +4,7 @@
"version": "1.0.1-6-next.7",
"dependencies": {
"@verdaccio/test-cli-commons": "workspace:1.1.0-6-next.7",
"npm": "7.24.2"
"npm": "9.6.6"
},
"scripts": {
"test": "jest"

View File

@@ -4,7 +4,7 @@
"version": "1.0.1-6-next.7",
"dependencies": {
"@verdaccio/test-cli-commons": "workspace:1.1.0-6-next.7",
"npm": "8.19.4"
"npm": "9.6.6"
},
"scripts": {
"test": "jest"

View File

@@ -4,7 +4,7 @@
"version": "1.0.1-6-next.7",
"dependencies": {
"@verdaccio/test-cli-commons": "workspace:1.1.0-6-next.7",
"npm": "9.6.3"
"npm": "9.6.6"
},
"scripts": {
"test": "jest"

View File

@@ -3,9 +3,9 @@
"name": "@verdaccio/e2e-ui",
"version": "2.0.0-6-next.4",
"devDependencies": {
"verdaccio": "workspace:6.0.0-6-next.68",
"@verdaccio/core": "workspace:6.0.0-6-next.68",
"@verdaccio/config": "workspace:6.0.0-6-next.68",
"verdaccio": "workspace:6.0.0-6-next.70",
"@verdaccio/core": "workspace:6.0.0-6-next.70",
"@verdaccio/config": "workspace:6.0.0-6-next.70",
"@verdaccio/test-helper": "workspace:2.0.0-6-next.8",
"debug": "4.3.4",
"cypress": "11.2.0",

View File

@@ -48,9 +48,9 @@
"@emotion/styled": "11.10.6",
"@testing-library/dom": "8.19.1",
"@testing-library/jest-dom": "5.16.5",
"@testing-library/react": "12.1.4",
"@testing-library/react": "12.1.5",
"@trivago/prettier-plugin-sort-imports": "^4.0.0",
"@types/async": "3.2.16",
"@types/async": "3.2.20",
"@types/body-parser": "1.19.2",
"@types/connect": "3.4.35",
"@types/cookiejar": "2.1.2",
@@ -79,7 +79,7 @@
"@types/supertest": "2.0.12",
"@types/testing-library__jest-dom": "5.14.5",
"@types/validator": "13.7.12",
"@types/webpack": "5.28.0",
"@types/webpack": "5.28.1",
"@types/webpack-env": "1.18.0",
"@typescript-eslint/eslint-plugin": "5.52.0",
"@typescript-eslint/parser": "5.52.0",
@@ -106,7 +106,7 @@
"jest-environment-jsdom-global": "3.1.2",
"jest-environment-node": "29.3.1",
"jest-junit": "12.3.0",
"kleur": "3.0.3",
"kleur": "4.1.5",
"lint-staged": "11.2.6",
"nock": "13.2.9",
"nodemon": "2.0.20",
@@ -166,7 +166,7 @@
"postinstall": "husky install",
"local:registry": "pnpm --filter ...@verdaccio/local-publish start",
"local:snapshots": "changeset version --snapshot",
"local:publish": "cross-env npm_config_registry=http://localhost:4873 pnpm ci:publish -- --no-git-tag",
"local:publish": "cross-env npm_config_registry=http://localhost:4873 changeset publish --no-git-tag",
"local:publish:release": "concurrently \"pnpm local:registry\" \"pnpm local:publish\""
},
"pnpm": {

View File

@@ -1,5 +1,30 @@
# @verdaccio/api
## 6.0.0-6-next.53
### Patch Changes
- @verdaccio/logger@6.0.0-6-next.38
- @verdaccio/auth@6.0.0-6-next.49
- @verdaccio/middleware@6.0.0-6-next.49
- @verdaccio/store@6.0.0-6-next.50
- @verdaccio/core@6.0.0-6-next.70
- @verdaccio/config@6.0.0-6-next.70
- @verdaccio/utils@6.0.0-6-next.38
## 6.0.0-6-next.52
### Patch Changes
- Updated dependencies [c9d1af0e]
- @verdaccio/auth@6.0.0-6-next.48
- @verdaccio/core@6.0.0-6-next.69
- @verdaccio/config@6.0.0-6-next.69
- @verdaccio/middleware@6.0.0-6-next.48
- @verdaccio/store@6.0.0-6-next.49
- @verdaccio/utils@6.0.0-6-next.37
- @verdaccio/logger@6.0.0-6-next.37
## 6.0.0-6-next.51
### Patch Changes

View File

@@ -1,6 +1,6 @@
{
"name": "@verdaccio/api",
"version": "6.0.0-6-next.51",
"version": "6.0.0-6-next.53",
"description": "loaders logic",
"main": "./build/index.js",
"types": "build/index.d.ts",
@@ -39,25 +39,25 @@
},
"license": "MIT",
"dependencies": {
"@verdaccio/auth": "workspace:6.0.0-6-next.47",
"@verdaccio/config": "workspace:6.0.0-6-next.68",
"@verdaccio/core": "workspace:6.0.0-6-next.68",
"@verdaccio/logger": "workspace:6.0.0-6-next.36",
"@verdaccio/middleware": "workspace:6.0.0-6-next.47",
"@verdaccio/store": "workspace:6.0.0-6-next.48",
"@verdaccio/utils": "workspace:6.0.0-6-next.36",
"@verdaccio/auth": "workspace:6.0.0-6-next.49",
"@verdaccio/config": "workspace:6.0.0-6-next.70",
"@verdaccio/core": "workspace:6.0.0-6-next.70",
"@verdaccio/logger": "workspace:6.0.0-6-next.38",
"@verdaccio/middleware": "workspace:6.0.0-6-next.49",
"@verdaccio/store": "workspace:6.0.0-6-next.50",
"@verdaccio/utils": "workspace:6.0.0-6-next.38",
"abortcontroller-polyfill": "1.7.5",
"cookies": "0.8.0",
"debug": "4.3.4",
"body-parser": "1.20.1",
"body-parser": "1.20.2",
"express": "4.18.2",
"lodash": "4.17.21",
"mime": "2.6.0",
"semver": "7.3.8"
"semver": "7.5.0"
},
"devDependencies": {
"@types/node": "16.18.10",
"@verdaccio/server": "workspace:6.0.0-6-next.57",
"@verdaccio/server": "workspace:6.0.0-6-next.59",
"@verdaccio/types": "workspace:11.0.0-6-next.25",
"@verdaccio/test-helper": "workspace:2.0.0-6-next.8",
"supertest": "6.3.3",

View File

@@ -1,5 +1,34 @@
# @verdaccio/auth
## 6.0.0-6-next.49
### Patch Changes
- @verdaccio/logger@6.0.0-6-next.38
- @verdaccio/loaders@6.0.0-6-next.39
- verdaccio-htpasswd@11.0.0-6-next.40
- @verdaccio/core@6.0.0-6-next.70
- @verdaccio/config@6.0.0-6-next.70
- @verdaccio/utils@6.0.0-6-next.38
- @verdaccio/signature@6.0.0-6-next.2
## 6.0.0-6-next.48
### Minor Changes
- c9d1af0e: feat: async bcrypt hash
### Patch Changes
- Updated dependencies [c9d1af0e]
- @verdaccio/core@6.0.0-6-next.69
- verdaccio-htpasswd@11.0.0-6-next.39
- @verdaccio/config@6.0.0-6-next.69
- @verdaccio/loaders@6.0.0-6-next.38
- @verdaccio/utils@6.0.0-6-next.37
- @verdaccio/signature@6.0.0-6-next.2
- @verdaccio/logger@6.0.0-6-next.37
## 6.0.0-6-next.47
### Patch Changes

View File

@@ -1,6 +1,6 @@
{
"name": "@verdaccio/auth",
"version": "6.0.0-6-next.47",
"version": "6.0.0-6-next.49",
"description": "logger",
"main": "./build/index.js",
"types": "./build/index.d.ts",
@@ -39,16 +39,16 @@
},
"license": "MIT",
"dependencies": {
"@verdaccio/core": "workspace:6.0.0-6-next.68",
"@verdaccio/config": "workspace:6.0.0-6-next.68",
"@verdaccio/loaders": "workspace:6.0.0-6-next.37",
"@verdaccio/logger": "workspace:6.0.0-6-next.36",
"@verdaccio/core": "workspace:6.0.0-6-next.70",
"@verdaccio/config": "workspace:6.0.0-6-next.70",
"@verdaccio/loaders": "workspace:6.0.0-6-next.39",
"@verdaccio/logger": "workspace:6.0.0-6-next.38",
"@verdaccio/signature": "workspace:6.0.0-6-next.2",
"@verdaccio/utils": "workspace:6.0.0-6-next.36",
"@verdaccio/utils": "workspace:6.0.0-6-next.38",
"debug": "4.3.4",
"express": "4.18.2",
"lodash": "4.17.21",
"verdaccio-htpasswd": "workspace:11.0.0-6-next.38"
"verdaccio-htpasswd": "workspace:11.0.0-6-next.40"
},
"devDependencies": {
"@verdaccio/types": "workspace:11.0.0-6-next.25"

View File

@@ -8,7 +8,7 @@ import { Config } from '@verdaccio/types';
import { Auth } from '../src';
import { authPluginFailureConf, authPluginPassThrougConf, authProfileConf } from './helper/plugin';
setup({});
setup({ level: 'debug', type: 'stdout' });
describe('AuthTest', () => {
test('should init correctly', async () => {
@@ -29,6 +29,18 @@ describe('AuthTest', () => {
expect(auth).toBeDefined();
});
test('should load custom algorithm', async () => {
const config: Config = new AppConfig({
...authProfileConf,
auth: { htpasswd: { algorithm: 'sha1', file: './foo' } },
});
config.checkSecretKey('12345');
const auth: Auth = new Auth(config);
await auth.init();
expect(auth).toBeDefined();
});
describe('test authenticate method', () => {
describe('test authenticate states', () => {
test('should be a success login', async () => {

View File

@@ -1,5 +1,24 @@
# @verdaccio/cli
## 6.0.0-6-next.70
### Patch Changes
- @verdaccio/logger@6.0.0-6-next.38
- @verdaccio/node-api@6.0.0-6-next.70
- @verdaccio/core@6.0.0-6-next.70
- @verdaccio/config@6.0.0-6-next.70
## 6.0.0-6-next.69
### Patch Changes
- Updated dependencies [c9d1af0e]
- @verdaccio/core@6.0.0-6-next.69
- @verdaccio/config@6.0.0-6-next.69
- @verdaccio/node-api@6.0.0-6-next.69
- @verdaccio/logger@6.0.0-6-next.37
## 6.0.0-6-next.68
### Patch Changes

View File

@@ -1,6 +1,6 @@
{
"name": "@verdaccio/cli",
"version": "6.0.0-6-next.68",
"version": "6.0.0-6-next.70",
"author": {
"name": "Juan Picado",
"email": "juanpicado19@gmail.com"
@@ -44,14 +44,14 @@
"start": "ts-node src/index.ts"
},
"dependencies": {
"@verdaccio/core": "workspace:6.0.0-6-next.68",
"@verdaccio/config": "workspace:6.0.0-6-next.68",
"@verdaccio/logger": "workspace:6.0.0-6-next.36",
"@verdaccio/node-api": "workspace:6.0.0-6-next.68",
"@verdaccio/core": "workspace:6.0.0-6-next.70",
"@verdaccio/config": "workspace:6.0.0-6-next.70",
"@verdaccio/logger": "workspace:6.0.0-6-next.38",
"@verdaccio/node-api": "workspace:6.0.0-6-next.70",
"clipanion": "3.2.0",
"envinfo": "7.8.1",
"kleur": "3.0.3",
"semver": "7.3.8"
"kleur": "4.1.5",
"semver": "7.5.0"
},
"devDependencies": {
"ts-node": "10.9.1"

View File

@@ -1,5 +1,20 @@
# @verdaccio/config
## 6.0.0-6-next.70
### Patch Changes
- @verdaccio/core@6.0.0-6-next.70
- @verdaccio/utils@6.0.0-6-next.38
## 6.0.0-6-next.69
### Patch Changes
- Updated dependencies [c9d1af0e]
- @verdaccio/core@6.0.0-6-next.69
- @verdaccio/utils@6.0.0-6-next.37
## 6.0.0-6-next.68
### Patch Changes

View File

@@ -1,6 +1,6 @@
{
"name": "@verdaccio/config",
"version": "6.0.0-6-next.68",
"version": "6.0.0-6-next.70",
"description": "logger",
"main": "./build/index.js",
"types": "build/index.d.ts",
@@ -38,8 +38,8 @@
"build": "pnpm run build:js && pnpm run build:types"
},
"dependencies": {
"@verdaccio/core": "workspace:6.0.0-6-next.68",
"@verdaccio/utils": "workspace:6.0.0-6-next.36",
"@verdaccio/core": "workspace:6.0.0-6-next.70",
"@verdaccio/utils": "workspace:6.0.0-6-next.38",
"debug": "4.3.4",
"js-yaml": "4.1.0",
"lodash": "4.17.21",

View File

@@ -1,5 +1,13 @@
# @verdaccio/core
## 6.0.0-6-next.70
## 6.0.0-6-next.69
### Minor Changes
- c9d1af0e: feat: async bcrypt hash
## 6.0.0-6-next.68
## 6.0.0-6-next.67

View File

@@ -1,6 +1,6 @@
{
"name": "@verdaccio/core",
"version": "6.0.0-6-next.68",
"version": "6.0.0-6-next.70",
"description": "core utilities",
"keywords": [
"private",
@@ -33,12 +33,12 @@
"access": "public"
},
"dependencies": {
"http-errors": "1.8.1",
"http-errors": "2.0.0",
"http-status-codes": "2.2.0",
"semver": "7.3.8",
"ajv": "8.11.2",
"semver": "7.5.0",
"ajv": "8.12.0",
"process-warning": "1.0.0",
"core-js": "3.28.0"
"core-js": "3.30.2"
},
"devDependencies": {
"lodash": "4.17.21",

View File

@@ -109,3 +109,10 @@ export const PACKAGE_ACCESS = {
SCOPE: '@*/*',
ALL: '**',
};
export enum HtpasswdHashAlgorithm {
md5 = 'md5',
sha1 = 'sha1',
crypt = 'crypt',
bcrypt = 'bcrypt',
}

View File

@@ -23,6 +23,7 @@ export {
DEFAULT_PASSWORD_VALIDATION,
DEFAULT_USER,
USERS,
HtpasswdHashAlgorithm,
} from './constants';
const validationUtils = validatioUtils;
export {

View File

@@ -1,5 +1,22 @@
# Change Log
## 11.0.0-6-next.39
### Patch Changes
- @verdaccio/core@6.0.0-6-next.70
- @verdaccio/url@11.0.0-6-next.36
- @verdaccio/utils@6.0.0-6-next.38
## 11.0.0-6-next.38
### Patch Changes
- Updated dependencies [c9d1af0e]
- @verdaccio/core@6.0.0-6-next.69
- @verdaccio/url@11.0.0-6-next.35
- @verdaccio/utils@6.0.0-6-next.37
## 11.0.0-6-next.37
### Patch Changes

View File

@@ -1,6 +1,6 @@
{
"name": "@verdaccio/tarball",
"version": "11.0.0-6-next.37",
"version": "11.0.0-6-next.39",
"description": "tarball utilities resolver",
"keywords": [
"private",
@@ -34,9 +34,9 @@
},
"dependencies": {
"debug": "4.3.4",
"@verdaccio/core": "workspace:6.0.0-6-next.68",
"@verdaccio/url": "workspace:11.0.0-6-next.34",
"@verdaccio/utils": "workspace:6.0.0-6-next.36",
"@verdaccio/core": "workspace:6.0.0-6-next.70",
"@verdaccio/url": "workspace:11.0.0-6-next.36",
"@verdaccio/utils": "workspace:6.0.0-6-next.38",
"lodash": "4.17.21"
},
"devDependencies": {

View File

@@ -18,9 +18,6 @@ export type LoggerLevel = 'http' | 'fatal' | 'warn' | 'info' | 'debug' | 'trace'
export type LoggerConfigItem = {
type?: LoggerType;
/**
* The format
*/
format?: LoggerFormat;
path?: string;
level?: string;

View File

@@ -1,5 +1,18 @@
# Change Log
## 11.0.0-6-next.36
### Patch Changes
- @verdaccio/core@6.0.0-6-next.70
## 11.0.0-6-next.35
### Patch Changes
- Updated dependencies [c9d1af0e]
- @verdaccio/core@6.0.0-6-next.69
## 11.0.0-6-next.34
### Patch Changes

View File

@@ -1,6 +1,6 @@
{
"name": "@verdaccio/url",
"version": "11.0.0-6-next.34",
"version": "11.0.0-6-next.36",
"description": "url utilities resolver",
"keywords": [
"private",
@@ -33,7 +33,7 @@
"access": "public"
},
"dependencies": {
"@verdaccio/core": "workspace:6.0.0-6-next.68",
"@verdaccio/core": "workspace:6.0.0-6-next.70",
"debug": "4.3.4",
"lodash": "4.17.21",
"validator": "13.9.0"

View File

@@ -1,5 +1,20 @@
# @verdaccio/hooks
## 6.0.0-6-next.40
### Patch Changes
- @verdaccio/logger@6.0.0-6-next.38
- @verdaccio/core@6.0.0-6-next.70
## 6.0.0-6-next.39
### Patch Changes
- Updated dependencies [c9d1af0e]
- @verdaccio/core@6.0.0-6-next.69
- @verdaccio/logger@6.0.0-6-next.37
## 6.0.0-6-next.38
### Patch Changes

View File

@@ -1,6 +1,6 @@
{
"name": "@verdaccio/hooks",
"version": "6.0.0-6-next.38",
"version": "6.0.0-6-next.40",
"description": "loaders logic",
"main": "./build/index.js",
"types": "build/index.d.ts",
@@ -29,17 +29,17 @@
"node": ">=16"
},
"dependencies": {
"@verdaccio/core": "workspace:6.0.0-6-next.68",
"@verdaccio/logger": "workspace:6.0.0-6-next.36",
"core-js": "3.28.0",
"@verdaccio/core": "workspace:6.0.0-6-next.70",
"@verdaccio/logger": "workspace:6.0.0-6-next.38",
"core-js": "3.30.2",
"debug": "4.3.4",
"handlebars": "4.7.7",
"undici": "4.16.0"
},
"devDependencies": {
"@types/node": "16.18.10",
"@verdaccio/auth": "workspace:6.0.0-6-next.47",
"@verdaccio/config": "workspace:6.0.0-6-next.68",
"@verdaccio/auth": "workspace:6.0.0-6-next.49",
"@verdaccio/config": "workspace:6.0.0-6-next.70",
"@verdaccio/types": "workspace:11.0.0-6-next.25"
},
"scripts": {

View File

@@ -1,5 +1,17 @@
# @verdaccio/loaders
## 6.0.0-6-next.39
### Patch Changes
- @verdaccio/logger@6.0.0-6-next.38
## 6.0.0-6-next.38
### Patch Changes
- @verdaccio/logger@6.0.0-6-next.37
## 6.0.0-6-next.37
### Patch Changes

View File

@@ -1,6 +1,6 @@
{
"name": "@verdaccio/loaders",
"version": "6.0.0-6-next.37",
"version": "6.0.0-6-next.39",
"description": "loaders logic",
"main": "./build/index.js",
"types": "build/index.d.ts",
@@ -13,13 +13,13 @@
"url": "https://github.com/verdaccio/verdaccio"
},
"dependencies": {
"@verdaccio/logger": "workspace:6.0.0-6-next.36",
"@verdaccio/logger": "workspace:6.0.0-6-next.38",
"debug": "4.3.4",
"lodash": "4.17.21"
},
"devDependencies": {
"@verdaccio/core": "workspace:6.0.0-6-next.68",
"@verdaccio/config": "workspace:6.0.0-6-next.68",
"@verdaccio/core": "workspace:6.0.0-6-next.70",
"@verdaccio/config": "workspace:6.0.0-6-next.70",
"@verdaccio/types": "workspace:11.0.0-6-next.25",
"@verdaccio-scope/verdaccio-auth-foo": "0.0.2",
"verdaccio-auth-memory": "workspace:*",

View File

@@ -1,5 +1,19 @@
# @verdaccio/logger-7
## 6.0.0-6-next.15
### Patch Changes
- 4a33e269: fix: restore pino legacy version
- Updated dependencies [4a33e269]
- @verdaccio/logger-commons@6.0.0-6-next.38
## 6.0.0-6-next.14
### Patch Changes
- @verdaccio/logger-commons@6.0.0-6-next.37
## 6.0.0-6-next.13
### Patch Changes

View File

@@ -1,6 +1,6 @@
{
"name": "@verdaccio/logger-7",
"version": "6.0.0-6-next.13",
"version": "6.0.0-6-next.15",
"description": "logger for verdaccio 5.x version",
"main": "./build/index.js",
"types": "./build/index.d.ts",
@@ -38,7 +38,7 @@
"build": "pnpm run build:js && pnpm run build:types"
},
"dependencies": {
"@verdaccio/logger-commons": "workspace:6.0.0-6-next.36",
"@verdaccio/logger-commons": "workspace:6.0.0-6-next.38",
"pino": "7.11.0"
},
"devDependencies": {

View File

@@ -1,5 +1,21 @@
# @verdaccio/logger-commons
## 6.0.0-6-next.38
### Patch Changes
- 4a33e269: fix: restore pino legacy version
- Updated dependencies [4a33e269]
- @verdaccio/logger-prettify@6.0.0-6-next.10
- @verdaccio/core@6.0.0-6-next.70
## 6.0.0-6-next.37
### Patch Changes
- Updated dependencies [c9d1af0e]
- @verdaccio/core@6.0.0-6-next.69
## 6.0.0-6-next.36
### Patch Changes

View File

@@ -1,6 +1,6 @@
{
"name": "@verdaccio/logger-commons",
"version": "6.0.0-6-next.36",
"version": "6.0.0-6-next.38",
"description": "logger",
"main": "./build/index.js",
"types": "./build/index.d.ts",
@@ -38,13 +38,13 @@
"build": "pnpm run build:js && pnpm run build:types"
},
"dependencies": {
"@verdaccio/core": "workspace:6.0.0-6-next.68",
"@verdaccio/logger-prettify": "workspace:6.0.0-6-next.9",
"@verdaccio/core": "workspace:6.0.0-6-next.70",
"@verdaccio/logger-prettify": "workspace:6.0.0-6-next.10",
"debug": "4.3.4",
"colorette": "2.0.19"
"colorette": "2.0.20"
},
"devDependencies": {
"pino": "8.11.0",
"pino": "8.12.1",
"@verdaccio/types": "workspace:11.0.0-6-next.25"
},
"funding": {

View File

@@ -1,5 +1,11 @@
# @verdaccio/logger-prettify
## 6.0.0-6-next.10
### Patch Changes
- 4a33e269: fix: restore pino legacy version
## 6.0.0-6-next.9
### Patch Changes

View File

@@ -1,6 +1,6 @@
{
"name": "@verdaccio/logger-prettify",
"version": "6.0.0-6-next.9",
"version": "6.0.0-6-next.10",
"description": "logger",
"main": "./build/index.js",
"types": "build/index.d.ts",
@@ -40,12 +40,12 @@
"dependencies": {
"dayjs": "1.11.7",
"pino-abstract-transport": "1.0.0",
"colorette": "2.0.19",
"colorette": "2.0.20",
"lodash": "4.17.21",
"sonic-boom": "3.2.1"
"sonic-boom": "3.3.0"
},
"devDependencies": {
"pino": "8.11.0"
"pino": "8.12.1"
},
"funding": {
"type": "opencollective",

View File

@@ -1,5 +1,18 @@
# @verdaccio/logger
## 6.0.0-6-next.38
### Patch Changes
- Updated dependencies [4a33e269]
- @verdaccio/logger-commons@6.0.0-6-next.38
## 6.0.0-6-next.37
### Patch Changes
- @verdaccio/logger-commons@6.0.0-6-next.37
## 6.0.0-6-next.36
### Patch Changes

View File

@@ -1,6 +1,6 @@
{
"name": "@verdaccio/logger",
"version": "6.0.0-6-next.36",
"version": "6.0.0-6-next.38",
"description": "logger",
"main": "./build/index.js",
"types": "./build/index.d.ts",
@@ -38,8 +38,8 @@
"build": "pnpm run build:js && pnpm run build:types"
},
"dependencies": {
"@verdaccio/logger-commons": "workspace:6.0.0-6-next.36",
"pino": "8.11.0"
"@verdaccio/logger-commons": "workspace:6.0.0-6-next.38",
"pino": "8.14.1"
},
"devDependencies": {
"@verdaccio/types": "workspace:11.0.0-6-next.25"

View File

@@ -1,5 +1,24 @@
# @verdaccio/middleware
## 6.0.0-6-next.49
### Patch Changes
- @verdaccio/core@6.0.0-6-next.70
- @verdaccio/config@6.0.0-6-next.70
- @verdaccio/url@11.0.0-6-next.36
- @verdaccio/utils@6.0.0-6-next.38
## 6.0.0-6-next.48
### Patch Changes
- Updated dependencies [c9d1af0e]
- @verdaccio/core@6.0.0-6-next.69
- @verdaccio/config@6.0.0-6-next.69
- @verdaccio/url@11.0.0-6-next.35
- @verdaccio/utils@6.0.0-6-next.37
## 6.0.0-6-next.47
### Patch Changes

View File

@@ -1,6 +1,6 @@
{
"name": "@verdaccio/middleware",
"version": "6.0.0-6-next.47",
"version": "6.0.0-6-next.49",
"description": "express middleware utils",
"main": "./build/index.js",
"types": "build/index.d.ts",
@@ -38,12 +38,12 @@
"build": "pnpm run build:js && pnpm run build:types"
},
"dependencies": {
"@verdaccio/core": "workspace:6.0.0-6-next.68",
"@verdaccio/utils": "workspace:6.0.0-6-next.36",
"@verdaccio/config": "workspace:6.0.0-6-next.68",
"@verdaccio/url": "workspace:11.0.0-6-next.34",
"@verdaccio/core": "workspace:6.0.0-6-next.70",
"@verdaccio/utils": "workspace:6.0.0-6-next.38",
"@verdaccio/config": "workspace:6.0.0-6-next.70",
"@verdaccio/url": "workspace:11.0.0-6-next.36",
"debug": "4.3.4",
"lru-cache": "7.16.1",
"lru-cache": "7.18.3",
"express": "4.18.2",
"lodash": "4.17.21",
"mime": "2.6.0",
@@ -54,8 +54,8 @@
"url": "https://opencollective.com/verdaccio"
},
"devDependencies": {
"@verdaccio/logger": "workspace:6.0.0-6-next.36",
"body-parser": "1.20.1",
"@verdaccio/logger": "workspace:6.0.0-6-next.38",
"body-parser": "1.20.2",
"supertest": "6.3.3"
}
}

View File

@@ -1,5 +1,26 @@
# @verdaccio/node-api
## 6.0.0-6-next.70
### Patch Changes
- @verdaccio/logger@6.0.0-6-next.38
- @verdaccio/server@6.0.0-6-next.59
- @verdaccio/server-fastify@6.0.0-6-next.51
- @verdaccio/core@6.0.0-6-next.70
- @verdaccio/config@6.0.0-6-next.70
## 6.0.0-6-next.69
### Patch Changes
- Updated dependencies [c9d1af0e]
- @verdaccio/core@6.0.0-6-next.69
- @verdaccio/server@6.0.0-6-next.58
- @verdaccio/server-fastify@6.0.0-6-next.50
- @verdaccio/config@6.0.0-6-next.69
- @verdaccio/logger@6.0.0-6-next.37
## 6.0.0-6-next.68
### Patch Changes

View File

@@ -1,6 +1,6 @@
{
"name": "@verdaccio/node-api",
"version": "6.0.0-6-next.68",
"version": "6.0.0-6-next.70",
"description": "node API",
"main": "build/index.js",
"types": "build/index.d.ts",
@@ -39,12 +39,12 @@
},
"license": "MIT",
"dependencies": {
"@verdaccio/core": "workspace:6.0.0-6-next.68",
"@verdaccio/config": "workspace:6.0.0-6-next.68",
"@verdaccio/logger": "workspace:6.0.0-6-next.36",
"@verdaccio/server": "workspace:6.0.0-6-next.57",
"@verdaccio/server-fastify": "workspace:6.0.0-6-next.49",
"core-js": "3.28.0",
"@verdaccio/core": "workspace:6.0.0-6-next.70",
"@verdaccio/config": "workspace:6.0.0-6-next.70",
"@verdaccio/logger": "workspace:6.0.0-6-next.38",
"@verdaccio/server": "workspace:6.0.0-6-next.59",
"@verdaccio/server-fastify": "workspace:6.0.0-6-next.51",
"core-js": "3.30.2",
"debug": "4.3.4",
"lodash": "4.17.21"
},

View File

@@ -1,5 +1,20 @@
# Change Log
## 11.0.0-6-next.33
### Patch Changes
- @verdaccio/core@6.0.0-6-next.70
- @verdaccio/config@6.0.0-6-next.70
## 11.0.0-6-next.32
### Patch Changes
- Updated dependencies [c9d1af0e]
- @verdaccio/core@6.0.0-6-next.69
- @verdaccio/config@6.0.0-6-next.69
## 11.0.0-6-next.31
### Patch Changes

View File

@@ -1,6 +1,6 @@
{
"name": "verdaccio-audit",
"version": "11.0.0-6-next.31",
"version": "11.0.0-6-next.33",
"description": "Verdaccio Middleware plugin to bypass npmjs audit",
"keywords": [
"private",
@@ -30,16 +30,16 @@
"node": ">=12"
},
"dependencies": {
"@verdaccio/core": "workspace:6.0.0-6-next.68",
"@verdaccio/config": "workspace:6.0.0-6-next.68",
"@verdaccio/core": "workspace:6.0.0-6-next.70",
"@verdaccio/config": "workspace:6.0.0-6-next.70",
"express": "4.18.2",
"https-proxy-agent": "5.0.1",
"node-fetch": "cjs"
},
"devDependencies": {
"@verdaccio/types": "workspace:11.0.0-6-next.25",
"@verdaccio/auth": "workspace:6.0.0-6-next.47",
"@verdaccio/logger": "workspace:6.0.0-6-next.36",
"@verdaccio/auth": "workspace:6.0.0-6-next.49",
"@verdaccio/logger": "workspace:6.0.0-6-next.38",
"nock": "13.2.9",
"supertest": "6.3.3"
},

View File

@@ -1,5 +1,18 @@
# Change Log
## 11.0.0-6-next.35
### Patch Changes
- @verdaccio/core@6.0.0-6-next.70
## 11.0.0-6-next.34
### Patch Changes
- Updated dependencies [c9d1af0e]
- @verdaccio/core@6.0.0-6-next.69
## 11.0.0-6-next.33
### Patch Changes

View File

@@ -1,6 +1,6 @@
{
"name": "verdaccio-auth-memory",
"version": "11.0.0-6-next.33",
"version": "11.0.0-6-next.35",
"description": "Auth plugin for Verdaccio that keeps users in memory",
"keywords": [
"private",
@@ -31,12 +31,12 @@
"npm": ">=6"
},
"dependencies": {
"@verdaccio/core": "workspace:6.0.0-6-next.68",
"@verdaccio/core": "workspace:6.0.0-6-next.70",
"debug": "4.3.4"
},
"devDependencies": {
"@types/debug": "^4.1.7",
"@verdaccio/config": "workspace:6.0.0-6-next.68",
"@verdaccio/config": "workspace:6.0.0-6-next.70",
"@verdaccio/types": "workspace:11.0.0-6-next.25"
},
"scripts": {

View File

@@ -32,7 +32,7 @@
"types": "build/index.d.ts",
"dependencies": {
"@verdaccio/core": "workspace:6.0.0-6-next.5",
"aws-sdk": "2.1199.0"
"aws-sdk": "2.1354.0"
},
"devDependencies": {
"@verdaccio/types": "workspace:11.0.0-6-next.12",

View File

@@ -1,5 +1,22 @@
# Change Log
## 11.0.0-6-next.40
### Patch Changes
- @verdaccio/core@6.0.0-6-next.70
## 11.0.0-6-next.39
### Minor Changes
- c9d1af0e: feat: async bcrypt hash
### Patch Changes
- Updated dependencies [c9d1af0e]
- @verdaccio/core@6.0.0-6-next.69
## 11.0.0-6-next.38
### Patch Changes

View File

@@ -1,6 +1,6 @@
{
"name": "verdaccio-htpasswd",
"version": "11.0.0-6-next.38",
"version": "11.0.0-6-next.40",
"description": "htpasswd auth plugin for Verdaccio",
"keywords": [
"private",
@@ -34,20 +34,20 @@
"npm": ">=6"
},
"dependencies": {
"@verdaccio/core": "workspace:6.0.0-6-next.68",
"@verdaccio/core": "workspace:6.0.0-6-next.70",
"@verdaccio/file-locking": "workspace:11.0.0-6-next.7",
"apache-md5": "1.1.8",
"bcryptjs": "2.4.3",
"core-js": "3.28.0",
"http-errors": "1.8.1",
"core-js": "3.30.2",
"http-errors": "2.0.0",
"debug": "4.3.4",
"unix-crypt-td-js": "1.1.4"
},
"devDependencies": {
"@types/bcryptjs": "2.4.2",
"@verdaccio/types": "workspace:11.0.0-6-next.25",
"@verdaccio/config": "workspace:6.0.0-6-next.68",
"@verdaccio/logger": "workspace:6.0.0-6-next.36",
"@verdaccio/config": "workspace:6.0.0-6-next.70",
"@verdaccio/logger": "workspace:6.0.0-6-next.38",
"mockdate": "3.0.5"
},
"scripts": {

View File

@@ -2,12 +2,12 @@ import buildDebug from 'debug';
import fs from 'fs';
import { dirname, resolve } from 'path';
import { pluginUtils } from '@verdaccio/core';
import { constants, pluginUtils } from '@verdaccio/core';
import { unlockFile } from '@verdaccio/file-locking';
import { Callback, Logger } from '@verdaccio/types';
import {
HtpasswdHashAlgorithm,
DEFAULT_BCRYPT_ROUNDS,
HtpasswdHashConfig,
addUserToHTPasswd,
changePasswordToHTPasswd,
@@ -17,6 +17,8 @@ import {
verifyPassword,
} from './utils';
type HtpasswdHashAlgorithm = constants.HtpasswdHashAlgorithm;
const debug = buildDebug('verdaccio:plugin:htpasswd');
export type HTPasswdConfig = {
@@ -27,7 +29,6 @@ export type HTPasswdConfig = {
slow_verify_ms?: number;
};
export const DEFAULT_BCRYPT_ROUNDS = 10;
export const DEFAULT_SLOW_VERIFY_MS = 200;
/**
@@ -63,15 +64,19 @@ export default class HTPasswd
let algorithm: HtpasswdHashAlgorithm;
let rounds: number | undefined;
if (config.algorithm === undefined) {
algorithm = HtpasswdHashAlgorithm.bcrypt;
} else if (HtpasswdHashAlgorithm[config.algorithm] !== undefined) {
algorithm = HtpasswdHashAlgorithm[config.algorithm];
if (typeof config.algorithm === 'undefined') {
algorithm = constants.HtpasswdHashAlgorithm.bcrypt;
} else if (constants.HtpasswdHashAlgorithm[config.algorithm] !== undefined) {
algorithm = constants.HtpasswdHashAlgorithm[config.algorithm];
} else {
throw new Error(`Invalid algorithm "${config.algorithm}"`);
this.logger.warn(
`The algorithm selected %s is invalid, switching to to default one "bcrypt", password validation can be affected`,
config.algorithm
);
algorithm = constants.HtpasswdHashAlgorithm.bcrypt;
}
debug(`password hash algorithm: ${algorithm}`);
if (algorithm === HtpasswdHashAlgorithm.bcrypt) {
if (algorithm === constants.HtpasswdHashAlgorithm.bcrypt) {
rounds = config.rounds || DEFAULT_BCRYPT_ROUNDS;
} else if (config.rounds !== undefined) {
this.logger.warn({ algo: algorithm }, 'Option "rounds" is not valid for "@{algo}" algorithm');
@@ -202,7 +207,7 @@ export default class HTPasswd
}
try {
this._writeFile(addUserToHTPasswd(body, user, password, this.hashConfig), cb);
this._writeFile(await addUserToHTPasswd(body, user, password, this.hashConfig), cb);
} catch (err: any) {
return cb(err);
}

View File

@@ -3,18 +3,15 @@ import bcrypt from 'bcryptjs';
import crypto from 'crypto';
import createError, { HttpError } from 'http-errors';
import { API_ERROR, HTTP_STATUS } from '@verdaccio/core';
import { API_ERROR, HTTP_STATUS, constants } from '@verdaccio/core';
import { readFile } from '@verdaccio/file-locking';
import { Callback } from '@verdaccio/types';
import crypt3 from './crypt3';
export enum HtpasswdHashAlgorithm {
md5 = 'md5',
sha1 = 'sha1',
crypt = 'crypt',
bcrypt = 'bcrypt',
}
export const DEFAULT_BCRYPT_ROUNDS = 10;
type HtpasswdHashAlgorithm = constants.HtpasswdHashAlgorithm;
export interface HtpasswdHashConfig {
algorithm: HtpasswdHashAlgorithm;
@@ -80,24 +77,24 @@ export async function verifyPassword(passwd: string, hash: string): Promise<bool
* @param {HtpasswdHashConfig} hashConfig
* @returns {string}
*/
export function generateHtpasswdLine(
export async function generateHtpasswdLine(
user: string,
passwd: string,
hashConfig: HtpasswdHashConfig
): string {
): Promise<string> {
let hash: string;
switch (hashConfig.algorithm) {
case HtpasswdHashAlgorithm.bcrypt:
hash = bcrypt.hashSync(passwd, hashConfig.rounds);
case constants.HtpasswdHashAlgorithm.bcrypt:
hash = await bcrypt.hash(passwd, hashConfig.rounds || DEFAULT_BCRYPT_ROUNDS);
break;
case HtpasswdHashAlgorithm.crypt:
case constants.HtpasswdHashAlgorithm.crypt:
hash = crypt3(passwd);
break;
case HtpasswdHashAlgorithm.md5:
case constants.HtpasswdHashAlgorithm.md5:
hash = md5(passwd);
break;
case HtpasswdHashAlgorithm.sha1:
case constants.HtpasswdHashAlgorithm.sha1:
hash = '{SHA}' + crypto.createHash('sha1').update(passwd, 'utf8').digest('base64');
break;
default:
@@ -116,12 +113,12 @@ export function generateHtpasswdLine(
* @param {HtpasswdHashConfig} hashConfig
* @returns {string}
*/
export function addUserToHTPasswd(
export async function addUserToHTPasswd(
body: string,
user: string,
passwd: string,
hashConfig: HtpasswdHashConfig
): string {
): Promise<string> {
if (user !== encodeURIComponent(user)) {
const err = createError('username should not contain non-uri-safe characters');
@@ -129,7 +126,7 @@ export function addUserToHTPasswd(
throw err;
}
let newline = generateHtpasswdLine(user, passwd, hashConfig);
let newline = await generateHtpasswdLine(user, passwd, hashConfig);
if (body.length && body[body.length - 1] !== '\n') {
newline = '\n' + newline;
@@ -190,13 +187,14 @@ export async function sanityCheck(
}
/**
* /**
* changePasswordToHTPasswd - change password for existing user
* @param {string} body
* @param {string} user
* @param {string} passwd
* @param {string} newPasswd
* @param {HtpasswdHashConfig} hashConfig
* @returns {string}
* @returns {Promise<string>}
*/
export async function changePasswordToHTPasswd(
body: string,
@@ -215,7 +213,7 @@ export async function changePasswordToHTPasswd(
if (!passwordValid) {
throw new Error(`Unable to change password for user '${user}': invalid old password`);
}
const updatedUserLine = generateHtpasswdLine(username, newPasswd, hashConfig);
const updatedUserLine = await generateHtpasswdLine(username, newPasswd, hashConfig);
lines.splice(userLineIndex, 1, updatedUserLine);
return lines.join('\n');
}

View File

@@ -1,26 +1,18 @@
/* eslint-disable jest/no-mocks-import */
// @ts-ignore: Module has no default export
import bcrypt from 'bcryptjs';
// @ts-ignore: Module has no default export
import crypto from 'crypto';
// @ts-ignore: Module has no default export
import fs from 'fs';
import MockDate from 'mockdate';
import path from 'path';
import { Config, parseConfigFile } from '@verdaccio/config';
import { logger, setup } from '@verdaccio/logger';
import { PluginOptions } from '@verdaccio/types';
import { constants, pluginUtils } from '@verdaccio/core';
import HTPasswd, { DEFAULT_SLOW_VERIFY_MS, HTPasswdConfig } from '../src/htpasswd';
import { HtpasswdHashAlgorithm } from '../src/utils';
setup();
const options = {
logger,
logger: { warn: jest.fn(), info: jest.fn() },
config: new Config(parseConfigFile(path.join(__dirname, './__fixtures__/config.yaml'))),
} as any as PluginOptions<HTPasswdConfig>;
} as any as pluginUtils.PluginOptions<HTPasswdConfig>;
const config = {
file: './htpasswd',
@@ -34,7 +26,8 @@ describe('HTPasswd', () => {
wrapper = new HTPasswd(config, options);
jest.resetModules();
jest.clearAllMocks();
// @ts-ignore: Module has no default export
// @ts-ignore
crypto.randomBytes = jest.fn(() => {
return {
toString: (): string => '$6',
@@ -43,7 +36,15 @@ describe('HTPasswd', () => {
});
describe('constructor()', () => {
const emptyPluginOptions = { config: {} } as any as PluginOptions<HTPasswdConfig>;
const error = jest.fn();
const warn = jest.fn();
const info = jest.fn();
const emptyPluginOptions = {
config: {
configPath: '',
},
logger: { warn, info, error },
} as any as pluginUtils.PluginOptions<HTPasswdConfig>;
test('should ensure file path configuration exists', () => {
expect(function () {
@@ -51,11 +52,14 @@ describe('HTPasswd', () => {
}).toThrow(/should specify "file" in config/);
});
test('should throw error about incorrect algorithm', () => {
expect(function () {
let invalidConfig = { algorithm: 'invalid', ...config } as HTPasswdConfig;
new HTPasswd(invalidConfig, emptyPluginOptions);
}).toThrow(/Invalid algorithm "invalid"/);
test('should switch to bcrypt if incorrect algorithm is set', () => {
let invalidConfig = { algorithm: 'invalid', ...config } as HTPasswdConfig;
new HTPasswd(invalidConfig, emptyPluginOptions);
expect(warn).toHaveBeenCalledWith(
'The algorithm selected %s is invalid, switching to to default one "bcrypt", password validation can be affected',
'invalid'
);
expect(info).toHaveBeenCalled();
});
});
@@ -95,21 +99,20 @@ describe('HTPasswd', () => {
test('it should warn on slow password verification', (done) => {
// @ts-ignore
// eslint-disable-next-line @typescript-eslint/no-unused-vars
bcrypt.compare = jest.fn(async (_passwd, _hash) => {
await new Promise((resolve) => setTimeout(resolve, DEFAULT_SLOW_VERIFY_MS + 1));
return true;
bcrypt.compare = jest.fn((_passwd, _hash) => {
return new Promise((resolve) => setTimeout(resolve, DEFAULT_SLOW_VERIFY_MS + 1)).then(
() => true
);
});
const callback = (a, b): void => {
expect(a).toBeNull();
expect(b).toContain('bcrypt');
// TODO: figure out how to test the warning properly without mocking the logger
// maybe mocking pino? not sure.
// const mockWarn = options.logger.warn as jest.MockedFn<jest.MockableFunction>;
// expect(mockWarn.mock.calls.length).toBe(1);
// const [{ user, durationMs }, message] = mockWarn.mock.calls[0];
// expect(user).toEqual('bcrypt');
// expect(durationMs).toBeGreaterThan(DEFAULT_SLOW_VERIFY_MS);
// expect(message).toEqual('Password for user "@{user}" took @{durationMs}ms to verify');
const mockWarn = options.logger.warn as jest.MockedFn<jest.MockableFunction>;
expect(mockWarn.mock.calls.length).toBe(1);
const [{ user, durationMs }, message] = mockWarn.mock.calls[0];
expect(user).toEqual('bcrypt');
expect(durationMs).toBeGreaterThan(DEFAULT_SLOW_VERIFY_MS);
expect(message).toEqual('Password for user "@{user}" took @{durationMs}ms to verify');
done();
};
wrapper.authenticate('bcrypt', 'password', callback);
@@ -128,7 +131,7 @@ describe('HTPasswd', () => {
test('it should add the user', (done) => {
let dataToWrite;
// @ts-ignore
fs.writeFile = jest.fn((_name, data, callback) => {
fs.writeFile = jest.fn((name, data, callback) => {
dataToWrite = data;
callback();
});
@@ -150,7 +153,7 @@ describe('HTPasswd', () => {
jest.doMock('../src/utils.ts', () => {
return {
sanityCheck: (): Error => Error('some error'),
HtpasswdHashAlgorithm,
HtpasswdHashAlgorithm: constants.HtpasswdHashAlgorithm,
};
});
@@ -168,7 +171,7 @@ describe('HTPasswd', () => {
return {
sanityCheck: (): any => null,
lockAndRead: (_a, b): any => b(new Error('lock error')),
HtpasswdHashAlgorithm,
HtpasswdHashAlgorithm: constants.HtpasswdHashAlgorithm,
};
});
@@ -188,7 +191,7 @@ describe('HTPasswd', () => {
parseHTPasswd: (): void => {},
lockAndRead: (_a, b): any => b(null, ''),
unlockFile: (_a, b): any => b(),
HtpasswdHashAlgorithm,
HtpasswdHashAlgorithm: constants.HtpasswdHashAlgorithm,
};
});
@@ -202,11 +205,11 @@ describe('HTPasswd', () => {
test('writeFile should return an Error', (done) => {
jest.doMock('../src/utils.ts', () => {
return {
sanityCheck: (): any => null,
sanityCheck: () => Promise.resolve(null),
parseHTPasswd: (): void => {},
lockAndRead: (_a, b): any => b(null, ''),
addUserToHTPasswd: (): void => {},
HtpasswdHashAlgorithm,
HtpasswdHashAlgorithm: constants.HtpasswdHashAlgorithm,
};
});
jest.doMock('fs', () => {
@@ -246,9 +249,6 @@ describe('HTPasswd', () => {
test('reload should fails on check file', (done) => {
jest.doMock('fs', () => {
return {
readFile: (_name, callback): void => {
callback(new Error('stat error'), null);
},
stat: (_name, callback): void => {
callback(new Error('stat error'), null);
},
@@ -268,9 +268,6 @@ describe('HTPasswd', () => {
test('reload times match', (done) => {
jest.doMock('fs', () => {
return {
readFile: (_name, callback): void => {
callback(new Error('stat error'), null);
},
stat: (_name, callback): void => {
callback(null, {
mtime: null,

View File

@@ -3,9 +3,10 @@ import crypto from 'crypto';
import { HttpError } from 'http-errors';
import MockDate from 'mockdate';
import { DEFAULT_BCRYPT_ROUNDS } from '../src/htpasswd';
import { constants } from '@verdaccio/core';
import { DEFAULT_BCRYPT_ROUNDS } from '../src/utils';
import {
HtpasswdHashAlgorithm,
addUserToHTPasswd,
changePasswordToHTPasswd,
generateHtpasswdLine,
@@ -19,7 +20,7 @@ const mockReadFile = jest.fn();
const mockUnlockFile = jest.fn();
const defaultHashConfig = {
algorithm: HtpasswdHashAlgorithm.bcrypt,
algorithm: constants.HtpasswdHashAlgorithm.bcrypt,
rounds: DEFAULT_BCRYPT_ROUNDS,
};
@@ -111,51 +112,56 @@ describe('generateHtpasswdLine', () => {
const [user, passwd] = ['username', 'password'];
it('should correctly generate line for md5', () => {
const md5Conf = { algorithm: HtpasswdHashAlgorithm.md5 };
expect(generateHtpasswdLine(user, passwd, md5Conf)).toMatchSnapshot();
it('should correctly generate line for md5', async () => {
const md5Conf = { algorithm: constants.HtpasswdHashAlgorithm.md5 };
expect(await generateHtpasswdLine(user, passwd, md5Conf)).toMatchSnapshot();
});
it('should correctly generate line for sha1', () => {
const sha1Conf = { algorithm: HtpasswdHashAlgorithm.sha1 };
expect(generateHtpasswdLine(user, passwd, sha1Conf)).toMatchSnapshot();
it('should correctly generate line for sha1', async () => {
const sha1Conf = { algorithm: constants.HtpasswdHashAlgorithm.sha1 };
expect(await generateHtpasswdLine(user, passwd, sha1Conf)).toMatchSnapshot();
});
it('should correctly generate line for crypt', () => {
const cryptConf = { algorithm: HtpasswdHashAlgorithm.crypt };
expect(generateHtpasswdLine(user, passwd, cryptConf)).toMatchSnapshot();
it('should correctly generate line for crypt', async () => {
const cryptConf = { algorithm: constants.HtpasswdHashAlgorithm.crypt };
expect(await generateHtpasswdLine(user, passwd, cryptConf)).toMatchSnapshot();
});
it('should correctly generate line for bcrypt', () => {
it('should correctly generate line for bcrypt', async () => {
const bcryptAlgoConfig = {
algorithm: HtpasswdHashAlgorithm.bcrypt,
algorithm: constants.HtpasswdHashAlgorithm.bcrypt,
rounds: 2,
};
expect(generateHtpasswdLine(user, passwd, bcryptAlgoConfig)).toMatchSnapshot();
expect(await generateHtpasswdLine(user, passwd, bcryptAlgoConfig)).toMatchSnapshot();
});
});
describe('addUserToHTPasswd - bcrypt', () => {
beforeAll(mockTimeAndRandomBytes);
it('should add new htpasswd to the end', () => {
it('should add new htpasswd to the end', async () => {
const input = ['', 'username', 'password'];
expect(addUserToHTPasswd(input[0], input[1], input[2], defaultHashConfig)).toMatchSnapshot();
expect(
await addUserToHTPasswd(input[0], input[1], input[2], defaultHashConfig)
).toMatchSnapshot();
});
it('should add new htpasswd to the end in multiline input', () => {
it('should add new htpasswd to the end in multiline input', async () => {
const body = `test1:$6b9MlB3WUELU:autocreated 2017-11-06T18:17:21.957Z
test2:$6FrCaT/v0dwE:autocreated 2017-12-14T13:30:20.838Z`;
const input = [body, 'username', 'password'];
expect(addUserToHTPasswd(input[0], input[1], input[2], defaultHashConfig)).toMatchSnapshot();
expect(
await addUserToHTPasswd(input[0], input[1], input[2], defaultHashConfig)
).toMatchSnapshot();
});
it('should throw an error for incorrect username with space', () => {
it('should throw an error for incorrect username with space', async () => {
const [a, b, c] = ['', 'firstname lastname', 'password'];
expect(() => addUserToHTPasswd(a, b, c, defaultHashConfig)).toThrowErrorMatchingSnapshot();
await expect(
addUserToHTPasswd(a, b, c, defaultHashConfig)
).rejects.toThrowErrorMatchingSnapshot();
});
});
describe('lockAndRead', () => {
it('should call the readFile method', () => {
const cb = (): void => {};

View File

@@ -1,5 +1,20 @@
# Change Log
## 11.0.0-6-next.40
### Patch Changes
- @verdaccio/core@6.0.0-6-next.70
- @verdaccio/utils@6.0.0-6-next.38
## 11.0.0-6-next.39
### Patch Changes
- Updated dependencies [c9d1af0e]
- @verdaccio/core@6.0.0-6-next.69
- @verdaccio/utils@6.0.0-6-next.37
## 11.0.0-6-next.38
### Patch Changes

View File

@@ -1,6 +1,6 @@
{
"name": "@verdaccio/local-storage",
"version": "11.0.0-6-next.38",
"version": "11.0.0-6-next.40",
"description": "Local storage implementation",
"keywords": [
"private",
@@ -37,23 +37,23 @@
"npm": ">=7"
},
"dependencies": {
"@verdaccio/core": "workspace:6.0.0-6-next.68",
"@verdaccio/core": "workspace:6.0.0-6-next.70",
"@verdaccio/file-locking": "workspace:11.0.0-6-next.7",
"@verdaccio/utils": "workspace:6.0.0-6-next.36",
"core-js": "3.28.0",
"@verdaccio/utils": "workspace:6.0.0-6-next.38",
"core-js": "3.30.2",
"debug": "4.3.4",
"globby": "11.1.0",
"lockfile": "1.0.4",
"sanitize-filename": "1.6.3",
"lodash": "4.17.21",
"lowdb": "1.0.0",
"lru-cache": "7.16.1"
"lru-cache": "7.18.3"
},
"devDependencies": {
"@types/minimatch": "3.0.5",
"@verdaccio/types": "workspace:11.0.0-6-next.25",
"@verdaccio/config": "workspace:6.0.0-6-next.68",
"@verdaccio/logger": "workspace:6.0.0-6-next.36",
"@verdaccio/config": "workspace:6.0.0-6-next.70",
"@verdaccio/logger": "workspace:6.0.0-6-next.38",
"@verdaccio/test-helper": "workspace:2.0.0-6-next.8",
"minimatch": "3.1.2"
},

View File

@@ -1,5 +1,18 @@
# Change Log
## 11.0.0-6-next.37
### Patch Changes
- @verdaccio/core@6.0.0-6-next.70
## 11.0.0-6-next.36
### Patch Changes
- Updated dependencies [c9d1af0e]
- @verdaccio/core@6.0.0-6-next.69
## 11.0.0-6-next.35
### Patch Changes

View File

@@ -1,6 +1,6 @@
{
"name": "verdaccio-memory",
"version": "11.0.0-6-next.35",
"version": "11.0.0-6-next.37",
"description": "Storage implementation in memory",
"keywords": [
"private",
@@ -31,15 +31,15 @@
"npm": ">=6"
},
"dependencies": {
"@verdaccio/core": "workspace:6.0.0-6-next.68",
"@verdaccio/core": "workspace:6.0.0-6-next.70",
"memory-fs": "0.5.0",
"debug": "4.3.4",
"memfs": "3.4.12"
"memfs": "3.5.1"
},
"devDependencies": {
"@verdaccio/types": "workspace:11.0.0-6-next.25",
"@verdaccio/config": "workspace:6.0.0-6-next.68",
"@verdaccio/logger": "workspace:6.0.0-6-next.36"
"@verdaccio/config": "workspace:6.0.0-6-next.70",
"@verdaccio/logger": "workspace:6.0.0-6-next.38"
},
"scripts": {
"clean": "rimraf ./build",

View File

@@ -1,5 +1,13 @@
# @verdaccio/ui-theme
## 6.0.0-6-next.70
## 6.0.0-6-next.69
### Patch Changes
- 910fc03f: fix menuKey for Khmer language
## 6.0.0-6-next.68
### Patch Changes

View File

@@ -1,6 +1,6 @@
{
"name": "@verdaccio/ui-theme",
"version": "6.0.0-6-next.68",
"version": "6.0.0-6-next.70",
"description": "Verdaccio User Interface",
"author": {
"name": "Verdaccio Contributors",
@@ -27,7 +27,7 @@
"@testing-library/dom": "8.19.1",
"@testing-library/jest-dom": "5.16.5",
"@testing-library/react": "13.4.0",
"@verdaccio/node-api": "workspace:6.0.0-6-next.68",
"@verdaccio/node-api": "workspace:6.0.0-6-next.70",
"@verdaccio/types": "workspace:*",
"@verdaccio/ui-components": "workspace:2.0.0-6-next.9",
"babel-loader": "8.3.0",
@@ -41,14 +41,14 @@
"harmony-reflect": "1.6.2",
"highlight.js": "11.7.0",
"history": "4.10.1",
"html-webpack-plugin": "5.5.0",
"html-webpack-plugin": "5.5.1",
"i18next": "20.6.1",
"in-publish": "2.0.1",
"js-base64": "3.7.3",
"js-yaml": "3.14.1",
"js-yaml": "4.1.0",
"localstorage-memory": "1.0.3",
"lodash": "4.17.21",
"marked": "4.2.12",
"marked": "4.3.0",
"mini-css-extract-plugin": "2.7.2",
"msw": "0.49.2",
"mutationobserver-shim": "0.3.7",
@@ -82,7 +82,7 @@
"terser-webpack-plugin": "5.3.6",
"url-loader": "4.1.1",
"validator": "13.9.0",
"webpack": "5.75.0",
"webpack": "5.82.1",
"webpack-bundle-analyzer": "4.7.0",
"webpack-bundle-size-analyzer": "3.1.0",
"webpack-cli": "^4.10.0",

View File

@@ -23,14 +23,14 @@
"username": "griffithtp",
"id": 20119184
},
{
"username": "030",
"id": 7524528
},
{
"username": "DanielRuf",
"id": 827205
},
{
"username": "030",
"id": 7524528
},
{
"username": "dianmorales",
"id": 558740
@@ -267,6 +267,10 @@
"username": "rmkanda",
"id": 38713281
},
{
"username": "kuoruan",
"id": 8685618
},
{
"username": "wiggisser",
"id": 3647678
@@ -399,6 +403,10 @@
"username": "mysiar",
"id": 13708162
},
{
"username": "rluvaton",
"id": 16746759
},
{
"username": "innosatyam",
"id": 85342175
@@ -411,10 +419,6 @@
"username": "varijkapil13",
"id": 8291077
},
{
"username": "kuoruan",
"id": 8685618
},
{
"username": "Jinshichi",
"id": 8655722
@@ -887,10 +891,6 @@
"username": "rbpinheiro",
"id": 1257483
},
{
"username": "rluvaton",
"id": 16746759
},
{
"username": "r3wald",
"id": 190202

View File

@@ -12,12 +12,12 @@ const title = 'Support people affected by the war in Ukraine';
const links = [
{
href: 'https://twitter.com/denysdovhan/status/1501486563842211843',
text: 'Listen OSS developers about the war on Twitter',
href: 'https://www.youtube.com/watch?v=LeG09zu_p_g',
text: 'Ask Ukrainian open-source developers about war Twitter Space',
},
{
href: 'https://snyk.io/blog/celebrating-amazing-open-source-innovation-ukraine/',
text: 'Learn more about Open Source developers in Ukraine',
text: 'Snyk blog - Learn more about Open Source developers in Ukraine',
},
{
href: 'https://www.savethechildren.org/us/where-we-work/ukraine/',

View File

@@ -21,7 +21,7 @@ export const listLanguages: LanguageConfiguration[] = [
{ lng: 'ru-RU', icon: Flags.RU, menuKey: 'lng.russian' },
{ lng: 'tr-TR', icon: Flags.TR, menuKey: 'lng.turkish' },
{ lng: 'uk-UA', icon: Flags.UA, menuKey: 'lng.ukraine' },
{ lng: 'km-KH', icon: Flags.KH, menuKey: 'lng.khme' },
{ lng: 'km-KH', icon: Flags.KH, menuKey: 'lng.khmer' },
{ lng: 'zh-CN', icon: Flags.CN, menuKey: 'lng.chinese' },
{ lng: 'zh-TW', icon: Flags.TW, menuKey: 'lng.chineseTraditional' },
];

View File

@@ -8,7 +8,7 @@ const storageLocation = path.join(__dirname, '../partials/storage');
const pluginsLocation = path.join(__dirname, '../partials/plugins');
const configJsonFormat = Object.assign(
{},
yaml.safeLoad(fs.readFileSync('./tools/_verdaccio.config.yaml', 'utf8')),
yaml.load(fs.readFileSync('./tools/_verdaccio.config.yaml', 'utf8')),
{
storage: storageLocation,
plugins: pluginsLocation,

View File

@@ -9,7 +9,7 @@ import env from '../config/env';
import getPackageJson from './getPackageJson';
import baseConfig from './webpack.config';
const configJsonFormat = yaml.safeLoad(fs.readFileSync('./tools/_verdaccio.config.yaml', 'utf8'));
const configJsonFormat = yaml.load(fs.readFileSync('./tools/_verdaccio.config.yaml', 'utf8'));
export default {
...baseConfig,
mode: 'development',

View File

@@ -1,5 +1,26 @@
# @verdaccio/proxy
## 6.0.0-6-next.48
### Patch Changes
- @verdaccio/logger@6.0.0-6-next.38
- @verdaccio/local-storage@11.0.0-6-next.40
- @verdaccio/core@6.0.0-6-next.70
- @verdaccio/config@6.0.0-6-next.70
- @verdaccio/utils@6.0.0-6-next.38
## 6.0.0-6-next.47
### Patch Changes
- Updated dependencies [c9d1af0e]
- @verdaccio/core@6.0.0-6-next.69
- @verdaccio/config@6.0.0-6-next.69
- @verdaccio/local-storage@11.0.0-6-next.39
- @verdaccio/utils@6.0.0-6-next.37
- @verdaccio/logger@6.0.0-6-next.37
## 6.0.0-6-next.46
### Patch Changes

View File

@@ -1,6 +1,6 @@
{
"name": "@verdaccio/proxy",
"version": "6.0.0-6-next.46",
"version": "6.0.0-6-next.48",
"description": "verdaccio proxy fetcher",
"main": "./build/index.js",
"types": "build/index.d.ts",
@@ -39,11 +39,11 @@
"build": "pnpm run build:js && pnpm run build:types"
},
"dependencies": {
"@verdaccio/config": "workspace:6.0.0-6-next.68",
"@verdaccio/core": "workspace:6.0.0-6-next.68",
"@verdaccio/local-storage": "workspace:11.0.0-6-next.38",
"@verdaccio/logger": "workspace:6.0.0-6-next.36",
"@verdaccio/utils": "workspace:6.0.0-6-next.36",
"@verdaccio/config": "workspace:6.0.0-6-next.70",
"@verdaccio/core": "workspace:6.0.0-6-next.70",
"@verdaccio/local-storage": "workspace:11.0.0-6-next.40",
"@verdaccio/logger": "workspace:6.0.0-6-next.38",
"@verdaccio/utils": "workspace:6.0.0-6-next.38",
"JSONStream": "1.3.5",
"debug": "4.3.4",
"lodash": "4.17.21",
@@ -58,7 +58,7 @@
"get-stream": "^6.0.1",
"nock": "13.2.9",
"node-mocks-http": "1.12.1",
"semver": "7.3.8"
"semver": "7.5.0"
},
"funding": {
"type": "opencollective",

3
packages/search/.babelrc Normal file
View File

@@ -0,0 +1,3 @@
{
"extends": "../../.babelrc"
}

View File

@@ -0,0 +1,735 @@
# @verdaccio/proxy
## 6.0.0-6-next.2
### Minor Changes
- 15e58d98: feat: add search package utilities
## 6.0.0-6-next.46
### Patch Changes
- @verdaccio/core@6.0.0-6-next.68
- @verdaccio/config@6.0.0-6-next.68
- @verdaccio/local-storage@11.0.0-6-next.38
- @verdaccio/utils@6.0.0-6-next.36
- @verdaccio/logger@6.0.0-6-next.36
## 6.0.0-6-next.45
### Patch Changes
- Updated dependencies [16e38df8]
- @verdaccio/config@6.0.0-6-next.67
- @verdaccio/core@6.0.0-6-next.67
- @verdaccio/local-storage@11.0.0-6-next.37
- @verdaccio/utils@6.0.0-6-next.35
- @verdaccio/logger@6.0.0-6-next.35
## 6.0.0-6-next.44
### Patch Changes
- @verdaccio/core@6.0.0-6-next.66
- @verdaccio/logger@6.0.0-6-next.34
- @verdaccio/local-storage@11.0.0-6-next.36
- @verdaccio/config@6.0.0-6-next.66
- @verdaccio/utils@6.0.0-6-next.34
## 6.0.0-6-next.43
### Patch Changes
- Updated dependencies [a1da1130]
- @verdaccio/core@6.0.0-6-next.65
- @verdaccio/config@6.0.0-6-next.65
- @verdaccio/local-storage@11.0.0-6-next.35
- @verdaccio/utils@6.0.0-6-next.33
- @verdaccio/logger@6.0.0-6-next.33
## 6.0.0-6-next.42
### Patch Changes
- Updated dependencies [974cd8c1]
- @verdaccio/core@6.0.0-6-next.64
- @verdaccio/config@6.0.0-6-next.64
- @verdaccio/local-storage@11.0.0-6-next.34
- @verdaccio/utils@6.0.0-6-next.32
- @verdaccio/logger@6.0.0-6-next.32
## 6.0.0-6-next.41
### Patch Changes
- Updated dependencies [ddb6a223]
- Updated dependencies [dc571aab]
- @verdaccio/config@6.0.0-6-next.63
- @verdaccio/core@6.0.0-6-next.63
- @verdaccio/local-storage@11.0.0-6-next.33
- @verdaccio/utils@6.0.0-6-next.31
- @verdaccio/logger@6.0.0-6-next.31
## 6.0.0-6-next.40
### Patch Changes
- Updated dependencies [378e907d]
- @verdaccio/core@6.0.0-6-next.62
- @verdaccio/logger@6.0.0-6-next.30
- @verdaccio/local-storage@11.0.0-6-next.32
- @verdaccio/config@6.0.0-6-next.62
- @verdaccio/utils@6.0.0-6-next.30
## 6.0.0-6-next.39
### Patch Changes
- Updated dependencies [d167f92e]
- @verdaccio/config@6.0.0-6-next.61
- @verdaccio/local-storage@11.0.0-6-next.31
- @verdaccio/core@6.0.0-6-next.61
- @verdaccio/utils@6.0.0-6-next.29
- @verdaccio/logger@6.0.0-6-next.29
## 6.0.0-6-next.38
### Minor Changes
- 45c03819: refactor: render html middleware
### Patch Changes
- Updated dependencies [45c03819]
- @verdaccio/config@6.0.0-6-next.60
- @verdaccio/local-storage@11.0.0-6-next.30
- @verdaccio/core@6.0.0-6-next.60
- @verdaccio/logger@6.0.0-6-next.28
- @verdaccio/utils@6.0.0-6-next.28
## 6.0.0-6-next.37
### Patch Changes
- Updated dependencies [65f88b82]
- @verdaccio/logger@6.0.0-6-next.27
- @verdaccio/local-storage@11.0.0-6-next.29
- @verdaccio/core@6.0.0-6-next.59
- @verdaccio/config@6.0.0-6-next.59
- @verdaccio/utils@6.0.0-6-next.27
## 6.0.0-6-next.36
### Patch Changes
- @verdaccio/core@6.0.0-6-next.58
- @verdaccio/config@6.0.0-6-next.58
- @verdaccio/local-storage@11.0.0-6-next.28
- @verdaccio/utils@6.0.0-6-next.26
- @verdaccio/logger@6.0.0-6-next.26
## 6.0.0-6-next.35
### Patch Changes
- @verdaccio/local-storage@11.0.0-6-next.27
- @verdaccio/core@6.0.0-6-next.57
- @verdaccio/config@6.0.0-6-next.57
- @verdaccio/logger@6.0.0-6-next.25
- @verdaccio/utils@6.0.0-6-next.25
## 6.0.0-6-next.34
### Patch Changes
- Updated dependencies [a1986e09]
- @verdaccio/utils@6.0.0-6-next.24
- @verdaccio/config@6.0.0-6-next.56
- @verdaccio/local-storage@11.0.0-6-next.26
- @verdaccio/core@6.0.0-6-next.56
- @verdaccio/logger@6.0.0-6-next.24
## 6.0.0-6-next.33
### Patch Changes
- Updated dependencies [9718e033]
- @verdaccio/config@6.0.0-6-next.55
- @verdaccio/core@6.0.0-6-next.55
- @verdaccio/utils@6.0.0-6-next.23
- @verdaccio/local-storage@11.0.0-6-next.25
- @verdaccio/logger@6.0.0-6-next.23
## 6.0.0-6-next.32
### Patch Changes
- Updated dependencies [ef88da3b]
- @verdaccio/config@6.0.0-6-next.54
- @verdaccio/core@6.0.0-6-next.54
- @verdaccio/logger@6.0.0-6-next.22
- @verdaccio/local-storage@11.0.0-6-next.24
- @verdaccio/utils@6.0.0-6-next.22
## 6.0.0-6-next.31
### Patch Changes
- @verdaccio/core@6.0.0-6-next.53
- @verdaccio/logger@6.0.0-6-next.21
- @verdaccio/local-storage@11.0.0-6-next.23
- @verdaccio/config@6.0.0-6-next.53
- @verdaccio/utils@6.0.0-6-next.21
## 6.0.0-6-next.30
### Patch Changes
- @verdaccio/core@6.0.0-6-next.52
- @verdaccio/config@6.0.0-6-next.52
- @verdaccio/logger@6.0.0-6-next.20
- @verdaccio/local-storage@11.0.0-6-next.22
- @verdaccio/utils@6.0.0-6-next.20
## 6.0.0-6-next.29
### Patch Changes
- Updated dependencies [4b29d715]
- @verdaccio/config@6.0.0-6-next.51
- @verdaccio/core@6.0.0-6-next.51
- @verdaccio/local-storage@11.0.0-6-next.21
- @verdaccio/logger@6.0.0-6-next.19
- @verdaccio/utils@6.0.0-6-next.19
## 6.0.0-6-next.28
### Patch Changes
- @verdaccio/core@6.0.0-6-next.50
- @verdaccio/config@6.0.0-6-next.50
- @verdaccio/logger@6.0.0-6-next.18
- @verdaccio/local-storage@11.0.0-6-next.20
- @verdaccio/utils@6.0.0-6-next.18
## 6.0.0-6-next.27
### Patch Changes
- @verdaccio/local-storage@11.0.0-6-next.19
- @verdaccio/core@6.0.0-6-next.49
- @verdaccio/config@6.0.0-6-next.49
- @verdaccio/logger@6.0.0-6-next.17
- @verdaccio/utils@6.0.0-6-next.17
## 6.0.0-6-next.26
### Patch Changes
- Updated dependencies [43f32687]
- Updated dependencies [9fc2e796]
- Updated dependencies [62c24b63]
- @verdaccio/core@6.0.0-6-next.48
- @verdaccio/config@6.0.0-6-next.48
- @verdaccio/local-storage@11.0.0-6-next.18
- @verdaccio/utils@6.0.0-6-next.16
- @verdaccio/logger@6.0.0-6-next.16
## 6.0.0-6-next.25
### Patch Changes
- @verdaccio/core@6.0.0-6-next.47
- @verdaccio/config@6.0.0-6-next.47
- @verdaccio/logger@6.0.0-6-next.15
- @verdaccio/local-storage@11.0.0-6-next.17
- @verdaccio/utils@6.0.0-6-next.15
## 6.0.0-6-next.24
### Patch Changes
- Updated dependencies [b849128d]
- @verdaccio/core@6.0.0-6-next.8
- @verdaccio/config@6.0.0-6-next.17
- @verdaccio/logger@6.0.0-6-next.14
- @verdaccio/local-storage@11.0.0-6-next.16
- @verdaccio/utils@6.0.0-6-next.14
## 6.0.0-6-next.23
### Patch Changes
- 351aeeaa: fix(deps): @verdaccio/utils should be a prod dep of local-storage
- Updated dependencies [351aeeaa]
- @verdaccio/core@6.0.0-6-next.7
- @verdaccio/logger@6.0.0-6-next.13
- @verdaccio/local-storage@11.0.0-6-next.15
- @verdaccio/config@6.0.0-6-next.16
- @verdaccio/utils@6.0.0-6-next.13
## 6.0.0-6-next.22
### Patch Changes
- Updated dependencies [37274e4c]
- @verdaccio/local-storage@11.0.0-6-next.14
- @verdaccio/core@6.0.0-6-next.6
- @verdaccio/logger@6.0.0-6-next.12
## 6.0.0-6-next.21
### Major Changes
- 292c0a37: feat!: replace deprecated request dependency by got
This is a big refactoring of the core, fetching dependencies, improve code, more tests and better stability. This is essential for the next release, will take some time but would allow modularize more the core.
## Notes
- Remove deprecated `request` by other `got`, retry improved, custom Agent ( got does not include it built-in)
- Remove `async` dependency from storage (used by core) it was linked with proxy somehow safe to remove now
- Refactor with promises instead callback wherever is possible
- ~Document the API~
- Improve testing, integration tests
- Bugfix
- Clean up old validations
- Improve performance
## 💥 Breaking changes
- Plugin API methods were callbacks based are returning promises, this will break current storage plugins, check documentation for upgrade.
- Write Tarball, Read Tarball methods parameters change, a new set of options like `AbortController` signals are being provided to the `addAbortSignal` can be internally used with Streams when a request is aborted. eg: `addAbortSignal(signal, fs.createReadStream(pathName));`
- `@verdaccio/streams` stream abort support is legacy is being deprecated removed
- Remove AWS and Google Cloud packages for future refactoring [#2574](https://github.com/verdaccio/verdaccio/pull/2574).
### Patch Changes
- Updated dependencies [292c0a37]
- Updated dependencies [a3a209b5]
- Updated dependencies [00d1d2a1]
- @verdaccio/config@6.0.0-6-next.15
- @verdaccio/core@6.0.0-6-next.6
- @verdaccio/logger@6.0.0-6-next.12
- @verdaccio/local-storage@11.0.0-6-next.13
- @verdaccio/utils@6.0.0-6-next.12
## 6.0.0-6-next.20
### Patch Changes
- Updated dependencies [d43894e8]
- Updated dependencies [d08fe29d]
- @verdaccio/config@6.0.0-6-next.14
- @verdaccio/local-storage@11.0.0-6-next.12
- @verdaccio/core@6.0.0-6-next.5
- @verdaccio/streams@11.0.0-6-next.5
- @verdaccio/logger@6.0.0-6-next.11
## 6.0.0-6-next.19
### Major Changes
- 82cb0f2b: feat!: config.logs throw an error, logging config not longer accept array or logs property
### 💥 Breaking change
This is valid
```yaml
log: { type: stdout, format: pretty, level: http }
```
This is invalid
```yaml
logs: { type: stdout, format: pretty, level: http }
```
or
```yaml
logs:
- [{ type: stdout, format: pretty, level: http }]
```
### Minor Changes
- 5167bb52: feat: ui search support for remote, local and private packages
The command `npm search` search globally and return all matches, with this improvement the user interface
is powered with the same capabilities.
The UI also tag where is the origin the package with a tag, also provide the latest version and description of the package.
### Patch Changes
- Updated dependencies [82cb0f2b]
- Updated dependencies [5167bb52]
- @verdaccio/config@6.0.0-6-next.13
- @verdaccio/core@6.0.0-6-next.5
- @verdaccio/logger@6.0.0-6-next.11
- @verdaccio/local-storage@11.0.0-6-next.12
- @verdaccio/utils@6.0.0-6-next.11
- @verdaccio/streams@11.0.0-6-next.5
## 6.0.0-6-next.18
### Patch Changes
- Updated dependencies [b78f3525]
- @verdaccio/logger@6.0.0-6-next.10
## 6.0.0-6-next.17
### Patch Changes
- Updated dependencies [730b5d8c]
- @verdaccio/logger@6.0.0-6-next.9
## 6.0.0-6-next.16
### Patch Changes
- Updated dependencies [a828271d]
- Updated dependencies [24b9be02]
- Updated dependencies [e75c0a3b]
- Updated dependencies [b13a3fef]
- @verdaccio/local-storage@11.0.0-6-next.11
- @verdaccio/utils@6.0.0-6-next.10
- @verdaccio/core@6.0.0-6-next.4
- @verdaccio/logger@6.0.0-6-next.8
- @verdaccio/config@6.0.0-6-next.12
- @verdaccio/streams@11.0.0-6-next.5
## 6.0.0-6-next.15
### Patch Changes
- Updated dependencies [f86c31ed]
- @verdaccio/utils@6.0.0-6-next.9
- @verdaccio/config@6.0.0-6-next.11
- @verdaccio/local-storage@11.0.0-6-next.10
## 6.0.0-6-next.14
### Patch Changes
- Updated dependencies [6c1eb021]
- @verdaccio/core@6.0.0-6-next.3
- @verdaccio/logger@6.0.0-6-next.7
- @verdaccio/config@6.0.0-6-next.10
- @verdaccio/local-storage@11.0.0-6-next.10
- @verdaccio/utils@6.0.0-6-next.8
## 6.0.0-6-next.13
### Minor Changes
- b702ea36: abort search request support for proxy
- 154b2ecd: refactor: remove @verdaccio/commons-api in favor @verdaccio/core and remove duplications
### Patch Changes
- Updated dependencies [794af76c]
- Updated dependencies [154b2ecd]
- @verdaccio/config@6.0.0-6-next.9
- @verdaccio/core@6.0.0-6-next.2
- @verdaccio/streams@11.0.0-6-next.5
- @verdaccio/logger@6.0.0-6-next.6
- @verdaccio/utils@6.0.0-6-next.7
- @verdaccio/local-storage@11.0.0-6-next.9
## 6.0.0-6-next.12
### Patch Changes
- Updated dependencies [2c594910]
- @verdaccio/logger@6.0.0-6-next.5
## 6.0.0-6-next.11
### Major Changes
- 459b6fa7: refactor: search v1 endpoint and local-database
- refactor search `api v1` endpoint, improve performance
- remove usage of `async` dependency https://github.com/verdaccio/verdaccio/issues/1225
- refactor method storage class
- create new module `core` to reduce the ammount of modules with utilities
- use `undici` instead `node-fetch`
- use `fastify` instead `express` for functional test
### Breaking changes
- plugin storage API changes
- remove old search endpoint (return 404)
- filter local private packages at plugin level
The storage api changes for methods `get`, `add`, `remove` as promise base. The `search` methods also changes and recieves a `query` object that contains all query params from the client.
```ts
export interface IPluginStorage<T> extends IPlugin {
add(name: string): Promise<void>;
remove(name: string): Promise<void>;
get(): Promise<any>;
init(): Promise<void>;
getSecret(): Promise<string>;
setSecret(secret: string): Promise<any>;
getPackageStorage(packageInfo: string): IPackageStorage;
search(query: searchUtils.SearchQuery): Promise<searchUtils.SearchItem[]>;
saveToken(token: Token): Promise<any>;
deleteToken(user: string, tokenKey: string): Promise<any>;
readTokens(filter: TokenFilter): Promise<Token[]>;
}
```
### Patch Changes
- Updated dependencies [459b6fa7]
- @verdaccio/config@6.0.0-6-next.8
- @verdaccio/commons-api@11.0.0-6-next.4
- @verdaccio/core@6.0.0-6-next.1
- @verdaccio/local-storage@11.0.0-6-next.8
- @verdaccio/streams@11.0.0-6-next.4
- @verdaccio/utils@6.0.0-6-next.6
- @verdaccio/logger@6.0.0-6-next.4
## 6.0.0-6-next.10
### Patch Changes
- Updated dependencies [df0da3d6]
- @verdaccio/local-storage@11.0.0-6-next.7
## 6.0.0-6-next.9
### Patch Changes
- Updated dependencies [d2c65da9]
- @verdaccio/utils@6.0.0-6-next.5
- @verdaccio/config@6.0.0-6-next.7
## 6.0.0-6-next.8
### Patch Changes
- Updated dependencies [1b217fd3]
- @verdaccio/config@6.0.0-6-next.6
- @verdaccio/local-storage@11.0.0-6-next.6
## 6.0.0-6-next.7
### Patch Changes
- Updated dependencies [1810ed0d]
- Updated dependencies [648575aa]
- @verdaccio/config@6.0.0-6-next.5
- @verdaccio/utils@6.0.0-6-next.4
## 6.0.0-6-next.6
### Patch Changes
- Updated dependencies [5c5057fc]
- @verdaccio/config@6.0.0-6-next.4
- @verdaccio/logger@6.0.0-6-next.4
- @verdaccio/local-storage@11.0.0-6-next.5
- @verdaccio/streams@11.0.0-alpha.3
## 6.0.0-6-next.5
### Patch Changes
- Updated dependencies [cb2281a5]
- @verdaccio/local-storage@11.0.0-6-next.5
## 5.0.0-alpha.4
### Patch Changes
- fecbb9be: chore: add release step to private regisry on merge changeset pr
- Updated dependencies [fecbb9be]
- @verdaccio/local-storage@10.0.0-alpha.4
- @verdaccio/config@5.0.0-alpha.3
- @verdaccio/commons-api@10.0.0-alpha.3
- @verdaccio/streams@10.0.0-alpha.3
- @verdaccio/logger@5.0.0-alpha.3
- @verdaccio/utils@5.0.0-alpha.3
## 5.0.0-alpha.3
### Minor Changes
- 54c58d1e: feat: add server rate limit protection to all request
To modify custom values, use the server settings property.
```markdown
server:
## https://www.npmjs.com/package/express-rate-limit#configuration-options
rateLimit:
windowMs: 1000
max: 10000
```
The values are intended to be high, if you want to improve security of your server consider
using different values.
### Patch Changes
- Updated dependencies [54c58d1e]
- @verdaccio/config@5.0.0-alpha.2
- @verdaccio/commons-api@10.0.0-alpha.2
- @verdaccio/local-storage@10.0.0-alpha.3
- @verdaccio/streams@10.0.0-alpha.2
- @verdaccio/logger@5.0.0-alpha.2
- @verdaccio/utils@5.0.0-alpha.2
## 5.0.0-alpha.2
### Patch Changes
- Updated dependencies [2a327c4b]
- @verdaccio/local-storage@10.0.0-alpha.2
## 5.0.0-alpha.1
### Major Changes
- d87fa026: feat!: experiments config renamed to flags
- The `experiments` configuration is renamed to `flags`. The functionality is exactly the same.
```js
flags: token: false;
search: false;
```
- The `self_path` property from the config file is being removed in favor of `config_file` full path.
- Refactor `config` module, better types and utilities
- da1ee9c8: - Replace signature handler for legacy tokens by removing deprecated crypto.createDecipher by createCipheriv
- Introduce environment variables for legacy tokens
### Code Improvements
- Add debug library for improve developer experience
### Breaking change
- The new signature invalidates all previous tokens generated by Verdaccio 4 or previous versions.
- The secret key must have 32 characters long.
### New environment variables
- `VERDACCIO_LEGACY_ALGORITHM`: Allows to define the specific algorithm for the token signature which by default is `aes-256-ctr`
- `VERDACCIO_LEGACY_ENCRYPTION_KEY`: By default, the token stores in the database, but using this variable allows to get it from memory
### Minor Changes
- 26b494cb: feat: add typescript project references settings
Reading https://ebaytech.berlin/optimizing-multi-package-apps-with-typescript-project-references-d5c57a3b4440 I realized I can use project references to solve the issue to pre-compile modules on develop mode.
It allows to navigate (IDE) trough the packages without need compile the packages.
Add two `tsconfig`, one using the previous existing configuration that is able to produce declaration files (`tsconfig.build`) and a new one `tsconfig` which is enables [_projects references_](https://www.typescriptlang.org/docs/handbook/project-references.html).
### Patch Changes
- ae52ba35: refactor: migrate request to node-fetch at hooks package
- b57b4338: Enable prerelease mode with **changesets**
- 31af0164: ESLint Warnings Fixed
Related to issue #1461
- max-len: most of the sensible max-len errors are fixed
- no-unused-vars: most of these types of errors are fixed by deleting not needed declarations
- @typescript-eslint/no-unused-vars: same as above
- Updated dependencies [d87fa026]
- Updated dependencies [da1ee9c8]
- Updated dependencies [26b494cb]
- Updated dependencies [b57b4338]
- Updated dependencies [add778d5]
- Updated dependencies [31af0164]
- @verdaccio/config@5.0.0-alpha.1
- @verdaccio/commons-api@10.0.0-alpha.1
- @verdaccio/local-storage@10.0.0-alpha.1
- @verdaccio/streams@10.0.0-alpha.1
- @verdaccio/logger@5.0.0-alpha.1
- @verdaccio/utils@5.0.0-alpha.1
## 5.0.0-alpha.1
### Major Changes
- d87fa0268: feat!: experiments config renamed to flags
- The `experiments` configuration is renamed to `flags`. The functionality is exactly the same.
```js
flags: token: false;
search: false;
```
- The `self_path` property from the config file is being removed in favor of `config_file` full path.
- Refactor `config` module, better types and utilities
- da1ee9c82: - Replace signature handler for legacy tokens by removing deprecated crypto.createDecipher by createCipheriv
- Introduce environment variables for legacy tokens
### Code Improvements
- Add debug library for improve developer experience
### Breaking change
- The new signature invalidates all previous tokens generated by Verdaccio 4 or previous versions.
- The secret key must have 32 characters long.
### New environment variables
- `VERDACCIO_LEGACY_ALGORITHM`: Allows to define the specific algorithm for the token signature which by default is `aes-256-ctr`
- `VERDACCIO_LEGACY_ENCRYPTION_KEY`: By default, the token stores in the database, but using this variable allows to get it from memory
### Minor Changes
- 26b494cbd: feat: add typescript project references settings
Reading https://ebaytech.berlin/optimizing-multi-package-apps-with-typescript-project-references-d5c57a3b4440 I realized I can use project references to solve the issue to pre-compile modules on develop mode.
It allows to navigate (IDE) trough the packages without need compile the packages.
Add two `tsconfig`, one using the previous existing configuration that is able to produce declaration files (`tsconfig.build`) and a new one `tsconfig` which is enables [_projects references_](https://www.typescriptlang.org/docs/handbook/project-references.html).
### Patch Changes
- ae52ba352: refactor: migrate request to node-fetch at hooks package
- b57b43388: Enable prerelease mode with **changesets**
- 31af01641: ESLint Warnings Fixed
Related to issue #1461
- max-len: most of the sensible max-len errors are fixed
- no-unused-vars: most of these types of errors are fixed by deleting not needed declarations
- @typescript-eslint/no-unused-vars: same as above
- Updated dependencies [d87fa0268]
- Updated dependencies [da1ee9c82]
- Updated dependencies [26b494cbd]
- Updated dependencies [b57b43388]
- Updated dependencies [add778d55]
- Updated dependencies [31af01641]
- @verdaccio/config@5.0.0-alpha.1
- @verdaccio/commons-api@10.0.0-alpha.0
- @verdaccio/local-storage@10.0.0-alpha.0
- @verdaccio/streams@10.0.0-alpha.0
- @verdaccio/logger@5.0.0-alpha.1
- @verdaccio/utils@5.0.0-alpha.1

29
packages/search/README.md Normal file
View File

@@ -0,0 +1,29 @@
# @verdaccio/search
Search utilities
```bash
npm install @verdaccio/search
```
[![backers](https://opencollective.com/verdaccio/tiers/backer/badge.svg?label=Backer&color=brightgreen)](https://opencollective.com/verdaccio)
[![stackshare](https://img.shields.io/badge/Follow%20on-StackShare-blue.svg?logo=stackshare&style=flat)](https://stackshare.io/verdaccio)
[![MIT](https://img.shields.io/github/license/mashape/apistatus.svg)](https://github.com/verdaccio/verdaccio/blob/master/LICENSE)
[![Crowdin](https://d322cqt584bo4o.cloudfront.net/verdaccio/localized.svg)](https://crowdin.com/project/verdaccio)
[![TODOs](https://badgen.net/https/api.tickgit.com/badgen/github.com/verdaccio/verdaccio)](https://www.tickgit.com/browse?repo=github.com/verdaccio/verdaccio)
[![Twitter followers](https://img.shields.io/twitter/follow/verdaccio_npm.svg?style=social&label=Follow)](https://twitter.com/verdaccio_npm)
[![Github](https://img.shields.io/github/stars/verdaccio/verdaccio.svg?style=social&label=Stars)](https://github.com/verdaccio/verdaccio/stargazers)
## Donations
Verdaccio is run by **volunteers**; nobody is working full-time on it. If you find this project to be useful and would like to support its development, consider making a donation - **your logo might end up in this readme.** 😉
**[Donate](https://opencollective.com/verdaccio)** 💵👍🏻 starting from _\$1/month_ or just one single contribution.
### License
Verdaccio is [MIT licensed](https://github.com/verdaccio/verdaccio/blob/master/LICENSE)
The Verdaccio documentation and logos (excluding /thanks, e.g., .md, .png, .sketch) files within the /assets folder) is
[Creative Commons licensed](https://github.com/verdaccio/verdaccio/blob/master/LICENSE-docs).

View File

@@ -0,0 +1,12 @@
const config = require('../../jest/config');
module.exports = Object.assign({}, config, {
coverageThreshold: {
global: {
branches: 79,
functions: 94,
lines: 87,
statements: 87,
},
},
});

View File

@@ -0,0 +1,51 @@
{
"name": "@verdaccio/search",
"version": "6.0.0-6-next.2",
"description": "verdaccio search utitlity tools",
"main": "./build/dist.js",
"types": "build/index.d.ts",
"author": {
"name": "Juan Picado",
"email": "juanpicado19@gmail.com"
},
"repository": {
"type": "https",
"url": "https://github.com/verdaccio/verdaccio"
},
"license": "MIT",
"homepage": "https://verdaccio.org",
"keywords": [
"private",
"package",
"repository",
"registry",
"enterprise",
"modules",
"proxy",
"server",
"verdaccio"
],
"engines": {
"node": ">=12",
"npm": ">=6"
},
"scripts": {
"clean": "rimraf ./build",
"test": "echo 1",
"type-check": "tsc --noEmit -p tsconfig.build.json",
"build:types": "tsc --emitDeclarationOnly -p tsconfig.build.json",
"build:js": "babel src/ --out-dir build/ --copy-files --extensions \".ts,.tsx\" --source-maps",
"build": "esbuild src/index.ts --bundle --outfile=build/dist.js --platform=node --target=node12 && pnpm run build:types"
},
"devDependencies": {
"@types/node": "16.18.10",
"@verdaccio/types": "workspace:11.0.0-6-next.25",
"@orama/orama": "1.0.0-beta.16",
"debug": "4.3.4",
"esbuild": "0.14.10"
},
"funding": {
"type": "opencollective",
"url": "https://opencollective.com/verdaccio"
}
}

View File

@@ -0,0 +1 @@
export { default as SearchMemoryIndexer } from './indexer';

View File

@@ -0,0 +1,113 @@
import { create, insert, remove, search } from '@orama/orama';
import buildDebug from 'debug';
import { Version } from '@verdaccio/types';
const debug = buildDebug('verdaccio:search:indexer');
type Results = any;
class SearchMemoryIndexer {
private database: any | undefined;
private storage: any;
/**
* Set up the {Storage}
* @param {*} storage An storage reference.
*/
public configureStorage(storage): void {
this.storage = storage;
}
/**
* Performs a query to the indexer.
* If the keyword is a * it returns all local elements
* otherwise performs a search
* @param {*} q the keyword
* @return {Array} list of results.
*/
public async query(term: string): Promise<Results | void> {
if (this.database) {
debug('searching %s at indexer', term);
const searchResult = await search(this.database, {
term,
properties: '*',
});
return searchResult;
}
}
/**
* Add a new element to index
* @param {*} pkg the package
*/
public async add(pkg: Version): Promise<void> {
if (this.database) {
const name = pkg.name;
debug('adding item %s to the indexer', name);
insert(this.database, {
id: name,
name: name,
description: pkg.description,
version: `v${pkg.version}`,
keywords: pkg.keywords,
author: pkg._npmUser ? pkg._npmUser.name : '???',
});
}
}
/**
* Remove an element from the index.
* @param {*} name the id element
*/
public async remove(name: string): Promise<void> {
if (this.database) {
debug('removing item %s to the indexer', name);
await remove(this.database, name);
}
}
/**
* Force a re-index.
*/
public reindex(): void {
debug('reindexing search indexer');
this.storage?.getLocalDatabase((error, packages): void => {
if (error) {
// that function shouldn't produce any
throw error;
}
let i = packages.length;
if (i === 0) {
debug('no packages to index');
}
while (i--) {
const pkg = packages[i];
debug('indexing package %s', pkg?.name);
this.add(pkg);
}
debug('reindexed search indexer');
});
}
public async init() {
this.database = await create({
schema: {
id: 'string',
name: 'string',
description: 'string',
keywords: 'string',
version: 'string',
readme: 'string',
},
});
this.reindex();
}
}
export default new SearchMemoryIndexer();
export { Results };

View File

@@ -0,0 +1,9 @@
{
"extends": "../../tsconfig.base",
"compilerOptions": {
"rootDir": "./src",
"outDir": "./build"
},
"include": ["src/**/*.ts"],
"exclude": ["src/**/*.test.ts"]
}

View File

@@ -0,0 +1,23 @@
{
"extends": "../../tsconfig.reference.json",
"compilerOptions": {
"rootDir": "./src",
"outDir": "./build",
"noImplicitAny": false
},
"include": ["src/**/*.ts", "types/*.d.ts"],
"references": [
{
"path": "../config"
},
{
"path": "../core/core"
},
{
"path": "../logger/logger"
},
{
"path": "../utils"
}
]
}

10
packages/search/types/patch.d.ts vendored Normal file
View File

@@ -0,0 +1,10 @@
declare module 'jest-matcher-utils';
declare module 'pretty-format' {
export type Plugin = any;
export type CompareKeys = any;
}
declare module '@jest/schemas' {
export type SnapshotFormat = any;
}
declare module '@szmarczak/http-timer';

View File

@@ -1,5 +1,38 @@
# @verdaccio/server
## 6.0.0-6-next.59
### Patch Changes
- @verdaccio/logger@6.0.0-6-next.38
- @verdaccio/api@6.0.0-6-next.53
- @verdaccio/auth@6.0.0-6-next.49
- @verdaccio/loaders@6.0.0-6-next.39
- @verdaccio/middleware@6.0.0-6-next.49
- verdaccio-audit@11.0.0-6-next.33
- @verdaccio/store@6.0.0-6-next.50
- @verdaccio/web@6.0.0-6-next.57
- @verdaccio/core@6.0.0-6-next.70
- @verdaccio/config@6.0.0-6-next.70
- @verdaccio/utils@6.0.0-6-next.38
## 6.0.0-6-next.58
### Patch Changes
- Updated dependencies [c9d1af0e]
- @verdaccio/auth@6.0.0-6-next.48
- @verdaccio/core@6.0.0-6-next.69
- @verdaccio/api@6.0.0-6-next.52
- verdaccio-audit@11.0.0-6-next.32
- @verdaccio/web@6.0.0-6-next.56
- @verdaccio/config@6.0.0-6-next.69
- @verdaccio/loaders@6.0.0-6-next.38
- @verdaccio/middleware@6.0.0-6-next.48
- @verdaccio/store@6.0.0-6-next.49
- @verdaccio/utils@6.0.0-6-next.37
- @verdaccio/logger@6.0.0-6-next.37
## 6.0.0-6-next.57
### Patch Changes

View File

@@ -1,6 +1,6 @@
{
"name": "@verdaccio/server",
"version": "6.0.0-6-next.57",
"version": "6.0.0-6-next.59",
"description": "server logic",
"main": "./build/index.js",
"types": "build/index.d.ts",
@@ -30,17 +30,17 @@
"npm": ">=6"
},
"dependencies": {
"@verdaccio/api": "workspace:6.0.0-6-next.51",
"@verdaccio/auth": "workspace:6.0.0-6-next.47",
"@verdaccio/core": "workspace:6.0.0-6-next.68",
"@verdaccio/config": "workspace:6.0.0-6-next.68",
"@verdaccio/loaders": "workspace:6.0.0-6-next.37",
"@verdaccio/logger": "workspace:6.0.0-6-next.36",
"@verdaccio/middleware": "workspace:6.0.0-6-next.47",
"@verdaccio/store": "workspace:6.0.0-6-next.48",
"@verdaccio/utils": "workspace:6.0.0-6-next.36",
"@verdaccio/web": "workspace:6.0.0-6-next.55",
"verdaccio-audit": "workspace:11.0.0-6-next.31",
"@verdaccio/api": "workspace:6.0.0-6-next.53",
"@verdaccio/auth": "workspace:6.0.0-6-next.49",
"@verdaccio/core": "workspace:6.0.0-6-next.70",
"@verdaccio/config": "workspace:6.0.0-6-next.70",
"@verdaccio/loaders": "workspace:6.0.0-6-next.39",
"@verdaccio/logger": "workspace:6.0.0-6-next.38",
"@verdaccio/middleware": "workspace:6.0.0-6-next.49",
"@verdaccio/store": "workspace:6.0.0-6-next.50",
"@verdaccio/utils": "workspace:6.0.0-6-next.38",
"@verdaccio/web": "workspace:6.0.0-6-next.57",
"verdaccio-audit": "workspace:11.0.0-6-next.33",
"compression": "1.7.4",
"cors": "2.8.5",
"debug": "4.3.4",
@@ -49,9 +49,9 @@
},
"devDependencies": {
"@types/node": "16.18.10",
"@verdaccio/proxy": "workspace:6.0.0-6-next.46",
"@verdaccio/proxy": "workspace:6.0.0-6-next.48",
"@verdaccio/test-helper": "workspace:2.0.0-6-next.8",
"http-errors": "1.8.1"
"http-errors": "2.0.0"
},
"scripts": {
"clean": "rimraf ./build",

View File

@@ -1,5 +1,30 @@
# @verdaccio/server-fastify
## 6.0.0-6-next.51
### Patch Changes
- @verdaccio/logger@6.0.0-6-next.38
- @verdaccio/auth@6.0.0-6-next.49
- @verdaccio/store@6.0.0-6-next.50
- @verdaccio/core@6.0.0-6-next.70
- @verdaccio/config@6.0.0-6-next.70
- @verdaccio/tarball@11.0.0-6-next.39
- @verdaccio/utils@6.0.0-6-next.38
## 6.0.0-6-next.50
### Patch Changes
- Updated dependencies [c9d1af0e]
- @verdaccio/auth@6.0.0-6-next.48
- @verdaccio/core@6.0.0-6-next.69
- @verdaccio/config@6.0.0-6-next.69
- @verdaccio/tarball@11.0.0-6-next.38
- @verdaccio/store@6.0.0-6-next.49
- @verdaccio/utils@6.0.0-6-next.37
- @verdaccio/logger@6.0.0-6-next.37
## 6.0.0-6-next.49
### Patch Changes

View File

@@ -1,6 +1,6 @@
{
"name": "@verdaccio/server-fastify",
"version": "6.0.0-6-next.49",
"version": "6.0.0-6-next.51",
"description": "fastify server api implementation",
"keywords": [
"private",
@@ -34,16 +34,16 @@
"access": "public"
},
"dependencies": {
"@verdaccio/core": "workspace:6.0.0-6-next.68",
"@verdaccio/config": "workspace:6.0.0-6-next.68",
"@verdaccio/auth": "workspace:6.0.0-6-next.47",
"@verdaccio/logger": "workspace:6.0.0-6-next.36",
"@verdaccio/store": "workspace:6.0.0-6-next.48",
"@verdaccio/tarball": "workspace:11.0.0-6-next.37",
"@verdaccio/utils": "workspace:6.0.0-6-next.36",
"core-js": "3.28.0",
"@verdaccio/core": "workspace:6.0.0-6-next.70",
"@verdaccio/config": "workspace:6.0.0-6-next.70",
"@verdaccio/auth": "workspace:6.0.0-6-next.49",
"@verdaccio/logger": "workspace:6.0.0-6-next.38",
"@verdaccio/store": "workspace:6.0.0-6-next.50",
"@verdaccio/tarball": "workspace:11.0.0-6-next.39",
"@verdaccio/utils": "workspace:6.0.0-6-next.38",
"core-js": "3.30.2",
"debug": "4.3.4",
"fastify": "4.13.0",
"fastify": "4.17.0",
"fastify-plugin": "4.4.0",
"lodash": "4.17.21"
},

View File

@@ -43,7 +43,7 @@
"lodash": "4.17.21"
},
"devDependencies": {
"@verdaccio/config": "workspace:6.0.0-6-next.68",
"@verdaccio/config": "workspace:6.0.0-6-next.70",
"@verdaccio/types": "workspace:11.0.0-6-next.25"
},
"funding": {

View File

@@ -32,10 +32,10 @@
"homepage": "https://verdaccio.org",
"license": "MIT",
"devDependencies": {
"@verdaccio/cli": "workspace:6.0.0-6-next.68",
"@verdaccio/ui-theme": "workspace:6.0.0-6-next.68",
"@verdaccio/cli": "workspace:6.0.0-6-next.70",
"@verdaccio/ui-theme": "workspace:6.0.0-6-next.70",
"fs-extra": "10.1.0",
"webpack": "5.75.0",
"webpack": "5.82.1",
"webpack-bundle-analyzer": "4.7.0",
"webpack-bundle-size-analyzer": "3.1.0",
"webpack-cli": "4.10.0"

View File

@@ -1,5 +1,36 @@
# @verdaccio/store
## 6.0.0-6-next.50
### Patch Changes
- @verdaccio/logger@6.0.0-6-next.38
- @verdaccio/hooks@6.0.0-6-next.40
- @verdaccio/loaders@6.0.0-6-next.39
- @verdaccio/local-storage@11.0.0-6-next.40
- @verdaccio/proxy@6.0.0-6-next.48
- @verdaccio/core@6.0.0-6-next.70
- @verdaccio/config@6.0.0-6-next.70
- @verdaccio/tarball@11.0.0-6-next.39
- @verdaccio/url@11.0.0-6-next.36
- @verdaccio/utils@6.0.0-6-next.38
## 6.0.0-6-next.49
### Patch Changes
- Updated dependencies [c9d1af0e]
- @verdaccio/core@6.0.0-6-next.69
- @verdaccio/hooks@6.0.0-6-next.39
- @verdaccio/config@6.0.0-6-next.69
- @verdaccio/tarball@11.0.0-6-next.38
- @verdaccio/url@11.0.0-6-next.35
- @verdaccio/loaders@6.0.0-6-next.38
- @verdaccio/local-storage@11.0.0-6-next.39
- @verdaccio/proxy@6.0.0-6-next.47
- @verdaccio/utils@6.0.0-6-next.37
- @verdaccio/logger@6.0.0-6-next.37
## 6.0.0-6-next.48
### Patch Changes

View File

@@ -1,6 +1,6 @@
{
"name": "@verdaccio/store",
"version": "6.0.0-6-next.48",
"version": "6.0.0-6-next.50",
"description": "loaders logic",
"main": "./build/index.js",
"types": "build/index.d.ts",
@@ -39,21 +39,21 @@
"build": "pnpm run build:js && pnpm run build:types"
},
"dependencies": {
"@verdaccio/config": "workspace:6.0.0-6-next.68",
"@verdaccio/core": "workspace:6.0.0-6-next.68",
"@verdaccio/hooks": "workspace:6.0.0-6-next.38",
"@verdaccio/loaders": "workspace:6.0.0-6-next.37",
"@verdaccio/local-storage": "workspace:11.0.0-6-next.38",
"@verdaccio/logger": "workspace:6.0.0-6-next.36",
"@verdaccio/proxy": "workspace:6.0.0-6-next.46",
"@verdaccio/url": "workspace:11.0.0-6-next.34",
"@verdaccio/utils": "workspace:6.0.0-6-next.36",
"@verdaccio/tarball": "workspace:11.0.0-6-next.37",
"@verdaccio/config": "workspace:6.0.0-6-next.70",
"@verdaccio/core": "workspace:6.0.0-6-next.70",
"@verdaccio/hooks": "workspace:6.0.0-6-next.40",
"@verdaccio/loaders": "workspace:6.0.0-6-next.39",
"@verdaccio/local-storage": "workspace:11.0.0-6-next.40",
"@verdaccio/logger": "workspace:6.0.0-6-next.38",
"@verdaccio/proxy": "workspace:6.0.0-6-next.48",
"@verdaccio/url": "workspace:11.0.0-6-next.36",
"@verdaccio/utils": "workspace:6.0.0-6-next.38",
"@verdaccio/tarball": "workspace:11.0.0-6-next.39",
"JSONStream": "1.3.5",
"debug": "4.3.4",
"lodash": "4.17.21",
"merge2": "1.4.1",
"semver": "7.3.8"
"semver": "7.5.0"
},
"devDependencies": {
"@types/node": "16.18.10",

View File

@@ -3,11 +3,11 @@
{
"id": 558752,
"login": "juanpicado",
"contributions": 5067,
"contributions": 5072,
"repositories": [
{
"name": "verdaccio",
"contributions": 2753
"contributions": 2758
},
{
"name": "verdaccio-cookbook",
@@ -59,7 +59,7 @@
},
{
"name": "monorepo",
"contributions": 202
"contributions": 204
},
{
"name": "authentication-plugin-sample",
@@ -117,10 +117,6 @@
"name": "awesome",
"contributions": 2
},
{
"name": "website_v2",
"contributions": 2
},
{
"name": "charts",
"contributions": 37
@@ -153,11 +149,11 @@
{
"id": 14012309,
"login": "sergiohgz",
"contributions": 364,
"contributions": 365,
"repositories": [
{
"name": "verdaccio",
"contributions": 21
"contributions": 22
},
{
"name": "docker-examples",
@@ -315,28 +311,13 @@
]
},
{
"id": 7524528,
"login": "030",
"id": 827205,
"login": "DanielRuf",
"contributions": 47,
"repositories": [
{
"name": "verdaccio",
"contributions": 3
},
{
"name": "ansible-verdaccio",
"contributions": 44
}
]
},
{
"id": 827205,
"login": "DanielRuf",
"contributions": 46,
"repositories": [
{
"name": "verdaccio",
"contributions": 22
"contributions": 23
},
{
"name": "monorepo",
@@ -352,6 +333,21 @@
}
]
},
{
"id": 7524528,
"login": "030",
"contributions": 47,
"repositories": [
{
"name": "verdaccio",
"contributions": 3
},
{
"name": "ansible-verdaccio",
"contributions": 44
}
]
},
{
"id": 558740,
"login": "dianmorales",
@@ -1141,6 +1137,17 @@
}
]
},
{
"id": 8685618,
"login": "kuoruan",
"contributions": 3,
"repositories": [
{
"name": "verdaccio",
"contributions": 3
}
]
},
{
"id": 3647678,
"login": "wiggisser",
@@ -1552,6 +1559,17 @@
}
]
},
{
"id": 16746759,
"login": "rluvaton",
"contributions": 2,
"repositories": [
{
"name": "verdaccio",
"contributions": 2
}
]
},
{
"id": 85342175,
"login": "innosatyam",
@@ -1585,17 +1603,6 @@
}
]
},
{
"id": 8685618,
"login": "kuoruan",
"contributions": 2,
"repositories": [
{
"name": "verdaccio",
"contributions": 2
}
]
},
{
"id": 8655722,
"login": "Jinshichi",
@@ -2946,17 +2953,6 @@
}
]
},
{
"id": 16746759,
"login": "rluvaton",
"contributions": 1,
"repositories": [
{
"name": "verdaccio",
"contributions": 1
}
]
},
{
"id": 190202,
"login": "r3wald",
@@ -4791,7 +4787,7 @@
"full_name": "verdaccio/verdaccio",
"html_url": "https://github.com/verdaccio/verdaccio",
"description": "📦🔐 A lightweight Node.js private proxy registry",
"stargazers_count": 14659,
"stargazers_count": 14745,
"archived": false
},
{
@@ -4899,7 +4895,7 @@
"full_name": "verdaccio/verdaccio-google-cloud",
"html_url": "https://github.com/verdaccio/verdaccio-google-cloud",
"description": "☁️📦 Google Cloud storage plugin for verdaccio",
"stargazers_count": 17,
"stargazers_count": 18,
"archived": true
},
{
@@ -4917,7 +4913,7 @@
"full_name": "verdaccio/monorepo",
"html_url": "https://github.com/verdaccio/monorepo",
"description": "🏰 Core dependencies and plugins for verdaccio 5.x branch ⚠️ DEPRECATED",
"stargazers_count": 73,
"stargazers_count": 74,
"archived": false
},
{
@@ -4980,7 +4976,7 @@
"full_name": "verdaccio/ui",
"html_url": "https://github.com/verdaccio/ui",
"description": "🖼🎨 Verdaccio UI (deprecated, use verdaccio/verdaccio)",
"stargazers_count": 120,
"stargazers_count": 121,
"archived": true
},
{
@@ -4989,7 +4985,7 @@
"full_name": "verdaccio/github-actions",
"html_url": "https://github.com/verdaccio/github-actions",
"description": "🤖Verdaccio GitHub Actions",
"stargazers_count": 14,
"stargazers_count": 15,
"archived": false
},
{
@@ -5046,15 +5042,6 @@
"stargazers_count": 2,
"archived": false
},
{
"name": "website_v2",
"login": "verdaccio",
"full_name": "verdaccio/website_v2",
"html_url": "https://github.com/verdaccio/website_v2",
"description": null,
"stargazers_count": 1,
"archived": false
},
{
"name": "charts",
"login": "verdaccio",

View File

@@ -10,13 +10,13 @@
"types": "build/index.d.ts",
"devDependencies": {
"@verdaccio/types": "workspace:11.0.0-6-next.25",
"@verdaccio/auth": "workspace:6.0.0-6-next.47",
"@verdaccio/core": "workspace:6.0.0-6-next.68",
"@verdaccio/config": "workspace:6.0.0-6-next.68",
"@verdaccio/middleware": "workspace:6.0.0-6-next.47",
"@verdaccio/logger": "workspace:6.0.0-6-next.36",
"@verdaccio/utils": "workspace:6.0.0-6-next.36",
"body-parser": "1.20.1",
"@verdaccio/auth": "workspace:6.0.0-6-next.49",
"@verdaccio/core": "workspace:6.0.0-6-next.70",
"@verdaccio/config": "workspace:6.0.0-6-next.70",
"@verdaccio/middleware": "workspace:6.0.0-6-next.49",
"@verdaccio/logger": "workspace:6.0.0-6-next.38",
"@verdaccio/utils": "workspace:6.0.0-6-next.38",
"body-parser": "1.20.2",
"express": "4.18.2",
"supertest": "6.3.3",
"debug": "4.3.4",

View File

@@ -10,9 +10,9 @@
"types": "build/index.d.ts",
"devDependencies": {
"@verdaccio/types": "workspace:11.0.0-6-next.25",
"@verdaccio/core": "workspace:6.0.0-6-next.68",
"@verdaccio/config": "workspace:6.0.0-6-next.68",
"verdaccio": "6.0.0-6-next.68",
"@verdaccio/core": "workspace:6.0.0-6-next.70",
"@verdaccio/config": "workspace:6.0.0-6-next.70",
"verdaccio": "6.0.0-6-next.70",
"ts-node": "10.9.1"
},
"scripts": {

View File

@@ -16,7 +16,7 @@
"license": "MIT",
"dependencies": {
"clipanion": "3.2.0",
"@crowdin/crowdin-api-client": "1.21.2"
"@crowdin/crowdin-api-client": "1.22.1"
},
"devDependencies": {
"ts-node": "10.9.1"

View File

@@ -39,7 +39,7 @@
"i18next": "20.6.1",
"localstorage-memory": "1.0.3",
"lodash": "4.17.21",
"marked": "4.2.12",
"marked": "4.3.0",
"normalize.css": "8.0.1",
"react": "18.2.0",
"react-dom": "18.2.0",

View File

@@ -1,5 +1,18 @@
# @verdaccio/utils
## 6.0.0-6-next.38
### Patch Changes
- @verdaccio/core@6.0.0-6-next.70
## 6.0.0-6-next.37
### Patch Changes
- Updated dependencies [c9d1af0e]
- @verdaccio/core@6.0.0-6-next.69
## 6.0.0-6-next.36
### Patch Changes

View File

@@ -1,6 +1,6 @@
{
"name": "@verdaccio/utils",
"version": "6.0.0-6-next.36",
"version": "6.0.0-6-next.38",
"description": "verdaccio utilities",
"main": "./build/index.js",
"types": "build/index.d.ts",
@@ -29,9 +29,9 @@
"node": ">=12"
},
"dependencies": {
"@verdaccio/core": "workspace:6.0.0-6-next.68",
"@verdaccio/core": "workspace:6.0.0-6-next.70",
"minimatch": "3.1.2",
"semver": "7.3.8",
"semver": "7.5.0",
"lodash": "4.17.21"
},
"scripts": {

View File

@@ -1,5 +1,33 @@
# verdaccio
## 6.0.0-6-next.70
### Patch Changes
- @verdaccio/logger@6.0.0-6-next.38
- @verdaccio/cli@6.0.0-6-next.70
- @verdaccio/hooks@6.0.0-6-next.40
- @verdaccio/node-api@6.0.0-6-next.70
- verdaccio-audit@11.0.0-6-next.33
- verdaccio-htpasswd@11.0.0-6-next.40
- @verdaccio/ui-theme@6.0.0-6-next.70
- @verdaccio/utils@6.0.0-6-next.38
## 6.0.0-6-next.69
### Patch Changes
- Updated dependencies [910fc03f]
- Updated dependencies [c9d1af0e]
- @verdaccio/ui-theme@6.0.0-6-next.69
- verdaccio-htpasswd@11.0.0-6-next.39
- @verdaccio/hooks@6.0.0-6-next.39
- verdaccio-audit@11.0.0-6-next.32
- @verdaccio/cli@6.0.0-6-next.69
- @verdaccio/node-api@6.0.0-6-next.69
- @verdaccio/utils@6.0.0-6-next.37
- @verdaccio/logger@6.0.0-6-next.37
## 6.0.0-6-next.68
### Patch Changes

Some files were not shown because too many files have changed in this diff Show More