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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update jsdom to the latest version 🚀 #1008

Merged
merged 2 commits into from
Mar 15, 2018
Merged

Conversation

greenkeeper[bot]
Copy link
Contributor

@greenkeeper greenkeeper bot commented Apr 24, 2017

Version 10.0.0 of jsdom just got published.

Dependency jsdom
Current Version 9.12.0
Type devDependency

The version 10.0.0 is not covered by your current version range.

Without accepting this pull request your project will work just like it did before. There might be a bunch of new features, fixes and perf improvements that the maintainers worked on for you though.

I recommend you look into these changes and try to get onto the latest version of jsdom.
Given that you have a decent test suite, a passing build is a strong indicator that you can take advantage of these changes by merging the proposed change into your project. Otherwise this branch is a great starting point for you to work on the update.


Commits

The new version differs by 9 commits0.

  • 50ebb59 Version 10.0.0
  • c854f7e Small updates to the readme and to JS feature usage
  • 380e2fe Forward approved preflight headers to request during XHR
  • 3a1c2e0 Fix htmlElement.dir and implement document.dir
  • 3aca01a Update / API to match current specs
  • fa74ef9 Fix origin-checking logic in postMessage
  • 4513ba1 Improve xhr.open not enough args error message
  • 461c638 Handle setting innerHTML to the empty string
  • 58a7028 Overhaul the public jsdom API

false

See the full diff

Not sure how things should work exactly?

There is a collection of frequently asked questions and of course you may always ask my humans.


Your Greenkeeper Bot 🌴

@coveralls
Copy link

coveralls commented Apr 24, 2017

Coverage Status

Coverage remained the same at 98.95% when pulling f36a0ee on greenkeeper/jsdom-10.0.0 into 1dc786b on master.

@greenkeeper
Copy link
Contributor Author

greenkeeper bot commented May 1, 2017

Version 10.1.0 just got published.

Update to this version instead 🚀

Commits

The new version differs by 15 commits0.

  • d078830 Version 10.1.0
  • e3e4629 Enable FormData being iterable
  • 8d3f747 Implement HTMLSelectElement's selectedOptions
  • e79e9a1 Fix xhr.abort() during XHR readystatechange
  • 270f288 Pre-allocate XMLHttpRequest buffer
  • 2552a85 Disable flaky XHR tests
  • 8c1709b Clear the "generated" directory each run
  • ca8dfef Ensure { runScripts: "outside-only" } also passes down to iframes
  • 3d0f28d Properly inherit "document features" configuration into iframes
  • 1f488ec Remove stray toString directly on Window
  • 9d0c03e Use Symbol.toStringTag to make Object.prototype.toString work
  • 4591c3c Fix TODO links to the paper about jsdom in a web worker
  • ac49743 Implement value sanitization algorithms for several input types
  • b2bfc3d Add an issue template
  • aea99cd Document fix to img load events in the v10 changelog

false

See the full diff

greenkeeper bot added a commit that referenced this pull request May 21, 2017
@greenkeeper
Copy link
Contributor Author

greenkeeper bot commented May 21, 2017

Version 11.0.0 just got published.

Update to this version instead 🚀

Commits

The new version differs by 40 commits.

  • 0f4128d Version 11.0.0
  • be65539 Fix event handler property generation to properly rely on runScripts
  • 38c430f Factor out runScripts option tests
  • ecf7449 Do not submit disconnected form elements
  • 5f3cbd6 Properly implement event handler properties/attributes
  • 3eb19e7 Remove a few more now-redundant toString()s
  • b1b7f23 Refactor XHR's send() implementation
  • 7d950c4 Delete keygen from default stylesheet
  • 5151546 Remove other unsupported CSS features from the default stylesheet
  • dfc9430 Delete webkit prefixes and other internal selectors in default CSS
  • 56fbd0d Support ArrayBufferViews in xhr.send()
  • ce13678 Disable yet another flaky-on-CI XHR test
  • dabf1a4 Remove createCDATASection from benchmarks
  • 2d257ef Update benchmark runner to support the new API
  • 1833f78 Use Set instead of Array for HTMLCollection keys

