@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 +6 -0
- package/build/configuration.d.ts +2 -1
- package/package.json +1 -1
- package/src/configuration.ts +3 -2
package/CHANGELOG.md
CHANGED
package/build/configuration.d.ts
CHANGED
|
@@ -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
package/src/configuration.ts
CHANGED
|
@@ -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
|