nestjs-web-repl 2.0.0 → 2.0.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.
Files changed (2) hide show
  1. package/README.md +10 -11
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -7,19 +7,18 @@ so `get(SomeService)`, `resolve(...)`, `select(...)`, and friends all work exact
7
7
  they do in the local REPL — except reachable over HTTP, from anywhere, against a
8
8
  running server.
9
9
 
10
- > ## ⚠️ Security warning — read this before enabling anything
10
+ > ## ⚠️ Security
11
11
  >
12
- > **These endpoints execute arbitrary code inside your running application.**
13
- > A command like `require('child_process').execSync('...')` runs with the full
14
- > privileges of your Node process. This library ships with **no authentication,
15
- > no authorization, and no rate limiting**. The `enabled` option is the *only*
16
- > built-in safety rail, and it is a blunt boolean — it does not check who is
17
- > asking.
12
+ > These endpoints run arbitrary code inside your app, with the full privileges of
13
+ > your Node process. That's the whole point — it's a debugging tool — and it's
14
+ > also the risk: anyone who can reach an enabled endpoint can run anything your
15
+ > app can.
18
16
  >
19
- > Do not expose these routes on a public-facing port. Do not enable this in
20
- > production unless you have put your own auth in front of it (see
21
- > [Securing it](#securing-it) below). Treat this exactly like you would treat
22
- > giving someone a shell on your server — because that is what it is.
17
+ > The module ships no authentication of its own; `enabled` is an on/off switch,
18
+ > not a lock. Control access yourself: gate `enabled` behind an environment
19
+ > variable and put your own guard in front of the routes ([Securing it](#securing-it)).
20
+ >
21
+ > Guarded and on a trusted network, it's a safe way to inspect a running app.
23
22
 
24
23
  ## Install
25
24
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nestjs-web-repl",
3
- "version": "2.0.0",
3
+ "version": "2.0.1",
4
4
  "description": "Expose a live NestJS REPL over the network (HTTP + SSE + Monaco UI).",
5
5
  "license": "MIT",
6
6
  "main": "dist/index.js",