diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 22f9ecc..91cac4a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -32,7 +32,7 @@ jobs: strategy: fail-fast: false matrix: - node: [16, 18, 20] + node: [18, 20, 22] runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 diff --git a/package.json b/package.json index 4c52e41..deab02f 100644 --- a/package.json +++ b/package.json @@ -30,7 +30,7 @@ "vitest": "^2.1.8" }, "engines": { - "node": ">=16.0.0" + "node": ">=18.0.0" }, "publishConfig": { "access": "public", diff --git a/src/error.ts b/src/error.ts index fabd3be..d88f879 100644 --- a/src/error.ts +++ b/src/error.ts @@ -1,5 +1,4 @@ export class AppOptionValidationError extends Error { - // eslint-disable-next-line n/no-unsupported-features/es-syntax -- TODO: Drop Node.js 16 static { this.prototype.name = 'AppOptionValidationError'; }