SaaSHub helps you find the best software and product alternatives Learn more â
Proposal-shadowrealm Alternatives
Similar projects and alternatives to proposal-shadowrealm
-
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
-
-
-
-
-
-
-
quickjs-emscripten
Safely execute untrusted Javascript in your Javascript, and execute synchronous code that uses async functions
-
-
-
-
-
-
-
-
-
-
handlebars-helpers
188 handlebars helpers in ~20 categories. Can be used with Assemble, Ghost, YUI, express.js etc.
-
workerbox
A secure sandbox to execute untrusted user JavaScript, in a web browser, without any risk to your own domain/site/page.
NOTE:
The number of mentions on this list indicates mentions on common posts plus user suggested alternatives.
Hence, a higher number means a better proposal-shadowrealm alternative or higher similarity.
proposal-shadowrealm discussion
proposal-shadowrealm reviews and mentions
Posts with mentions or reviews of proposal-shadowrealm.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2024-09-02.
-
Pulsar, micro creative coding playground
Unfortunately, it was too easy to trigger XSS: https://muffinman.io/pulsar/?grid=classic&animate=scale&code...
It is really hard to make a correct sandbox in JS in general, until we eventually get something like the Realms proposal [1].
[1] https://github.com/tc39/proposal-shadowrealm
-
Updates from the 98th TC39 meeting
ShadowRealm: ECMAScript Proposal, specs, and reference implementation for Realms [Stage 3 -> 2].
-
Should you use jest as a testing library?
You can't out of the box. There is an open issue on the Node.js repositoryto let the node:vm module to use the vm's context, but it is still open. It seems that the Node.js core team is interested in fixing this problem by implementing the new ShadowRealm spec, and I think we will make some progress during 2023.
-
Building an Extension System on the Web
ShadowRealms â a successor of the Realms proposals, this API is intended for use cases exactly like plugins or extension systems, providing an option for creating distinct global environments to run the code in. While not entirely secure on its own, this API could provide a strong foundation to build actual extension systems on the Web. That said, 4 years later, the TC39 proposal is currently only at stage 3, not implemented by any browser;
-
Vitest vs Jest benchmarks on a 5 year old real work SPA
With --no-isolate it was 2.8x faster than vitest and 1.7x faster than Jest, but 19 tests failed (see table above). Some people report issues with watch mode when using --no-isolate. So I decided to not pursue it any further. Once the vm module that Vitest relies on supports ESM, or when the amazingly named Shadow Realms are added to JavaScript, we will likely get this performance boost for free without the downsides.
-
Improving Vitest Performance
If ShadowRealms are ever added to EcmaScript (and implemented into V8/Node) they'll allow for a different approach to isolating code that would be faster without the downsides of sharing global.
- Virtualization is not an important enough use case for the web platform to tradeoff ergonomics and possible confusion for web devs, who by and large [âĶ] do not understand the separation between the specs. More to the point, they really shouldn't need to.
-
Is there an npm package for perchance?
Eventually I will get around to creating a "proper" package by just grabbing all the JS that is loaded by the code in the iframe, and bundling it up. We really need the ShadowRealm proposal to go through because the perchance engine messes with a lot of JS internals, so it would mess up the rest of your app. Could do it in a WebWorker, but then everything would have to be async.
-
Show HN: Run unsafe user generated JavaScript in the browser
The upcoming JavaScript Shadow Realms proposal looks like it solves a similar problem: https://github.com/tc39/proposal-shadowrealm/blob/main/expla...
- Named Element IDs Can Be Referenced as JavaScript Globals
-
A note from our sponsor - SaaSHub
www.saashub.com | 19 Jan 2025
Stats
Basic proposal-shadowrealm repo stats
20
1,452
5.5
about 2 months ago
The primary programming language of proposal-shadowrealm is HTML.
Popular Comparisons
- proposal-shadowrealm VS wtfjs
- proposal-shadowrealm VS Pentive
- proposal-shadowrealm VS vrite
- proposal-shadowrealm VS LavaMoat
- proposal-shadowrealm VS EventSource
- proposal-shadowrealm VS vm2-process
- proposal-shadowrealm VS caja
- proposal-shadowrealm VS rua
- proposal-shadowrealm VS proposal-symbol-thenable
- proposal-shadowrealm VS proposal-built-in-modules