Home / npm packages / vitest
Every file of vitest@5.0.3 as published on npm: 103 files, 2.8 MB. Search them by exact text or regex, in milliseconds.
It uses: new Function(), child_process, process.env, the fs module, http / https, fetch(), XMLHttpRequest, crypto, WebAssembly.
| API | In vitest | |
|---|---|---|
| eval() runs a string as JavaScript | No | Who does |
| new Function() builds a function from a string, like eval (with or without new) | Yes: 1 file e.g. dist/chunks/index.C4tKZ0yW.js | See the lines |
| child_process starts other programs | Yes: 9 files e.g. dist/chunks/cac.DfDGTQ9W.js | See the lines |
| process.env reads environment variables | Yes: 16 files e.g. dist/config.cjs | See the lines |
| the fs module reads and writes files | Yes: 12 files e.g. dist/chunks/cli-api.C4x4GGip.js | See the lines |
| http / https makes or serves HTTP requests with Node's own modules | Yes: 2 files e.g. dist/chunks/index.DpLw24bj.js | See the lines |
| fetch() makes HTTP requests | Yes: 4 files e.g. dist/chunks/index.DpLw24bj.js | See the lines |
| XMLHttpRequest makes HTTP requests the old browser way | Yes: 1 file e.g. dist/chunks/index.k8L_ZRzq.js | See the lines |
| crypto hashes, encrypts or makes random numbers | Yes: 1 file e.g. dist/chunks/index.DpLw24bj.js | See the lines |
| WebAssembly loads WebAssembly code | Yes: 1 file e.g. dist/chunks/vm.vTyZj_02.js | See the lines |
| 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.
Version 5.0.3 of vitest publishes 103 files of source, 2.8 MB in all, not counting images, fonts and source maps.
No: vitest doesn't call eval() anywhere in its published files.
Yes: vitest uses child_process in 9 of its files.
No: vitest 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.