verdaccio 6.7.1 → 6.7.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (51) hide show
  1. package/build/api/debug/index.d.ts +3 -0
  2. package/build/api/endpoint/api/dist-tags.d.ts +4 -0
  3. package/build/api/endpoint/api/package.d.ts +5 -0
  4. package/build/api/endpoint/api/ping.d.ts +2 -0
  5. package/build/api/endpoint/api/publish.d.ts +26 -0
  6. package/build/api/endpoint/api/search.d.ts +1 -0
  7. package/build/api/endpoint/api/star.d.ts +4 -0
  8. package/build/api/endpoint/api/stars.d.ts +3 -0
  9. package/build/api/endpoint/api/user.d.ts +4 -0
  10. package/build/api/endpoint/api/v1/profile.d.ts +14 -0
  11. package/build/api/endpoint/api/v1/search.d.ts +5 -0
  12. package/build/api/endpoint/api/v1/token.d.ts +8 -0
  13. package/build/api/endpoint/api/v1/token.js +24 -5
  14. package/build/api/endpoint/api/whoami.d.ts +2 -0
  15. package/build/api/endpoint/index.d.ts +4 -0
  16. package/build/api/endpoint/index.js +3 -1
  17. package/build/api/index.d.ts +4 -0
  18. package/build/api/index.js +1 -1
  19. package/build/api/middleware.d.ts +3 -0
  20. package/build/api/web/api/index.d.ts +2 -0
  21. package/build/api/web/api/package.d.ts +12 -0
  22. package/build/api/web/api/search.d.ts +5 -0
  23. package/build/api/web/api/user.d.ts +5 -0
  24. package/build/api/web/api/utils.d.ts +2 -0
  25. package/build/api/web/index.d.ts +9 -0
  26. package/build/index.d.ts +4 -0
  27. package/build/lib/auth-utils.d.ts +2 -0
  28. package/build/lib/bootstrap.d.ts +22 -0
  29. package/build/lib/cli/cli.d.ts +1 -0
  30. package/build/lib/cli/cli.js +1 -1
  31. package/build/lib/cli/commands/info.d.ts +5 -0
  32. package/build/lib/cli/commands/init.d.ts +9 -0
  33. package/build/lib/cli/commands/init.js +1 -1
  34. package/build/lib/cli/commands/version.d.ts +5 -0
  35. package/build/lib/cli/commands/version.js +1 -1
  36. package/build/lib/cli/utils.d.ts +4 -0
  37. package/build/lib/cli.d.ts +2 -0
  38. package/build/lib/config.d.ts +5 -0
  39. package/build/lib/constants.d.ts +25 -0
  40. package/build/lib/experiments.d.ts +1 -0
  41. package/build/lib/local-storage.d.ts +182 -0
  42. package/build/lib/logger/index.d.ts +6 -0
  43. package/build/lib/metadata-utils.d.ts +10 -0
  44. package/build/lib/run-server.d.ts +22 -0
  45. package/build/lib/storage-utils.d.ts +30 -0
  46. package/build/lib/storage.d.ts +136 -0
  47. package/build/lib/up-storage.d.ts +138 -0
  48. package/build/lib/uplink-util.d.ts +7 -0
  49. package/build/lib/utils.d.ts +68 -0
  50. package/package.json +54 -51
  51. package/vitest.setup.mjs +4 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "verdaccio",
3
- "version": "6.7.1",
3
+ "version": "6.7.3",
4
4
  "description": "A lightweight private npm proxy registry",
5
5
  "author": {
6
6
  "name": "Verdaccio Maintainers",
@@ -20,22 +20,22 @@
20
20
  },
