Darien Maillet Valentine
Darien Maillet Valentine
> What are the invariant checks? Correct me if I’m wrong @zenparsing, but I think what’s being referred to there is, for example, the need to report the "correct" own...
> MyDate.prototype.getFullYear.call(farMyDate); // does not work Should this be read as implying that `MyDate.prototype.getFullYear` is a custom implementation (that accesses private state), not inherited from `Date.prototype`?
I rather like this — when I need private methods currently, I do exactly this but with `.call()` (and function declarations outside the body, obviously). One q: if the syntax...
Has it been considered whether OrdinaryGet, Has, etc could be updated to bail rather than recurse if the key is a private symbol, and to bail for proxy get instead...
Ah, thanks, that’s a good point. I’ve gotten used to calling out to unexposed functions from classes with WM state — sort of equivalent to "private methods" — so I...
@Jamesernator that is what I do presently (with WeakMaps, I mean — the proxy is the key, not the target). Realistic scenarios where this isn’t an option may exist, but...
> You should use application/ not text/ as text/ assumes that the document is ASCII. @marrus-sh That hasn’t been true for a long time now — [RFC 6657](https://www.rfc-editor.org/rfc/rfc6657.html) is well-established....
Just ran into this too. I’m glad I tried to pipe and learned about it though! HID replicates a lot of the stream interface — `read`, `write`, `close`, etc —...
I opened a PR for that. I have also been experimenting locally with a Duplex-based API and if this proves successful I will share the results, but it would represent...
Seeing new activity on this, I'm curious if this change is a sure thing - i.e. is this renaming settled and there's just remaining work to do to get everything...