UEA-PRODEM
This commit is contained in:
+2
-4
@@ -4,8 +4,6 @@
|
||||
// NOTE: JS-YAML does not support schema-specific tag resolution restrictions.
|
||||
// So, Core schema has no distinctions from JSON schema is JS-YAML.
|
||||
|
||||
'use strict'
|
||||
|
||||
'use strict';
|
||||
|
||||
|
||||
module.exports = require('./json');
|
||||
module.exports = require('./json')
|
||||
|
||||
+2
-4
@@ -4,9 +4,7 @@
|
||||
// This schema is based on standard YAML's Core schema and includes most of
|
||||
// extra types described at YAML tag repository. (http://yaml.org/type/)
|
||||
|
||||
|
||||
'use strict';
|
||||
|
||||
'use strict'
|
||||
|
||||
module.exports = require('./core').extend({
|
||||
implicit: [
|
||||
@@ -19,4 +17,4 @@ module.exports = require('./core').extend({
|
||||
require('../type/pairs'),
|
||||
require('../type/set')
|
||||
]
|
||||
});
|
||||
})
|
||||
|
||||
+3
-6
@@ -1,12 +1,9 @@
|
||||
// Standard YAML's Failsafe schema.
|
||||
// http://www.yaml.org/spec/1.2/spec.html#id2802346
|
||||
|
||||
'use strict'
|
||||
|
||||
'use strict';
|
||||
|
||||
|
||||
var Schema = require('../schema');
|
||||
|
||||
const Schema = require('../schema')
|
||||
|
||||
module.exports = new Schema({
|
||||
explicit: [
|
||||
@@ -14,4 +11,4 @@ module.exports = new Schema({
|
||||
require('../type/seq'),
|
||||
require('../type/map')
|
||||
]
|
||||
});
|
||||
})
|
||||
|
||||
+2
-4
@@ -5,9 +5,7 @@
|
||||
// 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';
|
||||
|
||||
'use strict'
|
||||
|
||||
module.exports = require('./failsafe').extend({
|
||||
implicit: [
|
||||
@@ -16,4 +14,4 @@ module.exports = require('./failsafe').extend({
|
||||
require('../type/int'),
|
||||
require('../type/float')
|
||||
]
|
||||
});
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user