Linux v69820.1blu.de 4.15.0 #1 SMP Mon Sep 30 15:36:27 MSK 2024 x86_64
Apache/2.4.58
Server IP : 195.90.215.149 & Your IP : 216.73.217.80
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
share /
nodejs /
ajv /
dist /
vocabularies /
jtd /
Delete
Unzip
Name
Size
Permission
Date
Action
discriminator.d.ts
391
B
-rw-r--r--
2023-12-16 08:36
discriminator.js
2.72
KB
-rw-r--r--
2023-12-16 08:36
discriminator.js.map
2.63
KB
-rw-r--r--
2023-12-16 08:36
elements.d.ts
264
B
-rw-r--r--
2023-12-16 08:36
elements.js
949
B
-rw-r--r--
2023-12-16 08:36
elements.js.map
908
B
-rw-r--r--
2023-12-16 08:36
enum.d.ts
233
B
-rw-r--r--
2023-12-16 08:36
enum.js
1.7
KB
-rw-r--r--
2023-12-16 08:36
enum.js.map
1.65
KB
-rw-r--r--
2023-12-16 08:36
error.d.ts
529
B
-rw-r--r--
2023-12-16 08:36
error.js
893
B
-rw-r--r--
2023-12-16 08:36
error.js.map
716
B
-rw-r--r--
2023-12-16 08:36
index.d.ts
541
B
-rw-r--r--
2023-12-16 08:36
index.js
962
B
-rw-r--r--
2023-12-16 08:36
index.js.map
530
B
-rw-r--r--
2023-12-16 08:36
metadata.d.ts
254
B
-rw-r--r--
2023-12-16 08:36
metadata.js
810
B
-rw-r--r--
2023-12-16 08:36
metadata.js.map
787
B
-rw-r--r--
2023-12-16 08:36
nullable.d.ts
305
B
-rw-r--r--
2023-12-16 08:36
nullable.js
859
B
-rw-r--r--
2023-12-16 08:36
nullable.js.map
801
B
-rw-r--r--
2023-12-16 08:36
optionalProperties.d.ts
120
B
-rw-r--r--
2023-12-16 08:36
optionalProperties.js
436
B
-rw-r--r--
2023-12-16 08:36
optionalProperties.js.map
398
B
-rw-r--r--
2023-12-16 08:36
properties.d.ts
903
B
-rw-r--r--
2023-12-16 08:36
properties.js
6.17
KB
-rw-r--r--
2023-12-16 08:36
properties.js.map
5.62
KB
-rw-r--r--
2023-12-16 08:36
ref.d.ts
203
B
-rw-r--r--
2023-12-16 08:36
ref.js
2.59
KB
-rw-r--r--
2023-12-16 08:36
ref.js.map
2.38
KB
-rw-r--r--
2023-12-16 08:36
type.d.ts
509
B
-rw-r--r--
2023-12-16 08:36
type.js
2.64
KB
-rw-r--r--
2023-12-16 08:36
type.js.map
2.5
KB
-rw-r--r--
2023-12-16 08:36
union.d.ts
120
B
-rw-r--r--
2023-12-16 08:36
union.js
343
B
-rw-r--r--
2023-12-16 08:36
union.js.map
320
B
-rw-r--r--
2023-12-16 08:36
values.d.ts
261
B
-rw-r--r--
2023-12-16 08:36
values.js
1.79
KB
-rw-r--r--
2023-12-16 08:36
values.js.map
1.71
KB
-rw-r--r--
2023-12-16 08:36
Save
Rename
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.hasRef = void 0; const compile_1 = require("../../compile"); const codegen_1 = require("../../compile/codegen"); const ref_error_1 = require("../../compile/ref_error"); const names_1 = require("../../compile/names"); const ref_1 = require("../core/ref"); const metadata_1 = require("./metadata"); const def = { keyword: "ref", schemaType: "string", code(cxt) { (0, metadata_1.checkMetadata)(cxt); const { gen, data, schema: ref, parentSchema, it } = cxt; const { schemaEnv: { root }, } = it; const valid = gen.name("valid"); if (parentSchema.nullable) { gen.var(valid, (0, codegen_1._) `${data} === null`); gen.if((0, codegen_1.not)(valid), validateJtdRef); } else { gen.var(valid, false); validateJtdRef(); } cxt.ok(valid); function validateJtdRef() { var _a; const refSchema = (_a = root.schema.definitions) === null || _a === void 0 ? void 0 : _a[ref]; if (!refSchema) { throw new ref_error_1.default(it.opts.uriResolver, "", ref, `No definition ${ref}`); } if (hasRef(refSchema) || !it.opts.inlineRefs) callValidate(refSchema); else inlineRefSchema(refSchema); } function callValidate(schema) { const sch = compile_1.compileSchema.call(it.self, new compile_1.SchemaEnv({ schema, root, schemaPath: `/definitions/${ref}` })); const v = (0, ref_1.getValidate)(cxt, sch); const errsCount = gen.const("_errs", names_1.default.errors); (0, ref_1.callRef)(cxt, v, sch, sch.$async); gen.assign(valid, (0, codegen_1._) `${errsCount} === ${names_1.default.errors}`); } function inlineRefSchema(schema) { const schName = gen.scopeValue("schema", it.opts.code.source === true ? { ref: schema, code: (0, codegen_1.stringify)(schema) } : { ref: schema }); cxt.subschema({ schema, dataTypes: [], schemaPath: codegen_1.nil, topSchemaRef: schName, errSchemaPath: `/definitions/${ref}`, }, valid); } }, }; function hasRef(schema) { for (const key in schema) { let sch; if (key === "ref" || (typeof (sch = schema[key]) == "object" && hasRef(sch))) return true; } return false; } exports.hasRef = hasRef; exports.default = def; //# sourceMappingURL=ref.js.map