mirror of
https://github.com/javascript-obfuscator/javascript-obfuscator
synced 2026-08-09 12:42:29 +00:00
Version update to 4.1.0
This commit is contained in:
@@ -1,5 +1,9 @@
|
||||
Change Log
|
||||
|
||||
v4.1.0
|
||||
---
|
||||
* Add target `service-worker`
|
||||
|
||||
v4.0.2
|
||||
---
|
||||
* Add support for `node@18`
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "javascript-obfuscator",
|
||||
"version": "4.0.2",
|
||||
"version": "4.1.0",
|
||||
"description": "JavaScript obfuscator",
|
||||
"keywords": [
|
||||
"obfuscator",
|
||||
|
||||
@@ -2,5 +2,5 @@
|
||||
* @returns {string}
|
||||
*/
|
||||
export function GlobalVariableServiceWorkerTemplate (): string {
|
||||
return `const that = typeof global === 'object' ? global : this;`;
|
||||
return 'const that = typeof global === \'object\' ? global : this;';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user