Home / npm packages / @testing-library/react-hooks
Every file of @testing-library/react-hooks@8.0.1 as published on npm: 99 files, 138 KB. Search them by exact text or regex, in milliseconds.
It uses: process.env.
| API | In @testing-library/react-hooks | |
|---|---|---|
| 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 | No | Who does |
| process.env reads environment variables | Yes: 10 files e.g. lib/core/cleanup.js | See the lines |
| the fs module reads and writes files | No | Who does |
| 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 | No | Who does |
| 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 |
|---|---|
README.md | 33 KB |
src/__tests__/asyncHook.test.ts | 7.3 KB |
src/__tests__/errorHook.test.ts | 4.4 KB |
src/__tests__/cleanup.test.ts | 4.4 KB |
lib/server/pure.js | 4.0 KB |
lib/dom/pure.js | 3.3 KB |
src/__tests__/utils/runForRenderers.ts | 3.1 KB |
package.json | 2.8 KB |
lib/core/index.js | 2.7 KB |
lib/helpers/createTestHarness.js | 2.5 KB |
src/core/asyncUtils.ts | 2.5 KB |
src/__tests__/useEffect.test.ts | 2.5 KB |
src/__tests__/autoDetectRenderer.test.ts | 2.4 KB |
lib/core/asyncUtils.js | 2.4 KB |
src/__tests__/errorSuppression.test.ts | 2.4 KB |
src/core/index.ts | 2.3 KB |
lib/types/index.d.ts | 2.3 KB |
lib/native/pure.js | 2.2 KB |
src/types/index.ts | 2.2 KB |
lib/pure.js | 2.0 KB |
src/__tests__/resultHistory.test.ts | 1.9 KB |
src/__tests__/suspenseHook.test.ts | 1.9 KB |
src/__tests__/useContext.test.tsx | 1.8 KB |
src/server/pure.ts | 1.8 KB |
src/__tests__/useMemo.test.ts | 1.5 KB |
lib/core/console.js | 1.4 KB |
src/core/console.ts | 1.3 KB |
src/__tests__/autoCleanup.test.ts | 1.3 KB |
src/helpers/createTestHarness.tsx | 1.3 KB |
src/pure.ts | 1.3 KB |
Version 8.0.1 of @testing-library/react-hooks publishes 99 files of source, 138 KB in all, not counting images, fonts and source maps.
No: @testing-library/react-hooks doesn't call eval() anywhere in its published files.
No: @testing-library/react-hooks doesn't use child_process anywhere in its published files.
No: @testing-library/react-hooks 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.