Jest Environment JSDOM version 27.2.3 is a patch release over 27.2.2, primarily focused on dependency updates within the Jest ecosystem. Upgrading to 27.2.3 brings in newer versions of core Jest packages: jest-mock is updated from 27.1.1 to 27.2.3, jest-util goes from 27.2.0 to 27.2.3, @jest/types moves from 27.1.1 to 27.2.3, and @jest/environment and @jest/fake-timers are bumped from 27.2.2 to 27.2.3. @jest/test-utils sees a similar update in the development dependencies, going from 27.2.2 to 27.2.3.
For developers using Jest Environment JSDOM, this means a more synchronized experience with the latest features and bug fixes implemented across the Jest framework. It's a recommended upgrade to ensure compatibility and take advantage of improvements in mocking, utility functions, type definitions, environment setup, and fake timers. The core functionality of JSDOM itself, via the jsdom dependency, remains consistent between these two versions, using version ^16.6.0. Therefore, tests relying solely on JSDOM behavior should experience no change, while leveraging the newest jest functionalities. Consider upgrading for the latest enhancements and refinements within the Jest testing platform. The releaseDate difference of a quick three days apart suggests some urgency or need for these updates, which is usually a good sign that the changes are beneficial.
The are not vulnerabilities for the version 27.2.3 of the package jest-environment-jsdom