Skip to content

Update allProperties.js#150

Closed
lencioni wants to merge 1 commit intojsdom:masterfrom
lencioni:update-all-properties
Closed

Update allProperties.js#150
lencioni wants to merge 1 commit intojsdom:masterfrom
lencioni:update-all-properties

Conversation

@lencioni
Copy link
Copy Markdown

@lencioni lencioni commented Apr 6, 2022

I did this by cloning the repo, running npm install, and then executing
the following command:

node scripts/download_latest_properties.js

Finally, I ran eslint autofix on the file, which mostly just reformatted
the quotes from doubles to singles.

I hope that updating this file will allow JSDOM to avoid stripping these
valid styles from style attributes on DOM nodes.

I did this by cloning the repo, running npm install, and then executing
the following command:

```sh
node scripts/download_latest_properties.js
```

Finally, I ran eslint autofix on the file, which mostly just reformatted
the quotes from doubles to singles.

I hope that updating this file will allow JSDOM to avoid stripping these
valid styles from style attributes on DOM nodes.
@lencioni
Copy link
Copy Markdown
Author

lencioni commented Apr 6, 2022

We've tested this change at Airbnb by using patch package and it seems to resolve some issues we were running into with this list being outdated.

domenic added a commit that referenced this pull request Jan 22, 2023
This includes:

* A replacement of cssom with rrweb-cssom, matching jsdom/jsdom#3497. Closes #153.

* An update to the download_latest_properties.js script to stop using request.

* A regeneration of the list of properties. Closes #150.

* Some style updates to most generated files, for unclear reasons.
domenic added a commit that referenced this pull request Jan 22, 2023
This includes:

* A replacement of cssom with rrweb-cssom, matching jsdom/jsdom#3497. Closes #153.

* An update to the download_latest_properties.js script to stop using request.

* A regeneration of the list of properties. Closes #150.

* Some style updates to most generated files, for unclear reasons.
@domenic domenic closed this in #160 Jan 22, 2023
@domenic domenic closed this in 054d456 Jan 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant