PHP 8.2.30
Preview: missing.def Size: 1.17 KB
/opt/alt/alt-nodejs11/root/usr/lib/node_modules/npm/node_modules/ajv/lib/dot/missing.def

{{## def.checkMissingProperty:_properties:
  {{~ _properties:$propertyKey:$i }}
    {{?$i}} || {{?}}
    {{
      var $prop = it.util.getProperty($propertyKey)
        , $useData = $data + $prop;
    }}
    ( ({{# def.noPropertyInData }}) && (missing{{=$lvl}} = {{= it.util.toQuotedString(it.opts.jsonPointers ? $propertyKey : $prop) }}) )
  {{~}}
#}}


{{## def.errorMissingProperty:_error:
  {{
    var $propertyPath = 'missing' + $lvl
      , $missingProperty = '\' + ' + $propertyPath + ' + \'';
    if (it.opts._errorDataPathProperty) {
      it.errorPath = it.opts.jsonPointers
                      ? it.util.getPathExpr($currentErrorPath,  $propertyPath, true)
                      : $currentErrorPath + ' + ' + $propertyPath;
    }
  }}
  {{# def.error:_error }}
#}}


{{## def.allErrorsMissingProperty:_error:
  {{
    var $prop = it.util.getProperty($propertyKey)
      , $missingProperty = it.util.escapeQuotes($propertyKey)
      , $useData = $data + $prop;
    if (it.opts._errorDataPathProperty) {
      it.errorPath = it.util.getPath($currentErrorPath, $propertyKey, it.opts.jsonPointers);
    }
  }}
  if ({{# def.noPropertyInData }}) {
    {{# def.addError:_error }}
  }
#}}

Directory Contents

Dirs: 0 × Files: 28

Name Size Perms Modified Actions
629 B lrw-r--r-- 2021-10-19 09:47:52
Edit Download
943 B lrw-r--r-- 2021-10-19 09:47:52
Edit Download
2.17 KB lrw-r--r-- 2021-10-19 09:47:52
Edit Download
280 B lrw-r--r-- 2021-10-19 09:47:52
Edit Download
1.18 KB lrw-r--r-- 2021-10-19 09:47:52
Edit Download
4.85 KB lrw-r--r-- 2021-10-19 09:47:52
Edit Download
859 B lrw-r--r-- 2021-10-19 09:47:52
Edit Download
3.80 KB lrw-r--r-- 2021-10-19 09:47:52
Edit Download
1.80 KB lrw-r--r-- 2021-10-19 09:47:52
Edit Download
552 B lrw-r--r-- 2021-10-19 09:47:52
Edit Download
8.07 KB lrw-r--r-- 2021-10-19 09:47:52
Edit Download
3.09 KB lrw-r--r-- 2021-10-19 09:47:52
Edit Download
2.56 KB lrw-r--r-- 2021-10-19 09:47:52
Edit Download
1.17 KB lrw-r--r-- 2021-10-19 09:47:52
Edit Download
618 B lrw-r--r-- 2021-10-19 09:47:52
Edit Download
861 B lrw-r--r-- 2021-10-19 09:47:52
Edit Download
922 B lrw-r--r-- 2021-10-19 09:47:52
Edit Download
348 B lrw-r--r-- 2021-10-19 09:47:52
Edit Download
10.08 KB lrw-r--r-- 2021-10-19 09:47:52
Edit Download
1.28 KB lrw-r--r-- 2021-10-19 09:47:52
Edit Download
2.37 KB lrw-r--r-- 2021-10-19 09:47:52
Edit Download
2.80 KB lrw-r--r-- 2021-10-19 09:47:52
Edit Download
837 B lrw-r--r-- 2021-10-19 09:47:52
Edit Download
7.06 KB lrw-r--r-- 2021-10-19 09:47:52
Edit Download
3.25 KB lrw-r--r-- 2021-10-19 09:47:52
Edit Download
327 B lrw-r--r-- 2021-10-19 09:47:52
Edit Download
332 B lrw-r--r-- 2021-10-19 09:47:52
Edit Download
350 B lrw-r--r-- 2021-10-19 09:47:52
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).