massive update, probably broken
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-prettier / node_modules / table / node_modules / ajv / dist / vocabularies / dynamic / dynamicRef.js
index 6e67b1cc9b8912c86a1368c7f9699306a77f70aa..9f010a0df422b96b35d84db149aed28c126c3687 100644 (file)
@@ -30,7 +30,7 @@ function dynamicRef(cxt, ref) {
         // This is a similar problem to #815 (`$id` doesn't alter resolution scope for `{ "$ref": "#" }`).
         // (This problem is not tested in JSON-Schema-Test-Suite)
         if (it.schemaEnv.root.dynamicAnchors[anchor]) {
-            const v = gen.let("_v", codegen_1._ `${names_1.default.dynamicAnchors}${codegen_1.getProperty(anchor)}`);
+            const v = gen.let("_v", (0, codegen_1._) `${names_1.default.dynamicAnchors}${(0, codegen_1.getProperty)(anchor)}`);
             gen.if(v, _callRef(v, valid), _callRef(it.validateName, valid));
         }
         else {
@@ -40,10 +40,10 @@ function dynamicRef(cxt, ref) {
     function _callRef(validate, valid) {
         return valid
             ? () => gen.block(() => {
-                ref_1.callRef(cxt, validate);
+                (0, ref_1.callRef)(cxt, validate);
                 gen.let(valid, true);
             })
-            : () => ref_1.callRef(cxt, validate);
+            : () => (0, ref_1.callRef)(cxt, validate);
     }
 }
 exports.dynamicRef = dynamicRef;