Alasdair McLeay

Results 200 comments of Alasdair McLeay

Thanks! Though I was hoping Chromatic would behave like test-runner rather than the other way around :)

> After multiple hours of reading documentation and googling for solutions I still have no idea how one should expose Node functions to the browser and what is considered safe...

Looks like ipcMain and ipcRenderer are what I need, possibly then combined with contextBridge. https://www.electronjs.org/docs/latest/api/ipc-main https://www.electronjs.org/docs/latest/api/ipc-renderer If that's the case, would be great if this was mentioned in: > To...

@codebytere apologies, I was intending to revisit to add these, I should probably have put this in draft :) I've added a description and release notes now.

@codebytere would you like me to create an issue/feature request for what I'm trying to achieve here? May be easier to track that way, as perhaps something more complex is...

I agree that it should be opt in. At the point I made this change I thought Electron had full access via node-usb but later read about sandboxing and restricted...

> There’s no need; set NODE_OPTIONS to contain that node option. @ljharb can this be reopened? As per comments above, this is not an option. In latest node LTS (20.11.1)...

Related to this issue, https://github.com/vitejs/vite/issues/9606 was closed with the reasoning: > Worklets are an experimental feature Would it be possible to clarify what is meant by this? I don't think...