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 — doc: make minor improvements to module.md · nodejs/node@1cf9934

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • doc/api
    • module.md
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎doc/api/module.md‎

Copy file name to clipboardExpand all lines: doc/api/module.md
+6-6Lines changed: 6 additions & 6 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -150,10 +150,10 @@ added:
150150
should be fetched.
151151
152152
The `error` instance should be passed as the second parameter to `findSourceMap`
153-
in exceptional flows, e.g., when an overridden
153+
in exceptional flows, such as when an overridden
154154
[`Error.prepareStackTrace(error, trace)`][] is invoked. Modules are not added to
155-
the module cache until they are successfully loaded, in these cases source maps
156-
will be associated with the `error` instance along with the `path`.
155+
the module cache until they are successfully loaded. In these cases, source maps
156+
are associated with the `error` instance along with the `path`.
157157
158158
### Class: `module.SourceMap`
159159
<!-- YAML
@@ -200,14 +200,14 @@ consists of the following keys:
200200
* originalLine: {number}
201201
* originalColumn: {number}
202202
203+
[CommonJS]: modules.html
204+
[ES Modules]: esm.html
203205
[Source map v3 format]: https://sourcemaps.info/spec.html#h.mofvlxcwqzej
204206
[`--enable-source-maps`]: cli.html#cli_enable_source_maps
205207
[`Error.prepareStackTrace(error, trace)`]: https://v8.dev/docs/stack-trace-api#customizing-stack-traces
206208
[`NODE_V8_COVERAGE=dir`]: cli.html#cli_node_v8_coverage_dir
207209
[`SourceMap`]: #module_class_module_sourcemap
208210
[`createRequire()`]: #module_module_createrequire_filename
211+
[`module`]: modules.html#modules_the_module_object
209212
[module wrapper]: modules_cjs.html#modules_cjs_the_module_wrapper
210213
[source map include directives]: https://sourcemaps.info/spec.html#h.lmz475t4mvbx
211-
[`module`]: modules.html#modules_the_module_object
212-
[CommonJS]: modules.html
213-
[ES Modules]: esm.html

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.