Visitar URL original
feat: ESM loader overhaul — Web/Node parity, ns:module dev surface, HTTP module loader by NathanWalker · Pull Request #1965 · NativeScript/android · GitHub
Skip to content
Merged
Changes from 1 commit
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
0e3513d
feat(runtime): ESM resolver hardening and async module-graph loader
NathanWalker Aug 13, 2026
5b080c4
feat(runtime): HMR dev-sessions and a hardened HTTP session loader
NathanWalker Aug 13, 2026
d7b20a5
feat(runtime): expose the dev-loader surface as the ns:module builtin
NathanWalker Aug 13, 2026
b19dbe8
fix(worker): surface entry-script load errors and buffer early messages
NathanWalker Aug 13, 2026
d5d180c
test: cover the ESM loader, remote-module security, and worker behavior
NathanWalker Aug 13, 2026
8faf670
refactor(runtime): drop the require() optional-module placeholder
NathanWalker Aug 13, 2026
b6d3bac
refactor(runtime): rename HMRSupport to HttpLoader and fold DevFlags …
NathanWalker Aug 13, 2026
4e58028
fix(runtime): harden HTTP fetch, extend names, and worker drain retries
NathanWalker Aug 13, 2026
5fa23eb
ci: build
NathanWalker Aug 15, 2026
593dc7f
refactor(runtime): move per-isolate loader state onto RuntimeState slots
edusperoni Aug 19, 2026
781816a
test: add an in-app HTTP module fixture server
edusperoni Aug 19, 2026
f125072
perf(runtime): resolve module referrers through an identity-hash index
edusperoni Aug 19, 2026
76321ed
feat(runtime): category-scoped debug logging behind NS_DEBUG
edusperoni Aug 19, 2026
1bf9852
refactor(runtime): make the ESM resolver compile-and-register only
edusperoni Aug 19, 2026
2d7f3fe
feat(runtime): scheme-agnostic module graph discovery
edusperoni Aug 19, 2026
d56e86f
feat(runtime): one response classifier and a web-strict MIME gate for…
edusperoni Aug 19, 2026
13a6dc9
fix(runtime): clear dynamic-import routing state before settling waiters
edusperoni Aug 19, 2026
9fb3559
feat(runtime): extract module evaluation policies; require(esm) refus…
edusperoni Aug 19, 2026
b0d537a
feat(runtime): Node-parity exports interop for require(esm)
edusperoni Aug 19, 2026
062e9be
feat(runtime): createRequire and createPumpingRequire on ns:module, n…
edusperoni Aug 19, 2026
3cccda2
feat(runtime): import-map scopes, validation, and atomic installation
edusperoni Aug 19, 2026
9771032
refactor(runtime): workers copy the loader vocabulary at spawn
edusperoni Aug 19, 2026
73ebaab
refactor(runtime): drop hardcoded client vocabulary from the loader
edusperoni Aug 19, 2026
332c28c
refactor(runtime): derive boot state natively; setDevBootComplete rem…
edusperoni Aug 19, 2026
fd8ceec
fix(worker): enable the message queue on entry settle, like the web
edusperoni Aug 19, 2026
bfd1682
feat(runtime): ES module app entries and a boot backstop that holds f…
edusperoni Aug 19, 2026
52fdeef
fix(runtime): fail cleanly on an unreadable ES module entry
edusperoni Aug 19, 2026
55ca718
test: port the loader suite - HTTP ESM, createRequire, interop, workers
edusperoni Aug 19, 2026
e3ab969
docs: sync ns-builtin-modules.md with the loader overhaul
edusperoni Aug 19, 2026
6711447
refactor(runtime): reserve the g_ prefix for actual process globals
edusperoni Aug 19, 2026
006de1a
fix(runtime): loader input validation, worker entry resolution, revie…
edusperoni Aug 19, 2026
95c8bae
docs: sync ns-builtin-modules with the iOS module-reference rewrite
edusperoni Aug 19, 2026
da6cf99
fix(runtime): never poll the looper from inside one of its fd callbacks
edusperoni Aug 19, 2026
c167db4
perf(runtime): wait on the event loop's fds instead of sleeping in pumps
edusperoni Aug 19, 2026
47333f4
feat(runtime): one pump primitive that drains due JS timers
edusperoni Aug 20, 2026
d4e98c6
fix(runtime): route pumps through PumpUntil and close the evaluation …
edusperoni Aug 20, 2026
253eef6
fix(runtime): gate the pump's looper-equivalent drain on pumpRunLoop
edusperoni Aug 20, 2026
2ed5343
fix(runtime): JNI hygiene in the sync fetch's failure paths
edusperoni Aug 20, 2026
02044d6
fix(runtime): generate named Java proxies at runtime when not precomp…
NathanWalker Aug 20, 2026
362c826
Merge branch 'main' into feat/hmr-dev-sessions
NathanWalker Aug 20, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Merge branch 'main' into feat/hmr-dev-sessions
  • Loading branch information
NathanWalker authored Aug 20, 2026
commit 362c8265813364de6be98cbc3fd57ab3389be976

This merge commit was added into this branch cleanly.

There are no new changes to show, but you can still view the diff.