mirror of
https://github.com/javascript-obfuscator/javascript-obfuscator
synced 2026-08-09 12:42:29 +00:00
Don't obfuscate import.meta.* (#1335)
This commit is contained in:
@@ -806,7 +806,7 @@ describe('JavaScriptObfuscator', () => {
|
||||
});
|
||||
|
||||
describe('import.meta support', () => {
|
||||
const regExp: RegExp = /console\['log']\(import\.meta\['url']\);/;
|
||||
const regExp: RegExp = /console\['log']\(import\.meta\.url\);/;
|
||||
|
||||
let obfuscatedCode: string;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user