@sysce/estrogen 0.5.8 → 0.5.9

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 +24 -24
  2. package/package.json +6 -6
package/README.md CHANGED
@@ -1,5 +1,5 @@
1
1
  <div align="center">
2
- <img src="https://raw.githubusercontent.com/Fracital/estrogen/v0.5.8/docs/assets/estrogen.png" alt="estrogen" width="88" />
2
+ <img src="https://raw.githubusercontent.com/Fracital/estrogen/v0.5.9/docs/assets/estrogen.png" alt="estrogen" width="88" />
3
3
  </div>
4
4
 
5
5
  # @sysce/estrogen
@@ -7,7 +7,7 @@
7
7
  <div align="center">
8
8
  <a href="https://www.npmjs.com/package/@sysce/estrogen"><img src="https://img.shields.io/npm/v/@sysce/estrogen?maxAge=3600&label=npm" alt="npm" /></a>
9
9
  <a href="https://github.com/Fracital/estrogen/actions/workflows/ci.yml"><img src="https://github.com/Fracital/estrogen/actions/workflows/ci.yml/badge.svg?branch=main" alt="CI" /></a>
10
- <a href="https://github.com/Fracital/estrogen/blob/v0.5.8/LICENSE"><img src="https://img.shields.io/badge/license-ISC-blue.svg" alt="license: ISC" /></a>
10
+ <a href="https://github.com/Fracital/estrogen/blob/v0.5.9/LICENSE"><img src="https://img.shields.io/badge/license-ISC-blue.svg" alt="license: ISC" /></a>
11
11
  <a href="https://github.com/Fracital/estrogen/issues"><img src="https://img.shields.io/github/issues/Fracital/estrogen?style=flat&color=orange" alt="GitHub issues" /></a>
12
12
  <a href="https://github.com/Fracital/estrogen/stargazers"><img src="https://img.shields.io/github/stars/Fracital/estrogen?style=flat&color=orange" alt="GitHub stars" /></a>
13
13
  </div>
@@ -48,7 +48,7 @@ an optional dependency. Supported targets: linux x64 and arm64, darwin x64 and
48
48
  arm64, win32 x64.
49
49
 
50
50
  A nightly build of `main` is published under the `nightly` dist-tag, versioned
51
- like `0.5.8-nightly.202611230617.g1a2b3c4` (UTC time and commit), once a day
51
+ like `0.5.9-nightly.202611230617.g1a2b3c4` (UTC time and commit), once a day
52
52
  when `main` has a new commit that passed CI:
53
53
 
