UNPKG

@salesforce/plugin-trust

Version:

validate a digital signature for a npm package

128 lines 3.78 kB
{ "commands": { "node:info": { "aliases": [], "args": {}, "description": "Command for internal use only.", "flags": { "json": { "description": "Format output as json.", "helpGroup": "GLOBAL", "name": "json", "allowNo": false, "type": "boolean" }, "flags-dir": { "helpGroup": "GLOBAL", "name": "flags-dir", "summary": "Import flag values from a directory.", "hasDynamicHelp": false, "multiple": false, "type": "option" } }, "hasDynamicHelp": false, "hidden": true, "hiddenAliases": [], "id": "node:info", "pluginAlias": "@salesforce/plugin-trust", "pluginName": "@salesforce/plugin-trust", "pluginType": "core", "strict": true, "summary": "Returns the path to node and npx files bundled by the Salesforce CLI.", "enableJsonFlag": true, "isESM": true, "relativePath": [ "lib", "commands", "node", "info.js" ], "aliasPermutations": [], "permutations": [ "node:info", "info:node" ] }, "plugins:trust:verify": { "aliases": [], "args": {}, "description": "Verifies the digital signature on an npm package matches the signature and key stored at the expected URLs.", "examples": [ "<%= config.bin %> <%= command.id %> --npm @scope/npmName --registry https://npm.pkg.github.com", "<%= config.bin %> <%= command.id %> --npm @scope/npmName" ], "flags": { "json": { "description": "Format output as json.", "helpGroup": "GLOBAL", "name": "json", "allowNo": false, "type": "boolean" }, "flags-dir": { "helpGroup": "GLOBAL", "name": "flags-dir", "summary": "Import flag values from a directory.", "hasDynamicHelp": false, "multiple": false, "type": "option" }, "npm": { "char": "n", "name": "npm", "required": true, "summary": "Specify the npm name. This can include a tag/version.", "hasDynamicHelp": false, "multiple": false, "type": "option" }, "registry": { "char": "r", "name": "registry", "summary": "The registry name. The behavior is the same as npm.", "hasDynamicHelp": false, "multiple": false, "type": "option" }, "loglevel": { "deprecated": { "message": "The loglevel flag is no longer in use on this command. You may use it without error, but it will be ignored.\nSet the log level using the `SFDX_LOG_LEVEL` environment variable." }, "hidden": true, "name": "loglevel", "hasDynamicHelp": false, "multiple": false, "type": "option" } }, "hasDynamicHelp": false, "hiddenAliases": [], "id": "plugins:trust:verify", "pluginAlias": "@salesforce/plugin-trust", "pluginName": "@salesforce/plugin-trust", "pluginType": "core", "strict": true, "summary": "Validate a digital signature.", "enableJsonFlag": true, "isESM": true, "relativePath": [ "lib", "commands", "plugins", "trust", "verify.js" ], "aliasPermutations": [], "permutations": [ "plugins:trust:verify", "trust:plugins:verify", "trust:verify:plugins", "plugins:verify:trust", "verify:plugins:trust", "verify:trust:plugins" ] } }, "version": "3.7.113" }