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

@endo/eventual-send

Package Overview
Dependencies
Maintainers
5
Versions
45
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@endo/eventual-send - npm Package Compare versions

Comparing version 0.17.3 to 0.17.5

src/exports.d.ts

15

package.json
{
"name": "@endo/eventual-send",
"version": "0.17.3",
"version": "0.17.5",
"description": "Extend a Promise class to implement the eventual-send API",
"type": "module",
"main": "src/no-shim.js",
"types": "src/index.d.ts",
"scripts": {

@@ -13,5 +12,5 @@ "test": "ava",

"build": "exit 0",
"clean": "tsc --build tsconfig.build.json --clean",
"clean": "git clean -f '*.d.ts*'",
"prepack": "tsc --build tsconfig.build.json",
"postpack": "git clean -f '*.d.ts*'",
"postpack": "yarn clean",
"lint-fix": "yarn lint:eslint --fix && yarn lint:types",

@@ -34,7 +33,7 @@ "lint-check": "yarn lint",

"dependencies": {
"@endo/env-options": "^0.1.1"
"@endo/env-options": "^0.1.3"
},
"devDependencies": {
"@endo/lockdown": "^0.1.29",
"@endo/ses-ava": "^0.2.41",
"@endo/lockdown": "^0.1.31",
"@endo/ses-ava": "^0.2.43",
"ava": "^5.3.0",

@@ -69,3 +68,3 @@ "c8": "^7.14.0",

},
"gitHead": "106da55b8bcea3067f70c29c357806f3f2e55c52"
"gitHead": "b38361616f968415291b089dcca75cc4a2672a35"
}

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

// @ts-nocheck
/* global globalThis */
import { makeHandledPromise } from './src/handled-promise.js';
if (typeof HandledPromise === 'undefined') {
if (typeof globalThis.HandledPromise === 'undefined') {
globalThis.HandledPromise = makeHandledPromise();
}

@@ -34,6 +34,3 @@ export function makeHandledPromise(): {

};
export type HandledPromiseConstructor = ReturnType<() => {
new <R>(executor: HandledExecutor<R>, unfulfilledHandler?: Handler<Promise<unknown>> | undefined): Promise<R>;
prototype: Promise<unknown>;
} & PromiseConstructor & HandledPromiseStaticMethods>;
export type HandledPromiseConstructor = ReturnType<typeof makeHandledPromise>;
//# sourceMappingURL=handled-promise.d.ts.map

@@ -634,2 +634,2 @@ /// <reference types="ses" />

/** @typedef {ReturnType<makeHandledPromise>} HandledPromiseConstructor */
/** @typedef {ReturnType<typeof makeHandledPromise>} HandledPromiseConstructor */

@@ -12,3 +12,7 @@ export const E: (<T>(x: T) => import("./E.js").ECallableOrMethods<import("./E.js").RemoteFunctions<T>>) & {

export { hp as HandledPromise };
declare const hp: any;
export * from "./exports.js";
declare const hp: {
new <R>(executor: import("./handled-promise.js").HandledExecutor<R>, unfulfilledHandler?: import("./handled-promise.js").Handler<Promise<unknown>> | undefined): Promise<R>;
prototype: Promise<unknown>;
} & PromiseConstructor & import("./handled-promise.js").HandledPromiseStaticMethods;
//# sourceMappingURL=no-shim.d.ts.map

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

// @ts-nocheck
import makeE from './E.js';
const hp = HandledPromise;
export const E = makeE(HandledPromise);
export const E = makeE(hp);
export { hp as HandledPromise };
// eslint-disable-next-line import/export
export * from './exports.js';

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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