class-validator 0.13.1
Decorator-based property validation for classes.
class-validator@0.13.1 was published on 2021-01-14. Its manifest declares 3 runtime dependencies and 0 peer requirements. Type declarations are bundled according to the package metadata. No Node.js engine requirement is declared in this manifest.
All class-validator versions · Permanent reference to 0.13.1 · Latest release
Package specifications
| Version | 0.13.1 |
|---|---|
| License declaration | MIT |
| Published | 2021-01-14T04:48:23.041Z |
| Node.js requirement | Not declared |
| Type declarations | Bundled declarations |
| Runtime dependency count | 3 |
| Peer requirement count | 0 |
| Optional dependency count | 0 |
| Minified size | Measurement not available yet |
| Minified + gzip | Measurement not available yet |
| Unpacked distribution size | 3666.30 KiB |
| Published file count | 910 |
| Package type | Not declared |
| ES module entry | ./esm5/index.js |
| Default entry | ./cjs/index.js |
| Side effects declaration | false |
| Direct advisories | 1 |
| Resolved graph dependencies | 3 |
| Repository stars | 11845 |
| Repository forks | 847 |
Install class-validator 0.13.1
npm install class-validator@0.13.1 pnpm add class-validator@0.13.1 yarn add class-validator@0.13.1
Runtime dependencies
- validator ^13.5.2
- @types/validator ^13.1.3
- libphonenumber-js ^1.9.7
Peer requirements
- None declared
Optional dependencies
- None declared
Resolved dependency graph
This deps.dev graph describes a generic 64-bit Linux environment, not your application lockfile.
- @types/validator@13.15.10 — direct
- libphonenumber-js@1.13.15 — direct
- validator@13.15.35 — direct
How to interpret the specifications
Bundlephobia measurements use its standard package build and may exclude peer dependencies. Unpacked npm distribution size includes shipped files and is a different measurement. Module declarations do not prove tree-shaking or runtime compatibility.
Advisories apply to this package version directly; transitive dependencies need separate inspection. Repository signals describe the whole repository and are current observations, including on historical-version pages.
Known direct advisories
OpenSSF repository checks
Provider assessment: 2026-08-24T00:00:00Z. These are repository checks, not a jsL maintenance score.
| Code-Review | 5/10 — Found 10/20 approved changesets -- score normalized to 5 |
|---|---|
| Maintained | 0/10 — 0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0 |
| Dangerous-Workflow | 10/10 — no dangerous workflow patterns detected |
| Token-Permissions | 0/10 — detected GitHub workflow tokens with excessive permissions |
| Binary-Artifacts | 10/10 — no binaries found in the repo |
| Pinned-Dependencies | 4/10 — dependency not pinned by hash detected -- score normalized to 4 |
| CII-Best-Practices | 0/10 — no effort to earn an OpenSSF best practices badge detected |
| License | 10/10 — license file detected |
| Fuzzing | 0/10 — project is not fuzzed |
| Packaging | 10/10 — packaging workflow detected |
| Security-Policy | 0/10 — security policy file not detected |
| Branch-Protection | 8/10 — branch protection is not maximal on development and all release branches |
| SAST | 0/10 — SAST tool is not run on all commits -- score normalized to 0 |
Evidence and freshness
- https://registry.npmjs.org/class-validator/0.13.1 — retrieved 2026-10-29T14:51:42.427Z
- https://api.deps.dev/v3/projects/github.com%2Ftypestack%2Fclass-validator — retrieved 2026-10-29T10:44:01.042Z
- https://api.deps.dev/v3/systems/npm/packages/class-validator/versions/0.13.1 — retrieved 2026-10-29T14:51:42.950Z
- https://api.deps.dev/v3/systems/npm/packages/class-validator/versions/0.13.1:dependencies — retrieved 2026-10-29T14:51:42.976Z