X-Git-Url: https://git.josue.xyz/?p=dotfiles%2F.git;a=blobdiff_plain;f=.config%2Fcoc%2Fextensions%2Fnode_modules%2Fcoc-prettier%2Fnode_modules%2Ftable%2Fnode_modules%2Fajv%2Fdist%2Fvocabularies%2Fjtd%2Fref.js;h=3cfda2ef2333c25f3c92cba4da8c5848fcb81c1c;hp=25c9bf4ab1f5b4090780655325e82b9be43980e9;hb=3be0a9efc698a9570a44456009afc6014812625a;hpb=d2f432cc757f42f0318fdddcab8c00b240d47088 diff --git a/.config/coc/extensions/node_modules/coc-prettier/node_modules/table/node_modules/ajv/dist/vocabularies/jtd/ref.js b/.config/coc/extensions/node_modules/coc-prettier/node_modules/table/node_modules/ajv/dist/vocabularies/jtd/ref.js index 25c9bf4a..3cfda2ef 100644 --- a/.config/coc/extensions/node_modules/coc-prettier/node_modules/table/node_modules/ajv/dist/vocabularies/jtd/ref.js +++ b/.config/coc/extensions/node_modules/coc-prettier/node_modules/table/node_modules/ajv/dist/vocabularies/jtd/ref.js @@ -11,13 +11,13 @@ const def = { keyword: "ref", schemaType: "string", code(cxt) { - metadata_1.checkMetadata(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, codegen_1._ `${data} === null`); - gen.if(codegen_1.not(valid), validateJtdRef); + gen.var(valid, (0, codegen_1._) `${data} === null`); + gen.if((0, codegen_1.not)(valid), validateJtdRef); } else { gen.var(valid, false); @@ -36,13 +36,13 @@ const def = { } function callValidate(schema) { const sch = compile_1.compileSchema.call(it.self, new compile_1.SchemaEnv({ schema, root, schemaPath: `/definitions/${ref}` })); - const v = ref_1.getValidate(cxt, sch); + const v = (0, ref_1.getValidate)(cxt, sch); const errsCount = gen.const("_errs", names_1.default.errors); - ref_1.callRef(cxt, v, sch, sch.$async); - gen.assign(valid, codegen_1._ `${errsCount} === ${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: codegen_1.stringify(schema) } : { ref: 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: [],