@agoric/base-zone
Advanced tools
Comparing version 0.1.1-dev-87e4ef4.0 to 0.1.1-dev-87eb568.0
{ | ||
"name": "@agoric/base-zone", | ||
"version": "0.1.1-dev-87e4ef4.0+87e4ef4", | ||
"version": "0.1.1-dev-87eb568.0+87eb568", | ||
"description": "Allocation zone abstraction library and heap implementation", | ||
@@ -22,2 +22,3 @@ "type": "module", | ||
".": "./src/index.js", | ||
"./zone-helpers.js": "./zone-helpers.js", | ||
"./heap.js": "./heap.js", | ||
@@ -30,10 +31,12 @@ "./tools/*": "./tools/*" | ||
"dependencies": { | ||
"@agoric/store": "0.9.3-dev-87e4ef4.0+87e4ef4", | ||
"@endo/exo": "^1.0.1", | ||
"@endo/far": "^1.0.1", | ||
"@endo/pass-style": "^1.0.1", | ||
"@endo/patterns": "^1.0.1" | ||
"@agoric/store": "0.9.3-dev-87eb568.0+87eb568", | ||
"@endo/common": "^1.2.0", | ||
"@endo/exo": "^1.3.0", | ||
"@endo/far": "^1.1.0", | ||
"@endo/pass-style": "^1.3.0", | ||
"@endo/patterns": "^1.3.0" | ||
}, | ||
"devDependencies": { | ||
"@endo/init": "^1.0.1", | ||
"@endo/init": "^1.1.0", | ||
"@endo/ses-ava": "^1.2.0", | ||
"ava": "^5.3.0" | ||
@@ -45,3 +48,3 @@ }, | ||
"engines": { | ||
"node": ">=14.15.0" | ||
"node": "^18.12 || ^20.9" | ||
}, | ||
@@ -59,5 +62,5 @@ "ava": { | ||
"typeCoverage": { | ||
"atLeast": 88.7 | ||
"atLeast": 88.55 | ||
}, | ||
"gitHead": "87e4ef498bd57ac1577e46ecdcc3bb96c0a98c88" | ||
"gitHead": "87eb5684440adfffc7828c3169ba0aeaffb9a809" | ||
} |
@@ -9,2 +9,6 @@ # Base Zone Library | ||
This library is used internally by [`@agoric/zone`](../zone/README.md); 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`. | ||
This library is used internally by [@agoric/zone](../zone/README.md); 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](../vat-data/README.md), you should instead use [@agoric/zone](../zone/README.md). | ||
--- | ||
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. |
@@ -8,3 +8,2 @@ /* eslint-disable import/export */ | ||
// @ts-expect-error TS1383: Only named exports may use 'export type'. | ||
export type * from './types.js'; |
@@ -1,2 +0,2 @@ | ||
export function isPassable(specimen: any): specimen is any; | ||
export function isPassable(specimen: any): specimen is Passable; | ||
//# sourceMappingURL=is-passable.d.ts.map |
export type KeyCategories = 'exoClass' | 'exoClassKit' | 'exo' | 'store' | 'zone'; | ||
export type KeyMakers = { | ||
exoClass: (label: string) => string[]; | ||
exoClassKit: (label: string) => string[]; | ||
exo: (label: string) => string[]; | ||
store: (label: string) => string[]; | ||
zone: (label: string) => string[]; | ||
}; | ||
export type KeyMakers = Record<KeyCategories, (label: string) => string[]>; | ||
/** | ||
@@ -48,15 +42,15 @@ * A bag of methods for creating defensible objects and | ||
*/ | ||
mapStore: <K, V>(label: string, options?: StoreOptions) => MapStore<K, V>; | ||
mapStore: <K, V>(label: string, options?: StoreOptions) => globalThis.MapStore<K, V>; | ||
/** | ||
* provide a Set-like store named `label` in the zone | ||
*/ | ||
setStore: <K_1>(label: string, options?: StoreOptions) => SetStore<K_1>; | ||
setStore: <K_1>(label: string, options?: StoreOptions) => globalThis.SetStore<K_1>; | ||
/** | ||
* provide a WeakMap-like store named `label` in the zone | ||
*/ | ||
weakMapStore: <K_2, V_1>(label: string, options?: StoreOptions) => WeakMapStore<K_2, V_1>; | ||
weakMapStore: <K_2, V_1>(label: string, options?: StoreOptions) => globalThis.WeakMapStore<K_2, V_1>; | ||
/** | ||
* provide a WeakSet-like store named `label` in the zone | ||
*/ | ||
weakSetStore: <K_3>(label: string, options?: StoreOptions) => WeakSetStore<K_3>; | ||
weakSetStore: <K_3>(label: string, options?: StoreOptions) => globalThis.WeakSetStore<K_3>; | ||
}; | ||
@@ -63,0 +57,0 @@ import { makeExo } from '@endo/exo'; |
@@ -1,5 +0,4 @@ | ||
// eslint-disable-next-line import/no-extraneous-dependencies | ||
import { wrapTest } from '@endo/ses-ava'; | ||
import rawTest from 'ava'; | ||
import test from 'ava'; | ||
export { test }; | ||
export const test = wrapTest(rawTest); |
@@ -1,2 +0,1 @@ | ||
// eslint-disable-next-line import/order | ||
import { test } from './prepare-test-env-ava.js'; | ||
@@ -3,0 +2,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
44390
41
814
14
6
3
+ Added@endo/common@^1.2.0
Updated@endo/exo@^1.3.0
Updated@endo/far@^1.1.0
Updated@endo/pass-style@^1.3.0
Updated@endo/patterns@^1.3.0