@verdaccio/types 14.0.0-next-9.0 → 14.0.0-next-9.1

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@verdaccio/types",
3
- "version": "14.0.0-next-9.0",
3
+ "version": "14.0.0-next-9.1",
4
4
  "description": "Verdaccio Type Definitions",
5
5
  "keywords": [
6
6
  "private",
@@ -17,7 +17,7 @@
17
17
  "license": "MIT",
18
18
  "homepage": "https://verdaccio.org",
19
19
  "engines": {
20
- "node": ">=18"
20
+ "node": ">=24"
21
21
  },
22
22
  "repository": {
23
23
  "type": "https",
@@ -33,7 +33,7 @@
33
33
  "main": "src/types.ts",
34
34
  "types": "src/types.ts",
35
35
  "devDependencies": {
36
- "@types/jsonwebtoken": "9.0.6",
36
+ "@types/jsonwebtoken": "9.0.7",
37
37
  "@types/ms": "2.1.0",
38
38
  "typedoc": "0.28.14"
39
39
  },
@@ -285,6 +285,13 @@ export type ServerSettingsConf = {
285
285
  passwordValidationRegex?: RegExp;
286
286
  // docs on `trustProxy` can be found at: https://expressjs.com/en/guide/behind-proxies.html
287
287
  trustProxy?: string;
288
+ // Controls how requests with dotfile path segments (e.g. /.env, /.well-known/) are handled.
289
+ // 'deny' returns 403 (default), 'ignore' returns 404, 'allow' passes through.
290
+ // Mirrors serve-static's dotfiles option.
291
+ dotfiles?: 'allow' | 'deny' | 'ignore';
292
+ // When true, static file requests (/-/static/*) are hidden from pino logs
293
+ // and only visible via DEBUG=verdaccio:middleware:log. Defaults to true.
294
+ hideStaticLogs?: boolean;
288
295
  };
289
296
 
290
297
  /**