Comparing version
@@ -66,3 +66,3 @@ # Change Log | ||
* **chain-config:** increase timeouts to prevent RPC EOF errors ([d731195](https://github.com/Agoric/agoric-sdk/commit/d731195b5768017d9c5d158fd9f13da731af3544)) | ||
* **deploy:** use `@agoric/captp` epochs to mitigate crosstalk ([f2b5ba4](https://github.com/Agoric/agoric-sdk/commit/f2b5ba4bc29ca48e00f32982c713de3ec972e879)) | ||
* **deploy:** use `@endo/captp` epochs to mitigate crosstalk ([f2b5ba4](https://github.com/Agoric/agoric-sdk/commit/f2b5ba4bc29ca48e00f32982c713de3ec972e879)) | ||
@@ -69,0 +69,0 @@ |
{ | ||
"name": "agoric", | ||
"version": "0.13.22-dev-45a40fa.0+45a40fa", | ||
"version": "0.13.22-dev-4c68fcd.0+4c68fcd", | ||
"description": "Manage the Agoric Javascript smart contract platform", | ||
"type": "module", | ||
"main": "src/main.js", | ||
"bin": "bin/agoric", | ||
"bin": "src/entrypoint.js", | ||
"files": [ | ||
"lib", | ||
"src", | ||
"exported.js" | ||
], | ||
"scripts": { | ||
"build": "exit 0", | ||
"build": "./scripts/get-sdk-package-names.js > src/sdk-package-names.js", | ||
"test": "ava", | ||
@@ -18,10 +18,9 @@ "test:c8": "c8 $C8_OPTIONS ava --config=ava-nesm.config.js", | ||
"integration-test": "ava --config .ava-integration-test.config.js", | ||
"lint-fix": "yarn lint:eslint --fix && yarn lint:types", | ||
"lint-check": "yarn lint", | ||
"lint": "yarn lint:types && yarn lint:eslint", | ||
"lint:types": "tsc -p jsconfig.json", | ||
"lint-fix": "yarn lint:eslint --fix", | ||
"lint": "run-s --continue-on-error lint:*", | ||
"lint:types": "tsc --maxNodeModuleJsDepth 4 -p jsconfig.json", | ||
"lint:eslint": "eslint '**/*.js'" | ||
}, | ||
"devDependencies": { | ||
"@agoric/swingset-vat": "0.24.2-dev-45a40fa.0+45a40fa", | ||
"@agoric/swingset-vat": "0.24.2-dev-4c68fcd.0+4c68fcd", | ||
"ava": "^3.12.1", | ||
@@ -32,10 +31,10 @@ "c8": "^7.7.2", | ||
"dependencies": { | ||
"@agoric/access-token": "0.4.17-dev-45a40fa.0+45a40fa", | ||
"@agoric/assert": "0.3.16-dev-45a40fa.0+45a40fa", | ||
"@agoric/bundle-source": "2.0.2-dev-45a40fa.0+45a40fa", | ||
"@agoric/captp": "1.10.9-dev-45a40fa.0+45a40fa", | ||
"@agoric/install-ses": "0.5.30-dev-45a40fa.0+45a40fa", | ||
"@agoric/access-token": "0.4.17-dev-4c68fcd.0+4c68fcd", | ||
"@agoric/assert": "0.3.16-dev-4c68fcd.0+4c68fcd", | ||
"@agoric/nat": "^4.1.0", | ||
"@agoric/promise-kit": "0.2.30-dev-45a40fa.0+45a40fa", | ||
"@endo/compartment-mapper": "^0.5.3", | ||
"@agoric/promise-kit": "0.2.30-dev-4c68fcd.0+4c68fcd", | ||
"@endo/bundle-source": "^2.0.5", | ||
"@endo/captp": "^1.10.12", | ||
"@endo/compartment-mapper": "^0.6.5", | ||
"@endo/init": "^0.5.33", | ||
"@iarna/toml": "^2.2.3", | ||
@@ -73,7 +72,3 @@ "anylogger": "^0.21.0", | ||
}, | ||
"prettier": { | ||
"trailingComma": "all", | ||
"singleQuote": true | ||
}, | ||
"gitHead": "45a40fabdd544858640e32ed835e991da86a5c9d" | ||
"gitHead": "4c68fcd65fd5540e903568c2f3246e2bccfa4766" | ||
} |
@@ -14,3 +14,3 @@ /* global process */ | ||
const DEFAULT_DAPP_TEMPLATE = 'dapp-fungible-faucet'; | ||
const DEFAULT_DAPP_URL_BASE = 'git://github.com/Agoric/'; | ||
const DEFAULT_DAPP_URL_BASE = 'https://github.com/Agoric/'; | ||
const DEFAULT_DAPP_BRANCH = undefined; | ||
@@ -56,8 +56,4 @@ | ||
.option('--no-sdk', 'do not use the Agoric SDK containing this program') | ||
.option('--docker-tag <tag>', 'image tag to use for Docker containers') | ||
.option( | ||
'--docker-tag <tag>', | ||
'image tag to use for Docker containers', | ||
'latest', | ||
) | ||
.option( | ||
'-v, --verbose', | ||
@@ -169,35 +165,59 @@ 'verbosity that can be increased', | ||
const addRunOptions = cmd => | ||
cmd | ||
.option( | ||
'--allow-unsafe-plugins', | ||
`CAREFUL: installed Agoric VM plugins will also have all your user's privileges`, | ||
false, | ||
) | ||
.option( | ||
'--hostport <host:port>', | ||
'host and port to connect to VM', | ||
'127.0.0.1:8000', | ||
) | ||
.option( | ||
'--need <subsystems>', | ||
'comma-separated names of subsystems to wait for', | ||
'local,agoric,wallet', | ||
) | ||
.option( | ||
'--provide <subsystems>', | ||
'comma-separated names of subsystems this script initializes', | ||
'', | ||
); | ||
addRunOptions( | ||
program | ||
.command('run <script> [script-args...]') | ||
.description( | ||
'run a script with all your user privileges against the local Agoric VM', | ||
), | ||
).action(async (script, scriptArgs, cmd) => { | ||
const opts = { ...program.opts(), ...cmd.opts(), scriptArgs }; | ||
return subMain(deployMain, ['run', script], opts); | ||
}); | ||
addRunOptions( | ||
program | ||
.command('deploy [script...]') | ||
.description( | ||
'run multiple scripts with all your user privileges against the local Agoric VM', | ||
), | ||
).action(async (scripts, cmd) => { | ||
const opts = { ...program.opts(), ...cmd.opts() }; | ||
return subMain(deployMain, ['deploy', ...scripts], opts); | ||
}); | ||
program | ||
.command('deploy [script...]') | ||
.command('start [profile] [args...]') | ||
.description( | ||
'run a deployment script with all your user privileges against the local Agoric VM', | ||
`\ | ||
start an Agoric VM | ||
agoric start - runs the default profile (dev) | ||
agoric start dev -- [initArgs] - simulated chain and solo VM | ||
agoric start local-chain [portNum] -- [initArgs] - local chain | ||
agoric start local-solo [portNum] [provisionPowers] - local solo VM | ||
`, | ||
) | ||
.option( | ||
'--allow-unsafe-plugins', | ||
`CAREFUL: installed Agoric VM plugins will also have all your user's privileges`, | ||
false, | ||
) | ||
.option( | ||
'--hostport <host:port>', | ||
'host and port to connect to VM', | ||
'127.0.0.1:8000', | ||
) | ||
.option( | ||
'--need <subsystems>', | ||
'comma-separated names of subsystems to wait for', | ||
'local,agoric,wallet', | ||
) | ||
.option( | ||
'--provide <subsystems>', | ||
'comma-separated names of subsystems this script initializes', | ||
'', | ||
) | ||
.action(async (scripts, cmd) => { | ||
const opts = { ...program.opts(), ...cmd.opts() }; | ||
return subMain(deployMain, ['deploy', ...scripts], opts); | ||
}); | ||
program | ||
.command('start [profile] [args...]') | ||
.description('run an Agoric VM') | ||
.option('-d, --debug', 'run in JS debugger mode') | ||
@@ -207,2 +227,3 @@ .option('--reset', 'clear all VM state before starting') | ||
.option('--pull', 'for Docker-based VM, pull the image before running') | ||
.option('--rebuild', 'rebuild VM dependencies before running') | ||
.option( | ||
@@ -209,0 +230,0 @@ '--delay [seconds]', |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
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
Shell access
Supply chain riskThis module accesses the system shell. Accessing the system shell increases the risk of executing arbitrary code.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 8 instances in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
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
117677
116.63%17
240%2130
842.48%13
Infinity%4
100%+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
- Removed