react-switch 1.1.0
Draggable toggle-switch component for react
react-switch@1.1.0 was published on 2017-09-26. Its manifest declares 3 runtime dependencies and 3 peer requirements. Bundled type declarations are not declared in the inspected metadata. No Node.js engine requirement is declared in this manifest.
All react-switch versions · Permanent reference to 1.1.0 · Latest release
Package specifications
| Version | 1.1.0 |
|---|---|
| License declaration | MIT |
| Published | 2017-09-26T09:01:55.706Z |
| Node.js requirement | Not declared |
| Type declarations | Not declared |
| Runtime dependency count | 3 |
| Peer requirement count | 3 |
| Optional dependency count | 0 |
| Minified size | Measurement not available yet |
| Minified + gzip | Measurement not available yet |
| Unpacked distribution size | Not supplied |
| Published file count | Not supplied |
| Package type | Not declared |
| ES module entry | Not declared |
| Default entry | dist/index.js |
| Side effects declaration | Not declared |
| Direct advisories | 0 |
| Resolved graph dependencies | 23 |
| Repository stars | 1339 |
| Repository forks | 100 |
Install react-switch 1.1.0
npm install react-switch@1.1.0 pnpm add react-switch@1.1.0 yarn add react-switch@1.1.0
Runtime dependencies
- react ^15.6.1
- react-dom ^15.6.1
- react-draggable ^3.0.3
Peer requirements
- react >=15
- react-dom >=15
- prop-types >=15
Optional dependencies
- None declared
Resolved dependency graph
This deps.dev graph describes a generic 64-bit Linux environment, not your application lockfile.
- asap@2.0.6 — indirect
- classnames@2.5.1 — indirect
- core-js@1.2.7 — indirect
- create-react-class@15.7.0 — indirect
- encoding@0.1.14 — indirect
- fbjs@0.8.18 — indirect
- iconv-lite@0.7.3 — indirect
- is-stream@1.1.0 — indirect
- isomorphic-fetch@2.2.1 — indirect
- js-tokens@4.0.0 — indirect
- loose-envify@1.4.0 — indirect
- node-fetch@1.7.3 — indirect
- object-assign@4.1.1 — indirect
- promise@7.3.1 — indirect
- prop-types@15.8.1 — indirect
- react@15.7.0 — direct
- react-dom@15.7.0 — direct
- react-draggable@3.3.2 — direct
- react-is@16.13.1 — indirect
- safer-buffer@2.1.2 — indirect
- setimmediate@1.0.5 — indirect
- ua-parser-js@0.7.41 — indirect
- whatwg-fetch@3.6.20 — 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.
OpenSSF repository checks
Provider assessment: 2026-08-24T00:00:00Z. These are repository checks, not a jsL maintenance score.
| Code-Review | 1/10 — Found 3/17 approved changesets -- score normalized to 1 |
|---|---|
| Maintained | 0/10 — 0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0 |
| Binary-Artifacts | 10/10 — no binaries found in the repo |
| CII-Best-Practices | 0/10 — no effort to earn an OpenSSF best practices badge detected |
| Security-Policy | 0/10 — security policy file not detected |
| Fuzzing | 0/10 — project is not fuzzed |
| License | 10/10 — license file detected |
| Branch-Protection | 0/10 — branch protection not enabled on development/release branches |
| SAST | 0/10 — SAST tool is not run on all commits -- score normalized to 0 |
Evidence and freshness
- https://registry.npmjs.org/react-switch/1.1.0 — retrieved 2026-10-29T13:18:29.324Z
- https://api.deps.dev/v3/projects/github.com%2Fmarkusenglund%2Freact-switch — retrieved 2026-10-29T10:56:13.994Z
- https://api.deps.dev/v3/systems/npm/packages/react-switch/versions/1.1.0:dependencies — retrieved 2026-10-29T13:18:29.950Z
- https://api.deps.dev/v3/systems/npm/packages/react-switch/versions/1.1.0 — retrieved 2026-10-29T13:18:29.946Z