Skip to content

Commit 43b7067

Browse files
committed
fixup! doc: add warning for esm specifier resolution
1 parent 440672b commit 43b7067

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

doc/api/esm.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -677,7 +677,7 @@ of Node.js applications.
677677
678678
> Stability: 1 - Experimental
679679
680-
**Note: This API is currently being redesigned and will still change.**
680+
> This API is currently being redesigned and will still change.
681681
682682
<!-- type=misc -->
683683
@@ -700,7 +700,7 @@ changes:
700700
description: Add support for import assertions.
701701
-->
702702
703-
> Note: The loaders API is being redesigned. This hook may disappear or its
703+
> The loaders API is being redesigned. This hook may disappear or its
704704
> signature may change. Do not rely on the API described below.
705705
706706
* `specifier` {string}
@@ -773,10 +773,10 @@ export async function resolve(specifier, context, defaultResolve) {
773773

774774
#### `load(url, context, defaultLoad)`
775775

776-
> Note: The loaders API is being redesigned. This hook may disappear or its
776+
> The loaders API is being redesigned. This hook may disappear or its
777777
> signature may change. Do not rely on the API described below.
778778

779-
> Note: In a previous version of this API, this was split across 3 separate, now
779+
> In a previous version of this API, this was split across 3 separate, now
780780
> deprecated, hooks (`getFormat`, `getSource`, and `transformSource`).
781781

782782
* `url` {string}
@@ -814,7 +814,7 @@ overcome in the future.
814814
> are incompatible. Attempting to use them together will result in an empty
815815
> object from the import. This may be addressed in the future.
816816

817-
> Note: These types all correspond to classes defined in ECMAScript.
817+
> These types all correspond to classes defined in ECMAScript.
818818

819819
* The specific [`ArrayBuffer`][] object is a [`SharedArrayBuffer`][].
820820
* The specific [`TypedArray`][] object is a [`Uint8Array`][].
@@ -864,10 +864,10 @@ source to a supported one (see [Examples](#examples) below).
864864

865865
#### `globalPreload()`
866866

867-
> Note: The loaders API is being redesigned. This hook may disappear or its
867+
> The loaders API is being redesigned. This hook may disappear or its
868868
> signature may change. Do not rely on the API described below.
869869

870-
> Note: In a previous version of this API, this hook was named
870+
> In a previous version of this API, this hook was named
871871
> `getGlobalPreloadCode`.
872872

873873
* Returns: {string}
@@ -1456,9 +1456,9 @@ _internal_, _conditions_)
14561456

14571457
> Stability: 1 - Experimental
14581458

1459-
> **Note: Do not rely on this flag. We plan to remove it once the
1459+
> Do not rely on this flag. We plan to remove it once the
14601460
> [Loaders API][] has advanced to the point that equivalent functionality can
1461-
> be achieved via custom loaders.**
1461+
> be achieved via custom loaders.
14621462

14631463
The current specifier resolution does not support all default behavior of
14641464
the CommonJS loader. One of the behavior differences is automatic resolution

0 commit comments

Comments
 (0)