Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update JSDOM to 16.2 #9831

Closed
shadiabuhilal opened this issue Apr 16, 2020 · 3 comments
Closed

Update JSDOM to 16.2 #9831

shadiabuhilal opened this issue Apr 16, 2020 · 3 comments

Comments

@shadiabuhilal
Copy link

馃悰 Bug Report

jest-environment-jsdom is using old jsdom 15.2. The latest jsdom - 16.2- brings a lot of new features and better compatibility.

It would be great to update to the latest jsdom and fix some of the open issues here, like:

  • Support of DOM selection apis.
@pachewise
Copy link

Updating to JSDom 16.2 also fixes a security vulnerability in acorn: https://github.com/jsdom/jsdom/releases/tag/16.2.1

@SimenB
Copy link
Member

SimenB commented Apr 17, 2020

JSDOOM will be updated by #9606 in Jest 26, use jest-environment-jsdom-sixteen to use it the meanwhile.

The acorn vulnerability has been fixed, so just update acorn, no need to update jsdom to get it

@SimenB SimenB closed this as completed Apr 17, 2020
@github-actions
Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Please note this issue tracker is not a help forum. We recommend using StackOverflow or our discord channel for questions.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 11, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants