Socket
Socket
Sign inDemoInstall

har-validator

Package Overview
Dependencies
Maintainers
1
Versions
53
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

har-validator - npm Package Compare versions

Comparing version 1.7.0 to 1.7.1

27

package.json
{
"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)

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc