* Resolves the path of a given `require` specifier, following symlinks. * @param {string} requestPath The `require` specifier * @returns {string}
(requestPath)
| 62 | * @returns {string} |
| 63 | */ |
| 64 | function toRealPath(requestPath) { |
| 65 | return fs.realpathSync(requestPath, { |
| 66 | [internalFS.realpathCacheKey]: realpathCache, |
| 67 | }); |
| 68 | } |
| 69 | |
| 70 | /** @type {Set<string>} */ |
| 71 | let cjsConditions; |
no test coverage detected
searching dependent graphs…