Home / npm packages / semver
Every file of semver@7.8.5 as published on npm: 53 files, 101 KB. Search them by exact text or regex, in milliseconds.
It uses: process.env.
| API | In semver | |
|---|---|---|
| eval() runs a string as JavaScript | No | Who does |
| new Function() builds a function from a string, like eval (with or without new) | No | Who does |
| child_process starts other programs | No | Who does |
| process.env reads environment variables | Yes: 1 file e.g. internal/debug.js | See the lines |
| the fs module reads and writes files | No | Who does |
| http / https makes or serves HTTP requests with Node's own modules | No | Who does |
| fetch() makes HTTP requests | No | Who does |
| XMLHttpRequest makes HTTP requests the old browser way | No | Who does |
| crypto hashes, encrypts or makes random numbers | No | Who does |
| WebAssembly loads WebAssembly code | No | Who does |
| document.cookie reads or writes browser cookies | No | Who does |
| install scripts runs a script when it's installed | No | Who does |
Exact matches in the published files, so a mention in a comment counts too: open the lines to check.
| File | Size |
|---|---|
README.md | 26 KB |
classes/range.js | 16 KB |
classes/semver.js | 9.9 KB |
internal/re.js | 8.1 KB |
ranges/subset.js | 7.5 KB |
bin/semver.js | 5.0 KB |
classes/comparator.js | 3.6 KB |
index.js | 2.7 KB |
ranges/outside.js | 2.2 KB |
functions/coerce.js | 2.0 KB |
package.json | 1.7 KB |
ranges/min-version.js | 1.5 KB |
functions/diff.js | 1.4 KB |
ranges/simplify.js | 1.4 KB |
functions/truncate.js | 1.0 KB |
functions/cmp.js | 961 B |
internal/constants.js | 873 B |
internal/lrucache.js | 802 B |
LICENSE | 765 B |
range.bnf | 702 B |
ranges/max-satisfying.js | 593 B |
ranges/min-satisfying.js | 591 B |
internal/identifiers.js | 525 B |
functions/inc.js | 478 B |
internal/parse-options.js | 338 B |
functions/parse.js | 331 B |
ranges/valid.js | 326 B |
ranges/to-comparators.js | 282 B |
functions/compare-build.js | 281 B |
functions/satisfies.js | 247 B |
Version 7.8.5 of semver publishes 53 files of source, 101 KB in all, not counting images, fonts and source maps.
No: semver doesn't call eval() anywhere in its published files.
No: semver doesn't use child_process anywhere in its published files.
No: semver has no preinstall, install or postinstall script in its package.json.
The same engine answers over your documents and repositories: exact text and regex, every match counted, from your code or your AI agent.