Home / npm packages / webpack
Every file of webpack@5.111.1 as published on npm: 887 files, 10.8 MB. Search them by exact text or regex, in milliseconds.
It uses: eval(), new Function(), child_process, process.env, the fs module, http / https, fetch(), crypto, WebAssembly.
| API | In webpack | |
|---|---|---|
| eval() runs a string as JavaScript | Yes: 7 files e.g. lib/EvalDevToolModulePlugin.js | See the lines |
| new Function() builds a function from a string, like eval (with or without new) | Yes: 2 files e.g. lib/util/binarySearchBounds.js | See the lines |
| child_process starts other programs | Yes: 2 files e.g. lib/node/nodeBuiltins.js | See the lines |
| process.env reads environment variables | Yes: 10 files e.g. lib/config/browserslistTargetHandler.js | See the lines |
| the fs module reads and writes files | Yes: 2 files e.g. lib/config/defaults.js | See the lines |
| http / https makes or serves HTTP requests with Node's own modules | Yes: 3 files e.g. lib/schemes/HttpUriPlugin.js | See the lines |
| fetch() makes HTTP requests | Yes: 8 files e.g. lib/web/FetchCompileAsyncWasmPlugin.js | See the lines |
| XMLHttpRequest makes HTTP requests the old browser way | No | Who does |
| crypto hashes, encrypts or makes random numbers | Yes: 2 files e.g. lib/util/createHash.js | See the lines |
| WebAssembly loads WebAssembly code | Yes: 11 files e.g. lib/wasm-async/AsyncWasmCompileRuntimeModule.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.111.1 of webpack publishes 887 files of source, 10.8 MB in all, not counting images, fonts and source maps.
Yes: webpack calls eval() in 7 of its files.
Yes: webpack uses child_process in 2 of its files.
No: webpack 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.