New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More

@agoric/base-zone

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@agoric/base-zone

Allocation zone abstraction library and heap implementation


Version published
Weekly downloads
12K
increased by23.91%
Maintainers
10
Weekly downloads
 
Created

Base Zone Library

Each Zone provides an API that allows the allocation of Exo objects and Stores (object collections) which use the same underlying persistence mechanism. This allows library code to be agnostic to whether its objects are backed purely by the JS heap (ephemeral), pageable out to disk (virtual) or can be revived after a vat upgrade (durable).

This library is used internally by @agoric/zone; refer to it for more details. Unless you are an author of a new Zone backing store type, or want to use makeHeapZone without introducing build dependencies on @agoric/vat-data, you should instead use @agoric/zone.


Be aware that both this package @agoric/base-zone and @agoric/store will move from the agoric-sdk repository to the endo repository and likely renamed @endo/zone and @endo/store. At that time, we will first deprecate the versions here, then replace them with deprecated stubs that reexport from their new home. We hope to eventually remove even these stubs, depending on the compat cost at that time.

FAQs

Package last updated on 24 Jan 2025

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