Socket
Socket
Sign inDemoInstall

@nestjs/cli

Package Overview
Dependencies
Maintainers
3
Versions
222
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nestjs/cli - npm Package Compare versions

Comparing version 5.0.0 to 5.0.1

4

commands/generate.js

@@ -28,7 +28,7 @@ module.exports = (program) => {

function validate(arg) {
const schematic = SCHEMATICS.findIndex((schematic) => schematic.value === arg || schematic.alias === arg);
const schematic = SCHEMATICS.find((schematic) => schematic.value === arg || schematic.alias === arg);
if (schematic === undefined || schematic === null) {
throw new Error();
}
return schematic;
return schematic.value;
}
{
"name": "@nestjs/cli",
"version": "5.0.0",
"version": "5.0.1",
"description": "Nest CLI",

@@ -5,0 +5,0 @@ "publishConfig": {

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