file-selector 2.1.2
Convert DataTransfer object to a list of File objects
file-selector@2.1.2 was published on 2024-11-27. Its manifest declares 1 runtime dependency and 0 peer requirements. Type declarations are bundled according to the package metadata. The declared Node.js requirement is >= 12.
All file-selector versions · Permanent reference to 2.1.2 · Latest release
Package specifications
| Version | 2.1.2 |
|---|---|
| License declaration | MIT |
| Published | 2024-11-27T11:09:04.240Z |
| Node.js requirement | >= 12 |
| Type declarations | Bundled declarations |
| 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 | 608.84 KiB |
| Published file count | 25 |
| Package type | Not declared |
| ES module entry | ./dist/es2015/index.js |
| Default entry | ./dist/index.js |
| Side effects declaration | Not declared |
| Direct advisories | 0 |
| Resolved graph dependencies | 1 |
| Repository stars | 104 |
| Repository forks | 32 |
Install file-selector 2.1.2
npm install file-selector@2.1.2 pnpm add file-selector@2.1.2 yarn add file-selector@2.1.2
Runtime dependencies
- tslib ^2.7.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.
- tslib@2.8.1 — 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.
OpenSSF repository checks
Provider assessment: 2026-08-24T00:00:00Z. These are repository checks, not a jsL maintenance score.
| Code-Review | 0/10 — Found 0/6 approved changesets -- score normalized to 0 |
|---|---|
| Binary-Artifacts | 10/10 — no binaries found in the repo |
| Dangerous-Workflow | 10/10 — no dangerous workflow patterns detected |
| Maintained | 10/10 — 30 commit(s) and 2 issue activity found in the last 90 days -- score normalized to 10 |
| Pinned-Dependencies | 6/10 — dependency not pinned by hash detected -- score normalized to 6 |
| CII-Best-Practices | 0/10 — no effort to earn an OpenSSF best practices badge detected |
| Token-Permissions | 0/10 — detected GitHub workflow tokens with excessive permissions |
| Fuzzing | 0/10 — project is not fuzzed |
| License | 10/10 — license file detected |
| Branch-Protection | 1/10 — branch protection is not maximal on development and all release branches |
| Security-Policy | 0/10 — security policy file not detected |
| Packaging | 10/10 — packaging workflow detected |
| SAST | 10/10 — SAST tool is run on all commits |
Evidence and freshness
- https://registry.npmjs.org/file-selector/2.1.2 — retrieved 2026-10-29T10:33:18.030Z
- https://api.deps.dev/v3/systems/npm/packages/file-selector/versions/2.1.2:dependencies — retrieved 2026-10-29T10:33:18.563Z
- https://api.deps.dev/v3/systems/npm/packages/file-selector/versions/2.1.2 — retrieved 2026-10-29T10:33:18.549Z (stale snapshot; refresh pending)
- https://api.deps.dev/v3/projects/github.com%2Freact-dropzone%2Ffile-selector — retrieved 2026-10-29T08:40:18.981Z