lua-obfuscator 3.0.1 → 3.0.3

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.
Files changed (2) hide show
  1. package/README.md +12 -10
  2. package/package.json +7 -4
package/README.md CHANGED
@@ -47,13 +47,15 @@ console.log(obfuscated);
47
47
  ```
48
48
 
49
49
  ## Features
50
- | Feature | Description |
51
- | InsertJunk | Insert Junk Statements |
52
- | RenameVariables | Rename Variables To random String |
53
- | Vmify | Advanced custom VM (bytecode + interpreter) — the core strength |
54
- | ConstantArray | Constant Array |
55
- | GlobalMapping | Maps Globals (such as print, _G) to a {[randomId]=Global} table |
56
- | StringsToExpressions | Make Strings Such as "abc" to "a" .. "b" .. "c" |
57
- | NumbersToExpressions | Make Numbers Such as 1 to 3 + 200 - 202 |
58
- | EncryptStrings | Encrypt Strings With XOR |
59
- | WrapInFunction | Wraps The Whole Codes in a IIFE |
50
+
51
+ | Feature | Description |
52
+ |--------------------------|-------------|
53
+ | InsertJunk | Inserts meaningless junk statements |
54
+ | RenameVariables | Renames variables to random strings |
55
+ | Vmify | Advanced custom VM (bytecode + interpreter) core strength |
56
+ | ConstantArray | Wraps constants into a randomized array |
57
+ | GlobalMapping | Maps globals (`print`, `_G`, etc.) to a randomized table |
58
+ | StringsToExpressions | Converts strings like `"abc"` into concatenated expressions |
59
+ | NumbersToExpressions | Converts numbers into complex arithmetic expressions |
60
+ | EncryptStrings | Encrypts strings using XOR |
61
+ | WrapInFunction | Wraps the entire script in an IIFE |
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "lua-obfuscator",
3
3
  "author": "Uav1010",
4
- "version": "3.0.1",
4
+ "version": "3.0.3",
5
5
  "description": "obfuscator for lua and luau",
6
6
  "main": "./dist/index.js",
7
7
  "module": "./dist/index.mjs",
@@ -9,9 +9,12 @@
9
9
  "type": "module",
10
10
  "exports": {
11
11
  ".": {
12
- "types": "./dist/types/index.d.ts",
13
- "import": "./dist/esm/index.js",
14
- "require": "./dist/cjs/index.cjs"
12
+ "types": {
13
+ "require": "./dist/index.d.cts",
14
+ "import": "./dist/index.d.ts"
15
+ },
16
+ "import": "./dist/index.js",
17
+ "require": "./dist/index.cjs"
15
18
  }
16
19
  },
17
20
  "repository": {