Skip to content

Commit

Permalink
chore: unpin rest, unbump node version req (#9632)
Browse files Browse the repository at this point in the history
* chore: unpin rest, unbump node version req

* chore: update readmes

---------

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
  • Loading branch information
ckohen and kodiakhq[bot] committed Jun 13, 2023
1 parent 1716202 commit 8f014c6
Show file tree
Hide file tree
Showing 11 changed files with 17 additions and 15 deletions.
2 changes: 1 addition & 1 deletion packages/core/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@

## Installation

**Node.js 18.12.0 or newer is required.**
**Node.js 16.9.0 or newer is required.**

```sh
npm install @discordjs/core
Expand Down
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@
"vitest": "^0.31.1"
},
"engines": {
"node": ">=18.12.0"
"node": ">=16.9.0"
},
"publishConfig": {
"access": "public"
Expand Down
4 changes: 2 additions & 2 deletions packages/discord.js/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,9 @@
"@discordjs/builders": "workspace:^",
"@discordjs/collection": "workspace:^",
"@discordjs/formatters": "workspace:^",
"@discordjs/rest": "^1.7.1",
"@discordjs/rest": "workspace:^",
"@discordjs/util": "workspace:^",
"@discordjs/ws": "^0.8.3",
"@discordjs/ws": "workspace:^",
"@sapphire/snowflake": "^3.5.1",
"@types/ws": "^8.5.4",
"discord-api-types": "^0.37.42",
Expand Down
2 changes: 1 addition & 1 deletion packages/proxy-container/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
"typescript": "^5.0.4"
},
"engines": {
"node": ">=18.12.0"
"node": ">=16.9.0"
},
"publishConfig": {
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion packages/proxy/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@

## Installation

**Node.js 18.12.0 or newer is required.**
**Node.js 16.9.0 or newer is required.**

```sh
npm install @discordjs/proxy
Expand Down
2 changes: 1 addition & 1 deletion packages/proxy/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@
"vitest": "^0.31.1"
},
"engines": {
"node": ">=18.12.0"
"node": ">=16.9.0"
},
"publishConfig": {
"access": "public"
Expand Down
4 changes: 3 additions & 1 deletion packages/rest/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,9 @@

## Installation

**Node.js 18.12.0 or newer is required.**
**Node.js 16.9.0 or newer is required.**

Note: native fetch (not recommended) is unavailable in this node version, either use a newer node version or use the more performant `undiciRequest` strategy (default)

```sh
npm install @discordjs/rest
Expand Down
2 changes: 1 addition & 1 deletion packages/rest/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@
"vitest": "^0.31.1"
},
"engines": {
"node": ">=18.12.0"
"node": ">=16.9.0"
},
"publishConfig": {
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion packages/ws/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@

## Installation

**Node.js 18.12.0 or newer is required.**
**Node.js 16.9.0 or newer is required.**

```sh
npm install @discordjs/ws
Expand Down
2 changes: 1 addition & 1 deletion packages/ws/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@
"zlib-sync": "^0.1.8"
},
"engines": {
"node": ">=18.12.0"
"node": ">=16.9.0"
},
"publishConfig": {
"access": "public"
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2306,7 +2306,7 @@ __metadata:
languageName: unknown
linkType: soft

"@discordjs/rest@^1.7.1, @discordjs/rest@workspace:^, @discordjs/rest@workspace:packages/rest":
"@discordjs/rest@workspace:^, @discordjs/rest@workspace:packages/rest":
version: 0.0.0-use.local
resolution: "@discordjs/rest@workspace:packages/rest"
dependencies:
Expand Down Expand Up @@ -2516,7 +2516,7 @@ __metadata:
languageName: unknown
linkType: soft

"@discordjs/ws@^0.8.3, @discordjs/ws@workspace:^, @discordjs/ws@workspace:packages/ws":
"@discordjs/ws@workspace:^, @discordjs/ws@workspace:packages/ws":
version: 0.0.0-use.local
resolution: "@discordjs/ws@workspace:packages/ws"
dependencies:
Expand Down Expand Up @@ -11386,9 +11386,9 @@ __metadata:
"@discordjs/collection": "workspace:^"
"@discordjs/docgen": "workspace:^"
"@discordjs/formatters": "workspace:^"
"@discordjs/rest": ^1.7.1
"@discordjs/rest": "workspace:^"
"@discordjs/util": "workspace:^"
"@discordjs/ws": ^0.8.3
"@discordjs/ws": "workspace:^"
"@favware/cliff-jumper": ^2.0.0
"@sapphire/snowflake": ^3.5.1
"@types/node": 16.18.32
Expand Down

0 comments on commit 8f014c6

Please sign in to comment.