Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
christophilus
on March 3, 2021
|
parent
|
context
|
favorite
| on:
Deno v1.8 – support for WebGPU, private modules, I...
I really want to use Deno, but until it's got a decent solution for cryptography, it seems as if encrypted session cookies are a no go, which makes a lot of my use cases a no go.
lucacasonato
on March 3, 2021
[–]
We are hoping to ship WebCrypto support in 1.9, in 6 weeks. That should do most general purpose crypto stuff pretty well.
chovybizzass
on March 3, 2021
|
parent
[–]
no xml library either.
afavour
on March 3, 2021
|
root
|
parent
|
next
[–]
Why not make an external module for that? I don't see why it would need to be integrated into the runtime.
dopidop
on March 3, 2021
|
root
|
parent
|
next
[–]
Indeed, unless it’s core in own the runtime store state to manipulate xml it’s seems like something that should be a user module
stjohnswarts
on March 4, 2021
|
root
|
parent
|
prev
|
next
[–]
This is the best idea for XML. XML is big monster so to include it in the core might not be the right thing.
jdxcode
on March 3, 2021
|
root
|
parent
|
prev
|
next
[–]
I used
https://github.com/nekobato/deno-xml-parser
which worked fine for my use-case. It's 1 TS file with no dependencies.
crowlKats
on March 3, 2021
|
root
|
parent
|
prev
|
next
[–]
For people seeking a solution, one can use deno_dom, which implements various DOM related APIs, including DOMParser, which lets you parse XML
tedk-42
on March 3, 2021
|
root
|
parent
|
prev
[–]
I doubt it's worth writing this into the core of Deno to support a dying markup language.
aetherspawn
on March 3, 2021
|
root
|
parent
[–]
Most of the web is XML-like (XHTML, Sitemaps, Manifests, RSS etc). It's not going anywhere any time soon.
Denying XML support may as well be like denying JSON support at this point.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: