javascript-obfuscator 4.1.0 → 4.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/.mocharc.json CHANGED
@@ -1,3 +1,3 @@
1
1
  {
2
- "node-option": ["experimental-specifier-resolution=node", "loader=ts-node/esm"]
2
+ "node-option": []
3
3
  }
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  Change Log
2
2
 
3
+ v4.1.1
4
+ ---
5
+ * Update supported Node.js versions up to `node@22`. Fixes https://github.com/javascript-obfuscator/javascript-obfuscator/pull/1100
6
+ * Update `class-validator` version. Fixes https://github.com/javascript-obfuscator/javascript-obfuscator/issues/1247
7
+ * Fixed CI
8
+
3
9
  v4.1.0
4
10
  ---
5
11
  * Add target `service-worker`
@@ -938,4 +944,4 @@ v0.7.0-dev.1
938
944
  * **Breaking API change:** now `obfuscate(sourceCode, options)` returns `ObfuscationResult` object instead `string`. `ObfuscationResult` object contains two public methods: `getObfuscatedCode()` and `getSourceMap()`.
939
945
  * CLI. Now any code can be obfuscated through CLI `javascript-obfuscator` command. See `README.md` for available options.
940
946
  * New option `sourceMap` enables source map generation for obfuscated code.
941
- * New option `sourceMapMode` specifies source map generation mode.
947
+ * New option `sourceMapMode` specifies source map generation mode.
package/README.md CHANGED
@@ -1188,7 +1188,7 @@ Each `stringArray` value will be encoded by the randomly picked encoding from th
1188
1188
  Available values:
1189
1189
  * `'none'` (`boolean`): doesn't encode `stringArray` value
1190
1190
  * `'base64'` (`string`): encodes `stringArray` value using `base64`
1191
- * `'rc4'` (`string`): encodes `stringArray` value using `rc4`. **About 30-50% slower than `base64`, but more harder to get initial values.** It's recommended to disable [`unicodeEscapeSequence`](#unicodeescapesequence) option when using `rc4` encoding to prevent very large size of obfuscated code.
1191
+ * `'rc4'` (`string`): encodes `stringArray` value using `rc4`. **About 30-50% slower than `base64`, but harder to get initial values.** It's recommended to disable [`unicodeEscapeSequence`](#unicodeescapesequence) option when using `rc4` encoding to prevent very large size of obfuscated code.
1192
1192
 
1193
1193
  For example with the following option values some `stringArray` value won't be encoded, and some values will be encoded with `base64` and `rc4` encoding:
1194
1194
 
@@ -1674,6 +1674,10 @@ See: [`Kind of variables`](#kind-of-variables)
1674
1674
 
1675
1675
  Try `renamePropertiesMode: 'safe'` option, if it still doesn't work, just disable this option.
1676
1676
 
1677
+ ## GitHub Sponsors
1678
+
1679
+ <a href="https://github.com/microsoft" target="_blank"><img src="https://avatars.githubusercontent.com/u/6154722?s=200&v=4"></a>
1680
+
1677
1681
  ## Backers
1678
1682
 
1679
1683
  Support us with a monthly donation and help us continue our activities. [[Become a backer](https://opencollective.com/javascript-obfuscator#backer)]
@@ -1710,7 +1714,7 @@ Support us with a monthly donation and help us continue our activities. [[Become
1710
1714
  <a href="https://opencollective.com/javascript-obfuscator/backer/29/website" target="_blank"><img src="https://opencollective.com/javascript-obfuscator/backer/29/avatar.svg"></a>
1711
1715
 
1712
1716
 
1713
- ## Sponsors
1717
+ ## Open Collective Sponsors
1714
1718
 
1715
1719
  Become a sponsor and get your logo on our README on Github with a link to your site.
1716
1720
 
@@ -1729,7 +1733,7 @@ Become a sponsor and get your logo on our README on Github with a link to your s
1729
1733
  ## License
1730
1734
  [![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2Fjavascript-obfuscator%2Fjavascript-obfuscator.svg?type=large)](https://app.fossa.io/projects/git%2Bgithub.com%2Fjavascript-obfuscator%2Fjavascript-obfuscator?ref=badge_large)
1731
1735
 
1732
- Copyright (C) 2016-2022 [Timofey Kachalov](http://github.com/sanex3339).
1736
+ Copyright (C) 2016-2024 [Timofey Kachalov](http://github.com/sanex3339).
1733
1737
 
1734
1738
  Redistribution and use in source and binary forms, with or without
1735
1739
  modification, are permitted provided that the following conditions are met: