j4k0xb / webcrack

Deobfuscate obfuscator.io, unminify and unpack bundled javascript
https://webcrack.netlify.app
MIT License
663 stars 72 forks source link

Migrate to `verbatimModuleSyntax` in TypeScript config #43

Closed mochaaP closed 6 months ago

mochaaP commented 6 months ago

As the title suggests. It should be an easy fix, since the only thing left is to mark type only imports with ESLint.

j4k0xb commented 6 months ago

What does enabling this setting change/fix? Afaik it only affects emitting js with tsc, but esbuild is used for that instead

mochaaP commented 6 months ago

I'm using untranspiled .ts files directly from this repo (to access unexported symbols), and tsc emit errors since I enabled that option.

j4k0xb commented 6 months ago

Done 👍🏻 But in the future I think it would be better to export the symbols instead of relying on the raw .ts files (could have breaking changes at any time) Do you need specific ones? https://github.com/HarukaKinen/delance isn't available anymore

mochaaP commented 6 months ago

Do you need specific ones? [redacted] isn't available anymore

I migrated that to https://sr.ht/~self. :)