21
21
  "dependencies": {
22
22
  "@cypress/request": "3.0.10",
23
- "@verdaccio/auth": "8.0.1",
24
- "@verdaccio/config": "8.1.0",
25
- "@verdaccio/core": "8.1.0",
26
- "@verdaccio/hooks": "8.0.1",
27
- "@verdaccio/loaders": "8.0.1",
28
- "@verdaccio/local-storage-legacy": "11.3.1",
29
- "@verdaccio/logger": "8.0.1",
30
- "@verdaccio/middleware": "8.0.1",
31
- "@verdaccio/package-filter": "13.0.1",
32
- "@verdaccio/search-indexer": "8.0.0",
33
- "@verdaccio/signature": "8.0.1",
34
- "@verdaccio/streams": "10.2.3",
35
- "@verdaccio/tarball": "13.0.1",
36
- "@verdaccio/ui-theme": "9.0.0-next-9.14",
37
- "@verdaccio/url": "13.0.1",
38
- "@verdaccio/utils": "8.1.1",
23
+ "@verdaccio/auth": "8.0.4",
24
+ "@verdaccio/config": "8.1.2",
25
+ "@verdaccio/core": "8.1.2",
26
+ "@verdaccio/hooks": "8.0.3",
27
+ "@verdaccio/loaders": "8.0.3",
28
+ "@verdaccio/local-storage-legacy": "11.3.4",
29
+ "@verdaccio/logger": "8.0.3",
30
+ "@verdaccio/middleware": "8.0.5",
31
+ "@verdaccio/package-filter": "13.0.3",
32
+ "@verdaccio/search-indexer": "8.0.2",
33
+ "@verdaccio/signature": "8.0.3",
34
+ "@verdaccio/streams": "10.2.5",
35
+ "@verdaccio/tarball": "13.0.3",
36
+ "@verdaccio/ui-theme": "9.0.0-next-9.20",
37
+ "@verdaccio/url": "13.0.3",
38
+ "@verdaccio/utils": "8.1.3",
39
39
  "JSONStream": "1.3.5",
40
40
  "async": "3.2.6",
41
41
  "clipanion": "4.0.0-rc.4",
@@ -43,65 +43,64 @@
43
43
  "cors": "2.8.6",
44
44
  "debug": "4.4.3",
45
45
  "envinfo": "7.21.0",
46
- "express": "4.22.1",
46
+ "express": "4.22.2",
47
47
  "lodash": "4.18.1",
48
48
  "lru-cache": "7.18.3",
49
49
  "mime": "3.0.0",
50
- "semver": "7.8.0",
51
- "verdaccio-audit": "13.0.1",
52
- "verdaccio-htpasswd": "13.0.1"
50
+ "semver": "7.8.2",
51
+ "verdaccio-audit": "13.0.3",
52
+ "verdaccio-htpasswd": "13.0.3"
53
53
  },
