Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@nestjs/cli

Package Overview
Dependencies
Maintainers
2
Versions
224
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 10.1.18 to 10.2.0

2

actions/start.action.d.ts

@@ -7,3 +7,3 @@ import { Input } from '../commands';

private spawnChildProcess;
private isSourceMapSupportPkgAvailable;
private getSourceMapSupportPkg;
}

@@ -81,4 +81,5 @@ "use strict";

// nest start -- '\'{"foo": "bar"}\''
childProcessArgs = process.argv.slice(argsStartIndex + 1)
.map(arg => JSON.stringify(arg));
childProcessArgs = process.argv
.slice(argsStartIndex + 1)
.map((arg) => JSON.stringify(arg));
}

@@ -92,4 +93,5 @@ outputFilePath =

}
if (this.isSourceMapSupportPkgAvailable()) {
processArgs.unshift('-r source-map-support/register');
const sourceMapsRegisterPath = this.getSourceMapSupportPkg();
if (sourceMapsRegisterPath !== undefined) {
processArgs.unshift(`-r ${sourceMapsRegisterPath}`);
}

@@ -101,9 +103,8 @@ return (0, child_process_1.spawn)(binaryToRun, processArgs, {

}
isSourceMapSupportPkgAvailable() {
getSourceMapSupportPkg() {
try {
require.resolve('source-map-support');
return true;
return require.resolve('source-map-support/register');
}
catch {
return false;
return undefined;
}

@@ -110,0 +111,0 @@ }

@@ -20,3 +20,3 @@ #!/usr/bin/env node

}
commander.parseAsync(process.argv);
await commander.parseAsync(process.argv);
if (!process.argv.slice(2).length) {

@@ -23,0 +23,0 @@ program.outputHelp();

@@ -5,2 +5,4 @@ "use strict";

const chokidar = require("chokidar");
const fs_1 = require("fs");
const glob_1 = require("glob");
const path_1 = require("path");

@@ -68,9 +70,18 @@ const shell = require("shelljs");

};
// prettier-ignore
const watcher = chokidar
.watch(item.glob, { ignored: item.exclude })
.on('add', (path) => this.actionOnFile({ ...option, path, action: 'change' }))
.on('change', (path) => this.actionOnFile({ ...option, path, action: 'change' }))
.on('unlink', (path) => this.actionOnFile({ ...option, path, action: 'unlink' }));
this.watchers.push(watcher);
if (isWatchEnabled || item.watchAssets) {
// prettier-ignore
const watcher = chokidar
.watch(item.glob, { ignored: item.exclude })
.on('add', (path) => this.actionOnFile({ ...option, path, action: 'change' }))
.on('change', (path) => this.actionOnFile({ ...option, path, action: 'change' }))
.on('unlink', (path) => this.actionOnFile({ ...option, path, action: 'unlink' }));
this.watchers.push(watcher);
}
else {
const files = (0, glob_1.sync)(item.glob, { ignore: item.exclude })
.filter((matched) => (0, fs_1.statSync)(matched).isFile());
for (const path of files) {
this.actionOnFile({ ...option, path, action: 'change' });
}
}
}

@@ -77,0 +88,0 @@ }

{
"name": "@nestjs/cli",
"version": "10.1.18",
"version": "10.2.0",
"description": "Nest - modern, fast, powerful node.js web framework (@cli)",

@@ -9,3 +9,3 @@ "publishConfig": {

"engines": {
"node": ">= 16"
"node": ">= 16.14"
},

@@ -42,5 +42,5 @@ "bin": {

"dependencies": {
"@angular-devkit/core": "16.2.3",
"@angular-devkit/schematics": "16.2.3",
"@angular-devkit/schematics-cli": "16.2.3",
"@angular-devkit/core": "16.2.7",
"@angular-devkit/schematics": "16.2.7",
"@angular-devkit/schematics-cli": "16.2.7",
"@nestjs/schematics": "^10.0.1",

@@ -51,3 +51,4 @@ "chalk": "4.1.2",

"commander": "4.1.1",
"fork-ts-checker-webpack-plugin": "8.0.0",
"fork-ts-checker-webpack-plugin": "9.0.0",
"glob": "10.3.4",
"inquirer": "8.2.6",

@@ -64,20 +65,20 @@ "node-emoji": "1.11.0",

"typescript": "5.2.2",
"webpack": "5.88.2",
"webpack": "5.89.0",
"webpack-node-externals": "3.0.0"
},
"devDependencies": {
"@commitlint/cli": "17.7.1",
"@commitlint/config-angular": "17.7.0",
"@commitlint/cli": "18.0.0",
"@commitlint/config-angular": "18.0.0",
"@swc/cli": "0.1.62",
"@swc/core": "1.3.86",
"@swc/core": "1.3.94",
"@types/inquirer": "9.0.3",
"@types/jest": "29.5.5",
"@types/node": "18.17.18",
"@types/jest": "29.5.6",
"@types/node": "18.18.6",
"@types/node-emoji": "1.8.2",
"@types/shelljs": "0.8.12",
"@types/webpack-node-externals": "3.0.1",
"@typescript-eslint/eslint-plugin": "6.7.2",
"@typescript-eslint/parser": "6.7.2",
"@types/shelljs": "0.8.14",
"@types/webpack-node-externals": "3.0.3",
"@typescript-eslint/eslint-plugin": "6.8.0",
"@typescript-eslint/parser": "6.8.0",
"delete-empty": "3.0.0",
"eslint": "8.49.0",
"eslint": "8.52.0",
"eslint-config-prettier": "9.0.0",

@@ -88,7 +89,7 @@ "gulp": "4.0.2",

"jest": "29.7.0",
"lint-staged": "14.0.1",
"lint-staged": "15.0.2",
"prettier": "3.0.3",
"release-it": "16.1.5",
"release-it": "16.2.1",
"ts-jest": "29.1.1",
"ts-loader": "9.4.4"
"ts-loader": "9.5.0"
},

@@ -95,0 +96,0 @@ "lint-staged": {

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