rc-switch

switch ui component for react

rc-switch@4.1.0 was published on 2023-04-23. Its manifest declares 3 runtime dependencies and 2 peer requirements. Type declarations are bundled according to the package metadata. No Node.js engine requirement is declared in this manifest.

All rc-switch versions · Permanent reference to 4.1.0

Package specifications

Version4.1.0
License declarationMIT
Published2023-04-23T12:05:09.604Z
Node.js requirementNot declared
Type declarationsBundled declarations
Runtime dependency count3
Peer requirement count2
Optional dependency count0
Minified sizeMeasurement not available yet
Minified + gzipMeasurement not available yet
Unpacked distribution size20.06 KiB
Published file count8
Package typeNot declared
ES module entry./es/index
Default entrylib/index
Side effects declarationNot declared
Direct advisories0
Resolved graph dependencies4
Repository stars196
Repository forks81

Install rc-switch 4.1.0

npm install rc-switch@4.1.0
pnpm add rc-switch@4.1.0
yarn add rc-switch@4.1.0

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.

Maintained5/10 — 7 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 5
Code-Review4/10 — Found 9/21 approved changesets -- score normalized to 4
Binary-Artifacts10/10 — no binaries found in the repo
Dangerous-Workflow10/10 — no dangerous workflow patterns detected
Pinned-Dependencies3/10 — dependency not pinned by hash detected -- score normalized to 3
Token-Permissions9/10 — detected GitHub workflow tokens with excessive permissions
CII-Best-Practices0/10 — no effort to earn an OpenSSF best practices badge detected
Fuzzing0/10 — project is not fuzzed
License10/10 — license file detected
Branch-Protection0/10 — branch protection not enabled on development/release branches
Security-Policy0/10 — security policy file not detected
SAST2/10 — SAST tool is not run on all commits -- score normalized to 2

Evidence and freshness