Home / npm packages / react-native
Every file of react-native@0.87.1 as published on npm: 4,425 files, 15.2 MB (the numbers below cover its first 3,000). Search them by exact text or regex, in milliseconds.
It uses: eval(), new Function(), child_process, process.env, the fs module, fetch(), XMLHttpRequest, crypto.
| API | In react-native | |
|---|---|---|
| eval() runs a string as JavaScript | Yes: 15 files e.g. ReactCommon/react/bridging/tests/BridgingTest.cpp | See the lines |
| new Function() builds a function from a string, like eval (with or without new) | Yes: 3 files e.g. ReactCommon/react/bridging/Convert.h | See the lines |
| child_process starts other programs | Yes: 12 files e.g. scripts/bundle.js | See the lines |
| process.env reads environment variables | Yes: 13 files e.g. Libraries/Animated/nodes/AnimatedProps.js | See the lines |
| the fs module reads and writes files | Yes: 33 files e.g. scripts/bundle.js | See the lines |
| http / https makes or serves HTTP requests with Node's own modules | No | Who does |
| fetch() makes HTTP requests | Yes: 8 files e.g. flow/bom.js.flow | See the lines |
| XMLHttpRequest makes HTTP requests the old browser way | Yes: 12 files e.g. flow/bom.js.flow | See the lines |
| crypto hashes, encrypts or makes random numbers | Yes: 3 files e.g. scripts/spm/flavored-frameworks.js | See the lines |
| 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.
Version 0.87.1 of react-native publishes 4,425 files of source, 15.2 MB in all (the numbers below cover its first 3,000), not counting images, fonts and source maps.
Yes: react-native calls eval() in 15 of its files.
Yes: react-native uses child_process in 12 of its files.
No: react-native 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.