Skip to content

Conversation

@nswbmw
Copy link

@nswbmw nswbmw commented Dec 21, 2018

No description provided.

@sanex3339
Copy link
Contributor

sanex3339 commented Apr 25, 2020

@michaelficarra what should I do that this PR has been merged? Add tests?

My project requires the support of bigint
javascript-obfuscator/javascript-obfuscator#588


// BigInt, eg: 1n
if (typeof expr.bigint === 'string') {
return expr.raw;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The raw field is not guaranteed to be there.

Suggested change
return expr.raw;
return expr.bigint + 'n';

@michaelficarra
Copy link
Member

@sanex3339 Yes please. This PR would need tests before being merged.

@sanex3339
Copy link
Contributor

@michaelficarra Tests added in #421.
This PR can be closed.

@alexandertrefz
Copy link

alexandertrefz commented May 26, 2022

@michaelficarra Is there anything blocking this?
Nevermind, the feature seems to have landed in master, just awaiting release.

@nswbmw nswbmw closed this by deleting the head repository Nov 8, 2022
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.

4 participants