Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 899ba3d

Browse filesBrowse files
daeyeondanielleadams
authored andcommitted
doc: disambiguate native module to addon
Signed-off-by: Daeyeon Jeong <daeyeon.dev@gmail.com> PR-URL: #45673 Refs: #44135 Reviewed-By: Chengzhong Wu <legendecas@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
1 parent 5000243 commit 899ba3d
Copy full SHA for 899ba3d

File tree

Expand file treeCollapse file tree

1 file changed

+3
-2
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+3
-2
lines changed
Open diff view settings
Collapse file

‎doc/api/esm.md‎

Copy file name to clipboardExpand all lines: doc/api/esm.md
+3-2Lines changed: 3 additions & 2 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -485,9 +485,9 @@ These CommonJS variables are not available in ES modules.
485485
`__filename` and `__dirname` use cases can be replicated via
486486
[`import.meta.url`][].
487487
488-
#### No Native Module Loading
488+
#### No Addon Loading
489489
490-
Native modules are not currently supported with ES module imports.
490+
[Addons][] are not currently supported with ES module imports.
491491
492492
They can instead be loaded with [`module.createRequire()`][] or
493493
[`process.dlopen`][].
@@ -1539,6 +1539,7 @@ success!
15391539
<!-- Note: The cjs-module-lexer link should be kept in-sync with the deps version -->
15401540
15411541
[6.1.7 Array Index]: https://tc39.es/ecma262/#integer-index
1542+
[Addons]: addons.md
15421543
[CommonJS]: modules.md
15431544
[Conditional exports]: packages.md#conditional-exports
15441545
[Core modules]: modules.md#core-modules

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.