@@ -667,7 +667,7 @@ of Node.js applications.
667
667
668
668
> Stability: 1 - Experimental
669
669
670
- **Note: This API is currently being redesigned and will still change.**
670
+ > This API is currently being redesigned and will still change.
671
671
672
672
<!-- type=misc -->
673
673
@@ -688,7 +688,7 @@ changes:
688
688
description: Add support for import assertions.
689
689
-->
690
690
691
- > Note: The loaders API is being redesigned. This hook may disappear or its
691
+ > The loaders API is being redesigned. This hook may disappear or its
692
692
> signature may change. Do not rely on the API described below.
693
693
694
694
* ` specifier` {string}
@@ -761,10 +761,10 @@ export async function resolve(specifier, context, defaultResolve) {
761
761
762
762
#### ` load(url, context, defaultLoad)`
763
763
764
- > Note : The loaders API is being redesigned . This hook may disappear or its
764
+ > The loaders API is being redesigned . This hook may disappear or its
765
765
> signature may change . Do not rely on the API described below.
766
766
767
- > Note : In a previous version of this API , this was split across 3 separate, now
767
+ > In a previous version of this API , this was split across 3 separate, now
768
768
> deprecated, hooks (` getFormat` , ` getSource` , and ` transformSource` ).
769
769
770
770
* ` url` {string}
@@ -802,7 +802,7 @@ overcome in the future.
802
802
> are incompatible . Attempting to use them together will result in an empty
803
803
> object from the import . This may be addressed in the future.
804
804
805
- > Note : These types all correspond to classes defined in ECMAScript.
805
+ > These types all correspond to classes defined in ECMAScript.
806
806
807
807
* The specific [` ArrayBuffer` ][] object is a [` SharedArrayBuffer` ][].
808
808
* The specific [` TypedArray` ][] object is a [` Uint8Array` ][].
@@ -852,10 +852,10 @@ source to a supported one (see [Examples](#examples) below).
852
852
853
853
#### ` globalPreload()`
854
854
855
- > Note : The loaders API is being redesigned . This hook may disappear or its
855
+ > The loaders API is being redesigned . This hook may disappear or its
856
856
> signature may change . Do not rely on the API described below.
857
857
858
- > Note : In a previous version of this API , this hook was named
858
+ > In a previous version of this API , this hook was named
859
859
> ` getGlobalPreloadCode` .
860
860
861
861
* Returns: {string}
@@ -1465,6 +1465,10 @@ _internal_, _conditions_)
1465
1465
1466
1466
> Stability: 1 - Experimental
1467
1467
1468
+ > Do not rely on this flag . We plan to remove it once the
1469
+ > [Loaders API ][] has advanced to the point that equivalent functionality can
1470
+ > be achieved via custom loaders.
1471
+
1468
1472
The current specifier resolution does not support all default behavior of
1469
1473
the CommonJS loader . One of the behavior differences is automatic resolution
1470
1474
of file extensions and the ability to import directories that have an index
@@ -1497,6 +1501,7 @@ success!
1497
1501
[Import Assertions]: #import -assertions
1498
1502
[Import Assertions proposal]: https: // github.com/tc39/proposal-import-assertions
1499
1503
[JSON modules]: #json- modules
1504
+ [Loaders API ]: #loaders
1500
1505
[Node .js Module Resolution Algorithm]: #resolver- algorithm- specification
1501
1506
[Terminology]: #terminology
1502
1507
[URL ]: https: // url.spec.whatwg.org/
0 commit comments