@agoric/eventual-send
Advanced tools
Comparing version 0.13.22 to 0.13.23
@@ -6,2 +6,10 @@ # Change Log | ||
### [0.13.23](https://github.com/Agoric/agoric-sdk/compare/@agoric/eventual-send@0.13.22...@agoric/eventual-send@0.13.23) (2021-07-28) | ||
**Note:** Version bump only for package @agoric/eventual-send | ||
### [0.13.22](https://github.com/Agoric/agoric-sdk/compare/@agoric/eventual-send@0.13.21...@agoric/eventual-send@0.13.22) (2021-07-01) | ||
@@ -8,0 +16,0 @@ |
{ | ||
"name": "@agoric/eventual-send", | ||
"version": "0.13.22", | ||
"version": "0.13.23", | ||
"description": "Extend a Promise class to implement the eventual-send API", | ||
"parsers": { | ||
"js": "mjs" | ||
}, | ||
"type": "module", | ||
"main": "src/no-shim.js", | ||
@@ -12,2 +10,3 @@ "types": "src/index.d.ts", | ||
"test": "ava", | ||
"test:c8": "c8 $C8_OPTIONS ava --config=ava-nesm.config.js", | ||
"test:xs": "exit 0", | ||
@@ -30,7 +29,8 @@ "build": "exit 0", | ||
"devDependencies": { | ||
"@agoric/assert": "^0.3.6", | ||
"@agoric/install-ses": "^0.5.20", | ||
"@agoric/swingset-vat": "^0.18.6", | ||
"@agoric/assert": "^0.3.7", | ||
"@agoric/babel-standalone": "^7.14.3", | ||
"@endo/ses-ava": "^0.2.4", | ||
"ava": "^3.12.1", | ||
"esm": "agoric-labs/esm#Agoric-built" | ||
"c8": "^7.7.2", | ||
"ses": "^0.13.4" | ||
}, | ||
@@ -62,8 +62,5 @@ "keywords": [ | ||
], | ||
"require": [ | ||
"esm" | ||
], | ||
"timeout": "2m" | ||
}, | ||
"gitHead": "6410fbc01abf1f0d0fa3d6a1275fe8f117b98b0a" | ||
"gitHead": "835ce6579a257107f363e29a234643679844cc0e" | ||
} |
@@ -6,3 +6,4 @@ import { trackTurns } from './track-turns.js'; | ||
const readOnlyProxyHandler = { | ||
/** @type {ProxyHandler<any>} */ | ||
const baseFreezableProxyHandler = { | ||
set(_target, _prop, _value) { | ||
@@ -31,3 +32,3 @@ return false; | ||
return harden({ | ||
...readOnlyProxyHandler, | ||
...baseFreezableProxyHandler, | ||
get(_target, p, _receiver) { | ||
@@ -61,3 +62,3 @@ // Harden this Promise because it's our only opportunity to ensure | ||
return harden({ | ||
...readOnlyProxyHandler, | ||
...baseFreezableProxyHandler, | ||
get(_target, p, _receiver) { | ||
@@ -88,3 +89,3 @@ return (...args) => { | ||
new Proxy(Object.create(null), { | ||
...readOnlyProxyHandler, | ||
...baseFreezableProxyHandler, | ||
has(_target, _prop) { | ||
@@ -91,0 +92,0 @@ return true; |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
115942
2328
Yes
6