Skip to content

Conversation

@Sceat
Copy link
Member

@Sceat Sceat commented Nov 6, 2025

Summary

Small cleanup commit to fix linting issues that appeared after the security hardening PR.

Changes

  • Lambda adapter: Removed unused error parameter in JSON.parse catch block (ES2019+ allows omitting catch parameters)
  • Prettier formatting: Applied consistent formatting across all modified files

Verification

✓ npm run lint passes
✓ 33/33 tests passing
✓ Coverage maintained: 86.68% stmts, 80% branch, 73.68% funcs

🤖 Generated with Claude Code

@Sceat Sceat requested a review from DeltaEvo as a code owner November 6, 2025 19:13
Sceat added 5 commits November 7, 2025 02:21
ESLint 9 requires Node.js 18.18+ or 20.9+ (uses structuredClone).
Updated all CI jobs from Node 16.9 to Node 20.
Node's --test flag requires quoted glob patterns in npm scripts
to work correctly across different shells (bash/sh/zsh).
Changed from test/**/*.test.js to test/*.test.js since all test
files are in the root test directory. The recursive glob wasn't
expanding correctly in CI bash environment.
Fastify tests were conflicting with Koa timeout test (both using port 3001).
Changed fastify to use port 3002 to prevent EADDRINUSE errors in parallel test execution.
Changed from 'npm run coverage' to 'npm run test:coverage'
to match the actual script name in package.json.
@Sceat Sceat merged commit b07f7c7 into edge Nov 6, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants