Skip to content

fix: standardize on Node 22, harden HTTP layer, add dependabot#2

Merged
asachs01 merged 1 commit into
mainfrom
fix/review-medium
May 20, 2026
Merged

fix: standardize on Node 22, harden HTTP layer, add dependabot#2
asachs01 merged 1 commit into
mainfrom
fix/review-medium

Conversation

@asachs01
Copy link
Copy Markdown
Member

Summary

Medium-severity review fixes for the Atera SDK.

Changed

  • Standardized on a Node.js 22 baseline: CI matrix now [22.x, 24.x], tsup target node22, @types/node bumped to ^22.
  • Network/transport failures and timeouts in the HTTP layer are now converted into typed AteraError instances instead of throwing raw TypeError.

Added

  • Configurable request timeout (timeoutMs, default 30s) enforced via AbortSignal.timeout.
  • .github/dependabot.yml for weekly npm and GitHub Actions dependency updates.

Security

  • Ran npm audit fix; remaining advisories are dev-only transitive deps (esbuild/vite tooling, bundled npm CLI) requiring breaking major bumps.

Verification

  • npm run build — success
  • npm test — 151/151 passing
  • npm run lint — clean

- Set CI matrix to [22.x, 24.x], tsup target node22, @types/node ^22
- Wrap fetch in try/catch converting transport failures to typed AteraError
- Add configurable request timeout (timeoutMs, default 30s) via AbortSignal.timeout
- Add .github/dependabot.yml for weekly npm + actions updates
- Run npm audit fix; remaining advisories are dev-only transitive deps
@asachs01 asachs01 merged commit d93bf58 into main May 20, 2026
2 checks passed
@asachs01 asachs01 deleted the fix/review-medium branch May 20, 2026 17:26
github-actions Bot pushed a commit that referenced this pull request May 20, 2026
## [1.0.3](v1.0.2...v1.0.3) (2026-05-20)

### Bug Fixes

* standardize on Node 22, harden HTTP layer, add dependabot ([#2](#2)) ([d93bf58](d93bf58))
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.

1 participant