Skip to content

Conversation

@kev-daniell
Copy link

@kev-daniell kev-daniell commented Apr 8, 2025

  • Solved LavaMoat ESM compatibility by transpiling ESM code to CJS at runtime using esbuild
  • Updated policy parsing to also support “import” statements to allow LavaMoat to walk the dependency graph of ESM packages.
  • Solved package exports compatibility by using enhanced-resolve as a fallback.

@kev-daniell kev-daniell force-pushed the feat/lavamoat-node-esm-support branch from 8ec4f49 to ce02335 Compare April 12, 2025 19:32
@kev-daniell kev-daniell force-pushed the feat/lavamoat-node-esm-support branch from 191172f to ee5cfc0 Compare April 14, 2025 18:40
@kev-daniell kev-daniell merged commit 52be93e into main Apr 14, 2025
12 of 13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant