Vigia

Upgrading asn1js from 3.x to 4.x

Comparison of the public API of asn1js 3.1.0 and 4.0.0, computed automatically from their TypeScript types. A changed signature is a candidate for a breaking change, not a certainty.

Summary

Removed import paths0
Removed exports0
Changed signatures4
Removed class or interface members0
Changed class or interface members1
Newly deprecated0
Requirement changes (engines, peer dependencies)1
New exports0

Removed exports

None detected.

Changed signatures

exportBeforeAfter
asn1js · AsnTypeBitString | 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 · AsnSchemaTypeAny | Choice | Repeated | AsnTypeAsnType | Any | Choice | Repeated

Removed class or interface members

None detected.

Changed class or interface members

memberBeforeAfter
IHexBlock.valueHexpvtsutils.BufferSourceBufferSource

Newly deprecated

None detected.

Requirement changes (engines, peer dependencies)

BeforeAfter
engines.node>=12.0.0^20.19.0 || >=22.12.0

Give your AI agent these facts

Vigia is a free MCP server: your coding agent checks versions, breaking changes and vulnerabilities before it writes code. No signup, no API key.

claude mcp add --transport http vigia https://vigia.coredls.cloud/mcp

Add to CursorAdd to VS Code★ Star on GitHub

Any other MCP client
{ "mcpServers": { "vigia": { "url": "https://vigia.coredls.cloud/mcp" } } }

Agent skill (SKILL.md): tells the agent when to use Vigia · GitHub Action for pull requests

Frequently asked questions

What are the breaking changes when upgrading asn1js from 3 to 4?

Between asn1js 3.1.0 and 4.0.0, Vigia found 0 removed exports, 4 changed signatures and 1 removed or changed class or interface members.

What became deprecated in asn1js 4?

0 exports or members are newly marked as deprecated in asn1js 4.0.0.

For agents

GET https://vigia.coredls.cloud/v1/packages/npm/asn1js/upgrade?from=3.1.0&to=4.0.0