Skip to content

Commit 7e56e3d

Browse files
TrottMylesBorins
authored andcommittedApr 3, 2020
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. Backport-PR-URL: #32610 PR-URL: #32457 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Myles Borins <myles.borins@gmail.com>
1 parent 61f44c9 commit 7e56e3d

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
@@ -535,7 +535,7 @@ would be usable by any version of Node.js, since `import` can refer to CommonJS
535535
files; but it would not provide any of the advantages of using ES module syntax.
536536

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

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

1365-
This is obviously less performant than transpiling source files before running
1365+
This is less performant than transpiling source files before running
13661366
Node.js; a transpiler loader should only be used for development and testing
13671367
purposes.
13681368

0 commit comments

Comments
 (0)
Please sign in to comment.