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
disco_app-0.18.4 test/dummy/node_modules/js-yaml/lib/js-yaml/schema/json.js
disco_app-0.18.4 test/dummy/node_modules/@rails/webpacker/node_modules/js-yaml/lib/js-yaml/schema/json.js
disco_app-0.18.1 test/dummy/node_modules/js-yaml/lib/js-yaml/schema/json.js
disco_app-0.18.1 test/dummy/node_modules/@rails/webpacker/node_modules/js-yaml/lib/js-yaml/schema/json.js
disco_app-0.12.7.pre.puma.pre.3 test/dummy/node_modules/@rails/webpacker/node_modules/js-yaml/lib/js-yaml/schema/json.js
disco_app-0.12.7.pre.puma.pre.3 test/dummy/node_modules/js-yaml/lib/js-yaml/schema/json.js
disco_app-0.14.0 test/dummy/node_modules/@rails/webpacker/node_modules/js-yaml/lib/js-yaml/schema/json.js
disco_app-0.14.0 test/dummy/node_modules/js-yaml/lib/js-yaml/schema/json.js
disco_app-0.13.6.pre.puma.pre.3 test/dummy/node_modules/@rails/webpacker/node_modules/js-yaml/lib/js-yaml/schema/json.js
disco_app-0.13.6.pre.puma.pre.3 test/dummy/node_modules/js-yaml/lib/js-yaml/schema/json.js
appmap-0.66.2 ./node_modules/js-yaml/lib/js-yaml/schema/json.js
appmap-0.66.1 ./node_modules/js-yaml/lib/js-yaml/schema/json.js
appmap-0.66.0 ./node_modules/js-yaml/lib/js-yaml/schema/json.js
appmap-0.65.1 ./node_modules/js-yaml/lib/js-yaml/schema/json.js
appmap-0.65.0 ./node_modules/js-yaml/lib/js-yaml/schema/json.js
appmap-0.64.0 ./node_modules/js-yaml/lib/js-yaml/schema/json.js
appmap-0.63.0 ./node_modules/js-yaml/lib/js-yaml/schema/json.js
appmap-0.62.1 ./node_modules/js-yaml/lib/js-yaml/schema/json.js
tang-0.2.1 spec/tang_app/node_modules/js-yaml/lib/js-yaml/schema/json.js
groonga-client-model-6.0.0 test/apps/rails6.1.3/node_modules/js-yaml/lib/js-yaml/schema/json.js