diff options
author | Rebecca Turner <me@re-becca.org> | 2015-07-24 11:09:57 +0300 |
---|---|---|
committer | Rebecca Turner <me@re-becca.org> | 2015-07-24 12:39:52 +0300 |
commit | a04925bba15d3991469400865932b10c66177822 (patch) | |
tree | aaa5e254769a322fb8432a8aaea079add69dacc6 /node_modules/har-validator | |
parent | ee7c095d1eed01f9cceb66fe13212d9f57d55dca (diff) |
har-validator@1.8.0
Diffstat (limited to 'node_modules/har-validator')
-rw-r--r-- | node_modules/har-validator/LICENSE | 34 | ||||
-rw-r--r-- | node_modules/har-validator/README.md | 2 | ||||
-rw-r--r-- | node_modules/har-validator/lib/error.js (renamed from node_modules/har-validator/src/error.js) | 0 | ||||
-rw-r--r-- | node_modules/har-validator/lib/index.js (renamed from node_modules/har-validator/src/index.js) | 2 | ||||
-rw-r--r-- | node_modules/har-validator/lib/schemas/cache.json (renamed from node_modules/har-validator/src/schemas/cache.json) | 0 | ||||
-rw-r--r-- | node_modules/har-validator/lib/schemas/cacheEntry.json (renamed from node_modules/har-validator/src/schemas/cacheEntry.json) | 0 | ||||
-rw-r--r-- | node_modules/har-validator/lib/schemas/content.json (renamed from node_modules/har-validator/src/schemas/content.json) | 0 | ||||
-rw-r--r-- | node_modules/har-validator/lib/schemas/cookie.json (renamed from node_modules/har-validator/src/schemas/cookie.json) | 0 | ||||
-rw-r--r-- | node_modules/har-validator/lib/schemas/creator.json (renamed from node_modules/har-validator/src/schemas/creator.json) | 0 | ||||
-rw-r--r-- | node_modules/har-validator/lib/schemas/entry.json (renamed from node_modules/har-validator/src/schemas/entry.json) | 5 | ||||
-rw-r--r-- | node_modules/har-validator/lib/schemas/har.json (renamed from node_modules/har-validator/src/schemas/har.json) | 0 | ||||
-rw-r--r-- | node_modules/har-validator/lib/schemas/index.js (renamed from node_modules/har-validator/src/schemas/index.js) | 0 | ||||
-rw-r--r-- | node_modules/har-validator/lib/schemas/log.json (renamed from node_modules/har-validator/src/schemas/log.json) | 0 | ||||
-rw-r--r-- | node_modules/har-validator/lib/schemas/page.json (renamed from node_modules/har-validator/src/schemas/page.json) | 0 | ||||
-rw-r--r-- | node_modules/har-validator/lib/schemas/pageTimings.json (renamed from node_modules/har-validator/src/schemas/pageTimings.json) | 0 | ||||
-rw-r--r-- | node_modules/har-validator/lib/schemas/postData.json (renamed from node_modules/har-validator/src/schemas/postData.json) | 0 | ||||
-rw-r--r-- | node_modules/har-validator/lib/schemas/record.json (renamed from node_modules/har-validator/src/schemas/record.json) | 0 | ||||
-rw-r--r-- | node_modules/har-validator/lib/schemas/request.json (renamed from node_modules/har-validator/src/schemas/request.json) | 0 | ||||
-rw-r--r-- | node_modules/har-validator/lib/schemas/response.json (renamed from node_modules/har-validator/src/schemas/response.json) | 0 | ||||
-rw-r--r-- | node_modules/har-validator/lib/schemas/timings.json (renamed from node_modules/har-validator/src/schemas/timings.json) | 0 | ||||
-rw-r--r-- | node_modules/har-validator/package.json | 44 |
21 files changed, 42 insertions, 45 deletions
diff --git a/node_modules/har-validator/LICENSE b/node_modules/har-validator/LICENSE index d52787158..ca55c91af 100644 --- a/node_modules/har-validator/LICENSE +++ b/node_modules/har-validator/LICENSE @@ -1,21 +1,13 @@ -The MIT License (MIT) - -Copyright (c) 2015 Ahmad Nassri (https://www.ahmadnassri.com) - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. +Copyright (c) 2015, Ahmad Nassri <ahmad@ahmadnassri.com> + +Permission to use, copy, modify, and/or distribute this software for any +purpose with or without fee is hereby granted, provided that the above +copyright notice and this permission notice appear in all copies. + +THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES +WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR +ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES +WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN +ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF +OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. diff --git a/node_modules/har-validator/README.md b/node_modules/har-validator/README.md index 4e580ab86..f40ab755d 100644 --- a/node_modules/har-validator/README.md +++ b/node_modules/har-validator/README.md @@ -330,7 +330,7 @@ Donations are welcome to help support the continuous development of this project ## License -[MIT](LICENSE) © [Ahmad Nassri](https://www.ahmadnassri.com) +[ISC License](LICENSE) © [Ahmad Nassri](https://www.ahmadnassri.com/) [license-url]: https://github.com/ahmadnassri/har-validator/blob/master/LICENSE diff --git a/node_modules/har-validator/src/error.js b/node_modules/har-validator/lib/error.js index fc08a8721..fc08a8721 100644 --- a/node_modules/har-validator/src/error.js +++ b/node_modules/har-validator/lib/error.js diff --git a/node_modules/har-validator/src/index.js b/node_modules/har-validator/lib/index.js index d0324ccd1..81d55607c 100644 --- a/node_modules/har-validator/src/index.js +++ b/node_modules/har-validator/lib/index.js @@ -20,7 +20,7 @@ var runner = function (schema, data, cb) { // callback? if (!cb) { - return !validate.errors > 0 + return valid } else { return cb(validate.errors ? new ValidationError(validate.errors) : null, valid) } diff --git a/node_modules/har-validator/src/schemas/cache.json b/node_modules/har-validator/lib/schemas/cache.json index a3ab682d5..a3ab682d5 100644 --- a/node_modules/har-validator/src/schemas/cache.json +++ b/node_modules/har-validator/lib/schemas/cache.json diff --git a/node_modules/har-validator/src/schemas/cacheEntry.json b/node_modules/har-validator/lib/schemas/cacheEntry.json index a397439fd..a397439fd 100644 --- a/node_modules/har-validator/src/schemas/cacheEntry.json +++ b/node_modules/har-validator/lib/schemas/cacheEntry.json diff --git a/node_modules/har-validator/src/schemas/content.json b/node_modules/har-validator/lib/schemas/content.json index 3710d7939..3710d7939 100644 --- a/node_modules/har-validator/src/schemas/content.json +++ b/node_modules/har-validator/lib/schemas/content.json diff --git a/node_modules/har-validator/src/schemas/cookie.json b/node_modules/har-validator/lib/schemas/cookie.json index 576818183..576818183 100644 --- a/node_modules/har-validator/src/schemas/cookie.json +++ b/node_modules/har-validator/lib/schemas/cookie.json diff --git a/node_modules/har-validator/src/schemas/creator.json b/node_modules/har-validator/lib/schemas/creator.json index 505860064..505860064 100644 --- a/node_modules/har-validator/src/schemas/creator.json +++ b/node_modules/har-validator/lib/schemas/creator.json diff --git a/node_modules/har-validator/src/schemas/entry.json b/node_modules/har-validator/lib/schemas/entry.json index 7acdc1b82..8a9c022bd 100644 --- a/node_modules/har-validator/src/schemas/entry.json +++ b/node_modules/har-validator/lib/schemas/entry.json @@ -36,7 +36,10 @@ }, "serverIPAddress": { "type": "string", - "format": "ipv4" + "oneOf": [ + { "format": "ipv4" }, + { "format": "ipv6" } + ] }, "connection": { "type": "string" diff --git a/node_modules/har-validator/src/schemas/har.json b/node_modules/har-validator/lib/schemas/har.json index b542782db..b542782db 100644 --- a/node_modules/har-validator/src/schemas/har.json +++ b/node_modules/har-validator/lib/schemas/har.json diff --git a/node_modules/har-validator/src/schemas/index.js b/node_modules/har-validator/lib/schemas/index.js index 7b6db7dab..7b6db7dab 100644 --- a/node_modules/har-validator/src/schemas/index.js +++ b/node_modules/har-validator/lib/schemas/index.js diff --git a/node_modules/har-validator/src/schemas/log.json b/node_modules/har-validator/lib/schemas/log.json index 0c91d38bf..0c91d38bf 100644 --- a/node_modules/har-validator/src/schemas/log.json +++ b/node_modules/har-validator/lib/schemas/log.json diff --git a/node_modules/har-validator/src/schemas/page.json b/node_modules/har-validator/lib/schemas/page.json index ef64abe5c..ef64abe5c 100644 --- a/node_modules/har-validator/src/schemas/page.json +++ b/node_modules/har-validator/lib/schemas/page.json diff --git a/node_modules/har-validator/src/schemas/pageTimings.json b/node_modules/har-validator/lib/schemas/pageTimings.json index adc83cccd..adc83cccd 100644 --- a/node_modules/har-validator/src/schemas/pageTimings.json +++ b/node_modules/har-validator/lib/schemas/pageTimings.json diff --git a/node_modules/har-validator/src/schemas/postData.json b/node_modules/har-validator/lib/schemas/postData.json index 91958b64a..91958b64a 100644 --- a/node_modules/har-validator/src/schemas/postData.json +++ b/node_modules/har-validator/lib/schemas/postData.json diff --git a/node_modules/har-validator/src/schemas/record.json b/node_modules/har-validator/lib/schemas/record.json index 04acd5194..04acd5194 100644 --- a/node_modules/har-validator/src/schemas/record.json +++ b/node_modules/har-validator/lib/schemas/record.json diff --git a/node_modules/har-validator/src/schemas/request.json b/node_modules/har-validator/lib/schemas/request.json index 639af06dc..639af06dc 100644 --- a/node_modules/har-validator/src/schemas/request.json +++ b/node_modules/har-validator/lib/schemas/request.json diff --git a/node_modules/har-validator/src/schemas/response.json b/node_modules/har-validator/lib/schemas/response.json index de99c55bb..de99c55bb 100644 --- a/node_modules/har-validator/src/schemas/response.json +++ b/node_modules/har-validator/lib/schemas/response.json diff --git a/node_modules/har-validator/src/schemas/timings.json b/node_modules/har-validator/lib/schemas/timings.json index 066ef71a1..066ef71a1 100644 --- a/node_modules/har-validator/src/schemas/timings.json +++ b/node_modules/har-validator/lib/schemas/timings.json diff --git a/node_modules/har-validator/package.json b/node_modules/har-validator/package.json index 2b6fed2e1..0604cfc10 100644 --- a/node_modules/har-validator/package.json +++ b/node_modules/har-validator/package.json @@ -6,7 +6,7 @@ ] ], "_from": "har-validator@>=1.6.1 <2.0.0", - "_id": "har-validator@1.7.1", + "_id": "har-validator@1.8.0", "_inCache": true, "_location": "/har-validator", "_nodeVersion": "0.12.2", @@ -14,7 +14,7 @@ "email": "ahmad@ahmadnassri.com", "name": "ahmadnassri" }, - "_npmVersion": "2.7.4", + "_npmVersion": "2.11.2", "_phantomChildren": {}, "_requested": { "name": "har-validator", @@ -27,8 +27,8 @@ "_requiredBy": [ "/request" ], - "_resolved": "https://registry.npmjs.org/har-validator/-/har-validator-1.7.1.tgz", - "_shasum": "8ec8952f8287d21b451ba3e36f27ed8d997d8a95", + "_resolved": "https://registry.npmjs.org/har-validator/-/har-validator-1.8.0.tgz", + "_shasum": "d83842b0eb4c435960aeb108a067a3aa94c0eeb2", "_shrinkwrap": null, "_spec": "har-validator@^1.6.1", "_where": "/Users/rebecca/code/npm/node_modules/request", @@ -38,13 +38,13 @@ "url": "https://www.ahmadnassri.com/" }, "bin": { - "har-validator": "./bin/har-validator" + "har-validator": "bin/har-validator" }, "bugs": { "url": "https://github.com/ahmadnassri/har-validator/issues" }, "dependencies": { - "bluebird": "^2.9.26", + "bluebird": "^2.9.30", "chalk": "^1.0.0", "commander": "^2.8.1", "is-my-json-valid": "^2.12.0" @@ -52,17 +52,17 @@ "description": "Extremely fast HTTP Archive (HAR) validator using JSON Schema", "devDependencies": { "codeclimate-test-reporter": "0.0.4", - "echint": "^1.1.0", - "istanbul": "^0.3.14", + "echint": "^1.3.0", + "istanbul": "^0.3.15", "mocha": "^2.2.5", - "require-directory": "^2.1.0", - "should": "^6.0.3", - "standard": "^3.11.1" + "require-directory": "^2.1.1", + "should": "^7.0.1", + "standard": "^4.3.1" }, "directories": {}, "dist": { - "shasum": "8ec8952f8287d21b451ba3e36f27ed8d997d8a95", - "tarball": "http://registry.npmjs.org/har-validator/-/har-validator-1.7.1.tgz" + "shasum": "d83842b0eb4c435960aeb108a067a3aa94c0eeb2", + "tarball": "http://registry.npmjs.org/har-validator/-/har-validator-1.8.0.tgz" }, "echint": { "ignore": [ @@ -74,9 +74,9 @@ }, "files": [ "bin", - "src" + "lib" ], - "gitHead": "328d7f2f37affcc4fca1db13da68f2be817ad31c", + "gitHead": "8fd21c30edb23a1fed2d50b934d055d1be3dd7c9", "homepage": "https://github.com/ahmadnassri/har-validator", "keywords": [ "archive", @@ -85,8 +85,8 @@ "validate", "validator" ], - "license": "MIT", - "main": "./src/index.js", + "license": "ISC", + "main": "lib/index", "maintainers": [ { "name": "ahmadnassri", @@ -97,12 +97,14 @@ "optionalDependencies": {}, "repository": { "type": "git", - "url": "https://github.com/ahmadnassri/har-validator" + "url": "git+https://github.com/ahmadnassri/har-validator.git" }, "scripts": { "codeclimate": "codeclimate < coverage/lcov.info", - "coverage": "istanbul cover ./node_modules/mocha/bin/_mocha", - "test": "standard && echint && mocha --reporter spec" + "coverage": "istanbul cover --dir coverage _mocha -- -R dot", + "posttest": "npm run coverage", + "pretest": "standard && echint", + "test": "mocha" }, - "version": "1.7.1" + "version": "1.8.0" } |