har-validator
Advanced tools
Comparing version 3.0.0 to 3.1.0
@@ -13,2 +13,3 @@ 'use strict'; | ||
exports.creator = creator; | ||
exports.browser = browser; | ||
exports.entry = entry; | ||
@@ -90,2 +91,6 @@ exports.log = log; | ||
function browser(data, cb) { | ||
return validator(schemas.browser, data, cb); | ||
} | ||
function entry(data, cb) { | ||
@@ -92,0 +97,0 @@ return validator(schemas.entry, data, cb); |
@@ -13,2 +13,3 @@ 'use strict'; | ||
exports.creator = creator; | ||
exports.browser = browser; | ||
exports.entry = entry; | ||
@@ -90,2 +91,6 @@ exports.log = log; | ||
function browser(data, cb) { | ||
return validator(schemas.browser, data, cb); | ||
} | ||
function entry(data, cb) { | ||
@@ -92,0 +97,0 @@ return validator(schemas.entry, data, cb); |
@@ -13,2 +13,3 @@ 'use strict'; | ||
exports.creator = creator; | ||
exports.browser = browser; | ||
exports.entry = entry; | ||
@@ -87,2 +88,6 @@ exports.log = log; | ||
function browser(data, cb) { | ||
return validator(schemas.browser, data, cb); | ||
} | ||
function entry(data, cb) { | ||
@@ -89,0 +94,0 @@ return validator(schemas.entry, data, cb); |
@@ -13,2 +13,3 @@ 'use strict'; | ||
exports.creator = creator; | ||
exports.browser = browser; | ||
exports.entry = entry; | ||
@@ -87,2 +88,6 @@ exports.log = log; | ||
function browser(data, cb) { | ||
return validator(schemas.browser, data, cb); | ||
} | ||
function entry(data, cb) { | ||
@@ -89,0 +94,0 @@ return validator(schemas.entry, data, cb); |
{ | ||
"version": "3.0.0", | ||
"version": "3.1.0", | ||
"name": "har-validator", | ||
@@ -4,0 +4,0 @@ "description": "Extremely fast HTTP Archive (HAR) validator using JSON Schema", |
@@ -51,2 +51,6 @@ import * as schemas from './schemas' | ||
export function browser (data, cb) { | ||
return validator(schemas.browser, data, cb) | ||
} | ||
export function entry (data, cb) { | ||
@@ -53,0 +57,0 @@ return validator(schemas.entry, data, cb) |
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
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
69021
1939