Skip to content

v0.5.10

Choose a tag to compare

@ziggle-dev ziggle-dev released this 31 Aug 05:26
· 9 commits to main since this release
bb9f8b3

🐛 Bug Fixes

ESM/CJS Compatibility Fix

  • Fixed critical issue where clanker upgrade failed with ESM modules containing top-level await
  • Changed wrapper script generation to use import() instead of require()
  • Resolves Error [ERR_REQUIRE_ASYNC_MODULE] when running upgrade command

📝 Changes

  • Updated self-updater to properly handle ES modules
  • Added error handling for module loading failures
  • Improved compatibility with modern JavaScript module systems

🔧 Technical Details

The upgrade command was failing because the wrapper script used require() which cannot load ES modules with top-level await. This has been fixed by using dynamic import() which properly handles all module types.

📦 Installation

npm install -g @ziggler/clanker@0.5.10

Or upgrade existing installation:

clanker upgrade