Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@endo/common

Package Overview
Dependencies
Maintainers
5
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@endo/common - npm Package Compare versions

Comparing version 1.0.2 to 1.0.3

4

from-unique-entries.js

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

import { q, Fail } from '@endo/errors';
const { fromEntries } = Object;
const { ownKeys } = Reflect;
const { quote: q, Fail } = assert;
/**

@@ -7,0 +7,0 @@ * Throws if multiple entries use the same property name. Otherwise acts

{
"name": "@endo/common",
"version": "1.0.2",
"version": "1.0.3",
"description": "common low level utilities",

@@ -44,8 +44,9 @@ "keywords": [],

"dependencies": {
"@endo/eventual-send": "^1.1.0",
"@endo/promise-kit": "^1.0.2"
"@endo/errors": "^1.0.3",
"@endo/eventual-send": "^1.1.1",
"@endo/promise-kit": "^1.0.3"
},
"devDependencies": {
"@endo/lockdown": "^1.0.2",
"@endo/ses-ava": "^1.1.0",
"@endo/lockdown": "^1.0.3",
"@endo/ses-ava": "^1.1.1",
"ava": "^5.3.0",

@@ -76,3 +77,3 @@ "c8": "^7.14.0",

},
"gitHead": "373f9eebab66c94ed42350473c90fb25e6054f0a"
"gitHead": "f731c5c12f8d185dbf2daf53ec6a57e5ac56e4e9"
}

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

const { details: X } = assert;
import { X, makeError, annotateError } from '@endo/errors';

@@ -17,9 +17,6 @@ /**

}
const outerErr = assert.error(
`${label}: ${innerErr.message}`,
ErrorConstructor,
);
assert.note(outerErr, X`Caused by ${innerErr}`);
const outerErr = makeError(`${label}: ${innerErr.message}`, ErrorConstructor);
annotateError(outerErr, X`Caused by ${innerErr}`);
throw outerErr;
};
harden(throwLabeled);
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