There are 40 commits in total.

See the full diff

greenkeeper bot added a commit that referenced this pull request Jul 3, 2017
@greenkeeper
Copy link
Contributor Author

greenkeeper bot commented Jul 3, 2017

Version 11.1.0 just got published.

Update to this version instead 🚀

Commits

The new version differs by 11 commits.

  • 9783072 Version 11.1.0
  • 07decef Add URLSearchParams to the global
  • 1c3658b Fix corrupted XHRs for resources over one megabyte
  • 84861f7 Add error reporting for bad JavaScript URLs
  • 8a9c583 Add a test for javascript: URL side effects
  • 4b50320 Reimplement javascript: URL loading for iframes
  • b51255b Make navigation work more like spec
  • 2562b8e Update nwmatcher, and tweak its options and usage
  • 4c086df Enable various web platform tests which are now passing
  • 3f306be Don't start timers after the window has closed
  • c35298b Fix README typo

See the full diff

greenkeeper bot added a commit that referenced this pull request Aug 21, 2017
@greenkeeper
Copy link
Contributor Author

greenkeeper bot commented Aug 21, 2017

Version 11.2.0 just got published.

Update to this version instead 🚀

Commits

The new version differs by 23 commits.

  • fefa181 Version 11.2.0
  • c5cc051 Remove unused utils.lengthFromProperties
  • 25cc4e9 Add element.dataset support
  • 89a7ef5 Fully implement semantics 21cad9a Implement HTMLOptionsCollection c2143cc Convert HTMLCollection to IDL 9c56380 Convert NodeList to IDL 18a40f7 Implement FileList's supported prop indices fcd48c2 Always pass the wrapper to parse5 f6bc2ed Re-do a decent amount of XMLHttpRequest stuff 90b32d6 Add "child text content changed steps" and use it for textarea 04d2a4f Rewrite NodeIterator to leverage webidl2js a126b64 Add active check to TreeWalker a33f6a5 Use ASCII case-insensitive matching for class names 4b93d50 Roll web-platform-tests

    There are 23 commits in total.
    See the full diff

greenkeeper bot added a commit that referenced this pull request Sep 30, 2017
@greenkeeper
Copy link
Contributor Author

greenkeeper bot commented Sep 30, 2017

Version 11.3.0 just got published.

Update to this version instead 🚀

Commits

The new version differs by 36 commits.

  • 6bb5885 Version 11.3.0
  • 19183e8 Overhaul how we run web-platform-tests
  • 2d51af3 Update ESLint rules and pass all of them
  • 3bdd8f0 Update dependencies and dev dependencies
  • 44bd291 Add CompositionEvent and WheelEvent
  • af5a215 Clean up some UI events' init functions
  • 2595ec9 Make FocusEventImpl extend UIEventImpl
  • 44f820b Check Window type in UIEvent
  • 52e2000 Make Window's impl's wrapper point to global proxy
  • baf6ea8 Upgrade to webidl2js v8.0.0
  • b4c6a89 Standardize around impl class names
  • a55d98e Convert DOMTokenList to IDL
  • 1d4ecca Implement attributes.getAttributeValue per spec
  • fe79937 Update and according to spec
  • 683e942 Speed up sync XHR

There are 36 commits in total.

See the full diff

greenkeeper bot added a commit that referenced this pull request Nov 19, 2017
@greenkeeper
Copy link
Contributor Author

greenkeeper bot commented Nov 19, 2017

Version 11.4.0 just got published.

Update to this version instead 🚀

Commits

