Jest Environment JSDOM provides a test environment that simulates a browser-like environment using JSDOM for Jest tests running in Node.js. Comparing versions 30.1.1 and 30.1.0 reveals subtle but important distinctions. Both versions share core dependencies like JSDOM, Node.js types, and relevant Jest packages, establishing a stable foundation for DOM manipulation testing within the Jest framework. They both also declare canvas as peer dependency and expose the same MIT license.
The key difference lies in the internal dependency versions, where 30.1.1 advances the @jest/environment and @jest/environment-jsdom-abstract dependencies to version 30.1.1, aligning them with the package's overall version. Whereas version 30.1.0 uses @jest/environment and @jest/environment-jsdom-abstract in version 30.1.0. Version 30.1.1 also has @jest/test-utils declared as dev dependency. Potentially, these updated internal dependencies incorporate bug fixes, performance improvements, or new features within the broader Jest ecosystem. Developers should consult the changelogs for @jest/environment and @jest/environment-jsdom-abstract to understand the precise nature of these changes and their impact on tests. The release date of 30.1.1 is also later than the one of 30.1.0, pointing out to more recent updates. The tarball URLs and associated metadata (fileCount, unpackedSize) pertain to distribution and are largely similar between the two versions. Testing new features available in jest might require an upgrade to 30.1.1 version.
The are not vulnerabilities for the version 30.1.1 of the package jest-environment-jsdom