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

@agoric/eventual-send

Package Overview
Dependencies
Maintainers
4
Versions
322
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@agoric/eventual-send - npm Package Compare versions

Comparing version 0.3.1 to 0.3.2

12

dist/eventual-send.cjs.js

@@ -65,4 +65,2 @@ 'use strict';

const harden$1 = (globalThis.SES && globalThis.SES.harden) || Object.freeze;
// 'E' and 'HandledPromise' are exports of the module

@@ -74,3 +72,3 @@

// TODO: Maybe rename the global to something only the tildot rewriter uses.
// TODO: Maybe rename the global HandledPromise to something only the tildot rewriter uses.
if (!globalThis.HandledPromise) {

@@ -95,2 +93,4 @@ /* eslint-disable no-use-before-define */

function makeHandledPromise(EPromise) {
const harden = (globalThis.SES && globalThis.SES.harden) || Object.freeze;
// TODO: Use HandledPromise.resolve to store our weakmap, and

@@ -135,3 +135,3 @@ // install it on Promise.resolve.

return harden$1(Object.assign(HandledPromise, staticMethods));
return harden(Object.assign(HandledPromise, staticMethods));
}

@@ -159,2 +159,4 @@

const harden = (globalThis.SES && globalThis.SES.harden) || Object.freeze;
// xs doesn't support WeakMap in pre-loaded closures

@@ -403,3 +405,3 @@ // aka "vetted customization code"

// by the executor.
return harden$1(handledP);
return harden(handledP);
},

@@ -406,0 +408,0 @@ }),

@@ -61,4 +61,2 @@ /* global globalThis window */

const harden$1 = (globalThis.SES && globalThis.SES.harden) || Object.freeze;
// 'E' and 'HandledPromise' are exports of the module

@@ -70,3 +68,3 @@

// TODO: Maybe rename the global to something only the tildot rewriter uses.
// TODO: Maybe rename the global HandledPromise to something only the tildot rewriter uses.
if (!globalThis.HandledPromise) {

@@ -91,2 +89,4 @@ /* eslint-disable no-use-before-define */

function makeHandledPromise(EPromise) {
const harden = (globalThis.SES && globalThis.SES.harden) || Object.freeze;
// TODO: Use HandledPromise.resolve to store our weakmap, and

@@ -131,3 +131,3 @@ // install it on Promise.resolve.

return harden$1(Object.assign(HandledPromise, staticMethods));
return harden(Object.assign(HandledPromise, staticMethods));
}

@@ -155,2 +155,4 @@

const harden = (globalThis.SES && globalThis.SES.harden) || Object.freeze;
// xs doesn't support WeakMap in pre-loaded closures

@@ -399,3 +401,3 @@ // aka "vetted customization code"

// by the executor.
return harden$1(handledP);
return harden(handledP);
},

@@ -402,0 +404,0 @@ }),

@@ -67,4 +67,2 @@ (function (global, factory) {

const harden$1 = (globalThis.SES && globalThis.SES.harden) || Object.freeze;
// 'E' and 'HandledPromise' are exports of the module

@@ -76,3 +74,3 @@

// TODO: Maybe rename the global to something only the tildot rewriter uses.
// TODO: Maybe rename the global HandledPromise to something only the tildot rewriter uses.
if (!globalThis.HandledPromise) {

@@ -97,2 +95,4 @@ /* eslint-disable no-use-before-define */

function makeHandledPromise(EPromise) {
const harden = (globalThis.SES && globalThis.SES.harden) || Object.freeze;
// TODO: Use HandledPromise.resolve to store our weakmap, and

@@ -137,3 +137,3 @@ // install it on Promise.resolve.

return harden$1(Object.assign(HandledPromise, staticMethods));
return harden(Object.assign(HandledPromise, staticMethods));
}

@@ -161,2 +161,4 @@

const harden = (globalThis.SES && globalThis.SES.harden) || Object.freeze;
// xs doesn't support WeakMap in pre-loaded closures

@@ -405,3 +407,3 @@ // aka "vetted customization code"

// by the executor.
return harden$1(handledP);
return harden(handledP);
},

@@ -408,0 +410,0 @@ }),

{
"name": "@agoric/eventual-send",
"version": "0.3.1",
"version": "0.3.2",
"description": "Extend a Promise class to implement the eventual-send API",

@@ -5,0 +5,0 @@ "main": "dist/eventual-send.cjs.js",

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