The new version differs by 34 commits.

  • cef555a Version 11.4.0
  • f61299c Remove the element
  • 1b91696 Add append(), prepend(), after(), before(), and replaceWith()
  • f08fd3b Fix querySelector for SVG elements inside template fragments
  • 35775cc Don't do radio button activation behavior if it's already checked
  • fefbd7a Give radio buttons activation behavior too, not just checkboxes
  • f0ecb6d Fix some XMLHttpRequest CORS header issues
  • d6cba38 Convert NamedNodeMap to use IDL
  • b5b5dba Disable tests we are not going to be able to pass this roll
  • d12bea1 List execution-timing tests as failing in Node 6
  • 2b70aef Implement Node.isConnected and Node.isSameNode()
  • 587151f Always decode responseType "json" as UTF-8
  • e7b68fa Add value handling for the filename mode
  • d13922a Clear headers on XHR abort()
  • d4612e7 Roll web-platform-tests
  • There are 34 commits in total.

    See the full diff

greenkeeper bot added a commit that referenced this pull request Nov 26, 2017
@greenkeeper
Copy link
Contributor Author

greenkeeper bot commented Nov 26, 2017

Version 11.5.0 just got published.

Update to this version instead 🚀

greenkeeper bot added a commit that referenced this pull request Nov 26, 2017
@greenkeeper
Copy link
Contributor Author

greenkeeper bot commented Nov 26, 2017

Version 11.5.1 just got published.

Update to this version instead 🚀

greenkeeper bot added a commit that referenced this pull request Jan 22, 2018
@greenkeeper
Copy link
Contributor Author

greenkeeper bot commented Jan 22, 2018

Version 11.6.0 just got published.

Update to this version instead 🚀

Commits

The new version differs by 44 commits.

  • dc150a1 Version 11.6.0
  • ad0e551 Fix hr-time tests after WPT roll
  • 9f1c9aa Make WebSocket compatible with browsers
  • cb523d1 Add documentation about "yarn pretest"
  • 12a5e12 Implement window.performance
  • b9dac94 Upgrade in-range dependencies
  • ecdf27c Upgrade parse5 to v4.0.0
  • 8c84ebf Overhaul HTML parsing infrastructure
  • e2ddfb7 Implement more parts of
  • 1519104 Update Web IDL outside nodes/
  • 144b39b Implement WebSocket
  • 2b5447a Enable currently passing uievents WPTs
  • 9bb9297 Set view attribute in HTMLElement#click
  • 4fa53f6 Implement Keyboard/MouseEvent#getModifierState
  • 71d869d Copy default params in Event constructor

There are 44 commits in total.

See the full diff

greenkeeper bot added a commit that referenced this pull request Jan 25, 2018
@greenkeeper
Copy link
Contributor Author

greenkeeper bot commented Jan 25, 2018

Version 11.6.1 just got published.

Update to this version instead 🚀

Commits

The new version differs by 2 commits.

See the full diff

greenkeeper bot added a commit that referenced this pull request Jan 30, 2018
@greenkeeper
Copy link
Contributor Author

greenkeeper bot commented Jan 30, 2018

Version 11.6.2 just got published.

Update to this version instead 🚀

Commits

The new version differs by 4 commits.

  • 1cd4831 Version 11.6.2
  • 71dc01b Update maintainer and repository information
  • f32113b Further fix <style> and <script> evaluation semantics
  • dbda070 Fix <style> and <script> parsing to wait for their close tag

See the full diff

@fb55 fb55 force-pushed the greenkeeper/jsdom-10.0.0 branch from f36a0ee to 72cac09 Compare March 15, 2018 15:46
@fb55 fb55 changed the base branch from master to v1.0.0 March 15, 2018 15:46
@fb55 fb55 merged commit 392d7b2 into v1.0.0 Mar 15, 2018
@fb55 fb55 deleted the greenkeeper/jsdom-10.0.0 branch March 15, 2018 15:55
fb55 added a commit that referenced this pull request Oct 3, 2018
* Use parse5 as a default parser (closes #863)

* Use documents via $.load

* Add test for #997

* Change options format

* Update unit test

Update test phrasing according to recent changes in parsing logic.

* 1.0.0-rc.1

* Improve release process

Limit responsibility of "pre-publish" script to simply validate the
project's `History.md` file (by verifying an entry for the current
release). Define a separate script for history generation. Separating
the workflow in this way allows for manual modification of the release
notes.

