PHP 8.2.30
Preview: missing.def Size: 1.17 KB
/usr/lib/node_modules/npm/node_modules/har-validator/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: 30

Name Size Perms Modified Actions
609 B lrw-r--r-- 2021-03-10 14:36:40
Edit Download
921 B lrw-r--r-- 2021-03-10 14:36:40
Edit Download
1.93 KB lrw-r--r-- 2021-03-10 14:36:40
Edit Download
322 B lrw-r--r-- 2021-03-10 14:36:40
Edit Download
280 B lrw-r--r-- 2021-03-10 14:36:40
Edit Download
1.16 KB lrw-r--r-- 2021-03-10 14:36:40
Edit Download
4.83 KB lrw-r--r-- 2021-03-10 14:36:40
Edit Download
1.25 KB lrw-r--r-- 2021-03-10 14:36:40
Edit Download
3.93 KB lrw-r--r-- 2021-03-10 14:36:40
Edit Download
1.82 KB lrw-r--r-- 2021-03-10 14:36:40
Edit Download
552 B lrw-r--r-- 2021-03-10 14:36:40
Edit Download
8.09 KB lrw-r--r-- 2021-03-10 14:36:40
Edit Download
3.06 KB lrw-r--r-- 2021-03-10 14:36:40
Edit Download
1.58 KB lrw-r--r-- 2021-03-10 14:36:40
Edit Download
2.55 KB lrw-r--r-- 2021-03-10 14:36:40
Edit Download
1.17 KB lrw-r--r-- 2021-03-10 14:36:40
Edit Download
644 B lrw-r--r-- 2021-03-10 14:36:40
Edit Download
861 B lrw-r--r-- 2021-03-10 14:36:40
Edit Download
1.12 KB lrw-r--r-- 2021-03-10 14:36:40
Edit Download
348 B lrw-r--r-- 2021-03-10 14:36:40
Edit Download
7.54 KB lrw-r--r-- 2021-03-10 14:36:40
Edit Download
1.25 KB lrw-r--r-- 2021-03-10 14:36:40
Edit Download
2.40 KB lrw-r--r-- 2021-03-10 14:36:40
Edit Download
2.80 KB lrw-r--r-- 2021-03-10 14:36:40
Edit Download
1.66 KB lrw-r--r-- 2021-03-10 14:36:40
Edit Download
7.54 KB lrw-r--r-- 2021-03-10 14:36:40
Edit Download
3.84 KB lrw-r--r-- 2021-03-10 14:36:40
Edit Download
353 B lrw-r--r-- 2021-03-10 14:36:40
Edit Download
358 B lrw-r--r-- 2021-03-10 14:36:40
Edit Download
376 B lrw-r--r-- 2021-03-10 14:36:40
Edit Download

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