Vigia

将 json-schema-typed 从 8.x 升级到 9.x

根据 TypeScript 类型自动比较 json-schema-typed 8.0.2 与 9.0.0 的公开 API。签名变化表示可能存在不兼容变更,并非确定结论。

概要

已删除的导入路径0
已删除的导出0
已修改的签名6
已删除的类或接口成员0
已修改的类或接口成员0
新增弃用0
要求变化(engines、peer 依赖)0
新增导出4

已删除的导出

未发现。

已修改的签名

export之前之后
json-schema-typed · keywordsreadonly ["$anchor", "$comment", "$defs", "$dynamicAnchor", "$dynamicRef", "$id", "$ref", "$schema", "$vocabulary", "additionalItems", "additionalProperties", "allOf", "anyOf", "const", "contains", "contentEncoding", "contentMediaType", "contentSchema", "default", "definitions", "dependencies", "dependentRequired", "dependentSchemas", "deprecated", "description", "else", "enum", "examples", "exclusiveMaximum", "exclusiveMinimum", "format", "if", "items", "maxContains", "maximum", "maxItems", "maxLength", "maxProperties", "minContains", "minimum", "minItems", "minLength", "minProperties", "mult…readonly ["$anchor", "$comment", "$defs", "$dynamicAnchor", "$dynamicRef", "$id", "$recursiveAnchor", "$recursiveRef", "$ref", "$schema", "$vocabulary", "additionalItems", "additionalProperties", "allOf", "anyOf", "const", "contains", "contentEncoding", "contentMediaType", "contentSchema", "default", "definitions", "dependencies", "dependentRequired", "dependentSchemas", "deprecated", "description", "else", "enum", "examples", "exclusiveMaximum", "exclusiveMinimum", "format", "if", "items", "maxContains", "maximum", "maxItems", "maxLength", "maxProperties", "minContains", "minimum", "minItems"…
json-schema-typed · JSONSchemaboolean | { $anchor?: string | undefined; $comment?: string | undefined; $defs?: Record<string, JSONSchema<any, TypeValue>> | undefined; $dynamicAnchor?: string | undefined; $dynamicRef?: string | undefined; $id?: string | undefined; $ref?: string | undefined; $schema?: string | undefined; $vocabulary?: Record<string, string> | undefined; additionalItems?: JSONSchema<any, TypeValue> | undefined; additionalProperties?: JSONSchema<any, TypeValue> | undefined; allOf?: MaybeReadonlyArray<JSONSchema<Value, SchemaType>> | undefined; anyOf?: MaybeReadonlyArray<JSONSchema<Value, SchemaType>> | undefin…boolean | Interface<Value, SchemaType, JSONSchema<any, TypeValue | (string & {})>>
json-schema-typed/draft-07 · JSONSchemaboolean | { $comment?: string | undefined; $id?: string | undefined; $ref?: string | undefined; $schema?: string | undefined; additionalItems?: JSONSchema<any, TypeValue> | undefined; additionalProperties?: JSONSchema<any, TypeValue> | undefined; allOf?: MaybeReadonlyArray<JSONSchema<Value, SchemaType>> | undefined; anyOf?: MaybeReadonlyArray<JSONSchema<Value, SchemaType>> | undefined; const?: Value | undefined; contains?: JSONSchema<Value, SchemaType> | undefined; contentEncoding?: "7bit" | "8bit" | "base64" | "binary" | "ietf-token" | "quoted-printable" | "x-token" | undefined; contentMediaT…boolean | Interface<Value, SchemaType, JSONSchema<any, (string & {}) | TypeValue>>
json-schema-typed/draft-2019-09 · JSONSchemaboolean | { $anchor?: string | undefined; $comment?: string | undefined; $defs?: Record<string, JSONSchema<any, TypeValue>> | undefined; $id?: string | undefined; $recursiveAnchor?: boolean | undefined; $recursiveRef?: string | undefined; $ref?: string | undefined; $schema?: string | undefined; $vocabulary?: Record<string, string> | undefined; additionalItems?: JSONSchema<any, TypeValue> | undefined; additionalProperties?: JSONSchema<any, TypeValue> | undefined; allOf?: MaybeReadonlyArray<JSONSchema<Value, SchemaType>> | undefined; anyOf?: MaybeReadonlyArray<JSONSchema<Value, SchemaType>> | un…boolean | Interface<Value, SchemaType, JSONSchema<any, (string & {}) | TypeValue>>
json-schema-typed/draft-2020-12 · keywordsreadonly ["$anchor", "$comment", "$defs", "$dynamicAnchor", "$dynamicRef", "$id", "$ref", "$schema", "$vocabulary", "additionalItems", "additionalProperties", "allOf", "anyOf", "const", "contains", "contentEncoding", "contentMediaType", "contentSchema", "default", "definitions", "dependencies", "dependentRequired", "dependentSchemas", "deprecated", "description", "else", "enum", "examples", "exclusiveMaximum", "exclusiveMinimum", "format", "if", "items", "maxContains", "maximum", "maxItems", "maxLength", "maxProperties", "minContains", "minimum", "minItems", "minLength", "minProperties", "mult…readonly ["$anchor", "$comment", "$defs", "$dynamicAnchor", "$dynamicRef", "$id", "$recursiveAnchor", "$recursiveRef", "$ref", "$schema", "$vocabulary", "additionalItems", "additionalProperties", "allOf", "anyOf", "const", "contains", "contentEncoding", "contentMediaType", "contentSchema", "default", "definitions", "dependencies", "dependentRequired", "dependentSchemas", "deprecated", "description", "else", "enum", "examples", "exclusiveMaximum", "exclusiveMinimum", "format", "if", "items", "maxContains", "maximum", "maxItems", "maxLength", "maxProperties", "minContains", "minimum", "minItems"…
json-schema-typed/draft-2020-12 · JSONSchemaboolean | { $anchor?: string | undefined; $comment?: string | undefined; $defs?: Record<string, JSONSchema<any, TypeValue>> | undefined; $dynamicAnchor?: string | undefined; $dynamicRef?: string | undefined; $id?: string | undefined; $ref?: string | undefined; $schema?: string | undefined; $vocabulary?: Record<string, string> | undefined; additionalItems?: JSONSchema<any, TypeValue> | undefined; additionalProperties?: JSONSchema<any, TypeValue> | undefined; allOf?: MaybeReadonlyArray<JSONSchema<Value, SchemaType>> | undefined; anyOf?: MaybeReadonlyArray<JSONSchema<Value, SchemaType>> | undefin…boolean | Interface<Value, SchemaType, JSONSchema<any, TypeValue | (string & {})>>

已删除的类或接口成员

未发现。

已修改的类或接口成员

未发现。

新增弃用

未发现。

要求变化(engines、peer 依赖)

未发现。

新增导出 (4)
importexportkind
json-schema-typedKeywordByTypenamespace
json-schema-typed/draft-07KeywordByTypenamespace
json-schema-typed/draft-2019-09KeywordByTypenamespace
json-schema-typed/draft-2020-12KeywordByTypenamespace

把这些数据交给你的 AI 智能体

Vigia 是免费的 MCP 服务器:你的编程智能体在写代码之前就能检查版本、不兼容变更和安全漏洞。无需注册,无需 API 密钥。

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

添加到 Cursor添加到 VS Code★ 在 GitHub 上加星

任何其他 MCP 客户端
{ "mcpServers": { "vigia": { "url": "https://vigia.coredls.cloud/mcp" } } }

智能体技能(SKILL.md):告诉智能体何时使用 Vigia · 用于拉取请求的 GitHub Action

常见问题

将 json-schema-typed 从 8 升级到 9 有哪些不兼容变更?

在 json-schema-typed 8.0.2 与 9.0.0 之间,Vigia 发现 0 个已删除的导出、6 个已修改的签名,以及 0 个已删除或修改的类或接口成员。

json-schema-typed 9 中弃用了哪些内容?

json-schema-typed 9.0.0 中有 0 个导出或成员新被标记为弃用。

供智能体使用

GET https://vigia.coredls.cloud/v1/packages/npm/json-schema-typed/upgrade?from=8.0.2&to=9.0.0