* Correct errors in Readme.md

* Document advanced usage with htmlparser2

* Update History.md (and include migration guide)

* Remove documentation for `xmlMode` option

Simply expose an option named `xml` that enables XML parsing via
htmlparser2 with the ability to specify additional options for that
parser.

* Rename `useHtmlParser2` option

This flag is used to control parsing behavior internally, but it is not
intended for use by consumers. Prefix the name with an underscore in
order to discourage users from relying on it.

* Re-write migration guide for version 1.0 (#1078)

Incorporate recent feedback from consumers who have experimented with
the version 1.0 release candidate.

* Pass locationInfo option to parse5 (#1155)

* Update css-select to the latest version 🚀 (#1158)

Breaking change: Invalid selectors now throw Errors, not SyntaxErrors.

* Use eslint & prettier, add precommit hook (#1152)

* chore(package): update mocha to version 5.0.4 (#1088)

* Ensure text nodes expose the DOM level 1 API

Since enabling the `withDomLvl1` parsing option, nodes cannot be created
with an object literal. Create new text nodes using the `evaluate`
function to ensure they expose the correct attributes.

* fixing missing prop(‘outerHTML’) implementation.
Added an ‘outerHTML’ case to the switch in the prop function, which wraps a clone of  in a container element, and sets  to that container's HTML (#945)

* Do not lint files excluded from version control (#1162)

This includes code coverage reports as generated by the command `make
test-cov`.

* Correct typo in git hook configuration (#1163)

* Correct typo in git hook configuration

* Reformat package manifest to satisfy linter

* Fix .text with a function as the argument

* Fix `.text` being called on a collection with size > 1 with a function

* chore(package): update coveralls to version 3.0.0 (#1086)

* Update jsdom to the latest version 🚀 (#1008)

* Throw a useful error on invalid input to cheerio.load() (#1087)

* Procedurally generate API documentation from source (#1165)

* Use parse5 to serialize the DOM, use lodash to clone dom

* Fix DoS/RCE vulnerability in [email protected] (#1179)

fixes #1175

*  Add eslint-plugin-jsdoc, improve documentation (#1168)

* Improve variable names (#1183)

Promote consistency in variable names within the project's source and
unit tests. This helps to highlight the distinction between the object
exported by the module and the function produced by the `load` method.
The latter value is expected to mimic the jQuery API, while the former
value generally should only be used for a small set of methods specific
to Cheerio:

- `load`
- `html`
- `xml`
- `text`

Other usages of the exported object are discouraged, and a future patch
will update the unit tests to reflect the usages that are endorsed for
long-term stability.

* Formally test deprecated APIs (#1184)

Methods named `load`, `html`, `xml`, and `text` are defined in many
locations:

Today, Cheerio defines multiple versions of methods named `load`,
`html`, `xml`, `text`, and `parseHTML`. These alternate versions may be
defined in up to three distinct parts of the API:

- exported by the Cheerio module
- as static methods of the "loaded" Cheerio factory function
- as instance methods of the "loaded" Cheerio factory function

Some of these are surperfluous, and because some unecessarily conflict
with idiomatic jQuery coding patterns, they have been designated for
future removal [1].

Add tests for the deprecated methods in order to avoid regressions prior
to their removal. Insert comments to delineate the methods which are
endorsed and which have been deprecated. For the latter group of
methods, include recommendation for the preferred alternatives.

[1] #1122

* Implement for...of iterator via Symbol.iterator (#1197)

* Implement for...of iterator via Symbol.iterator

Similar to jQuery: https://github.com/jquery/jquery/blob/1ea092a54b00aa4d902f4e22ada3854d195d4a18/src/core.js#L371-L373

Fixes #1191

* Assert that the iterator ends

#1197 (comment)
fb55 pushed a commit that referenced this pull request Sep 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

2 participants