massive update, probably broken
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-prettier / node_modules / table / node_modules / ajv / dist / vocabularies / jtd / elements.js
index ccfa9a1a6c3d7f300ee9c4f27eb32e01c3e2640a..9b8fb548a4fe23c058bf517459dfef9a872b59b5 100644 (file)
@@ -9,14 +9,14 @@ const error_1 = require("./error");
 const def = {
     keyword: "elements",
     schemaType: "object",
-    error: error_1.typeError("array"),
+    error: (0, error_1.typeError)("array"),
     code(cxt) {
-        metadata_1.checkMetadata(cxt);
+        (0, metadata_1.checkMetadata)(cxt);
         const { gen, data, schema, it } = cxt;
-        if (util_1.alwaysValidSchema(it, schema))
+        if ((0, util_1.alwaysValidSchema)(it, schema))
             return;
-        const [valid] = nullable_1.checkNullable(cxt);
-        gen.if(codegen_1.not(valid), () => gen.if(codegen_1._ `Array.isArray(${data})`, () => gen.assign(valid, code_1.validateArray(cxt)), () => cxt.error()));
+        const [valid] = (0, nullable_1.checkNullable)(cxt);
+        gen.if((0, codegen_1.not)(valid), () => gen.if((0, codegen_1._) `Array.isArray(${data})`, () => gen.assign(valid, (0, code_1.validateArray)(cxt)), () => cxt.error()));
         cxt.ok(valid);
     },
 };