Skip to content

Commit 6168bd5

Browse files
TrottMylesBorins
authored andcommitted
doc: remove unnecessary "obvious(ly)" modifiers in esm.md
Remove "obvious" and "obviously" in two places in esm.md. It may be obvious to some, but likely not everyone or else it probably wouldn't be worth mentioning/documenting. PR-URL: #32457 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Myles Borins <[email protected]>
1 parent 9fda912 commit 6168bd5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/api/esm.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -518,7 +518,7 @@ would be usable by any version of Node.js, since `import` can refer to CommonJS
518518
files; but it would not provide any of the advantages of using ES module syntax.
519519

520520
A package could also switch from CommonJS to ES module syntax in a breaking
521-
change version bump. This has the obvious disadvantage that the newest version
521+
change version bump. This has the disadvantage that the newest version
522522
of the package would only be usable in ES module-supporting versions of Node.js.
523523

524524
Every pattern has tradeoffs, but there are two broad approaches that satisfy the
@@ -1341,7 +1341,7 @@ JavaScript using the [`transformSource` hook][]. Before that hook gets called,
13411341
however, other hooks need to tell Node.js not to throw an error on unknown file
13421342
types; and to tell Node.js how to load this new file type.
13431343

1344-
This is obviously less performant than transpiling source files before running
1344+
This is less performant than transpiling source files before running
13451345
Node.js; a transpiler loader should only be used for development and testing
13461346
purposes.
13471347

0 commit comments

Comments
 (0)