Skip to content

Commit 4686dbe

Browse files
authored
[Deps] Safe patch/minor devDependency refresh (2026-04-17) + Node minimum alignment (#2075)
* Initial plan * chore(deps): update safe patch and minor dev dependencies Agent-Logs-Url: https://github.com/github/gh-aw-firewall/sessions/5a450ddd-2ce0-4557-8dd9-794a48432f72 * docs: align Node minimum version with eslint 10 requirements Agent-Logs-Url: https://github.com/github/gh-aw-firewall/sessions/6b3e6bef-89ce-4a8e-8d8a-e9fdab64fff5 --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
1 parent 5bbcbb9 commit 4686dbe

File tree

7 files changed

+155
-155
lines changed

7 files changed

+155
-155
lines changed

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ Thank you for your interest in contributing! We welcome contributions from the c
2828

2929
### Prerequisites
3030
- **Docker**: Must be running for integration tests
31-
- **Node.js**: v20.12.0+ and npm
31+
- **Node.js**: v20.19.0+ and npm
3232
- **Root/Sudo Access**: Required for testing iptables functionality
3333
- **Git**: For version control
3434

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ A network firewall for agentic workflows that restricts outbound HTTP/HTTPS to a
1616
## Requirements
1717

1818
- **Docker**: 20.10+ with Docker Compose v2
19-
- **Node.js**: 20.12.0+ (for building from source)
19+
- **Node.js**: 20.19.0+ (for building from source)
2020
- **OS**: Ubuntu 22.04+ or compatible Linux distribution
2121

2222
See [Compatibility](docs/compatibility.md) for full details on supported versions and tested configurations.

docs/compatibility.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@ This document outlines the supported Node.js versions, operating systems, and ot
99
| Version | Status | Notes |
1010
|---------|--------|-------|
1111
| Node.js 22.x | ✅ Fully Supported | Active LTS (recommended) |
12-
| Node.js 20.x | ✅ Fully Supported | Maintenance LTS (minimum: 20.12.0) |
13-
| Node.js < 20.12 | ❌ Not Supported | Below minimum engine requirement |
12+
| Node.js 20.x | ✅ Fully Supported | Maintenance LTS (minimum: 20.19.0) |
13+
| Node.js < 20.19 | ❌ Not Supported | Below minimum engine requirement |
1414

15-
The minimum Node.js version is specified in `package.json` under `engines.node: ">=20.12.0"`.
15+
The minimum Node.js version is specified in `package.json` under `engines.node: ">=20.19.0"`.
1616

1717
### Ubuntu / Linux
1818

@@ -79,7 +79,7 @@ To check if your environment meets the requirements:
7979

8080
```bash
8181
# Check Node.js version
82-
node --version # Should be v20.12.0 or higher
82+
node --version # Should be v20.19.0 or higher
8383

8484
# Check Docker version
8585
docker --version # Should be 20.10 or higher

docs/quickstart.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Get started with the firewall in 5 minutes!
55
## Prerequisites
66

77
- **Docker**: 20.10+ with Docker Compose v2 installed and running
8-
- **Node.js**: 20.12.0+ and npm (for building from source)
8+
- **Node.js**: 20.19.0+ and npm (for building from source)
99
- **OS**: Ubuntu 22.04+ or compatible Linux distribution
1010
- **GitHub Copilot CLI**: (optional, if testing with copilot)
1111

install.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ check_platform() {
143143
info "Detected platform: $os $arch (binary: $BINARY_NAME)"
144144
}
145145

146-
# Check for Node.js >= 20.12.0 to decide between bundle and pkg binary
146+
# Check for Node.js >= 20.19.0 to decide between bundle and pkg binary
147147
# (matches engines.node requirement in package.json)
148148
check_node() {
149149
if [ "${AWF_FORCE_BINARY:-}" = "1" ]; then
@@ -155,12 +155,12 @@ check_node() {
155155
NODE_VERSION=$(node -v | sed 's/^v//')
156156
NODE_MAJOR=$(echo "$NODE_VERSION" | cut -d. -f1)
157157
NODE_MINOR=$(echo "$NODE_VERSION" | cut -d. -f2)
158-
if [ "$NODE_MAJOR" -gt 20 ] || { [ "$NODE_MAJOR" -eq 20 ] && [ "$NODE_MINOR" -ge 12 ]; }; then
159-
info "Node.js v${NODE_VERSION} detected (>= 20.12.0), using lightweight bundle"
158+
if [ "$NODE_MAJOR" -gt 20 ] || { [ "$NODE_MAJOR" -eq 20 ] && [ "$NODE_MINOR" -ge 19 ]; }; then
159+
info "Node.js v${NODE_VERSION} detected (>= 20.19.0), using lightweight bundle"
160160
USE_BUNDLE=true
161161
return
162162
fi
163-
warn "Node.js v${NODE_VERSION} detected but < 20.12.0, using standalone binary"
163+
warn "Node.js v${NODE_VERSION} detected but < 20.19.0, using standalone binary"
164164
fi
165165
USE_BUNDLE=false
166166
}

0 commit comments

Comments
 (0)