bruno icon indicating copy to clipboard operation
bruno copied to clipboard

ESM module Support for Bruno

Open ganesh-bruno opened this issue 1 year ago • 1 comments

I have checked the following:

  • [X] I've searched existing issues and found nothing related to my issue.

Describe the feature you want to add

Currently, Bruno only supports CommonJS (CJS) modules. To stay aligned with modern JavaScript development practices, it would be beneficial to add support for ECMAScript Modules (ESM).

Mockups or Images of the feature

NA

ganesh-bruno avatar Nov 25 '24 05:11 ganesh-bruno

I agree, this would be helpful.

We've ran into this because we have developed a helper library and scenario building lib that we pull into bruno. That whole library has to use CommonJS modules to load properly.

johan-lejdung avatar Apr 22 '25 09:04 johan-lejdung

100%, sooner or later bruno's power of scripting start to fall apart as packages switching to ESM versions only.

centur avatar Oct 06 '25 12:10 centur

100%, sooner or later bruno's power of scripting start to fall apart as packages switching to ESM versions only.

Faker has dropped commonjs support.

SimonAM avatar Nov 19 '25 20:11 SimonAM

We’re planning to tackle this in Q1 2026. In the meantime, if anyone in the community is interested in implementing ESM support, we’d be happy to review and merge a PR.

helloanoop avatar Nov 20 '25 07:11 helloanoop