UNPKG

tap-yaml

Version:

Yaml handling for TAP parsers and generators

8 lines 403 B
// this just sets the !!timestamp tag to be not considered a default, // so that we don't confuse date strings and actual dates. // See: https://github.com/eemeli/yaml/issues/475 import { Schema } from 'yaml'; const schema = new Schema({ resolveKnownTags: true }); export const timestamp = schema.knownTags['tag:yaml.org,2002:timestamp']; timestamp.default = false; //# sourceMappingURL=timestamp.js.map