Skip to content

feat: package metadata, SECURITY.md and CI Node 24#25

Merged
brmorillo merged 5 commits into
mainfrom
feature/package-metadata-and-security
Jun 17, 2026
Merged

feat: package metadata, SECURITY.md and CI Node 24#25
brmorillo merged 5 commits into
mainfrom
feature/package-metadata-and-security

Conversation

@brmorillo

Copy link
Copy Markdown
Owner

Summary

  • package.json — descrição enriquecida, campo module (ESM), mapa exports (require/import/types), keywords expandidas de 4 para 18 termos
  • SECURITY.md — política de segurança: versões suportadas (14.x apenas), canal de reporte privado via GitHub Security Advisories, SLA de resposta, invariantes de segurança documentadas e política de dependências
  • release.ymlnode-version atualizado de 20 para 24 (Node 20 está deprecated nos runners do GitHub Actions)

Test plan

  • CI (type-check → lint → test → build) passa
  • pr-version bumpa a versão para 14.0.2
  • Após merge, release.yml publica 14.0.2 no npm

🤖 Generated with Claude Code

brmorillo and others added 5 commits June 17, 2026 17:18
- description: replace generic text with a concise feature summary
- exports: add conditional exports map (require/import/types) so
  bundlers resolve CJS vs ESM automatically without guessing
- module: add "module" field pointing to ESM build for legacy bundlers
- keywords: expand from 4 to 18 terms covering the actual modules
  (crypto, jwt, uuid, sorting, queue, cache, http, logging, storage, esm, commonjs)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Node 20 is deprecated on GitHub Actions runners (forced to 24 since
2025-09-19). Change the explicit node-version in setup-node to 24 so the
npm publish step runs on the correct declared version.

Note: remaining warnings from actions/checkout@v4, actions/setup-node@v4,
and softprops/action-gh-release@v2 are internal to those actions (their
action.yml still says `runs.using: node20`); those require upstream updates
by the action maintainers — the runner already forces Node 24 for them.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…rity invariants

- Supported-versions table (14.x active, 13.x critical-only until 2026-12-31)
- Private reporting via GitHub Security Advisories + e-mail fallback
- Response timeline: 48h ack, 5-day triage, 14-day patch for critical/high
- Documents all security invariants enforced in CI: AES-256-GCM,
  ChaCha20-Poly1305, RSA-OAEP, JWT algorithm allowlist, path confinement,
  prototype-pollution protection, bcrypt for passwords
- Dependency policy: exact pins, 3-month lag, CJS check, Gitleaks scan
- Scope: in-scope vs out-of-scope for reports

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Remove the 13.x critical-fixes exception; only 14.x receives support.
All older versions are unsupported.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@brmorillo brmorillo merged commit 395b7dc into main Jun 17, 2026
@brmorillo brmorillo deleted the feature/package-metadata-and-security branch June 17, 2026 20:35
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