Skip to content

Commit e5fa661

Browse files
aduh95Mesteery
andauthored
Apply suggestions from code review
Co-authored-by: Mestery <mestery@pm.me>
1 parent 9277bac commit e5fa661

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/internal/modules/esm/resolve.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ const DEFAULT_CONDITIONS = ObjectFreeze(['node', 'import', ...userConditions]);
6060
const DEFAULT_CONDITIONS_SET = new SafeSet(DEFAULT_CONDITIONS);
6161

6262
/**
63-
* @typedef {string|string[]|Record<string,unknown>} Exports
63+
* @typedef {string | string[] | Record<string, unknown>} Exports
6464
* @typedef {'module' | 'commonjs'} PackageType
6565
* @typedef {{
6666
* exports?: ExportConfig;
@@ -725,7 +725,7 @@ function getPackageType(url) {
725725
/**
726726
* @param {string} specifier
727727
* @param {string | URL | undefined} base
728-
* @returns {{packageName: string, packageSubpath: string, isScoped: boolean}}
728+
* @returns {{ packageName: string, packageSubpath: string, isScoped: boolean }}
729729
*/
730730
function parsePackageName(specifier, base) {
731731
let separatorIndex = StringPrototypeIndexOf(specifier, '/');

0 commit comments

Comments
 (0)