+ /**
+ * `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
+ */
+ function statSync(path) {
+ // throwIfNoEntry will be ignored by older versions of node
+ return _fs.statSync(path, { throwIfNoEntry: false });
+ }