@@ -1357,13 +1357,13 @@ An invalid or unknown file encoding was passed.
1357
1357
<a id =" ERR_INVALID_PACKAGE_CONFIG " ></a >
1358
1358
### ` ERR_INVALID_PACKAGE_CONFIG `
1359
1359
1360
- An invalid ` package.json ` file was found which failed parsing.
1360
+ An invalid [ ` package.json ` ] [ ] file was found which failed parsing.
1361
1361
1362
1362
<a id =" ERR_INVALID_PACKAGE_TARGET " ></a >
1363
1363
### ` ERR_INVALID_PACKAGE_TARGET `
1364
1364
1365
- The ` package.json ` [ exports] [ ] field contains an invalid target mapping value
1366
- for the attempted module resolution.
1365
+ The ` package.json ` [ ` " exports" ` ] [ ] field contains an invalid target mapping
1366
+ value for the attempted module resolution.
1367
1367
1368
1368
<a id =" ERR_INVALID_PERFORMANCE_MARK " ></a >
1369
1369
### ` ERR_INVALID_PERFORMANCE_MARK `
@@ -1686,13 +1686,13 @@ A given value is out of the accepted range.
1686
1686
<a id =" ERR_PACKAGE_IMPORT_NOT_DEFINED " ></a >
1687
1687
### ` ERR_PACKAGE_IMPORT_NOT_DEFINED `
1688
1688
1689
- The ` package.json ` [ "imports" field ] [ ] does not define the given internal
1689
+ The ` package.json ` [ ` "imports" ` ] [ ] field does not define the given internal
1690
1690
package specifier mapping.
1691
1691
1692
1692
<a id =" ERR_PACKAGE_PATH_NOT_EXPORTED " ></a >
1693
1693
### ` ERR_PACKAGE_PATH_NOT_EXPORTED `
1694
1694
1695
- The ` package.json ` [ exports] [ ] field does not export the requested subpath.
1695
+ The ` package.json ` [ ` " exports" ` ] [ ] field does not export the requested subpath.
1696
1696
Because exports are encapsulated, private internal modules that are not exported
1697
1697
cannot be imported through the package resolution, unless using an absolute URL.
1698
1698
@@ -2057,7 +2057,7 @@ signal (such as [`subprocess.kill()`][]).
2057
2057
2058
2058
` import ` a directory URL is unsupported. Instead,
2059
2059
[ self-reference a package using its name] [ ] and [ define a custom subpath] [ ] in
2060
- the ` "exports" ` field of the ` package.json ` file.
2060
+ the [ ` "exports" ` ] [ ] field of the [ ` package.json ` ] [ ] file.
2061
2061
2062
2062
<!-- eslint-skip -->
2063
2063
``` js
@@ -2529,7 +2529,8 @@ closed.
2529
2529
[ crypto digest algorithm ] : crypto.html#crypto_crypto_gethashes
2530
2530
[ domains ] : domain.html
2531
2531
[ event emitter-based ] : events.html#events_class_eventemitter
2532
- [ exports ] : packages.html#packages_package_entry_points
2532
+ [ `package.json` ] : packages.html#packages_node_js_package_json_field_definitions
2533
+ [ `"exports"` ] : packages.html#packages_exports
2533
2534
[ file descriptors ] : https://en.wikipedia.org/wiki/File_descriptor
2534
2535
[ policy ] : policy.html
2535
2536
[ stream-based ] : stream.html
@@ -2539,4 +2540,4 @@ closed.
2539
2540
[ vm ] : vm.html
2540
2541
[ self-reference a package using its name ] : packages.html#packages_self_referencing_a_package_using_its_name
2541
2542
[ define a custom subpath ] : packages.html#packages_subpath_exports
2542
- [ "imports" field ] : packages.html#packages_internal_package_imports
2543
+ [ ` "imports"` ] : packages.html#packages_imports
0 commit comments