serialize-javascript 5.0.0
Serialize JavaScript to a superset of JSON that includes regular expressions and functions.
serialize-javascript@5.0.0 was published on 2020-09-09. Its manifest declares 1 runtime dependency and 0 peer requirements. Bundled type declarations are not declared in the inspected metadata. No Node.js engine requirement is declared in this manifest.
All serialize-javascript versions · Permanent reference to 5.0.0 · Latest release
Package specifications
| Version | 5.0.0 |
|---|---|
| License declaration | BSD-3-Clause |
| Published | 2020-09-09T12:32:59.915Z |
| Node.js requirement | Not declared |
| Type declarations | Not declared |
| Runtime dependency count | 1 |
| Peer requirement count | 0 |
| Optional dependency count | 0 |
| Minified size | Measurement not available yet |
| Minified + gzip | Measurement not available yet |
| Unpacked distribution size | 16.49 KiB |
| Published file count | 6 |
| Package type | Not declared |
| ES module entry | Not declared |
| Default entry | index.js |
| Side effects declaration | Not declared |
| Direct advisories | 3 |
| Resolved graph dependencies | 2 |
| Repository stars | 2926 |
| Repository forks | 217 |
Install serialize-javascript 5.0.0
npm install serialize-javascript@5.0.0 pnpm add serialize-javascript@5.0.0 yarn add serialize-javascript@5.0.0
Runtime dependencies
- randombytes ^2.1.0
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.
- randombytes@2.1.0 — direct
- safe-buffer@5.2.1 — indirect
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 | 2/10 — Found 6/21 approved changesets -- score normalized to 2 |
|---|---|
| Binary-Artifacts | 10/10 — no binaries found in the repo |
| Dangerous-Workflow | 10/10 — no dangerous workflow patterns detected |
| Maintained | 5/10 — 6 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 5 |
| Pinned-Dependencies | 3/10 — dependency not pinned by hash detected -- score normalized to 3 |
| Token-Permissions | 0/10 — detected GitHub workflow tokens with excessive permissions |
| CII-Best-Practices | 0/10 — no effort to earn an OpenSSF best practices badge detected |
| Fuzzing | 0/10 — project is not fuzzed |
| License | 9/10 — license file detected |
| Branch-Protection | 3/10 — branch protection is not maximal on development and all release branches |
| Security-Policy | 0/10 — security policy file not detected |
| SAST | 0/10 — SAST tool is not run on all commits -- score normalized to 0 |
Evidence and freshness
- https://registry.npmjs.org/serialize-javascript/5.0.0 — retrieved 2026-10-29T11:43:22.605Z
- https://api.deps.dev/v3/projects/github.com%2Fyahoo%2Fserialize-javascript — retrieved 2026-10-29T05:58:33.080Z
- https://api.deps.dev/v3/systems/npm/packages/serialize-javascript/versions/5.0.0 — retrieved 2026-10-29T11:43:23.317Z
- https://api.deps.dev/v3/systems/npm/packages/serialize-javascript/versions/5.0.0:dependencies — retrieved 2026-10-29T11:43:23.336Z