@@ -672,7 +672,7 @@ of Node.js applications.
672
672
673
673
> Stability: 1 - Experimental
674
674
675
- **Note: This API is currently being redesigned and will still change.**
675
+ > This API is currently being redesigned and will still change.
676
676
677
677
<!-- type=misc -->
678
678
@@ -693,7 +693,7 @@ changes:
693
693
description: Add support for import assertions.
694
694
-->
695
695
696
- > Note: The loaders API is being redesigned. This hook may disappear or its
696
+ > The loaders API is being redesigned. This hook may disappear or its
697
697
> signature may change. Do not rely on the API described below.
698
698
699
699
* ` specifier` {string}
@@ -766,10 +766,10 @@ export async function resolve(specifier, context, defaultResolve) {
766
766
767
767
#### ` load(url, context, defaultLoad)`
768
768
769
- > Note : The loaders API is being redesigned . This hook may disappear or its
769
+ > The loaders API is being redesigned . This hook may disappear or its
770
770
> signature may change . Do not rely on the API described below.
771
771
772
- > Note : In a previous version of this API , this was split across 3 separate, now
772
+ > In a previous version of this API , this was split across 3 separate, now
773
773
> deprecated, hooks (` getFormat` , ` getSource` , and ` transformSource` ).
774
774
775
775
* ` url` {string}
@@ -807,7 +807,7 @@ overcome in the future.
807
807
> are incompatible . Attempting to use them together will result in an empty
808
808
> object from the import . This may be addressed in the future.
809
809
810
- > Note : These types all correspond to classes defined in ECMAScript.
810
+ > These types all correspond to classes defined in ECMAScript.
811
811
812
812
* The specific [` ArrayBuffer` ][] object is a [` SharedArrayBuffer` ][].
813
813
* The specific [` TypedArray` ][] object is a [` Uint8Array` ][].
@@ -857,10 +857,10 @@ source to a supported one (see [Examples](#examples) below).
857
857
858
858
#### ` globalPreload()`
859
859
860
- > Note : The loaders API is being redesigned . This hook may disappear or its
860
+ > The loaders API is being redesigned . This hook may disappear or its
861
861
> signature may change . Do not rely on the API described below.
862
862
863
- > Note : In a previous version of this API , this hook was named
863
+ > In a previous version of this API , this hook was named
864
864
> ` getGlobalPreloadCode` .
865
865
866
866
* Returns: {string}
@@ -1449,6 +1449,10 @@ _internal_, _conditions_)
1449
1449
1450
1450
> Stability: 1 - Experimental
1451
1451
1452
+ > Do not rely on this flag. We plan to remove it once the
1453
+ > [Loaders API][] has advanced to the point that equivalent functionality can
1454
+ > be achieved via custom loaders.
1455
+
1452
1456
The current specifier resolution does not support all default behavior of
1453
1457
the CommonJS loader. One of the behavior differences is automatic resolution
1454
1458
of file extensions and the ability to import directories that have an index
@@ -1481,6 +1485,7 @@ success!
1481
1485
[Import Assertions]: #import-assertions
1482
1486
[Import Assertions proposal]: https:// github.com/tc39/proposal-import-assertions
1483
1487
[JSON modules]: #json-modules
1488
+ [Loaders API]: #loaders
1484
1489
[Node.js Module Resolution Algorithm]: #resolver-algorithm-specification
1485
1490
[Terminology]: #terminology
1486
1491
[URL]: https:// url.spec.whatwg.org/
0 commit comments