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 - npm Package Compare versions

Comparing version

to
0.1.1-dev-9555ae0.0

{
"name": "@agoric/base-zone",
"version": "0.1.1-dev-9553675.0+9553675",
"version": "0.1.1-dev-9555ae0.0+9555ae0",
"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-9553675.0+9553675",
"@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-9555ae0.0+9555ae0",
"@endo/common": "^1.2.9",
"@endo/errors": "^1.2.9",
"@endo/exo": "^1.5.8",
"@endo/far": "^1.1.10",
"@endo/pass-style": "^1.4.8",
"@endo/patterns": "^1.4.8"
},
"devDependencies": {
"@endo/init": "^1.1.2",
"@endo/ses-ava": "^1.2.2",
"@endo/init": "^1.1.8",
"@endo/ses-ava": "^1.2.9",
"ava": "^5.3.0"

@@ -52,3 +53,2 @@ },

"files": [
"test/**/test-*.*",
"test/**/*.test.*"

@@ -63,5 +63,5 @@ ],

"typeCoverage": {
"atLeast": 89.87
"atLeast": 91.4
},
"gitHead": "9553675cd136d389c427e024fc4da78558344779"
"gitHead": "9555ae03e9761b77c876197ef70c96380eeae5b4"
}

@@ -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
// @jessie-check
// XXX ambient types runtime imports until https://github.com/Agoric/agoric-sdk/issues/6512
import '@agoric/store/exported.js';
/// <reference types="@agoric/store/exported.js" />

@@ -6,0 +5,0 @@ // eslint-disable-next-line import/export

@@ -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,5 +1,6 @@

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'; */

@@ -97,2 +98,3 @@ /**

/** @type {Amplify<any>} */
let amplifier;

@@ -99,0 +101,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 @@ /**

// This file can contain .js-specific Typescript compiler config.
{
"extends": "../../tsconfig.json",
"compilerOptions": {
"maxNodeModuleJsDepth": 2,
},
"compilerOptions": {},
"include": [

@@ -8,0 +6,0 @@ "*.js",

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

Sorry, the diff of this file is not supported yet