Version update to 4.1.0

This commit is contained in:
sanex
2023-09-05 20:12:05 +04:00
parent 712c319b0d
commit 1000402f10
3 changed files with 6 additions and 2 deletions
+4
View File
@@ -1,5 +1,9 @@
Change Log
v4.1.0
---
* Add target `service-worker`
v4.0.2
---
* Add support for `node@18`
+1 -1
View File
@@ -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;';
}