* `throwIfNoEntry` was added so recently that it's not in the node types. * This helper encapsulates the mitigating usage of `any`. * See https://github.com/nodejs/node/pull/33716
(path)
| 7089 | * See https://github.com/nodejs/node/pull/33716 |
| 7090 | */ |
| 7091 | function statSync(path) { |
| 7092 | // throwIfNoEntry will be ignored by older versions of node |
| 7093 | return _fs.statSync(path, { throwIfNoEntry: false }); |
| 7094 | } |
| 7095 | /** |
| 7096 | * Uses the builtin inspector APIs to capture a CPU profile |
| 7097 | * See https://nodejs.org/api/inspector.html#inspector_example_usage for details |
no test coverage detected
searching dependent graphs…