New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@featurevisor/cli

Package Overview
Dependencies
Maintainers
1
Versions
184
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@featurevisor/cli - npm Package Compare versions

Comparing version 1.21.0 to 1.22.0

11

CHANGELOG.md

@@ -6,2 +6,13 @@ # Change Log

# [1.22.0](https://github.com/featurevisor/featurevisor/compare/v1.21.0...v1.22.0) (2024-05-21)
### Features
* show project info in CLI ([#304](https://github.com/featurevisor/featurevisor/issues/304)) ([d94cb87](https://github.com/featurevisor/featurevisor/commit/d94cb878f24fc4f2280c6126ab40a70aa6bebe9f))
# [1.21.0](https://github.com/featurevisor/featurevisor/compare/v1.20.0...v1.21.0) (2024-05-09)

@@ -8,0 +19,0 @@

@@ -554,2 +554,33 @@ "use strict";

/**
* Info
*/
.command({
command: "info",
handler: function (options) {
return __awaiter(this, void 0, void 0, function () {
var deps, e_9;
return __generator(this, function (_a) {
switch (_a.label) {
case 0: return [4 /*yield*/, getDependencies(options)];
case 1:
deps = _a.sent();
_a.label = 2;
case 2:
_a.trys.push([2, 4, , 5]);
return [4 /*yield*/, (0, core_1.showProjectInfo)(deps)];
case 3:
_a.sent();
return [3 /*break*/, 5];
case 4:
e_9 = _a.sent();
console.error(e_9.message);
process.exit(1);
return [3 /*break*/, 5];
case 5: return [2 /*return*/];
}
});
});
},
})
/**
* Options

@@ -556,0 +587,0 @@ */

6

package.json
{
"name": "@featurevisor/cli",
"version": "1.21.0",
"version": "1.22.0",
"description": "CLI package of Featurevisor",

@@ -50,3 +50,3 @@ "main": "bin.js",

"dependencies": {
"@featurevisor/core": "^1.21.0",
"@featurevisor/core": "^1.22.0",
"yargs": "^17.6.2"

@@ -57,3 +57,3 @@ },

},
"gitHead": "b12c838af9f5361f15b52bf52ef16c058e93b56c"
"gitHead": "28dfe5e2ff046e4a715877e97785d4911dd822fb"
}

@@ -27,2 +27,3 @@ import * as fs from "fs";

assessDistribution,
showProjectInfo,
} from "@featurevisor/core";

@@ -419,2 +420,19 @@

/**
* Info
*/
.command({
command: "info",
handler: async function (options) {
const deps = await getDependencies(options);
try {
await showProjectInfo(deps);
} catch (e) {
console.error(e.message);
process.exit(1);
}
},
})
/**
* Options

@@ -421,0 +439,0 @@ */

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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