Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

workerboxjs

Package Overview
Dependencies
Maintainers
1
Versions
33
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

workerboxjs - npm Package Compare versions

Comparing version 6.0.0 to 6.1.0

2

lib/builtinWorker.html.js
// built from the ./server/dist/index.html file during npm run build
export default builtinWorker = atob(`PGEgaHJlZj0iaHR0cHM6Ly93b3JrZXJib3gubmV0Ij5pbmZvPzwvYT4uCgo8c2NyaXB0PgogIGZ1bmN0aW9uIHdvcmtlclNjcmlwdCAoKSB7CigoKT0+e3ZhciBnZW5lcmF0ZVVuaXF1ZUlkX2RlZmF1bHQ9KCk9PihnbG9iYWxUaGlzLmluY3JlbWVudG9yPShnbG9iYWxUaGlzLmluY3JlbWVudG9yfHwwKSsxLGdsb2JhbFRoaXMuaW5jcmVtZW50b3IrIl8iK0FycmF5KDIwKS5maWxsKCIhQCMkJV4mKigpXystPTAxMjM0NTY3ODlBQkNERUZHSElKS0xNTk9QUVJTVFVWV1hZWmFiY2RlZmdoaWprbG1ub3BxcnN0dXZ3eHl6IikubWFwKChmdW5jdGlvbihyKXtyZXR1cm4gcltNYXRoLmZsb29yKE1hdGgucmFuZG9tKCkqci5sZW5ndGgpXX0pKS5qb2luKCIiKSk7dmFyIHI9ZnVuY3Rpb24gY3JlYXRlQ2FsbGJhY2tTdG9yZSgpe2NvbnN0IHI9e307cmV0dXJue3N0b3JlOnIsYWRkOmU9Pntjb25zdCB0PWdlbmVyYXRlVW5pcXVlSWRfZGVmYXVsdCgpO3JldHVybiByW3RdPWUsdH0sZ2V0OmU9PnJbZV19fTt2YXIgZT1mdW5jdGlvbiBlbmNvZGVBcmcocixlLHQpe2lmKCJmdW5jdGlvbiI9PXR5cGVvZiByKXJldHVyblsiY2FsbGJhY2siLGUocildO2lmKHIgaW5zdGFuY2VvZiBBcnJheSlyZXR1cm5bImFycmF5IixyLm1hcCg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clNjcmlwdC50b1N0cmluZygpLnNwbGl0KCdcbicpLnNsaWNlKDEsIC0xKS5qb2luKCdcbicpOwogICAgY29uc3QgYmxvYiA9IG5ldyBCbG9iKFtjb2RlXSwge3R5cGU6ICdhcHBsaWNhdGlvbi9qYXZhc2NyaXB0J30pCiAgICBjb25zdCB3b3JrZXIgPSBuZXcgV29ya2VyKFVSTC5jcmVhdGVPYmplY3RVUkwoYmxvYikpCgogICAgd29ya2VyLnBvc3RNZXNzYWdlKCdPSycsIGV2ZW50LnBvcnRzKTsKICB9KTsKPC9zY3JpcHQ+Cg==`); export default builtinWorker;
{
"name": "workerboxjs",
"version": "6.0.0",
"version": "6.1.0",
"type": "module",

@@ -5,0 +5,0 @@ "description": "A secure sandbox to execute untrusted user JavaScript, in a web browser, without any risk to your own domain/site/page.",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc