Home / npm packages / promise
Every file of promise@8.3.0 as published on npm: 43 files, 109 KB. Search them by exact text or regex, in milliseconds.
It uses: new Function(), the fs module, crypto.
| API | In promise | |
|---|---|---|
| eval() runs a string as JavaScript | No | Who does |
| new Function() builds a function from a string, like eval (with or without new) | Yes: 4 files e.g. domains/node-extensions.js | See the lines |
| child_process starts other programs | No | Who does |
| process.env reads environment variables | No | Who does |
| the fs module reads and writes files | Yes: 2 files e.g. build.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: 1 file e.g. build.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.
| File | Size |
|---|---|
index.d.ts | 18 KB |
Readme.md | 12 KB |
src/core.js | 5.1 KB |
src/es6-extensions.js | 4.8 KB |
lib/core.js | 4.8 KB |
domains/core.js | 4.8 KB |
setimmediate/core.js | 4.8 KB |
domains/es6-extensions.js | 4.8 KB |
lib/es6-extensions.js | 4.8 KB |
setimmediate/es6-extensions.js | 4.8 KB |
domains/node-extensions.js | 3.3 KB |
lib/node-extensions.js | 3.3 KB |
src/node-extensions.js | 3.3 KB |
setimmediate/node-extensions.js | 3.3 KB |
src/rejection-tracking.js | 3.0 KB |
domains/rejection-tracking.js | 2.9 KB |
lib/rejection-tracking.js | 2.9 KB |
setimmediate/rejection-tracking.js | 2.9 KB |
build.js | 2.3 KB |
index.js.flow | 1.7 KB |
src/synchronous.js | 1.4 KB |
domains/synchronous.js | 1.4 KB |
lib/synchronous.js | 1.4 KB |
setimmediate/synchronous.js | 1.4 KB |
package.json | 1.1 KB |
LICENSE | 1.1 KB |
polyfill-done.js | 350 B |
domains/finally.js | 345 B |
lib/finally.js | 345 B |
setimmediate/finally.js | 345 B |
Version 8.3.0 of promise publishes 43 files of source, 109 KB in all, not counting images, fonts and source maps.
No: promise doesn't call eval() anywhere in its published files.
No: promise doesn't use child_process anywhere in its published files.
No: promise 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.