Aktualizacja asn1js z 3.x do 4.x
Porównanie publicznego API asn1js 3.1.0 i 4.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 | 4 |
| Usunięte składowe klas lub interfejsów | 0 |
| Zmienione składowe klas lub interfejsów | 1 |
| Nowo wycofane | 0 |
| Zmiany wymagań (engines, zależności peer) | 1 |
| Nowe eksporty | 0 |
Usunięte eksporty
Nie wykryto.
Zmienione sygnatury
| export | Przed | Po |
|---|---|---|
asn1js · AsnType | BitString | BmpString | Boolean | CharacterString | Constructed | DATE | Utf8String | DateTime | Duration | EndOfContent | Enumerated | Integer | GeneralString | GeneralizedTime | UTCTime | VisibleString | GraphicString | IA5String | Null | NumericString | ObjectIdentifier | OctetString | Primitive | PrintableString | RelativeObjectIdentifier | Sequence | Set | TIME | TeletexString | TimeOfDay | UniversalString | VideotexString | BaseBlock<ValueBlock, LocalBaseBlockJson> | BaseBlock<ValueBlock, LocalBaseBlockJson> | EndOfContent | Boolean | Integer | BitString | OctetString | Null | ObjectIdentifier | Enumerated | Utf8String | RelativeObjectIdentifier | TIME | Sequence | Set | NumericString | PrintableString | TeletexString | VideotexString | IA5String | UTCTime | GeneralizedTime | GraphicString | VisibleString | GeneralString | UniversalString | CharacterString | BmpString | DATE | TimeOfDay | DateTime | Duration | Constructed | Primitive |
asn1js · fromBER | (inputBuffer: pvtsutils.BufferSource, options?: FromBerOptions | undefined): FromBerResult | (inputBuffer: BufferSource, options?: FromBerOptions | undefined): FromBerResult |
asn1js · verifySchema | (inputBuffer: pvtsutils.BufferSource, inputSchema: AsnSchemaType): CompareSchemaResult | (inputBuffer: BufferSource, inputSchema: AsnSchemaType): CompareSchemaResult |
asn1js · AsnSchemaType | Any | Choice | Repeated | AsnType | AsnType | Any | Choice | Repeated |
Usunięte składowe klas lub interfejsów
Nie wykryto.
Zmienione składowe klas lub interfejsów
| member | Przed | Po |
|---|---|---|
IHexBlock.valueHex | pvtsutils.BufferSource | BufferSource |
Nowo wycofane
Nie wykryto.
Zmiany wymagań (engines, zależności peer)
| Przed | Po | |
|---|---|---|
engines.node | >=12.0.0 | ^20.19.0 || >=22.12.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 asn1js z 3 do 4?
Między asn1js 3.1.0 a 4.0.0 Vigia znalazła 0 usuniętych eksportów, 4 zmienionych sygnatur i 1 usuniętych lub zmienionych składowych klas lub interfejsów.
Co zostało wycofane w asn1js 4?
0 eksportów lub składowych oznaczono w asn1js 4.0.0 jako wycofane.
Dla agentów
GET https://vigia.coredls.cloud/v1/packages/npm/asn1js/upgrade?from=3.1.0&to=4.0.0