| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 7dc3b74 commit b4941cf
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -150,10 +150,10 @@ added: | |||
| 150 | 150 | should be fetched. | |
| 151 | 151 | ||
| 152 | 152 | 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 | ||
| 154 | 154 | [`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`. | ||
| 157 | 157 | ||
| 158 | 158 | ### Class: `module.SourceMap` | |
| 159 | 159 | <!-- YAML | |
@@ -200,14 +200,14 @@ consists of the following keys: | |||
| 200 | 200 | * originalLine: {number} | |
| 201 | 201 | * originalColumn: {number} | |
| 202 | 202 | ||
| 203 | + [CommonJS]: modules.html | ||
| 204 | + [ES Modules]: esm.html | ||
| 205 | + [Source map v3 format]: https://sourcemaps.info/spec.html#h.mofvlxcwqzej | ||
| 206 | + [`SourceMap`]: #module_class_module_sourcemap | ||
| 203 | 207 | [`createRequire()`]: #module_module_createrequire_filename | |
| 208 | + [`module`]: modules.html#modules_the_module_object | ||
| 204 | 209 | [module wrapper]: modules_cjs.html#modules_cjs_the_module_wrapper | |
| 205 | 210 | [source map include directives]: https://sourcemaps.info/spec.html#h.lmz475t4mvbx | |
| 206 | 211 | [`--enable-source-maps`]: cli.html#cli_enable_source_maps | |
| 207 | 212 | [`NODE_V8_COVERAGE=dir`]: cli.html#cli_node_v8_coverage_dir | |
| 208 | 213 | [`Error.prepareStackTrace(error, trace)`]: https://v8.dev/docs/stack-trace-api#customizing-stack-traces | |
| 209 | - [`SourceMap`]: #module_class_module_sourcemap | ||
| 210 | - [Source map v3 format]: https://sourcemaps.info/spec.html#h.mofvlxcwqzej | ||
| 211 | - [`module`]: modules.html#modules_the_module_object | ||
| 212 | - [CommonJS]: modules.html | ||
| 213 | - [ES Modules]: esm.html | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments