Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

k6-summary 0.1.0 is obfuscated thus we cannot reference methods like jUnit and textSummary in our code #128

Open
pjotal opened this issue May 30, 2024 · 2 comments
Assignees

Comments

@pjotal
Copy link

pjotal commented May 30, 2024

k6-summary v0.0.4 was fine, code was not obfuscated and thus we could use jUnit and textSummary without issues.
starting on v0.1.0, the file is now obfuscated which made the consumption of this file unusable as the function names does not match anymore.

could you please generate a v0.1.1 which is not obfuscated?

NOTE: noticed the issue in k6-utils v1.3.0 and v1.4.0.

@olegbespalov
Copy link
Contributor

Hi @pjotal

the file is now obfuscated which made the consumption of this file unusable as the function names does not match anymore.

Could you please elaborate a bit on that thinking: Does that mean that exported methods jUnit and generateTextSummary don't work as expected? Or, in your code, do you use some other internal methods from the sources?

@vJoeyz
Copy link

vJoeyz commented Jun 27, 2024

I'm having the same problem with k6-utils, v1.2.0 works fine.

Edit: it does seem to work when I bundle, even though Typescript complains that

TS2305: Module '@external/k6-utils/1.4.0/index' has no exported member randomIntBetween

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants