Skip to content

Commit 02244d2

Browse files
committed
Typos
1 parent af5ed74 commit 02244d2

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,7 @@ to execute without an `unsafe-eval` Content Security Policy.
297297
We expect a future proposal to introduce `import.now` or `import.sync` as a
298298
mechanism for synchronously growing the module graph and executing a module.
299299
If so, `ModuleSource` handlers would need a corresponding synchronous import
300-
hook that may not return a promise.
300+
hook that must not return a promise.
301301

302302
# Design Rationales
303303

@@ -310,14 +310,14 @@ source at hand to create the corresponding `Module` to be returned. If
310310

311311
Since the `importHook` is only triggered via the kicker (`import(instance)`),
312312
going async there has no implications whatsoever.
313-
In prior iterations of this, the user was responsible for loop thru the
314-
dependencies, and prepare the instance before kicking the next phase, that's
315-
not longer the case here, where the level of control on the different phases is
316-
limited to the invocation of the `importHook`.
313+
In prior iterations of this, the user was responsible for looping thru the
314+
dependencies, and preparing the instance before kicking the next phase.
315+
That's no longer the case here, where the level of control on the different
316+
phases is limited to the invocation of the `importHook`.
317317

318318
### Can cycles be represented?
319319

320-
Yes, `importHook` can return a `Module` that was either `import()` already or
320+
Yes, `importHook` can return a `Module` that was either `import()`ed already or
321321
was returned by an `importHook` already.
322322

323323
The `import.source` behavior introduced in [ESM source phase

0 commit comments

Comments
 (0)