172 lines
78 KiB
JSON
172 lines
78 KiB
JSON
|
{
|
||
|
"_args": [
|
||
|
[
|
||
|
{
|
||
|
"raw": "ajv@^5.1.0",
|
||
|
"scope": null,
|
||
|
"escapedName": "ajv",
|
||
|
"name": "ajv",
|
||
|
"rawSpec": "^5.1.0",
|
||
|
"spec": ">=5.1.0 <6.0.0",
|
||
|
"type": "range"
|
||
|
},
|
||
|
"/home/jdaugherty/work/GT2/GT2-Android/node_modules/har-validator"
|
||
|
]
|
||
|
],
|
||
|
"_from": "ajv@>=5.1.0 <6.0.0",
|
||
|
"_id": "ajv@5.5.2",
|
||
|
"_inCache": true,
|
||
|
"_location": "/ajv",
|
||
|
"_nodeVersion": "6.9.1",
|
||
|
"_npmOperationalInternal": {
|
||
|
"host": "s3://npm-registry-packages",
|
||
|
"tmp": "tmp/ajv-5.5.2.tgz_1513456518424_0.9640620034188032"
|
||
|
},
|
||
|
"_npmUser": {
|
||
|
"name": "esp",
|
||
|
"email": "e.poberezkin@me.com"
|
||
|
},
|
||
|
"_npmVersion": "3.10.8",
|
||
|
"_phantomChildren": {},
|
||
|
"_requested": {
|
||
|
"raw": "ajv@^5.1.0",
|
||
|
"scope": null,
|
||
|
"escapedName": "ajv",
|
||
|
"name": "ajv",
|
||
|
"rawSpec": "^5.1.0",
|
||
|
"spec": ">=5.1.0 <6.0.0",
|
||
|
"type": "range"
|
||
|
},
|
||
|
"_requiredBy": [
|
||
|
"/@expo/schemer",
|
||
|
"/har-validator"
|
||
|
],
|
||
|
"_resolved": "https://registry.npmjs.org/ajv/-/ajv-5.5.2.tgz",
|
||
|
"_shasum": "73b5eeca3fab653e3d3f9422b341ad42205dc965",
|
||
|
"_shrinkwrap": null,
|
||
|
"_spec": "ajv@^5.1.0",
|
||
|
"_where": "/home/jdaugherty/work/GT2/GT2-Android/node_modules/har-validator",
|
||
|
"author": {
|
||
|
"name": "Evgeny Poberezkin"
|
||
|
},
|
||
|
"bugs": {
|
||
|
"url": "https://github.com/epoberezkin/ajv/issues"
|
||
|
},
|
||
|
"dependencies": {
|
||
|
"co": "^4.6.0",
|
||
|
"fast-deep-equal": "^1.0.0",
|
||
|
"fast-json-stable-stringify": "^2.0.0",
|
||
|
"json-schema-traverse": "^0.3.0"
|
||
|
},
|
||
|
"description": "Another JSON Schema Validator",
|
||
|
"devDependencies": {
|
||
|
"ajv-async": "^0.1.0",
|
||
|
"bluebird": "^3.1.5",
|
||
|
"brfs": "^1.4.3",
|
||
|
"browserify": "^14.1.0",
|
||
|
"chai": "^4.0.1",
|
||
|
"coveralls": "^3.0.0",
|
||
|
"del-cli": "^1.1.0",
|
||
|
"dot": "^1.0.3",
|
||
|
"eslint": "^4.1.0",
|
||
|
"gh-pages-generator": "^0.2.0",
|
||
|
"glob": "^7.0.0",
|
||
|
"if-node-version": "^1.0.0",
|
||
|
"js-beautify": "^1.7.3",
|
||
|
"jshint": "^2.9.4",
|
||
|
"json-schema-test": "^2.0.0",
|
||
|
"karma": "^1.0.0",
|
||
|
"karma-chrome-launcher": "^2.0.0",
|
||
|
"karma-mocha": "^1.1.1",
|
||
|
"karma-phantomjs-launcher": "^1.0.0",
|
||
|
"karma-sauce-launcher": "^1.1.0",
|
||
|
"mocha": "^4.0.0",
|
||
|
"nodent": "^3.0.17",
|
||
|
"nyc": "^11.0.2",
|
||
|
"phantomjs-prebuilt": "^2.1.4",
|
||
|
"pre-commit": "^1.1.1",
|
||
|
"regenerator": "^0.12.2",
|
||
|
"require-globify": "^1.3.0",
|
||
|
"typescript": "^2.6.2",
|
||
|
"uglify-js": "^3.1.5",
|
||
|
"watch": "^1.0.0"
|
||
|
},
|
||
|
"directories": {},
|
||
|
"dist": {
|
||
|
"shasum": "73b5eeca3fab653e3d3f9422b341ad42205dc965",
|
||
|
"tarball": "https://registry.npmjs.org/ajv/-/ajv-5.5.2.tgz"
|
||
|
},
|
||
|
"files": [
|
||
|
"lib/",
|
||
|
"dist/",
|
||
|
"scripts/",
|
||
|
"LICENSE",
|
||
|
".tonic_example.js"
|
||
|
],
|
||
|
"gitHead": "cecd4ecca66abee0441a8277c647856b09454f82",
|
||
|
"homepage": "https://github.com/epoberezkin/ajv",
|
||
|
"keywords": [
|
||
|
"JSON",
|
||
|
"schema",
|
||
|
"validator",
|
||
|
"validation",
|
||
|
"jsonschema",
|
||
|
"json-schema",
|
||
|
"json-schema-validator",
|
||
|
"json-schema-validation"
|
||
|
],
|
||
|
"license": "MIT",
|
||
|
"main": "lib/ajv.js",
|
||
|
"maintainers": [
|
||
|
{
|
||
|
"name": "blakeembrey",
|
||
|
"email": "hello@blakeembrey.com"
|
||
|
},
|
||
|
{
|
||
|
"name": "esp",
|
||
|
"email": "e.poberezkin@me.com"
|
||
|
}
|
||
|
],
|
||
|
"name": "ajv",
|
||
|
"nyc": {
|
||
|
"exclude": [
|
||
|
"**/spec/**",
|
||
|
"node_modules"
|
||
|
],
|
||
|
"reporter": [
|
||
|
"lcov",
|
||
|
"text-summary"
|
||
|
]
|
||
|
},
|
||
|
"optionalDependencies": {},
|
||
|
"readme": "<img align=\"right\" alt=\"Ajv logo\" width=\"160\" src=\"http://epoberezkin.github.io/ajv/images/ajv_logo.png\">\n\n# Ajv: Another JSON Schema Validator\n\nThe fastest JSON Schema validator for Node.js and browser with draft 6 support.\n\n\n[![Build Status](https://travis-ci.org/epoberezkin/ajv.svg?branch=master)](https://travis-ci.org/epoberezkin/ajv)\n[![npm version](https://badge.fury.io/js/ajv.svg)](https://www.npmjs.com/package/ajv)\n[![npm@beta](https://img.shields.io/npm/v/ajv/beta.svg)](https://github.com/epoberezkin/ajv/tree/beta)\n[![npm downloads](https://img.shields.io/npm/dm/ajv.svg)](https://www.npmjs.com/package/ajv)\n[![Coverage Status](https://coveralls.io/repos/epoberezkin/ajv/badge.svg?branch=master&service=github)](https://coveralls.io/github/epoberezkin/ajv?branch=master)\n[![Greenkeeper badge](https://badges.greenkeeper.io/epoberezkin/ajv.svg)](https://greenkeeper.io/)\n[![Gitter](https://img.shields.io/gitter/room/ajv-validator/ajv.svg)](https://gitter.im/ajv-validator/ajv)\n\n\n__Please note__: Ajv [version 6](https://github.com/epoberezkin/ajv/tree/beta) with [JSON Schema draft-07](http://json-schema.org/work-in-progress) support is released. Use `npm install ajv@beta` to install.\n\n\n## Using version 5\n\n[JSON Schema draft-06](https://trac.tools.ietf.org/html/draft-wright-json-schema-validation-01) is published.\n\n[Ajv version 5.0.0](https://github.com/epoberezkin/ajv/releases/tag/5.0.0) that supports draft-06 is released. It may require either migrating your schemas or updating your code (to continue using draft-04 and v5 schemas).\n\n__Please note__: To use Ajv with draft-04 schemas you need to explicitly add meta-schema to the validator instance:\n\n```javascript\najv.addMetaSchema(require('ajv/lib/refs/json-schema-draft-04.json'));\n```\n\n\n## Contents\n\n- [Performance](#performance)\n- [Features](#features)\n- [Getting started](#getting-started)\n- [Frequently Asked Questions](https://github.com/epoberezkin/ajv/blob/master/FAQ.md)\n- [Using in browser](#using-in-browser)\n- [Command line interface](#command-line-interface)\n- Validation\n - [Keywords](#validation-keywords)\n - [Formats](#formats)\n - [Combining schemas with $ref](#ref)\n - [$data reference](#data-reference)\n - NEW: [$merge and $patch keywords](#merge-and-patch-keywords)\n - [Defining custom keywords](#defining-custom-keywords)\n - [Asynchronous schema compilation](#asynchronous-schema-compilation)\n - [Asynchronous validation](#asynchronous-validation)\n- Modifying data during validation\n - [Filtering data](#filtering-data)\n - [Assigning defaults](#assigning-defaults)\n - [Coercing data types](#coercing-data-types)\n- API\n - [Methods](#api)\n - [Options](#options)\n - [Validation errors](#validation-errors)\n- [Related packages](#related-packages)\n- [Packages using Ajv](#some-packages-using-ajv)\n- [Tests, Contributing, History, License](#tests)\n\n\n## Performance\n\nAjv generates code using [doT templates](https://github.com/olado/doT) to turn JSON schemas into super-fast validation functions that are efficient for v8 optimization.\n\nCurrently Ajv is the fastest and the most standard compliant validator according to these benchmarks:\n\n- [json-schema-benchmark](https://github.com/ebdrup/json-schema-benchmark) - 50% faster than the second place\n- [jsck benchmark](https://github.com/pandastrike/jsck#benchmarks) - 20-190% faster\n- [z-schema benchmark](https://rawgit.com/zaggino/z-schema/master/benchmark/results.html)\n- [themis benchmark](https://cdn.rawgit.com/playlyfe/themis/master/benchmark/results.html)\n\n\nPerformance of different validators by [json-schema-benchmark](https://github.com/ebdrup/json-schema-benchmark):\n\n[![performance](https://chart.googleapis.com/chart?chxt=x,y&cht=bhs&chco=76A4FB&chls=2.0&chbh=32,4,1&chs=600x416&chxl=-1:|djv|ajv|json-schema-validator-generator|jsen|is-my-json-valid|themis|z-schema|jsck|skeemas|json-schema-library|tv4&chd=t:100,98,72.1,66.8,50.1,15.1,6.1,3.8,1.2,0.7,0.2)](https://github.com/ebdrup/json-schema-benchmark/blob/master/README.md#p
|
||
|
"readmeFilename": "README.md",
|
||
|
"repository": {
|
||
|
"type": "git",
|
||
|
"url": "git+https://github.com/epoberezkin/ajv.git"
|
||
|
},
|
||
|
"scripts": {
|
||
|
"build": "del-cli lib/dotjs/*.js && node scripts/compile-dots.js",
|
||
|
"bundle": "node ./scripts/bundle.js . Ajv pure_getters",
|
||
|
"bundle-all": "del-cli dist && npm run bundle && npm run bundle-regenerator && npm run bundle-nodent",
|
||
|
"bundle-beautify": "node ./scripts/bundle.js js-beautify",
|
||
|
"bundle-nodent": "node ./scripts/bundle.js nodent",
|
||
|
"bundle-regenerator": "node ./scripts/bundle.js regenerator",
|
||
|
"eslint": "if-node-version \">=4\" eslint lib/*.js lib/compile/*.js spec/*.js scripts",
|
||
|
"jshint": "jshint lib/*.js lib/**/*.js --exclude lib/dotjs/**/*",
|
||
|
"prepublish": "npm run build && npm run bundle-all",
|
||
|
"test": "npm run jshint && npm run eslint && npm run test-ts && npm run build && npm run test-cov && if-node-version 4 npm run test-browser",
|
||
|
"test-browser": "del-cli .browser && npm run bundle-all && scripts/prepare-tests && npm run test-karma",
|
||
|
"test-cov": "nyc npm run test-spec",
|
||
|
"test-debug": "mocha spec/*.spec.js --debug-brk -R spec",
|
||
|
"test-fast": "AJV_FAST_TEST=true npm run test-spec",
|
||
|
"test-karma": "karma start --single-run --browsers PhantomJS",
|
||
|
"test-spec": "mocha spec/*.spec.js -R spec $(if-node-version 7 echo --harmony-async-await)",
|
||
|
"test-ts": "tsc --target ES5 --noImplicitAny lib/ajv.d.ts",
|
||
|
"watch": "watch 'npm run build' ./lib/dot"
|
||
|
},
|
||
|
"tonicExampleFilename": ".tonic_example.js",
|
||
|
"typings": "lib/ajv.d.ts",
|
||
|
"version": "5.5.2"
|
||
|
}
|