@types/js-yaml breaking changes
@types/js-yaml 4.0.0 (January 5, 2021) is its newest release with breaking changes, 37 of them. The first: Removed DEFAULT_FULL_SCHEMA. Every breaking API change we have recorded in @types/js-yaml on npm: 37 breaking changes in 1 version. Below, its one version with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 4.0.9, released November 7, 2023. Source repository
Packages on npm run on Node.js. Node.js end of life dates.
@types/js-yaml 4.0.0 breaking changes
- Removed
DEFAULT_FULL_SCHEMA
DEFAULT_FULL_SCHEMA was removed in @types/js-yaml 4.0.0 npmjs.com - Removed
DEFAULT_SAFE_SCHEMA
DEFAULT_SAFE_SCHEMA was removed in @types/js-yaml 4.0.0 npmjs.com - Removed
MINIMAL_SCHEMA
MINIMAL_SCHEMA was removed in @types/js-yaml 4.0.0 npmjs.com - Removed
SAFE_SCHEMA
SAFE_SCHEMA was removed in @types/js-yaml 4.0.0 npmjs.com - Removed
safeDump
safeDump was removed in @types/js-yaml 4.0.0 npmjs.com - Removed
safeLoad
safeLoad was removed in @types/js-yaml 4.0.0 npmjs.com - Removed
safeLoadAll
safeLoadAll was removed in @types/js-yaml 4.0.0 npmjs.com - Removed
Schema.create
Schema.create was removed in @types/js-yaml 4.0.0 npmjs.com - Removed
SchemaDefinition.include
SchemaDefinition.include was removed in @types/js-yaml 4.0.0 npmjs.com - Signature changed
DumpOptions.condenseFlow
Was condenseFlow?: boolean | undefined; now condenseFlow?: boolean. npmjs.com - Signature changed
DumpOptions.flowLevel
Was flowLevel?: number | undefined; now flowLevel?: number. npmjs.com - Signature changed
DumpOptions.indent
Was indent?: number | undefined; now indent?: number. npmjs.com - Signature changed
DumpOptions.lineWidth
Was lineWidth?: number | undefined; now lineWidth?: number. npmjs.com - Signature changed
DumpOptions.noArrayIndent
Was noArrayIndent?: boolean | undefined; now noArrayIndent?: boolean. npmjs.com - Signature changed
DumpOptions.noCompatMode
Was noCompatMode?: boolean | undefined; now noCompatMode?: boolean. npmjs.com - Signature changed
DumpOptions.noRefs
Was noRefs?: boolean | undefined; now noRefs?: boolean. npmjs.com - Signature changed
DumpOptions.schema
Was schema?: SchemaDefinition | undefined; now schema?: Schema. npmjs.com - Signature changed
DumpOptions.skipInvalid
Was skipInvalid?: boolean | undefined; now skipInvalid?: boolean. npmjs.com - Signature changed
DumpOptions.sortKeys
Was sortKeys?: boolean | ((a: any, b: any) => number) | undefined; now sortKeys?: boolean | ((a: any, b: any) => number). npmjs.com - Signature changed
DumpOptions.styles
Was styles?: {[x: string]: any} | undefined; now styles?: {[x: string]: any}. npmjs.com - Signature changed
load
Was function load(str: string, opts?: LoadOptions): any; now function load(str: string, opts?: LoadOptions): object | string | number | null | undefined. npmjs.com - Signature changed
LoadOptions.filename
Was filename?: string | undefined; now filename?: string. npmjs.com - Signature changed
LoadOptions.json
Was json?: boolean | undefined; now json?: boolean. npmjs.com - Signature changed
LoadOptions.schema
Was schema?: SchemaDefinition | undefined; now schema?: Schema. npmjs.com - Signature changed
Schema
Was class Schema implements SchemaDefinition; now class Schema. npmjs.com - Signature changed
Schema.constructor
Was constructor(definition: SchemaDefinition); now constructor(definition: SchemaDefinition | Type[] | Type). npmjs.com - Signature changed
SchemaDefinition.explicit
Was explicit?: Type[] | undefined; now explicit?: Type[]. npmjs.com - Signature changed
SchemaDefinition.implicit
Was implicit?: any[] | undefined; now implicit?: Type[]. npmjs.com - Signature changed
State.schema
Was schema: SchemaDefinition; now schema: Schema. npmjs.com - Signature changed
TypeConstructorOptions.construct
Was construct?: ((data: any) => any) | undefined; now construct?: (data: any) => any. npmjs.com - Signature changed
TypeConstructorOptions.defaultStyle
Was defaultStyle?: string | undefined; now defaultStyle?: string. npmjs.com - Signature changed
TypeConstructorOptions.instanceOf
Was instanceOf?: object | undefined; now instanceOf?: object. npmjs.com - Signature changed
TypeConstructorOptions.kind
Was kind?: "sequence" | "scalar" | "mapping" | undefined; now kind?: 'sequence' | 'scalar' | 'mapping'. npmjs.com - Signature changed
TypeConstructorOptions.predicate
Was predicate?: ((data: object) => boolean) | undefined; now predicate?: (data: object) => boolean. npmjs.com - Signature changed
TypeConstructorOptions.represent
Was represent?: ((data: object) => any) | {[x: string]: (data: object) => any} | undefined; now represent?: ((data: object) => any) | {[x: string]: (data: object) => any}. npmjs.com - Signature changed
TypeConstructorOptions.resolve
Was resolve?: ((data: any) => boolean) | undefined; now resolve?: (data: any) => boolean. npmjs.com - Signature changed
TypeConstructorOptions.styleAliases
Was styleAliases?: {[x: string]: any} | undefined; now styleAliases?: {[x: string]: any}. npmjs.com
Related packages
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.