Skip to content

Conversation

@tjni
Copy link
Contributor

@tjni tjni commented Jan 3, 2025

Description

In clipcrow/xmlp#3 and clipcrow/xmlp@d215ffa, xmlp was changed to support Deno 2. This PR adapts the usage in website-sitemap.ts to those changes.

  1. SAXParser.parse now expects a ReadableStream.
  2. SAXParser.parse now works on the input stream directly and closes it at the end

xmlp hasn't released a new version with these changes despite my ask for it in clipcrow/xmlp#5. Would love to get some thoughts on how to handle this case.

Checklist

I have (if applicable):

  • filed a contributor agreement.
  • referenced the GitHub issue this PR closes
  • updated the appropriate changelog in the PR
  • ensured the present test suite passes
  • added new tests
  • created a separate documentation PR in Quarto's website repo and linked it to this PR

1. SAXParser.parse now expects a ReadableStream.
2. SAXParser.parse now works on the input stream directly and closes it
   at the end
@cscheid
Copy link
Collaborator

cscheid commented Jan 3, 2025

Thanks for the PR, but we can't yet support Deno 2 for a number of reasons, so we can't take this.

@cscheid cscheid closed this Jan 3, 2025
@tjni tjni deleted the xmlp-deno2 branch January 3, 2025 18:07
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.

2 participants