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

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.2",
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,8 +33,7 @@
33
33
  "main": "src/types.ts",
34
34
  "types": "src/types.ts",
35
35
  "devDependencies": {
36
- "@types/jsonwebtoken": "9.0.6",
37
- "@types/ms": "2.1.0",
36
+ "@types/jsonwebtoken": "9.0.7",
38
37
  "typedoc": "0.28.14"
39
38
  },
40
39
  "typedoc": {
@@ -33,6 +33,7 @@ export type LoggerConfigItem = {
33
33
  path?: string;
34
34
  level?: LoggerLevel;
35
35
  colors?: boolean;
36
+ /** Perform writes synchronously (similar to console.log). Defaults to false. */
36
37
  sync?: boolean;
37
38
  redact?: LoggerRedact;
38
39
  };
@@ -127,6 +128,7 @@ export type CommonWebConf = {
127
128
  logoDark?: string;
128
129
  favicon?: string;
129
130
  gravatar?: boolean;
131
+ sort_field?: string;
130
132
  sort_packages?: string;
131
133
  darkMode?: boolean;
132
134
  url_prefix?: string;
@@ -285,6 +287,13 @@ export type ServerSettingsConf = {
285
287
  passwordValidationRegex?: RegExp;
286
288
  // docs on `trustProxy` can be found at: https://expressjs.com/en/guide/behind-proxies.html
287
289
  trustProxy?: string;
290
+ // Controls how requests with dotfile path segments (e.g. /.env, /.well-known/) are handled.
291
+ // 'deny' returns 403 (default), 'ignore' returns 404, 'allow' passes through.
292
+ // Mirrors serve-static's dotfiles option.
293
+ dotfiles?: 'allow' | 'deny' | 'ignore';
294
+ // When true, static file requests (/-/static/*) are hidden from pino logs
295
+ // and only visible via DEBUG=verdaccio:middleware:log. Defaults to true.
296
+ hideStaticLogs?: boolean;
288
297
  };
289
298
 
290
299
  /**