
Security News
The Hidden Blast Radius of the Axios Compromise
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.
Convenience method to wrap json-schema validation into a single function.
The single API method exported: isValid(schema, data), does three things:
/**
* Provides a convenience interface to validate a data object
* against a dereferenced schema object.
*
* Throws a SchemaError if either the schema or data is not valid.
* SchemaError provides an `errors` property, detailing individual
* violations.
*
* @async
* @param schema schema to validate data against
* @param data data to validate
* @returns Promise<boolean>
*/
export declare const isValid: (schema: any, data?: any) => Promise<boolean>;
Usage: data-check [options]
Options:
-V, --version output the version number
-d, --data <data> data to validate {json, yaml}
-s, --schema <schema> schema to use for validation {json, yaml}
-h, --help output usage information
Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.
Bugs, PRs, comments, suggestions welcomed!
FAQs
Convenience API/CLI to dereference a json-schema and validate data
We found that data-check demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.

Research
A supply chain attack on Axios introduced a malicious dependency, plain-crypto-js@4.2.1, published minutes earlier and absent from the project’s GitHub releases.

Research
Malicious versions of the Telnyx Python SDK on PyPI delivered credential-stealing malware via a multi-stage supply chain attack.