@agoric/eventual-send
Advanced tools
Comparing version 0.14.1-dev-f716199.0 to 0.14.1-dev-f96b728.0
{ | ||
"name": "@agoric/eventual-send", | ||
"version": "0.14.1-dev-f716199.0+f716199", | ||
"version": "0.14.1-dev-f96b728.0+f96b728", | ||
"description": "Extend a Promise class to implement the eventual-send API", | ||
@@ -13,5 +13,4 @@ "type": "module", | ||
"build": "exit 0", | ||
"lint-fix": "yarn lint:eslint --fix && yarn lint:types", | ||
"lint-check": "yarn lint", | ||
"lint": "yarn lint:types && yarn lint:eslint", | ||
"lint-fix": "yarn lint:eslint --fix", | ||
"lint": "run-s --continue-on-error lint:*", | ||
"lint:types": "tsc -p jsconfig.json", | ||
@@ -31,4 +30,4 @@ "lint:eslint": "eslint '**/*.js'" | ||
"devDependencies": { | ||
"@agoric/lockdown": "0.1.2-dev-f716199.0+f716199", | ||
"@endo/ses-ava": "^0.2.13", | ||
"@endo/lockdown": "^0.1.5", | ||
"@endo/ses-ava": "^0.2.17", | ||
"ava": "^3.12.1", | ||
@@ -51,6 +50,2 @@ "c8": "^7.7.2" | ||
}, | ||
"prettier": { | ||
"trailingComma": "all", | ||
"singleQuote": true | ||
}, | ||
"publishConfig": { | ||
@@ -65,3 +60,3 @@ "access": "public" | ||
}, | ||
"gitHead": "f71619978948027cd2dfe0ec9cd175236853588c" | ||
"gitHead": "f96b7280270e8e9e48e3bcf5050b4e722d4fd483" | ||
} |
@@ -38,6 +38,7 @@ // @ts-check | ||
// #95 for details. | ||
return (...args) => harden(HandledPromise.applyMethod(x, p, args)); | ||
return (...args) => | ||
harden(HandledPromise.applyMethod(x, p, harden(args))); | ||
}, | ||
apply(_target, _thisArg, argArray = []) { | ||
return harden(HandledPromise.applyFunction(x, argArray)); | ||
return harden(HandledPromise.applyFunction(x, harden(argArray))); | ||
}, | ||
@@ -64,3 +65,3 @@ has(_target, _p) { | ||
return (...args) => { | ||
HandledPromise.applyMethodSendOnly(x, p, args); | ||
HandledPromise.applyMethodSendOnly(x, p, harden(args)); | ||
return undefined; | ||
@@ -70,3 +71,3 @@ }; | ||
apply(_target, _thisArg, argsArray = []) { | ||
HandledPromise.applyFunctionSendOnly(x, argsArray); | ||
HandledPromise.applyFunctionSendOnly(x, harden(argsArray)); | ||
return undefined; | ||
@@ -73,0 +74,0 @@ }, |
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
1024
68653