(path, options)
| 1017 | // this function, so non-strings can be rejected by underlying implementation. |
| 1018 | // Public API has to validate input and throw appropriate error. |
| 1019 | function pathToFileURL(path, options) { |
| 1020 | validateString(path, 'path'); |
| 1021 | |
| 1022 | return _pathToFileURL(path, options); |
| 1023 | } |
| 1024 | |
| 1025 | module.exports = { |
| 1026 | // Original API |
no outgoing calls
searching dependent graphs…