mirror of
https://github.com/deployphp/action.git
synced 2025-06-29 04:34:15 +00:00
Check-in ys-yaml
This commit is contained in:
parent
1bf4a66e02
commit
cbdf52be04
41 changed files with 17510 additions and 0 deletions
11
node_modules/js-yaml/lib/schema/core.js
generated
vendored
Normal file
11
node_modules/js-yaml/lib/schema/core.js
generated
vendored
Normal file
|
@ -0,0 +1,11 @@
|
|||
// Standard YAML's Core schema.
|
||||
// http://www.yaml.org/spec/1.2/spec.html#id2804923
|
||||
//
|
||||
// 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';
|
||||
|
||||
|
||||
module.exports = require('./json');
|
22
node_modules/js-yaml/lib/schema/default.js
generated
vendored
Normal file
22
node_modules/js-yaml/lib/schema/default.js
generated
vendored
Normal file
|
@ -0,0 +1,22 @@
|
|||
// JS-YAML's default schema for `safeLoad` function.
|
||||
// It is not described in the YAML specification.
|
||||
//
|
||||
// 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';
|
||||
|
||||
|
||||
module.exports = require('./core').extend({
|
||||
implicit: [
|
||||
require('../type/timestamp'),
|
||||
require('../type/merge')
|
||||
],
|
||||
explicit: [
|
||||
require('../type/binary'),
|
||||
require('../type/omap'),
|
||||
require('../type/pairs'),
|
||||
require('../type/set')
|
||||
]
|
||||
});
|
17
node_modules/js-yaml/lib/schema/failsafe.js
generated
vendored
Normal file
17
node_modules/js-yaml/lib/schema/failsafe.js
generated
vendored
Normal file
|
@ -0,0 +1,17 @@
|
|||
// 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')
|
||||
]
|
||||
});
|
19
node_modules/js-yaml/lib/schema/json.js
generated
vendored
Normal file
19
node_modules/js-yaml/lib/schema/json.js
generated
vendored
Normal file
|
@ -0,0 +1,19 @@
|
|||
// 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';
|
||||
|
||||
|
||||
module.exports = require('./failsafe').extend({
|
||||
implicit: [
|
||||
require('../type/null'),
|
||||
require('../type/bool'),
|
||||
require('../type/int'),
|
||||
require('../type/float')
|
||||
]
|
||||
});
|
Loading…
Add table
Add a link
Reference in a new issue