@verdaccio/types 11.0.0-6-next.21 → 11.0.0-6-next.22

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/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # Change Log
2
2
 
3
+ ## 11.0.0-6-next.22
4
+
5
+ ### Minor Changes
6
+
7
+ - dc571aab: feat: add forceEnhancedLegacySignature
8
+
3
9
  ## 11.0.0-6-next.21
4
10
 
5
11
  ### Patch Changes
@@ -148,6 +148,7 @@ export interface APITokenOptions {
148
148
  jwt?: JWTOptions;
149
149
  }
150
150
  export interface Security {
151
+ enhancedLegacySignature?: boolean;
151
152
  web: JWTOptions;
152
153
  api: APITokenOptions;
153
154
  }
@@ -218,7 +219,6 @@ export interface ConfigYaml {
218
219
  server?: ServerSettingsConf;
219
220
  flags?: FlagsConfig;
220
221
  userRateLimit?: RateLimit;
221
- config_path?: string;
222
222
  configPath?: string;
223
223
  }
224
224
  /**
@@ -230,6 +230,7 @@ export interface Config extends Omit<ConfigYaml, 'packages' | 'security' | 'conf
230
230
  server_id: string;
231
231
  secret: string;
232
232
  configPath: string;
233
+ self_path?: string;
233
234
  packages: PackageList;
234
235
  security: Security;
235
236
  checkSecretKey(token: string): string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@verdaccio/types",
3
- "version": "11.0.0-6-next.21",
3
+ "version": "11.0.0-6-next.22",
4
4
  "description": "verdaccio types definitions",
5
5
  "keywords": [
6
6
  "private",
@@ -185,6 +185,7 @@ export interface APITokenOptions {
185
185
  }
186
186
 
187
187
  export interface Security {
188
+ enhancedLegacySignature?: boolean;
188
189
  web: JWTOptions;
189
190
  api: APITokenOptions;
190
191
  }
@@ -266,8 +267,6 @@ export interface ConfigYaml {
266
267
  flags?: FlagsConfig;
267
268
  userRateLimit?: RateLimit;
268
269
  // internal objects, added by internal yaml to JS config parser
269
- // @deprecated use configPath instead
270
- config_path?: string;
271
270
  // save the configuration file path
272
271
  configPath?: string;
273
272
  }
@@ -282,6 +281,8 @@ export interface Config extends Omit<ConfigYaml, 'packages' | 'security' | 'conf
282
281
  secret: string;
283
282
  // save the configuration file path, it's fails without thi configPath
284
283
  configPath: string;
284
+ // @deprecated use configPath
285
+ self_path?: string;
285
286
  // packages from yaml file looks different from packages inside the config file
286
287
  packages: PackageList;
287
288
  // security object defaults is added by the config file but optional in the yaml file