We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2a3a9b8 commit 4bd8e0eCopy full SHA for 4bd8e0e
doc/api/esm.md
@@ -979,7 +979,7 @@ async function getPackageType(url) {
979
// Compose a file path to a package.json in the same directory,
980
// which may or may not exist
981
const packagePath = resolvePath(dir, 'package.json');
982
- // Try to read the possibly non-existant package.json
+ // Try to read the possibly nonexistent package.json
983
const type = await readFile(packagePath, { encoding: 'utf8' })
984
.then((filestring) => JSON.parse(filestring).type)
985
.catch((err) => {
0 commit comments