har-validator
Advanced tools
Comparing version 1.7.0 to 1.7.1
{ | ||
"version": "1.7.0", | ||
"version": "1.7.1", | ||
"name": "har-validator", | ||
@@ -7,2 +7,3 @@ "description": "Extremely fast HTTP Archive (HAR) validator using JSON Schema", | ||
"homepage": "https://github.com/ahmadnassri/har-validator", | ||
"repository": "ahmadnassri/har-validator", | ||
"license": "MIT", | ||
@@ -25,6 +26,2 @@ "main": "./src/index.js", | ||
], | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/ahmadnassri/har-validator" | ||
}, | ||
"bugs": { | ||
@@ -34,20 +31,26 @@ "url": "https://github.com/ahmadnassri/har-validator/issues" | ||
"scripts": { | ||
"test": "standard && mocha --reporter spec", | ||
"test": "standard && echint && mocha --reporter spec", | ||
"coverage": "istanbul cover ./node_modules/mocha/bin/_mocha", | ||
"codeclimate": "codeclimate < coverage/lcov.info" | ||
}, | ||
"echint": { | ||
"ignore": [ | ||
"coverage/**" | ||
] | ||
}, | ||
"devDependencies": { | ||
"codeclimate-test-reporter": "0.0.4", | ||
"istanbul": "^0.3.13", | ||
"mocha": "^2.2.4", | ||
"echint": "^1.1.0", | ||
"istanbul": "^0.3.14", | ||
"mocha": "^2.2.5", | ||
"require-directory": "^2.1.0", | ||
"should": "^6.0.1", | ||
"standard": "^3.7.2" | ||
"should": "^6.0.3", | ||
"standard": "^3.11.1" | ||
}, | ||
"dependencies": { | ||
"bluebird": "^2.9.25", | ||
"bluebird": "^2.9.26", | ||
"chalk": "^1.0.0", | ||
"commander": "^2.8.1", | ||
"is-my-json-valid": "^2.10.1" | ||
"is-my-json-valid": "^2.12.0" | ||
} | ||
} |
@@ -179,3 +179,3 @@ # HAR Validator [![version][npm-version]][npm-url] [![License][npm-license]][license-url] | ||
- **data**: `Object` *(Required)* | ||
a [entry](http://www.softwareishard.com/blog/har-12-spec/#entries) object | ||
an [entry](http://www.softwareishard.com/blog/har-12-spec/#entries) object | ||
@@ -182,0 +182,0 @@ - **callback**: `Function` |
@@ -23,3 +23,3 @@ 'use strict' | ||
if (!cb) { | ||
return validate.errors ? false : true | ||
return !validate.errors > 0 | ||
} else { | ||
@@ -26,0 +26,0 @@ return cb(validate.errors ? new ValidationError(validate.errors) : null, valid) |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
22464
7
1
Updatedbluebird@^2.9.26
Updatedis-my-json-valid@^2.12.0