54
54
  ```sh
@@ -97,7 +97,7 @@ output remains safe to repeat and check; decoder-less no-header output needs a
97
97
  fresh build. Changed options or canary lists need a fresh build too.
98
98
 
99
99
  To bring packages into the build as well, run `estrogen build dist` with a
100
- `[[vendor]]` config. See the [CLI reference](https://github.com/Fracital/estrogen/blob/v0.5.8/docs/CLI.md).
100
+ `[[vendor]]` config. See the [CLI reference](https://github.com/Fracital/estrogen/blob/v0.5.9/docs/CLI.md).
101
101
 
102
102
  ## Benchmarks
103
103
 
@@ -110,7 +110,7 @@ file 20 times (median of 3 processes). javascript-obfuscator runs its three
110
110
  shipped presets unchanged, `debugProtection` and `disableConsoleOutput`
111
111
  included. Every build returns the same result as the original, and the VM
112
112
  compiled every file it was given. The method and full tables are in
113
- [docs/BENCHMARKS.md](https://github.com/Fracital/estrogen/blob/v0.5.8/docs/BENCHMARKS.md); `npm run bench` reruns it.
113
+ [docs/BENCHMARKS.md](https://github.com/Fracital/estrogen/blob/v0.5.9/docs/BENCHMARKS.md); `npm run bench` reruns it.
114
114
 
115
115
  | | estrogen, VM | estrogen, `--no-vm` | javascript-obfuscator, default | medium | high |
116
116
  | ---------------------------------------- | ------------ | ------------------- | ------------------------------ | -------- | --------- |
@@ -135,11 +135,11 @@ workloads the VM's size is mostly the runtime, about 9 KB gzip per file, which
135
135
  `--shared-runtime` ships once for a build of ES modules. Hot code can leave the
136
136
  VM with `--no-vm-glob`.
137
137
 
138
- <img alt="Geometric mean slowdown, gzip size and build time for each tool and preset" src="https://raw.githubusercontent.com/Fracital/estrogen/v0.5.8/docs/assets/bench/summary.png">
138
+ <img alt="Geometric mean slowdown, gzip size and build time for each tool and preset" src="https://raw.githubusercontent.com/Fracital/estrogen/v0.5.9/docs/assets/bench/summary.png">
139
139
 
140
- <img alt="Prettier format time, gzip size and build time for each tool and preset" src="https://raw.githubusercontent.com/Fracital/estrogen/v0.5.8/docs/assets/bench/library.png">
140
+ <img alt="Prettier format time, gzip size and build time for each tool and preset" src="https://raw.githubusercontent.com/Fracital/estrogen/v0.5.9/docs/assets/bench/library.png">
141
141
 
142
- <img alt="Steady-state slowdown against native for each workload, tool and preset" src="https://raw.githubusercontent.com/Fracital/estrogen/v0.5.8/docs/assets/bench/slowdown.png">
142
+ <img alt="Steady-state slowdown against native for each workload, tool and preset" src="https://raw.githubusercontent.com/Fracital/estrogen/v0.5.9/docs/assets/bench/slowdown.png">
143
143
 
144
144
  ## Compared with javascript-obfuscator
145
145
 
@@ -173,22 +173,22 @@ paid token, so the benchmark above runs the local package.
173
173
 
174
174
  ## Documentation
175
175
 
176
- - [Text cloak and live injector](https://github.com/Fracital/estrogen/blob/v0.5.8/docs/CLOAK.md): per-request ciphertext,
176
+ - [Text cloak and live injector](https://github.com/Fracital/estrogen/blob/v0.5.9/docs/CLOAK.md): per-request ciphertext,
177
177
  framework components, Ctrl+E overlays and opt-in frontend build inputs.
178
- - [CLI reference](https://github.com/Fracital/estrogen/blob/v0.5.8/docs/CLI.md): every flag, examples, exit codes, the
178
+ - [CLI reference](https://github.com/Fracital/estrogen/blob/v0.5.9/docs/CLI.md): every flag, examples, exit codes, the
179
179
  fail-closed rule.
180
- - [Node API](https://github.com/Fracital/estrogen/blob/v0.5.8/docs/NODE-API.md): `obfuscate()`, the esbuild, rsbuild, Vite and
180
+ - [Node API](https://github.com/Fracital/estrogen/blob/v0.5.9/docs/NODE-API.md): `obfuscate()`, the esbuild, rsbuild, Vite and
181
181
  Rollup plugins, the Astro integration, the options object, the `Report` shape.
182
- - [Rust API](https://github.com/Fracital/estrogen/blob/v0.5.8/docs/RUST-API.md): the `estrogen-core` public surface.
183
- - [Integration](https://github.com/Fracital/estrogen/blob/v0.5.8/docs/INTEGRATION.md): esbuild, rsbuild, Vite, Rollup, Astro, and
182
+ - [Rust API](https://github.com/Fracital/estrogen/blob/v0.5.9/docs/RUST-API.md): the `estrogen-core` public surface.
183
+ - [Integration](https://github.com/Fracital/estrogen/blob/v0.5.9/docs/INTEGRATION.md): esbuild, rsbuild, Vite, Rollup, Astro, and
184
184
  a plain CLI step in `package.json`.
185
- - [Benchmarks](https://github.com/Fracital/estrogen/blob/v0.5.8/docs/BENCHMARKS.md): what the VM and the literal pool cost at
185
+ - [Benchmarks](https://github.com/Fracital/estrogen/blob/v0.5.9/docs/BENCHMARKS.md): what the VM and the literal pool cost at
186
186
  run time and load, per workload, and the harness in `bench/`.
187
- - [Project status](https://github.com/Fracital/estrogen/blob/v0.5.8/docs/PROJECT_STATUS.md): current validation and remaining
187
+ - [Project status](https://github.com/Fracital/estrogen/blob/v0.5.9/docs/PROJECT_STATUS.md): current validation and remaining
188
188
  compatibility work.
189
- - [Proxy name rename](https://github.com/Fracital/estrogen/blob/v0.5.8/docs/PROXY-NAMES.md): the `[proxy]` table, the vendor
189
+ - [Proxy name rename](https://github.com/Fracital/estrogen/blob/v0.5.9/docs/PROXY-NAMES.md): the `[proxy]` table, the vendor
190
190
  and build scopes, `keep`, and the text a rename must not change.
191
- - [Proxy integration coverage](https://github.com/Fracital/estrogen/blob/v0.5.8/docs/PROXY_COVERAGE.md): per-site builds,
191
+ - [Proxy integration coverage](https://github.com/Fracital/estrogen/blob/v0.5.9/docs/PROXY_COVERAGE.md): per-site builds,
192
192
  browser evidence, VM percentages and remaining gaps.
193
193
  - [Wiki](https://github.com/Fracital/estrogen/wiki): install, configuration,
194
194
  source maps, security and limits, contributing.
@@ -198,31 +198,31 @@ paid token, so the benchmark above runs the local package.
198
198
  <table>
199
199
  <tr><th></th><th>Site</th><th>Link</th><th>Repo</th></tr>
200
200
  <tr>
201
- <td align="center" valign="middle"><img src="https://raw.githubusercontent.com/Fracital/estrogen/v0.5.8/docs/assets/brands/abstract.png" alt="abstract v2" width="28"></td>
201
+ <td align="center" valign="middle"><img src="https://raw.githubusercontent.com/Fracital/estrogen/v0.5.9/docs/assets/brands/abstract.png" alt="abstract v2" width="28"></td>
202
202
  <td valign="middle">abstract v2</td>
203
203
  <td valign="middle"><a href="https://abstracteducation.loan">abstracteducation.loan</a></td>
204
204
  <td valign="middle"></td>
205
205
  </tr>
206
206
  <tr>
207
- <td align="center" valign="middle"><img src="https://raw.githubusercontent.com/Fracital/estrogen/v0.5.8/docs/assets/brands/fracital.svg" alt="Fracital" width="28"></td>
207
+ <td align="center" valign="middle"><img src="https://raw.githubusercontent.com/Fracital/estrogen/v0.5.9/docs/assets/brands/fracital.svg" alt="Fracital" width="28"></td>
208
208
  <td valign="middle">Fracital</td>
209
209
  <td valign="middle"><a href="https://fracit.al">fracit.al</a></td>
210
210
  <td valign="middle"><a href="https://github.com/Fracital/Fracital"><code>Fracital/Fracital</code></a></td>
211
211
  </tr>
212
212
  <tr>
213
- <td align="center" valign="middle"><img src="https://raw.githubusercontent.com/Fracital/estrogen/v0.5.8/docs/assets/brands/systemya.png" alt="SystemYA" width="28"></td>
213
+ <td align="center" valign="middle"><img src="https://raw.githubusercontent.com/Fracital/estrogen/v0.5.9/docs/assets/brands/systemya.png" alt="SystemYA" width="28"></td>
214
214
  <td valign="middle">SystemYA</td>
215
215
  <td valign="middle"><a href="https://systemya.fracit.al">systemya.fracit.al</a></td>
216
216
  <td valign="middle"><a href="https://github.com/Fracital/SystemYA"><code>Fracital/SystemYA</code></a></td>
217
217
  </tr>
218
218
  <tr>
219
- <td align="center" valign="middle"><img src="https://raw.githubusercontent.com/Fracital/estrogen/v0.5.8/docs/assets/brands/stomp.png" alt="STomp" width="28"></td>
219
+ <td align="center" valign="middle"><img src="https://raw.githubusercontent.com/Fracital/estrogen/v0.5.9/docs/assets/brands/stomp.png" alt="STomp" width="28"></td>
220
220
  <td valign="middle">STomp (powerMouse)</td>
221
221
  <td valign="middle"><a href="https://stomp.fracit.al">stomp.fracit.al</a></td>
222
222
  <td valign="middle"><a href="https://github.com/Fracital/powerMouse"><code>Fracital/powerMouse</code></a></td>
223
223
  </tr>
224
224
  <tr>
225
- <td align="center" valign="middle"><img src="https://raw.githubusercontent.com/Fracital/estrogen/v0.5.8/docs/assets/brands/holy-unblocker.svg" alt="Holy Unblocker" width="28"></td>
225
+ <td align="center" valign="middle"><img src="https://raw.githubusercontent.com/Fracital/estrogen/v0.5.9/docs/assets/brands/holy-unblocker.svg" alt="Holy Unblocker" width="28"></td>
226
226
  <td valign="middle">Holy Unblocker</td>
227
227
  <td valign="middle"><a href="https://holyunb.locker">holyunb.locker</a></td>
228
228
  <td valign="middle"><a href="https://github.com/holy-unblocker/website2"><code>holy-unblocker/website2</code></a></td>
@@ -233,8 +233,8 @@ paid token, so the benchmark above runs the local package.
233
233
 
234
234
  | | GitHub | Name |
235
235
  | ----------------------------------------------------------------------------- | ------------------------------ | ---------- |
236
- | <img src="https://raw.githubusercontent.com/Fracital/estrogen/v0.5.8/docs/assets/am%20i%20cool%20yet.png" width="64" alt="e9x's avatar"> | [@e9x](https://github.com/e9x) | David Reed |
236
+ | <img src="https://raw.githubusercontent.com/Fracital/estrogen/v0.5.9/docs/assets/am%20i%20cool%20yet.png" width="64" alt="e9x's avatar"> | [@e9x](https://github.com/e9x) | David Reed |
237
237
 
238
238
  ## License
239
239
 
240
- ISC. See [LICENSE](https://github.com/Fracital/estrogen/blob/v0.5.8/LICENSE).
240
+ ISC. See [LICENSE](https://github.com/Fracital/estrogen/blob/v0.5.9/LICENSE).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sysce/estrogen",
3
- "version": "0.5.8",
3
+ "version": "0.5.9",
4
4
  "description": "Post-build web obfuscator in Rust. Rewrites a built directory in place: JavaScript into a per-build bytecode VM, strings into an encrypted pool, and HTML, SVG and wasm names to match.",
5
5
  "license": "ISC",
6
6
  "author": "David Reed",
@@ -209,11 +209,11 @@
209
209
  "prepack": "npm run build && node scripts/readme.mjs"
210
210
  },
211
211
  "optionalDependencies": {
212
- "@sysce/estrogen-darwin-arm64": "0.5.8",
213
- "@sysce/estrogen-darwin-x64": "0.5.8",
214
- "@sysce/estrogen-linux-arm64": "0.5.8",
215
- "@sysce/estrogen-linux-x64": "0.5.8",
216
- "@sysce/estrogen-win32-x64": "0.5.8"
212
+ "@sysce/estrogen-darwin-arm64": "0.5.9",
213
+ "@sysce/estrogen-darwin-x64": "0.5.9",
214
+ "@sysce/estrogen-linux-arm64": "0.5.9",
215
+ "@sysce/estrogen-linux-x64": "0.5.9",
216
+ "@sysce/estrogen-win32-x64": "0.5.9"
217
217
  },
218
218
  "peerDependencies": {
219
219
  "@rsbuild/core": "*",