Upgrade jsdom 24.x to 31.x

Abierto
#37 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
52/100
Tipo de issue
Error
Claridad
Bien especificado
Estado de actividad
Activo
Stack tecnológico
javascript, node.js

Línea de trabajo

Start by reading package.json and the four test files listed in the issue, then run npm install, npm test, and npm run lint to capture the current failure. Check the Node engine and module loading behavior for jsdom 31, then use the test output to guide the update. Done when jsdom is on the current major, the suite and lint pass, and PR #21 is closed.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

dependencies help wanted severity: low

Summary

jsdom is pinned at ^24.1.0 (resolves to 24.1.3); the latest is 31.0.0. All four test files load it directly, and the automated attempts to move it (PR #21 to 28.1.0 and earlier ones) failed CI.

Where

  • package.json:17
  • tests/unit/utils.test.js:1, tests/unit/pieces.test.js:1, tests/unit/game-moves.test.js:1, tests/integration/game-flow.test.js:1

Details

The CI logs for the failed PRs have expired, so the cause is unconfirmed. Likely suspects are the Node engine floor of newer jsdom and require() of a package with ESM-only dependencies under "type": "module" (package.json:5).

Suggested fix

After #36, bump to ^31, run the suite locally to capture the failure, fix the test bootstrap, and close PR #21.

Acceptance criteria

  • jsdom is on the current major and tests pass
  • PR #21 is closed

Getting started

  • Relevant files: package.json, tests/
  • How to run tests: npm install, then npm test and npm run lint
  • Related docs: docs/ARCHITECTURE.md, .github/CONTRIBUTING.md

Filed by repo-audit/full-audit at 8a2c86c. Severity: low. Effort: M. audit-key: dependencies|package.json|jsdom

Lenguaje dominante
JavaScript
Estrellas
4
Forks
2
Métricas de merge de PR
Sin PR fusionados en 30 d

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de TMHSDigital/Static_Chess

Todos los issues de TMHSDigital/Static_Chess

Issues similares

Más issues de JavaScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.