ILIAS icon indicating copy to clipboard operation
ILIAS copied to clipboard

Add `jsdom` as npm Dependency for ILIAS 12

Open thibsy opened this issue 1 month ago • 1 comments

Assessment:

  • This package is a JavaScript implementation of various web standards, for use with the Node.js environment.

General Information:

  • Name of the dependency: jsdom
  • Version: 27.2.0
  • [X] this dependency was already used in ILIAS.
  • [X] the dependency's license is compatible with ILIAS' license: MIT

Type of dependency:

  • [ ] composer
  • [X] npm

Usage:

  • various JS unit tests in components/ILIAS/UI

Reasoning:

  • This package implements the web-standard of browsers and provides objects like window and document, which are unknown to the Node.js environment. These objects can be injected into our components to perform/test desired actions.

Maintenance:

  • Last update of the Library: 2025-11-12

Links:

  • npm: https://www.npmjs.com/package/jsdom
  • GitHub: https://github.com/jsdom/jsdom.git
  • Documentation: https://github.com/jsdom/jsdom#readme

Alternatives:

thibsy avatar Dec 05 '25 16:12 thibsy

Jour Fixe, 08 DEC 2025: Dependency is accepted for ILIAS 12.

matthiaskunkel avatar Dec 08 '25 15:12 matthiaskunkel