
Security News
Risky Biz Podcast: Making Reachability Analysis Work in Real-World Codebases
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.
@henkel_dx_ipaas/schema-validation-package
Advanced tools
NestJs module with a caching layer for validating schemas taken from a schema registry API
Schema Validation Package is a simple NestJS package (module) that allows you to validate your data against a schema which is get from a Schema Registry API and cached locally.
Add to your app.module.ts
the following import:
@Module({
imports: [
SchemaValidationModule,
],
controllers: [],
providers: [],
})
In your services or guards, use the SchemaValidationService
to validate your data against a schema.
The package is exposing a SchemaValidationModule
which is a NestJS module that should be imported in your application. This module provides a SchemaValidationService
which is a service that can be used to validate data against a schema.
SchemaValidationService
exposes a single method called validateAgainstSchema
with the following signature:
async validateAgainstSchema(schemaName: string, objectToValidate: unknown, schemaVersion?: string): { isValid: boolean, errors: Record<string, string> }
The package is using the following environment variables:
- SCHEMA_API_URL - URL of the Schema Registry API
- SCHEMA_API_SUBSCRIPTION_KEY - Subscription key for the Schema Registry API
- SCHEMA_VALIDATION_CACHE_TTL - TTL of the cached schema in milliseconds
FAQs
NestJs module with a caching layer for validating schemas taken from a schema registry API
The npm package @henkel_dx_ipaas/schema-validation-package receives a total of 0 weekly downloads. As such, @henkel_dx_ipaas/schema-validation-package popularity was classified as not popular.
We found that @henkel_dx_ipaas/schema-validation-package demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 open source maintainers 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
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.
Security News
/Research
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.
Security News
CISA’s 2025 draft SBOM guidance adds new fields like hashes, licenses, and tool metadata to make software inventories more actionable.