Skip to content

Commit 7dd167b

Browse files
authored
docs(setting-up): reword how SwaggerUI reflects Node.js releases (#8142)
Refs b89e885
1 parent 9891d97 commit 7dd167b

File tree

2 files changed

+4
-16
lines changed

2 files changed

+4
-16
lines changed

docs/development/setting-up.md

Lines changed: 3 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -5,22 +5,10 @@ Swagger UI includes a development server that provides hot module reloading and
55
### Prerequisites
66

77
- git, any version
8-
- NPM >=6.12.x
9-
10-
Generally, we recommend the following guidelines from [Node.js Releases](https://nodejs.org/en/about/releases/) to only use Active LTS or Maintenance LTS releases.
11-
12-
Current Node.js:
13-
- Node.js 16.x
14-
- NPM >=7.10.x
15-
16-
Current Node.js Active LTS:
17-
- Node.js 14.x
18-
- NPM >=6.12.x
19-
20-
Current Node.js Maintenance LTS:
21-
- Node.js >=12.4
22-
- NPM >= 6.12.x
238

9+
SwaggerUI Node.js support closely follows [Node.js Release Statuses](https://nodejs.org/en/about/releases/)
10+
and is only expected to work on `Current`, `Active LTS` and `Maintanenace LTS` versions of Node.js.
11+
SwaggerUI may also work on `Pending` or `EOL` versions of Node.js, but it's not guaranteed.
2412

2513
### Steps
2614

test/unit/jest-shim.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { TextDecoder, TextEncoder } from "util"
1+
import { TextDecoder, TextEncoder } from "node:util"
22

33
global.TextDecoder = TextDecoder
44
global.TextEncoder = TextEncoder

0 commit comments

Comments
 (0)