Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: xmldom/xmldom
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 0.8.9
Choose a base ref
...
head repository: xmldom/xmldom
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 0.8.10
Choose a head ref
  • 2 commits
  • 4 files changed
  • 1 contributor

Commits on Jul 19, 2023

  1. fix(dom): prevent iteration over deleted items (#514)

    - `NodeList.item` now checks the `length` attribute before accessing the
    item at a provided index and returns `null` it the index is out of range
    - when updating `LiveNodeList` (as part of accessing the `item` method)
    and the new `length` is shorter then the current one, any references on
    indexes following the index starting from `length` are `delete`d, and
    `null` is returned instead of `undefined`
    - added some exports to the `lib/dom.js` module to enable testing
    
    fixes #499
    karfau committed Jul 19, 2023
    Configuration menu
    Copy the full SHA
    00c683e View commit details
    Browse the repository at this point in the history
  2. 0.8.10

    karfau committed Jul 19, 2023
    Configuration menu
    Copy the full SHA
    252395e View commit details
    Browse the repository at this point in the history
Loading