Home / npm packages / @opentelemetry/resources
Every file of @opentelemetry/resources@2.11.0 as published on npm: 195 files, 232 KB. Search them by exact text or regex, in milliseconds.
It uses: child_process, process.env, the fs module, crypto.
| API | In @opentelemetry/resources | |
|---|---|---|
| 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 | Yes: 6 files e.g. build/esm/detectors/platform/node/machine-id/execAsync.js | See the lines |
| process.env reads environment variables | Yes: 3 files e.g. build/esm/detectors/platform/node/machine-id/getMachineId-win.js | See the lines |
| the fs module reads and writes files | Yes: 6 files e.g. build/esm/detectors/platform/node/machine-id/getMachineId-bsd.js | See the lines |
| 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 | Yes: 3 files e.g. build/esm/detectors/platform/node/ServiceInstanceIdDetector.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 2.11.0 of @opentelemetry/resources publishes 195 files of source, 232 KB in all, not counting images, fonts and source maps.
No: @opentelemetry/resources doesn't call eval() anywhere in its published files.
Yes: @opentelemetry/resources uses child_process in 6 of its files.
No: @opentelemetry/resources 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.