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

yowasp-runtime

Package Overview
Dependencies
Maintainers
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

yowasp-runtime

Common runtime for YoWASP packages

  • 1.66
  • PyPI
  • Socket score

Maintainers
2

YoWASP Python runtime

This package is an internal support package for the YoWASP project. It handles interfacing with the WebAssembly runtime and the supported operating systems. Do not depend on this package in your own code.

Configuration

The YoWASP runtime can be configured through environment variables:

YOWASP_CACHE_DIR

YoWASP ships application code as architecture-independent WebAssembly and compiles it to architecture-specific machine code on first run. To make subsequent runs faster, it saves the generated machine code to a cache, which by default is located at %LocalAppData%\YoWASP\Cache (on Windows), $HOME/.cache/YoWASP (on Linux), or $HOME/Library/Caches/YoWASP (on macOS). This location can be customized by setting the YOWASP_CACHE_DIR environment variable.

YOWASP_MOUNT

YoWASP isolates the applications from the underlying operating system such that only filesystem access is possible. By default, the application can access the entire filesystem and host paths can be used unmodified (however on Windows, all paths must use / as the path separator). If the environment variable YOWASP_MOUNT is set, then the application can only access the paths specified in that environment variable and their descendants. Paths above the ones specified cannot be accessed, even using extra .. segments.

The syntax for specifying mounts is YOWASP_MOUNT=<mountpoint1>=<path1>[:<mountpoint2>=<path2>[:...]]. That is, mounts are specified as <mountpoint>=<path> pairs separated by : symbols, where operating system path <path> becomes accesible by the application at <mountpoint>.

License

This package is covered by the ISC license.

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

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