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

@agoric/store

Package Overview
Dependencies
Maintainers
0
Versions
2716
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@agoric/store - npm Package Compare versions

Comparing version 0.9.3-dev-b953651.0 to 0.9.3-dev-b962ad8.0

src/index.d.ts

24

package.json
{
"name": "@agoric/store",
"version": "0.9.3-dev-b953651.0+b953651",
"version": "0.9.3-dev-b962ad8.0+b962ad8",
"description": "Wrapper for JavaScript map",

@@ -17,3 +17,5 @@ "type": "module",

"lint:types": "tsc",
"lint:eslint": "eslint ."
"lint:eslint": "eslint .",
"prepack": "tsc --build tsconfig.build.json",
"postpack": "git clean -f '*.d.ts*' '*.tsbuildinfo'"
},

@@ -34,10 +36,11 @@ "repository": {

"dependencies": {
"@endo/exo": "^1.5.0",
"@endo/marshal": "^1.5.0",
"@endo/pass-style": "^1.4.0",
"@endo/patterns": "^1.4.0"
"@endo/errors": "^1.2.9",
"@endo/exo": "^1.5.8",
"@endo/marshal": "^1.6.3",
"@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"

@@ -55,3 +58,2 @@ },

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

@@ -65,5 +67,5 @@ ],

"typeCoverage": {
"atLeast": 89.45
"atLeast": 89.69
},
"gitHead": "b95365108e7b1db73148bd742d46cae30890683b"
"gitHead": "b962ad81d2c823cca81350ebf0c206d4b9e39014"
}

@@ -0,1 +1,6 @@

/**
* @import {MustMatch} from '@agoric/internal';
*/
import { mustMatch as typelessMustMatch } from '@endo/patterns';
export { makeScalarWeakSetStore } from './stores/scalarWeakSetStore.js';

@@ -54,3 +59,2 @@ export { makeScalarSetStore } from './stores/scalarSetStore.js';

matches,
mustMatch,
isCopySet,

@@ -60,2 +64,7 @@ isCopyMap,

// XXX @agoric/store should not depend on @agoric/internal
// TODO move to Endo
/** @type {MustMatch} */
export const mustMatch = typelessMustMatch;
export {

@@ -62,0 +71,0 @@ initEmpty,

/** @import {LegacyMap, LegacyWeakMap} from '../types.js'; */
// TODO, once migrated to endo, import from @endo/errors instead
const { Fail, quote: q } = assert;
import { Fail, q } from '@endo/errors';

@@ -6,0 +6,0 @@ /**

/** @import {LegacyWeakMap} from '../types.js'; */
// TODO, once migrated to endo, import from @endo/errors instead
const { Fail, quote: q } = assert;
import { Fail, q } from '@endo/errors';

@@ -6,0 +6,0 @@ /**

@@ -0,1 +1,2 @@

import { q } from '@endo/errors';
import {

@@ -19,9 +20,7 @@ Far,

/**
* @import {Passable} from '@endo/pass-style');
* @import {Key, Pattern} from '@endo/patterns');
* @import {Passable} from '@endo/pass-style';
* @import {Key, Pattern} from '@endo/patterns';
* @import {MapStore, MapStoreMethods, StoreOptions} from '../types.js';
*/
const { quote: q } = assert;
/**

@@ -28,0 +27,0 @@ * @template {Key} K

@@ -0,1 +1,2 @@

import { q } from '@endo/errors';
import { Far, filterIterable } from '@endo/pass-style';

@@ -14,8 +15,6 @@ import { compareRank } from '@endo/marshal';

/**
* @import {Key, Pattern} from '@endo/patterns');
* @import {Key, Pattern} from '@endo/patterns';
* @import {SetStore, SetStoreMethods, StoreOptions} from '../types.js';
*/
const { quote: q } = assert;
/**

@@ -22,0 +21,0 @@ * @template {Key} K

@@ -0,1 +1,2 @@

import { q, Fail } from '@endo/errors';
import { Far, assertPassable, passStyleOf } from '@endo/pass-style';

@@ -15,4 +16,2 @@ import {

const { quote: q, Fail } = assert;
/**

@@ -19,0 +18,0 @@ * @template {Key} K

@@ -0,1 +1,2 @@

import { q, Fail } from '@endo/errors';
import { Far, passStyleOf } from '@endo/pass-style';

@@ -9,4 +10,2 @@ import {

const { quote: q, Fail } = assert;
/**

@@ -13,0 +12,0 @@ * @import {Key} from '@endo/patterns';

@@ -0,1 +1,2 @@

import { Fail, q } from '@endo/errors';
import { Far } from '@endo/marshal';

@@ -11,4 +12,2 @@ import { M, matches } from '@endo/patterns';

const { Fail, quote: q } = assert;
// TODO: Undate `@endo/patterns` to export the original, and delete the

@@ -15,0 +14,0 @@ // reimplementation here.

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