Sha256: 03abe51bc21e44a0777929925f32db989e4d641c8882c3642e5582e2227940de

Contents?: true

Size: 586 Bytes

Versions: 229

Compression:

Stored size: 586 Bytes

Contents

// Standard YAML's JSON schema.
// http://www.yaml.org/spec/1.2/spec.html#id2803231
//
// NOTE: JS-YAML does not support schema-specific tag resolution restrictions.
// So, this schema is not such strict as defined in the YAML specification.
// It allows numbers in binary notaion, use `Null` and `NULL` as `null`, etc.


'use strict';


var Schema = require('../schema');


module.exports = new Schema({
  include: [
    require('./failsafe')
  ],
  implicit: [
    require('../type/null'),
    require('../type/bool'),
    require('../type/int'),
    require('../type/float')
  ]
});

Version data entries

229 entries across 207 versions & 23 rubygems

Version Path
optimacms-0.1.61 spec/dummy/node_modules/js-yaml/lib/js-yaml/schema/json.js
disco_app-0.18.0 test/dummy/node_modules/js-yaml/lib/js-yaml/schema/json.js
disco_app-0.18.2 test/dummy/node_modules/js-yaml/lib/js-yaml/schema/json.js
appmap-0.72.2 ./node_modules/js-yaml/lib/js-yaml/schema/json.js
appmap-0.72.1 ./node_modules/js-yaml/lib/js-yaml/schema/json.js
appmap-0.72.0 ./node_modules/js-yaml/lib/js-yaml/schema/json.js
appmap-0.71.0 ./node_modules/js-yaml/lib/js-yaml/schema/json.js
disco_app-0.16.1 test/dummy/node_modules/js-yaml/lib/js-yaml/schema/json.js
disco_app-0.16.1 test/dummy/node_modules/@rails/webpacker/node_modules/js-yaml/lib/js-yaml/schema/json.js
appmap-0.70.2 ./node_modules/js-yaml/lib/js-yaml/schema/json.js
appmap-0.70.1 ./node_modules/js-yaml/lib/js-yaml/schema/json.js
appmap-0.70.0 ./node_modules/js-yaml/lib/js-yaml/schema/json.js
appmap-0.69.0 ./node_modules/js-yaml/lib/js-yaml/schema/json.js
appmap-0.68.2 ./node_modules/js-yaml/lib/js-yaml/schema/json.js
appmap-0.68.1 ./node_modules/js-yaml/lib/js-yaml/schema/json.js
disco_app-0.15.2 test/dummy/node_modules/@rails/webpacker/node_modules/js-yaml/lib/js-yaml/schema/json.js
disco_app-0.15.2 test/dummy/node_modules/js-yaml/lib/js-yaml/schema/json.js
appmap-0.68.0 ./node_modules/js-yaml/lib/js-yaml/schema/json.js
appmap-0.67.1 ./node_modules/js-yaml/lib/js-yaml/schema/json.js
appmap-0.67.0 ./node_modules/js-yaml/lib/js-yaml/schema/json.js