jso-protector 0.4.5 → 0.4.6

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/CHANGELOG.md CHANGED
@@ -1,5 +1,18 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.4.6 - 2026-08-31
4
+
5
+ Documentation only. No behaviour changes.
6
+
7
+ - **The README said you needed an API key to use this package.** Since 0.4.5
8
+ that is false for a first run, and it was the first thing anyone read on
9
+ npmjs.com - so the page was arguing against the feature the release shipped.
10
+ The quickstart now says no account is needed, "What you need" answers
11
+ "nothing, to start", and the payment section describes the free tier and where
12
+ it ends instead of claiming the package unlocks nothing on its own.
13
+ - The quickstart installs `javascriptobfuscator-com` and calls
14
+ `javascriptobfuscator`, the current names.
15
+
3
16
  ## 0.4.5 - 2026-08-31
4
17
 
5
18
  - **The first command now works without an account.** With no credentials at
package/README.md CHANGED
@@ -9,20 +9,29 @@ Node API, and plugins for webpack, Vite, Rollup, esbuild, Next.js, Metro, and
9
9
  the rest of the toolchain.
10
10
 
11
11
  ```bash
12
- npm install --save-dev jso-protector
13
- npx jso-protector --input dist --output dist-protected
12
+ npm install --save-dev javascriptobfuscator-com
13
+ npx javascriptobfuscator --input dist --output dist-protected
14
14
  ```
15
15
 
16
+ **No account needed to try it.** With no credentials configured the run uses the
17
+ free tier - up to 20 files and 200 KB per request, rate limited, no VM
18
+ protection - and tells you so. `npx javascriptobfuscator login` switches to your
19
+ plan when you need more.
20
+
16
21
  That protects every JavaScript file in `dist/` and writes the result to
17
22
  `dist-protected/`. Nothing else in your build has to change.
18
23
 
19
24
  ## What you need
20
25
 
21
- An API key and password from your [javascriptobfuscator.com](https://javascriptobfuscator.com/)
22
- dashboard, passed as `--api-key` / `--api-password` or read from the
23
- `JSO_API_KEY` and `JSO_API_PASSWORD` environment variables. Run
24
- `npx jso-protector --doctor` to check credentials, paths, and file matching
25
- before you wire it into CI.
26
+ Nothing, to start. A run with no credentials goes to the free tier.
27
+
28
+ Beyond it - more than 20 files or 200 KB in one request, compression, renaming,
29
+ control-flow flattening, VM protection - you need a key and password from your
30
+ [javascriptobfuscator.com](https://javascriptobfuscator.com/) dashboard. Run
31
+ `npx javascriptobfuscator login` to sign in once and store them, or pass
32
+ `--api-key` / `--api-password`, or set `JSO_API_KEY` and `JSO_API_PASSWORD`.
33
+ Run `npx javascriptobfuscator --doctor` to check credentials, paths, and file
34
+ matching before you wire it into CI.
26
35
 
27
36
  ## Already using another obfuscator?
28
37
 
@@ -318,7 +327,9 @@ internal remediation.
318
327
 
319
328
  ## Payment and API Access
320
329
 
321
- `jso-protector` is a localhost developer client for the paid JavaScript Obfuscator service: it drives the hosted API by default, or the bundled `jso-local` protector with `--local`. The npm package does not unlock protection by itself and does not contain payment logic.
330
+ This package is a client. It drives the hosted API by default, or the bundled `jso-local` protector with `--local`. Protection itself, billing and every plan limit live on the server, never in this package.
331
+
332
+ A request with no credentials is served on the **free tier**: up to 20 files and 200 KB per request, rate limited per IP, no VM protection. Everything above that is a paid plan, enforced server-side.
322
333
 
323
334
  Payment and account enforcement stay on `javascriptobfuscator.com`:
324
335
 
@@ -39,7 +39,7 @@ published as `javascriptobfuscator-com`; `jso-protector` is the former name and
39
39
  is deprecated but still updated:
40
40
 
41
41
  ```bash
42
- npm install --save-dev javascriptobfuscator-com@0.4.5
42
+ npm install --save-dev javascriptobfuscator-com@0.4.6
43
43
  ```
44
44
 
45
45
  Repository contributors can instead use the existing `file:../..` development
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jso-protector",
3
- "version": "0.4.5",
3
+ "version": "0.4.6",
4
4
  "description": "Obfuscate and protect JavaScript in your build or CI: dependency-free CLI, Node API, and webpack/Vite/Rollup/esbuild/Next.js/Metro plugins, with one-command migration from javascript-obfuscator and JS-Confuser configs.",
5
5
  "license": "SEE LICENSE IN LICENSE",
6
6
  "author": "JavaScript Obfuscator",