Kasper Isager Dalsgarð
Kasper Isager Dalsgarð
We have a compatibility layer for Node.js builtins that you can use: https://github.com/holepunchto/bare-node
Pleasure! I think error handling in Pear might still be wonky, see #89. Loading `@clack/prompts` directly in Bare revealed that `tty.isatty()` was missing, I've added that here: https://github.com/holepunchto/bare-tty/commit/4e56a1386705a44ee2e7c2e1eac56a7e8b88b19b. Let me...
I'd try removing all the Pear bits to hopefully isolate the issue to either Bare or Pear.
I just hit this as well with a monorepo that contains OS and architecture specific packages. As a user of npm, it definitely feels like a bug and renders the...
I'm still seeing the following error for 32-bit builds: ``` env/io_posix.cc:1380:39: error: comparison of integers of different signs: 'long long' and 'unsigned long long' [-Werror,-Wsign-compare] file_stats.st_blksize != ```
This is still an issue as of v9.7.4: https://github.com/holepunchto/librocksdb/actions/runs/11954328841/job/33324183835
I've just been bit by this as well while trying to render a splash screen with fixed dimensions. While trying to fix it by resizing the window using `window.AppWindow().ResizeClient()`, I...
To account for the seemingly incorrect scale reported by `UIElement.RasterizationScale()`, I'm instead using [`GetDpiForMonitor()`](https://learn.microsoft.com/en-us/windows/win32/api/shellscalingapi/nf-shellscalingapi-getdpiformonitor) to compute the correct scaling factor for the monitor, `scale = float(dpi) / 96`. To get...
@dotMorten How does that work with multi-monitor setups where the monitors have different DPIs? To be clear, I have to both move and resize the window, taking into account the...
I just found myself in need of this as well, thanks! 🙌 It'd be great if the function could also take a `JSTypedArrayEnum` pointer and, if it's not `NULL`, write...