Skip to content

Commit

Permalink
Version update to 4.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
sanex3339 committed Sep 5, 2023
1 parent 712c319 commit 1000402
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
Change Log

v4.1.0
---
* Add target `service-worker`

v4.0.2
---
* Add support for `node@18`
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "javascript-obfuscator",
"version": "4.0.2",
"version": "4.1.0",
"description": "JavaScript obfuscator",
"keywords": [
"obfuscator",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;';
}

0 comments on commit 1000402

Please sign in to comment.