@vitejs/plugin-legacy 5.4.2

Vite's default browser support baseline is [Native ESM](https://caniuse.com/es6-module), [native ESM dynamic import](https://caniuse.com/es6-module-dynamic-import), and [`import.meta`](https://caniuse.com/mdn-javascript_operators_import_meta). This plugin

@vitejs/plugin-legacy@5.4.2 was published on 2024-08-15. Its manifest declares 8 runtime dependencies and 2 peer requirements. Type declarations are bundled according to the package metadata. The declared Node.js requirement is ^18.0.0 || >=20.0.0.

All @vitejs/plugin-legacy versions · Permanent reference to 5.4.2 · View npm registry JSON · Latest release

Package specifications

Version5.4.2
License declarationMIT
Published2024-08-15T13:44:33.335Z
Node.js requirement^18.0.0 || >=20.0.0
Type declarationsBundled declarations
Runtime dependency count8
Peer requirement count2
Optional dependency count0
Minified sizeMeasurement not available yet
Minified + gzipMeasurement not available yet
Unpacked distribution size67.15 KiB
Published file count8
Package typeNot declared
ES module entry./dist/index.mjs
Default entry./dist/index.cjs
Side effects declarationNot declared
Direct advisories0
Resolved graph dependencies141
Repository stars83643
Repository forks9034

Install @vitejs/plugin-legacy 5.4.2

npm install @vitejs/plugin-legacy@5.4.2
pnpm add @vitejs/plugin-legacy@5.4.2
yarn add @vitejs/plugin-legacy@5.4.2

Runtime dependencies

Peer requirements

Optional dependencies

  • None declared

Resolved dependency graph

This deps.dev graph describes a generic 64-bit Linux environment, not your application lockfile.

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.

OpenSSF repository checks

Provider assessment: 2026-08-24T00:00:00Z. These are repository checks, not a jsL maintenance score.

Maintained10/10 — 30 commit(s) and 14 issue activity found in the last 90 days -- score normalized to 10
Dangerous-Workflow10/10 — no dangerous workflow patterns detected
Code-Review7/10 — Found 19/27 approved changesets -- score normalized to 7
Security-Policy10/10 — security policy file detected
CII-Best-Practices0/10 — no effort to earn an OpenSSF best practices badge detected
Token-Permissions7/10 — detected GitHub workflow tokens with excessive permissions
Binary-Artifacts1/10 — binaries present in source code
License10/10 — license file detected
Pinned-Dependencies6/10 — dependency not pinned by hash detected -- score normalized to 6
Fuzzing0/10 — project is not fuzzed
SAST10/10 — SAST tool is run on all commits

Evidence and freshness