-
Notifications
You must be signed in to change notification settings - Fork 8
Permalink
Choose a base ref
{{ refName }}
default
Choose a head ref
{{ refName }}
default
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: bwrrp/slimdom.js
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 4.2.0
Could not load branches
Nothing to show
Loading
Could not load tags
Nothing to show
{{ refName }}
default
Loading
...
head repository: bwrrp/slimdom.js
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: main
Could not load branches
Nothing to show
Loading
Could not load tags
Nothing to show
{{ refName }}
default
Loading
- 15 commits
- 14 files changed
- 2 contributors
Commits on Aug 3, 2023
-
Optionally treat CDATA as normal text (#146)
This adds an option to parseXmlDocument and parseXmlFragment to treat CDATA sections in the input as normal text, outputting (normalized) Text nodes instead of CDataSection nodes.
Configuration menu - View commit details
-
Copy full SHA for a1e88e1 - Browse repository at this point
Copy the full SHA a1e88e1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2a87390 - Browse repository at this point
Copy the full SHA 2a87390View commit details
Commits on Oct 19, 2023
-
Rework prefix resolution during serialization
This re-implements the algorithms used to determine what prefixes to assign and what declarations to output for them during serialization. The algorithms in the DOM parsing and serialization spec contain too many bugs that have so far not been addressed, and contain complicated branching that makes it hard to reason about them. In the replacement I've tried to remain close to the original behavior in spirit. That is, existing prefixes (or, for elements, an inherited default namespace) are preferred over authored prefixes but only if they are still in scope. Authored prefixes are preferred over generated ones. A new prefix is generated only if the authored prefix of an attribute conflicts with a declaration on the same element. Declaration attributes in the DOM are only preserved if they actually represent a change to the namespaces in scope for their element and do not cause conflicts - the spec preserved default namespace declarations in a few other cases but those seemed unnecessary.
Configuration menu - View commit details
-
Copy full SHA for eb6c891 - Browse repository at this point
Copy the full SHA eb6c891View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5e88c8d - Browse repository at this point
Copy the full SHA 5e88c8dView commit details -
This fixes attributes being allowed to adopt the default namespace (with empty prefix) and ancestor declarations not being considered as candidates.
Configuration menu - View commit details
-
Copy full SHA for c6b199e - Browse repository at this point
Copy the full SHA c6b199eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 527e54b - Browse repository at this point
Copy the full SHA 527e54bView commit details
Commits on Dec 21, 2023
-
Also guard against entity expansion attacks in attribute values (#149)
Looks like I missed this in the earlier implementation. This refactors the implementation a bit into a shape that also applies to any entities expanded as part of normalizing attribute values, both normal and default.
Configuration menu - View commit details
-
Copy full SHA for a4f5c76 - Browse repository at this point
Copy the full SHA a4f5c76View commit details -
Configuration menu - View commit details
-
Copy full SHA for c6eb97c - Browse repository at this point
Copy the full SHA c6eb97cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 469e950 - Browse repository at this point
Copy the full SHA 469e950View commit details
Commits on Mar 15, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 973697b - Browse repository at this point
Copy the full SHA 973697bView commit details -
Configuration menu - View commit details
-
Copy full SHA for fd1112a - Browse repository at this point
Copy the full SHA fd1112aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1e419bf - Browse repository at this point
Copy the full SHA 1e419bfView commit details
Commits on Apr 1, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 7d0d7a8 - Browse repository at this point
Copy the full SHA 7d0d7a8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8f38441 - Browse repository at this point
Copy the full SHA 8f38441View commit details -
Configuration menu - View commit details
-
Copy full SHA for 54255b4 - Browse repository at this point
Copy the full SHA 54255b4View commit details
Loading
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff 4.2.0...main