GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — lib: fix typos in esm loader comments · nodejs/node@12c5154

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • lib/internal/modules/esm
    • loader.js
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎lib/internal/modules/esm/loader.js‎

Copy file name to clipboardExpand all lines: lib/internal/modules/esm/loader.js
+3-3Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -286,16 +286,16 @@ class ModuleLoader {
286286
let job = this.loadCache.get(url, kImplicitTypeAttribute);
287287
// This module job is already created:
288288
// 1. If it was loaded by `require()` before, at this point the instantiation
289-
// is already completed and we can check the whether it is in a cycle
290-
// (in that case the module status is kEvaluaing), and whether the
289+
// is already completed and we can check whether it is in a cycle
290+
// (in that case the module status is kEvaluating), and whether the
291291
// required graph is synchronous.
292292
// 2. If it was loaded by `import` before, only allow it if it's already evaluated
293293
// to forbid cycles.
294294
// TODO(joyeecheung): ensure that imported synchronous graphs are evaluated
295295
// synchronously so that any previously imported synchronous graph is already
296296
// evaluated at this point.
297297
// TODO(joyeecheung): add something similar to CJS loader's requireStack to help
298-
// debugging the the problematic links in the graph for import.
298+
// debugging the problematic links in the graph for import.
299299
debug('importSyncForRequire', parent?.filename, '->', filename, job);
300300
if (job !== undefined) {
301301
mod[kRequiredModuleSymbol] = job.module;

0 commit comments

Comments
0 (0)
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.