We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a5a3a93 commit f0ecb6eCopy full SHA for f0ecb6e
doc/api/esm.md
@@ -974,7 +974,7 @@ async function getPackageType(url) {
974
// Compose a file path to a package.json in the same directory,
975
// which may or may not exist
976
const packagePath = resolvePath(dir, 'package.json');
977
- // Try to read the possibly non-existant package.json
+ // Try to read the possibly nonexistent package.json
978
const type = await readFile(packagePath, { encoding: 'utf8' })
979
.then((filestring) => JSON.parse(filestring).type)
980
.catch((err) => {
0 commit comments