Constnium/node_modules/js-yaml/lib/schema/failsafe.js

18 lines
278 B
JavaScript
Raw Normal View History

2022-06-23 02:27:43 +02:00
// Standard YAML's Failsafe schema.
// http://www.yaml.org/spec/1.2/spec.html#id2802346
'use strict';
var Schema = require('../schema');
module.exports = new Schema({
explicit: [
require('../type/str'),
require('../type/seq'),
require('../type/map')
]
});