@@ -1391,13 +1391,13 @@ An invalid or unknown file encoding was passed.
1391
1391
<a id =" ERR_INVALID_PACKAGE_CONFIG " ></a >
1392
1392
### ` ERR_INVALID_PACKAGE_CONFIG `
1393
1393
1394
- An invalid ` package.json ` file failed parsing.
1394
+ An invalid [ ` package.json ` ] [ ] file was found which failed parsing.
1395
1395
1396
1396
<a id =" ERR_INVALID_PACKAGE_TARGET " ></a >
1397
1397
### ` ERR_INVALID_PACKAGE_TARGET `
1398
1398
1399
- The ` package.json ` [ exports] [ ] field contains an invalid target mapping value
1400
- for the attempted module resolution.
1399
+ The ` package.json ` [ ` " exports" ` ] [ ] field contains an invalid target mapping
1400
+ value for the attempted module resolution.
1401
1401
1402
1402
<a id =" ERR_INVALID_PERFORMANCE_MARK " ></a >
1403
1403
### ` ERR_INVALID_PERFORMANCE_MARK `
@@ -1712,13 +1712,13 @@ A given value is out of the accepted range.
1712
1712
<a id =" ERR_PACKAGE_IMPORT_NOT_DEFINED " ></a >
1713
1713
### ` ERR_PACKAGE_IMPORT_NOT_DEFINED `
1714
1714
1715
- The ` package.json ` [ "imports" field ] [ ] does not define the given internal
1715
+ The ` package.json ` [ ` "imports" ` ] [ ] field does not define the given internal
1716
1716
package specifier mapping.
1717
1717
1718
1718
<a id =" ERR_PACKAGE_PATH_NOT_EXPORTED " ></a >
1719
1719
### ` ERR_PACKAGE_PATH_NOT_EXPORTED `
1720
1720
1721
- The ` package.json ` [ exports] [ ] field does not export the requested subpath.
1721
+ The ` package.json ` [ ` " exports" ` ] [ ] field does not export the requested subpath.
1722
1722
Because exports are encapsulated, private internal modules that are not exported
1723
1723
cannot be imported through the package resolution, unless using an absolute URL.
1724
1724
@@ -2074,7 +2074,7 @@ signal (such as [`subprocess.kill()`][]).
2074
2074
2075
2075
` import ` a directory URL is unsupported. Instead,
2076
2076
[ self-reference a package using its name] [ ] and [ define a custom subpath] [ ] in
2077
- the ` "exports" ` field of the ` package.json ` file.
2077
+ the [ ` "exports" ` ] [ ] field of the [ ` package.json ` ] [ ] file.
2078
2078
2079
2079
<!-- eslint-skip -->
2080
2080
``` js
@@ -2560,7 +2560,8 @@ closed.
2560
2560
[ crypto digest algorithm ] : crypto.html#crypto_crypto_gethashes
2561
2561
[ domains ] : domain.html
2562
2562
[ event emitter-based ] : events.html#events_class_eventemitter
2563
- [ exports ] : packages.html#packages_package_entry_points
2563
+ [ `package.json` ] : packages.html#packages_node_js_package_json_field_definitions
2564
+ [ `"exports"` ] : packages.html#packages_exports
2564
2565
[ file descriptors ] : https://en.wikipedia.org/wiki/File_descriptor
2565
2566
[ policy ] : policy.html
2566
2567
[ stream-based ] : stream.html
@@ -2570,4 +2571,4 @@ closed.
2570
2571
[ vm ] : vm.html
2571
2572
[ self-reference a package using its name ] : packages.html#packages_self_referencing_a_package_using_its_name
2572
2573
[ define a custom subpath ] : packages.html#packages_subpath_exports
2573
- [ "imports" field ] : packages.html#packages_internal_package_imports
2574
+ [ ` "imports"` ] : packages.html#packages_imports
0 commit comments