Aktualizacja @peculiar/x509 z 2.x do 3.x
Porównanie publicznego API @peculiar/x509 2.2.0 i 3.0.0, obliczone automatycznie na podstawie typów TypeScript. Zmieniona sygnatura to możliwa zmiana niekompatybilna, a nie pewność.
Podsumowanie
| Usunięte ścieżki importu | 0 |
|---|---|
| Usunięte eksporty | 0 |
| Zmienione sygnatury | 7 |
| Usunięte składowe klas lub interfejsów | 1 |
| Zmienione składowe klas lub interfejsów | 2 |
| Nowo wycofane | 0 |
| Zmiany wymagań (engines, zależności peer) | 2 |
| Nowe eksporty | 0 |
Usunięte eksporty
Nie wykryto.
Zmienione sygnatury
| export | Przed | Po |
|---|---|---|
@peculiar/x509 · PublicKeyType | BufferSource | PublicKey | CryptoKey | IPublicKeyContainer | BufferSource | IPublicKeyContainer | PublicKey | CryptoKey |
@peculiar/x509 · AccessItemTypes | string | GeneralName | GeneralName[] | string[] | string | GeneralName | string[] | GeneralName[] |
@peculiar/x509 · GeneralNameType | "dn" | "dns" | "email" | "guid" | "ip" | "url" | "upn" | "id" | "dns" | "dn" | "email" | "guid" | "ip" | "url" | "upn" | "id" |
@peculiar/x509 · TextObjectItemType | string | number | boolean | BufferSource | TextObject | Date | TextObject[] | TextObjectConvertible | string | number | boolean | TextObjectConvertible | TextObject | Date | BufferSource | TextObject[] |
@peculiar/x509 · JsonAttributeAndValue | JsonAttributeAndObjectValue | JsonAttributeAndStringValue | JsonAttributeAndStringValue | JsonAttributeAndObjectValue |
@peculiar/x509 · X509CertificateCreateParamsName | string | Name | JsonName | string | JsonName | Name |
@peculiar/x509 · Pkcs10CertificateRequestCreateParamsName | string | Name | JsonName | string | JsonName | Name |
Usunięte składowe klas lub interfejsów
| member | import | Przed |
|---|---|---|
X509Certificates.static __@species@825 | @peculiar/x509 | (arrayLength?: number | undefined): any[] | <T>(arrayLength: number): T[] | <T>(...items: T[]): T[] |
Zmienione składowe klas lub interfejsów
| member | Przed | Po |
|---|---|---|
EdAlgorithm.toWebAlgorithm | (alg: AlgorithmIdentifier): Algorithm | HashedAlgorithm | EcKeyGenParams | null | (alg: AlgorithmIdentifier): HashedAlgorithm | Algorithm | EcKeyGenParams | null |
RsaAlgorithm.toWebAlgorithm | (alg: AlgorithmIdentifier): Algorithm | HashedAlgorithm | null | (alg: AlgorithmIdentifier): HashedAlgorithm | Algorithm | null |
Nowo wycofane
Nie wykryto.
Zmiany wymagań (engines, zależności peer)
| Przed | Po | |
|---|---|---|
engines.node | >=20.0.0 | ^20.19.0 || >=22.12.0 |
peerDependencies.@peculiar/asn1-schema | — | ^3.0.0 |
Przekaż te dane swojemu agentowi AI
Vigia to darmowy serwer MCP: Twój agent programistyczny sprawdza wersje, zmiany łamiące zgodność i podatności, zanim napisze kod. Bez rejestracji i klucza API.
claude mcp add --transport http vigia https://vigia.coredls.cloud/mcp
Dodaj do CursorDodaj do VS Code★ Gwiazdka na GitHubie
Dowolny inny klient MCP
{ "mcpServers": { "vigia": { "url": "https://vigia.coredls.cloud/mcp" } } }Skill dla agentów (SKILL.md): mówi agentowi, kiedy używać Vigii · GitHub Action dla pull requestów
Najczęściej zadawane pytania
Jakie są zmiany niekompatybilne przy aktualizacji @peculiar/x509 z 2 do 3?
Między @peculiar/x509 2.2.0 a 3.0.0 Vigia znalazła 0 usuniętych eksportów, 7 zmienionych sygnatur i 3 usuniętych lub zmienionych składowych klas lub interfejsów.
Co zostało wycofane w @peculiar/x509 3?
0 eksportów lub składowych oznaczono w @peculiar/x509 3.0.0 jako wycofane.
Dla agentów
GET https://vigia.coredls.cloud/v1/packages/npm/@peculiar/x509/upgrade?from=2.2.0&to=3.0.0