@agoric/base-zone
Advanced tools
Comparing version 0.1.1-dev-cab101e.0 to 0.1.1-dev-cb12196.0
{ | ||
"name": "@agoric/base-zone", | ||
"version": "0.1.1-dev-cab101e.0+cab101e", | ||
"version": "0.1.1-dev-cb12196.0+cb12196", | ||
"description": "Allocation zone abstraction library and heap implementation", | ||
@@ -11,5 +11,5 @@ "type": "module", | ||
"prepack": "tsc --build tsconfig.build.json", | ||
"postpack": "git clean -f '*.d.ts*'", | ||
"postpack": "git clean -f '*.d.ts*' '*.tsbuildinfo'", | ||
"test": "ava", | ||
"test:c8": "c8 $C8_OPTIONS ava --config=ava-nesm.config.js", | ||
"test:c8": "c8 --all $C8_OPTIONS ava", | ||
"test:xs": "exit 0", | ||
@@ -31,12 +31,13 @@ "lint-fix": "yarn lint:eslint --fix", | ||
"dependencies": { | ||
"@agoric/store": "0.9.3-dev-cab101e.0+cab101e", | ||
"@endo/common": "^1.2.2", | ||
"@endo/exo": "^1.5.0", | ||
"@endo/far": "^1.1.2", | ||
"@endo/pass-style": "^1.4.0", | ||
"@endo/patterns": "^1.4.0" | ||
"@agoric/store": "0.9.3-dev-cb12196.0+cb12196", | ||
"@endo/common": "^1.2.8", | ||
"@endo/errors": "^1.2.8", | ||
"@endo/exo": "^1.5.7", | ||
"@endo/far": "^1.1.9", | ||
"@endo/pass-style": "^1.4.7", | ||
"@endo/patterns": "^1.4.7" | ||
}, | ||
"devDependencies": { | ||
"@endo/init": "^1.1.2", | ||
"@endo/ses-ava": "^1.2.2", | ||
"@endo/init": "^1.1.7", | ||
"@endo/ses-ava": "^1.2.8", | ||
"ava": "^5.3.0" | ||
@@ -61,5 +62,5 @@ }, | ||
"typeCoverage": { | ||
"atLeast": 91.11 | ||
"atLeast": 91.4 | ||
}, | ||
"gitHead": "cab101ec0aa316d6407687088e5f088e972da5e2" | ||
"gitHead": "cb12196e58c3809ce7d997fa29399c4bf0e4393b" | ||
} |
@@ -1,2 +0,2 @@ | ||
export function makeHeapZone(baseLabel?: string | undefined): import("./types.js").Zone; | ||
export function makeHeapZone(baseLabel?: string): import("./types.js").Zone; | ||
//# sourceMappingURL=heap.d.ts.map |
@@ -1,5 +0,5 @@ | ||
export function makeOnceKit(debugName: string, stores: import("./types.js").Stores, backingStore?: globalThis.MapStore<string, any> | undefined): { | ||
export function makeOnceKit(debugName: string, stores: import("./types.js").Stores, backingStore?: import("@agoric/swingset-liveslots").MapStore<string, any>): { | ||
makeOnce: <V>(key: string, maker: (key: string) => V) => V; | ||
wrapProvider: <T extends (key: string, ...rest: unknown[]) => any>(provider: T, labelToKeys?: ((label: string) => string[]) | undefined) => T; | ||
wrapProvider: <T extends (key: string, ...rest: any[]) => any>(provider: T, labelToKeys?: (label: string) => string[]) => T; | ||
}; | ||
//# sourceMappingURL=make-once.d.ts.map |
// @ts-check | ||
const { Fail } = assert; | ||
import { Fail } from '@endo/errors'; | ||
@@ -38,3 +38,3 @@ /** @param {string} label */ | ||
* | ||
* @template {(key: string, ...rest: unknown[]) => any} T | ||
* @template {(key: string, ...rest: any[]) => any} T | ||
* @param {T} provider | ||
@@ -41,0 +41,0 @@ * @param {(label: string) => string[]} [labelToKeys] |
@@ -1,2 +0,2 @@ | ||
export function prepareRevocableMakerKit<U = any>(zone: import("@agoric/base-zone").Zone, uKindName: string, uMethodNames: (string | symbol)[], options?: RevocableKitOptions<any> | undefined): RevocableMakerKit<U>; | ||
export function prepareRevocableMakerKit<U = any>(zone: import("@agoric/base-zone").Zone, uKindName: string, uMethodNames: (string | symbol)[], options?: RevocableKitOptions): RevocableMakerKit<U>; | ||
export type RevocableMakerKit<U = any> = { | ||
@@ -3,0 +3,0 @@ revoke: (revocable: U) => boolean; |
@@ -0,6 +1,5 @@ | ||
import { Fail, q } from '@endo/errors'; | ||
import { fromUniqueEntries } from '@endo/common/from-unique-entries.js'; | ||
import { M } from '@endo/patterns'; | ||
import { fromUniqueEntries } from '@endo/common/from-unique-entries.js'; | ||
const { Fail, quote: q } = assert; | ||
/** @import {Amplify} from '@endo/exo'; */ | ||
@@ -7,0 +6,0 @@ |
// @ts-check | ||
import { Fail } from '@endo/errors'; | ||
import { M } from '@endo/patterns'; | ||
import { E } from '@endo/far'; | ||
const { Fail } = assert; | ||
const { apply } = Reflect; | ||
@@ -12,3 +11,3 @@ | ||
*/ | ||
export const PromiseWatcherHandler = M.call(M.any()).rest(M.any()).returns(); | ||
export const PromiseWatcherHandler = M.call(M.raw()).rest(M.raw()).returns(); | ||
@@ -15,0 +14,0 @@ /** |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
49469
45
7
+ Added@endo/errors@^1.2.8
Updated@endo/common@^1.2.8
Updated@endo/exo@^1.5.7
Updated@endo/far@^1.1.9
Updated@endo/pass-style@^1.4.7
Updated@endo/patterns@^1.4.7