Commit aaa3ba5
authored
fix(module): complete Node 26 parity for node:module (#7312)
Implement the Node 26 Module/CommonJS surface, cache lifecycle, cycles,
JSON/CJS loading, parent/children links, and package resolution. Add
loader-hook ordering, SourceMap lookup/validation, TypeScript stripping,
and compile-cache/source-map semantics. Preserve builtin default/static
identity and syncBuiltinESMExports() behavior.
Closes #67691 parent 4f61ea0 commit aaa3ba5
47 files changed
Lines changed: 5130 additions & 2057 deletions
File tree
- changelog.d
- crates
- perry-codegen/src
- collectors
- expr
- lower_call
- native_table/node_core
- native
- runtime_decls
- perry-hir/src
- dynamic_import
- lower
- expr_call
- native_module
- perry-runtime/src
- module_require
- object
- field_get_set
- global_this
- native_module_dispatch
- native_module
- callable_exports
- process
- node_module
- symbol
- url
- perry/src/commands/compile
- cjs_wrap
- collect_modules
- scripts
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| |||
0 commit comments