Actualizar conf de 15.x a 16.x
Comparación de la API pública de conf 15.1.0 y 16.0.0, calculada automáticamente a partir de sus tipos TypeScript. Una firma modificada es un posible cambio incompatible, no una certeza.
Resumen
| Rutas de importación eliminadas | 0 |
|---|---|
| Exports eliminados | 0 |
| Firmas modificadas | 2 |
| Miembros de clases o interfaces eliminados | 17 |
| Miembros de clases o interfaces modificados | 4 |
| Nuevas deprecaciones | 0 |
| Cambios de requisitos (engines, dependencias peer) | 1 |
| Exports nuevos | 0 |
Exports eliminados
No se detectaron.
Firmas modificadas
| export | Antes | Después |
|---|---|---|
conf · Schema | { [Property in keyof T]: TypedJSONSchema; } | { [Property in keyof T]?: any; } |
conf · Options | { defaults?: Readonly<T> | undefined; schema?: Schema<T> | undefined; rootSchema?: Omit<TypedJSONSchema, "properties"> | undefined; ajvOptions?: any; configName?: string | undefined; projectName?: string | undefined; projectVersion?: string | undefined; migrations?: Migrations<T> | undefined; beforeEachMigration?: BeforeEachMigrationCallback<T> | undefined; cwd?: string | undefined; encryptionKey?: any; encryptionAlgorithm?: "aes-256-cbc" | "aes-256-gcm" | "aes-256-ctr" | undefined; fileExtension?: string | undefined; clearInvalidConfig?: boolean | undefined; readonly serialize?: Serialize<T> … | { defaults?: Readonly<DefaultsOf<T>> | undefined; schema?: Schema<T> | undefined; rootSchema?: any; ajvOptions?: any; configName?: string | undefined; projectName?: string | undefined; projectVersion?: string | undefined; migrations?: Migrations<T> | undefined; beforeEachMigration?: BeforeEachMigrationCallback<T> | undefined; cwd?: string | undefined; encryptionKey?: any; encryptionAlgorithm?: "aes-256-cbc" | "aes-256-gcm" | "aes-256-ctr" | undefined; fileExtension?: string | undefined; clearInvalidConfig?: boolean | undefined; readonly serialize?: Serialize<T> | undefined; readonly deserializ… |
Miembros de clases o interfaces eliminados
| member | import | Antes |
|---|---|---|
default._get | conf | any |
default._set | conf | any |
default._watch | conf | any |
default._write | conf | any |
default._migrate | conf | any |
default._validate | conf | any |
default._serialize | conf | any |
default._decryptData | conf | any |
default._deserialize | conf | any |
default._ensureDirectory | conf | any |
default._handleStoreChange | conf | any |
default._handleValueChange | conf | any |
default._isReservedKeyPath | conf | any |
default._containsReservedKey | conf | any |
default._isVersionInRangeFormat | conf | any |
default._shouldPerformMigration | conf | any |
default._objectContainsReservedKey | conf | any |
Miembros de clases o interfaces modificados
| member | Antes | Después |
|---|---|---|
default.get | <Key extends keyof T>(key: Key): T[Key] | <Key extends keyof T>(key: Key, defaultValue: Required<T>[Key]): Required<T>[Key] | <Key extends DotNotationKeyOf<T>>(key: Key): DotNotationValueOf<T, Key> | <Key extends DotNotationKeyOf<T>>(key: Key, defaultValue: NonNullable<DotNotationValueOf<T, Key>>): … | <Key extends keyof T>(key: Key): T[Key] | <Key extends keyof T>(key: Key, defaultValue: Exclude<T[Key], undefined>): Exclude<T[Key], undefined> | <Key extends DotNotationKeyOf<T>>(key: Key): DotNotationValueOf<T, Key> | <Key extends DotNotationKeyOf<T>>(key: Key, defaultValue: Exclude<DotNotationVal… |
default.set | <Key extends keyof T>(key: Key, value?: T[Key] | undefined): void | <Key extends DotNotationKeyOf<T>>(key: Key, Value?: DotNotationValueOf<T, Key> | undefined): void | (key: string, value: unknown): void | (object: PartialObjectDeep<T>): void | <Key extends keyof T>(key: Key, value: Exclude<T[Key], undefined>): void | <Key extends DotNotationKeyOf<T>>(key: Key, value: Exclude<DotNotationValueOf<T, Key>, undefined>): void | <Key extends string>(key: Key & (string extends Key ? Key : Exclude<Key, { [K in keyof Required<T>]: K extends string … |
default.reset | <Key extends keyof T>(...keys: Key[]): void | <Key extends keyof T>(...keys: Key[]): void | <Key extends DotNotationKeyOf<T>>(...keys: Key[]): void |
default.appendToArray | <Key extends keyof T>(key: Key, value: T[Key] extends readonly (infer U)[] ? U : unknown): void | <Key extends DotNotationKeyOf<T>>(key: Key, value: DotNotationValueOf<T, Key> extends readonly (infer U)[] ? U : unknown): void | <Key extends keyof T>(key: Key, value: ArrayItemsOf<T[Key]>): void | <Key extends DotNotationKeyOf<T>>(key: Key, value: ArrayItemsOf<DotNotationValueOf<T, Key>>): void |
Nuevas deprecaciones
No se detectaron.
Cambios de requisitos (engines, dependencias peer)
| Antes | Después | |
|---|---|---|
engines.node | >=20 | >=22 |
Dale estos datos a tu agente de IA
Vigia es un servidor MCP gratuito: tu agente de programación verifica versiones, cambios incompatibles y vulnerabilidades antes de escribir código. Sin registro ni clave de API.
claude mcp add --transport http vigia https://vigia.coredls.cloud/mcp
Agregar a CursorAgregar a VS Code★ Estrella en GitHub
Cualquier otro cliente MCP
{ "mcpServers": { "vigia": { "url": "https://vigia.coredls.cloud/mcp" } } }Skill para agentes (SKILL.md): le indica al agente cuándo usar Vigia · GitHub Action para pull requests
Preguntas frecuentes
¿Cuáles son los cambios incompatibles al actualizar conf de 15 a 16?
Entre conf 15.1.0 y 16.0.0, Vigia encontró 0 exports eliminados, 2 firmas modificadas y 21 miembros de clases o interfaces eliminados o modificados.
¿Qué quedó deprecado en conf 16?
0 exports o miembros quedaron marcados como deprecados en conf 16.0.0.
Para agentes
GET https://vigia.coredls.cloud/v1/packages/npm/conf/upgrade?from=15.1.0&to=16.0.0