54
54
  "devDependencies": {
55
- "@babel/cli": "7.28.6",
56
- "@babel/core": "7.29.0",
57
- "@babel/node": "7.29.0",
58
- "@babel/preset-env": "7.29.0",
59
- "@babel/preset-typescript": "7.28.5",
60
- "@babel/register": "7.28.6",
61
- "@babel/runtime": "7.28.6",
55
+ "@babel/cli": "7.29.7",
56
+ "@babel/core": "7.29.7",
57
+ "@babel/node": "7.29.7",
58
+ "@babel/preset-env": "7.29.7",
59
+ "@babel/preset-typescript": "7.29.7",
60
+ "@babel/register": "7.29.7",
61
+ "@babel/runtime": "7.29.7",
62
62
  "@changesets/changelog-github": "0.5.2",
63
- "@changesets/cli": "2.27.12",
64
- "@changesets/get-dependents-graph": "2.1.3",
63
+ "@changesets/cli": "2.31.0",
64
+ "@changesets/get-dependents-graph": "2.1.4",
65
65
  "@trivago/prettier-plugin-sort-imports": "5.2.2",
66
66
  "@types/async": "3.2.25",
67
- "@types/debug": "4.1.12",
67
+ "@types/debug": "4.1.13",
68
68
  "@types/express": "4.17.25",
69
69
  "@types/express-serve-static-core": "4.19.8",
70
70
  "@types/http-errors": "2.0.5",
71
- "@types/lodash": "4.17.23",
71
+ "@types/lodash": "4.17.24",
72
72
  "@types/mime": "3.0.4",
73
73
  "@types/minimatch": "5.1.2",
74
- "@types/node": "20.19.33",
75
- "@types/pino": "7.0.5",
74
+ "@types/node": "20.19.41",
76
75
  "@types/request": "2.48.13",
77
76
  "@types/semver": "7.7.1",
78
77
  "@types/supertest": "6.0.3",
79
78
  "@verdaccio-scope/verdaccio-auth-foo": "0.0.2",
80
- "@verdaccio/e2e-cli": "2.6.0",
79
+ "@verdaccio/e2e-cli": "2.10.2",
81
80
  "@verdaccio/e2e-ui": "2.4.1",
82
- "@verdaccio/eslint-config": "13.1.0",
83
- "@verdaccio/test-helper": "4.0.0",
84
- "@verdaccio/types": "13.0.0",
85
- "@vitest/coverage-v8": "4.1.5",
86
- "@vitest/eslint-plugin": "1.6.17",
81
+ "@verdaccio/eslint-config": "13.1.2",
82
+ "@verdaccio/test-helper": "4.0.5",
83
+ "@verdaccio/types": "13.0.2",
84
+ "@vitest/coverage-v8": "4.1.8",
85
+ "@vitest/eslint-plugin": "1.6.19",
87
86
  "babel-plugin-transform-inline-environment-variables": "0.4.4",
88
87
  "cross-env": "10.1.0",
89
- "cypress": "15",
90
- "eslint": "10.0.3",
91
- "eslint-plugin-cypress": "6.1.0",
92
- "fs-extra": "11.3.2",
93
- "get-port": "7.1.0",
88
+ "cypress": "15.16.0",
89
+ "eslint": "10.4.1",
90
+ "eslint-plugin-cypress": "6.4.1",
91
+ "fs-extra": "11.3.5",
92
+ "get-port": "7.2.0",
94
93
  "kleur": "4.1.5",
95
94
  "nock": "13.5.6",
96
95
  "node-mocks-http": "^1.17.2",
97
- "prettier": "3.6.2",
96
+ "prettier": "3.8.3",
98
97
  "selfsigned": "5.5.0",
99
98
  "supertest": "7.2.2",
100
99
  "ts-node": "10.9.2",
101
100
  "typescript": "5.9.3",
102
- "verdaccio-auth-memory": "13.0.1",
103
- "verdaccio-memory": "10.4.3",
104
- "vitest": "4.1.5"
101
+ "verdaccio-auth-memory": "13.0.3",
102
+ "verdaccio-memory": "10.4.6",
103
+ "vitest": "4.1.8"
105
104
  },
106
105
  "keywords": [
107
106
  "private",
@@ -152,12 +151,16 @@
152
151
  "license": "MIT",
153
152
  "resolutions": {
154
153
  "@types/serve-static": "1.15.10",
155
- "@types/express-serve-static-core": "4.19.8"
154
+ "@types/express-serve-static-core": "4.19.8",
155
+ "ajv/fast-uri": "3.1.2",
156
+ "@cypress/request/form-data": "4.0.6",
157
+ "lowdb/lodash": "4.18.1",
158
+ "express/path-to-regexp": "0.1.13"
156
159
  },
157
160
  "collective": {
158
161
  "type": "opencollective",
159
162
  "url": "https://opencollective.com/verdaccio",
160
163
  "logo": "https://opencollective.com/verdaccio/logo.txt"
161
164
  },
162
- "packageManager": "yarn@4.14.1"
165
+ "packageManager": "yarn@4.15.0"
163
166
  }
@@ -0,0 +1,4 @@
1
+ import nock from 'nock';
2
+
3
+ nock.disableNetConnect();
4
+ nock.enableNetConnect((host) => host.startsWith('127.0.0.1') || host.startsWith('localhost'));