Const
The default schema for the loaders. Note, CORE_SCHEMA comes without the !!merge tag. You can easily enable it if needed.
!!merge
Enable mergeTag:
import { load, CORE_SCHEMA, mergeTag } from 'js-yaml'try { load(data, { schema: CORE_SCHEMA.withTags(mergeTag) })} catch (e) { console.error(e)} Copy
import { load, CORE_SCHEMA, mergeTag } from 'js-yaml'try { load(data, { schema: CORE_SCHEMA.withTags(mergeTag) })} catch (e) { console.error(e)}
The default schema for the loaders. Note, CORE_SCHEMA comes without the
!!mergetag. You can easily enable it if needed.