Linux unitednationsplay.com 3.10.0-1160.45.1.el7.x86_64 #1 SMP Wed Oct 13 17:20:51 UTC 2021 x86_64
nginx/1.20.1
Server IP : 188.130.139.92 & Your IP : 3.145.80.161
Domains :
Cant Read [ /etc/named.conf ]
User : web
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
home /
www /
wb /
node_modules /
js-yaml /
lib /
js-yaml /
Delete
Unzip
Name
Size
Permission
Date
Action
schema
[ DIR ]
drwxrwxr-x
2022-08-30 11:49
type
[ DIR ]
drwxrwxr-x
2022-08-30 11:49
common.js
1.15
KB
-rw-rw-r--
2022-08-30 11:49
dumper.js
26.84
KB
-rw-rw-r--
2022-08-30 11:49
exception.js
1
KB
-rw-rw-r--
2022-08-30 11:49
loader.js
43.32
KB
-rw-rw-r--
2022-08-30 11:49
mark.js
1.53
KB
-rw-rw-r--
2022-08-30 11:49
schema.js
2.69
KB
-rw-rw-r--
2022-08-30 11:49
type.js
1.55
KB
-rw-rw-r--
2022-08-30 11:49
Save
Rename
'use strict'; var YAMLException = require('./exception'); var TYPE_CONSTRUCTOR_OPTIONS = [ 'kind', 'resolve', 'construct', 'instanceOf', 'predicate', 'represent', 'defaultStyle', 'styleAliases' ]; var YAML_NODE_KINDS = [ 'scalar', 'sequence', 'mapping' ]; function compileStyleAliases(map) { var result = {}; if (map !== null) { Object.keys(map).forEach(function (style) { map[style].forEach(function (alias) { result[String(alias)] = style; }); }); } return result; } function Type(tag, options) { options = options || {}; Object.keys(options).forEach(function (name) { if (TYPE_CONSTRUCTOR_OPTIONS.indexOf(name) === -1) { throw new YAMLException('Unknown option "' + name + '" is met in definition of "' + tag + '" YAML type.'); } }); // TODO: Add tag format check. this.tag = tag; this.kind = options['kind'] || null; this.resolve = options['resolve'] || function () { return true; }; this.construct = options['construct'] || function (data) { return data; }; this.instanceOf = options['instanceOf'] || null; this.predicate = options['predicate'] || null; this.represent = options['represent'] || null; this.defaultStyle = options['defaultStyle'] || null; this.styleAliases = compileStyleAliases(options['styleAliases'] || null); if (YAML_NODE_KINDS.indexOf(this.kind) === -1) { throw new YAMLException('Unknown kind "' + this.kind + '" is specified for "' + tag + '" YAML type.'); } } module.exports = Type;