j4k0xb
j4k0xb
Related extensions: - https://github.com/meganrogge/template-string-converter (regex search/replace, many bugs) - https://github.com/zardoy/vscode-string-converter-pro (AST based)
duplicate: https://github.com/microsoft/monaco-editor/issues/4071
this isnt a monaco issue TS is structurally typed and only compares properties, but `Test` has none e.g. with `class Test { value: T; }` it would error see https://www.totaltypescript.com/the-empty-object-type-in-typescript
duplicate: #4402 idk why monaco still hasnt published a new release
maybe the code can be refactored to avoid cloning altogether. like here it shouldn't make a difference if it uses the original node or a copy: https://github.com/relative/synchrony/blob/721cf5dcd410f9c603484f21ceaae1f2a07deaff/src/transformers/simplify.ts#L225-L231 the only place...
based on my tests structuredClone is a fair bit slower than json parse/stringify, but as long as it fixes the issue it shouldn't matter too much but there are some...
> But can i make it harder to decode? obfuscate strings with e.g. RC4 or `String.fromCharCode(65, 66, 67)` and then compile with https://github.com/bytenode/bytenode not impossible to deobfuscate but very hard...
> It fails every fifth or so video that loads: https://github.com/revanced/revanced-integrations/blob/bca96cc8b49db956a5b69ca425e626b45d80dbf2/app/src/main/java/app/revanced/integrations/returnyoutubedislike/ReturnYouTubeDislike.java#L158-L164 This is run for every created component so the debug log is *not* a fail In your first example...
that already exists 
seems to be because of this error > [-] Unable to apply changes to AST: Error: Script is broken.