Submit
Path:
~
/
/
proc
/
thread-self
/
root
/
opt
/
alt
/
alt-nodejs11
/
root
/
lib
/
node_modules
/
npm
/
node_modules
/
ajv
/
lib
/
File Content:
patternGroups.js
'use strict'; var META_SCHEMA_ID = 'http://json-schema.org/draft-06/schema'; module.exports = function (ajv) { var defaultMeta = ajv._opts.defaultMeta; var metaSchemaRef = typeof defaultMeta == 'string' ? { $ref: defaultMeta } : ajv.getSchema(META_SCHEMA_ID) ? { $ref: META_SCHEMA_ID } : {}; ajv.addKeyword('patternGroups', { // implemented in properties.jst metaSchema: { type: 'object', additionalProperties: { type: 'object', required: [ 'schema' ], properties: { maximum: { type: 'integer', minimum: 0 }, minimum: { type: 'integer', minimum: 0 }, schema: metaSchemaRef }, additionalProperties: false } } }); ajv.RULES.all.properties.implements.push('patternGroups'); };
Submit
FILE
FOLDER
Name
Size
Permission
Action
compile
---
0755
dot
---
0755
dotjs
---
0755
refs
---
0755
$data.js
1047 bytes
0644
ajv.d.ts
11956 bytes
0644
ajv.js
15919 bytes
0644
cache.js
409 bytes
0644
keyword.js
3644 bytes
0644
patternGroups.js
947 bytes
0644
N4ST4R_ID | Naxtarrr