Socket
Socket
Sign inDemoInstall

@nestjs/schematics

Package Overview
Dependencies
Maintainers
2
Versions
127
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nestjs/schematics - npm Package Compare versions

Comparing version 10.0.2 to 10.0.3

dist/lib/application/files/js/src/app.controller.__specFileSuffix__.js

9

dist/lib/application/application.factory.js

@@ -27,2 +27,3 @@ "use strict";

target.version = !!target.version ? target.version : defaults_1.DEFAULT_VERSION;
target.specFileSuffix = (0, formatting_1.normalizeToKebabOrSnakeCase)(options.specFileSuffix || 'spec');
target.packageManager =

@@ -50,2 +51,10 @@ !target.packageManager || target.packageManager === 'undefined'

return (0, schematics_1.apply)((0, schematics_1.url)((0, core_1.join)('./files', options.language)), [
options.spec ? (0, schematics_1.noop)() : (0, schematics_1.filter)((path) => !path.endsWith('__specFileSuffix__.ts')),
options.spec
? (0, schematics_1.noop)()
: (0, schematics_1.filter)((path) => {
const languageExtension = options.language || 'ts';
const suffix = `__specFileSuffix__.${languageExtension}`;
return !path.endsWith(suffix);
}),
(0, schematics_1.template)({

@@ -52,0 +61,0 @@ ...core_1.strings,

18

dist/lib/application/files/js/package.json

@@ -25,12 +25,12 @@ {

"@nestjs/testing": "^10.0.0",
"@babel/core": "7.22.9",
"@babel/node": "7.22.6",
"@babel/plugin-proposal-decorators": "7.22.7",
"@babel/plugin-transform-runtime": "7.22.9",
"@babel/preset-env": "7.22.9",
"@babel/register": "7.22.5",
"@babel/runtime": "7.22.6",
"jest": "29.6.2",
"@babel/core": "7.23.2",
"@babel/node": "7.22.19",
"@babel/plugin-proposal-decorators": "7.23.2",
"@babel/plugin-transform-runtime": "7.23.2",
"@babel/preset-env": "7.23.2",
"@babel/register": "7.22.15",
"@babel/runtime": "7.23.2",
"jest": "29.7.0",
"nodemon": "3.0.1",
"prettier": "3.0.1",
"prettier": "3.0.3",
"supertest": "6.3.3"

@@ -37,0 +37,0 @@ },

@@ -58,2 +58,12 @@ {

"description": "Nest application development dependencies."
},
"spec": {
"type": "boolean",
"default": true,
"description": "Specifies if a spec file is generated."
},
"specFileSuffix": {
"type": "string",
"default": "spec",
"description": "Specifies the file suffix of spec files."
}

@@ -60,0 +70,0 @@ },

{
"name": "@nestjs/schematics",
"version": "10.0.2",
"version": "10.0.3",
"description": "Nest - modern, fast, powerful node.js web framework (@schematics)",

@@ -44,4 +44,4 @@ "main": "dist/index.js",

"dependencies": {
"@angular-devkit/core": "16.1.8",
"@angular-devkit/schematics": "16.1.8",
"@angular-devkit/core": "16.2.8",
"@angular-devkit/schematics": "16.2.8",
"comment-json": "4.2.3",

@@ -52,21 +52,21 @@ "jsonc-parser": "3.2.0",

"devDependencies": {
"@commitlint/cli": "17.6.7",
"@commitlint/config-angular": "17.6.7",
"@types/jest": "29.5.3",
"@types/node": "18.17.3",
"@typescript-eslint/eslint-plugin": "6.2.1",
"@typescript-eslint/parser": "6.2.1",
"@commitlint/cli": "18.2.0",
"@commitlint/config-angular": "18.1.0",
"@types/jest": "29.5.6",
"@types/node": "20.8.9",
"@typescript-eslint/eslint-plugin": "6.9.0",
"@typescript-eslint/parser": "6.9.0",
"cpx": "1.5.0",
"eslint": "8.46.0",
"eslint": "8.52.0",
"eslint-config-prettier": "9.0.0",
"eslint-plugin-import": "2.28.0",
"eslint-plugin-import": "2.29.0",
"gulp": "4.0.2",
"gulp-clean": "0.4.0",
"husky": "8.0.3",
"jest": "29.6.2",
"jest": "29.7.0",
"nyc": "15.1.0",
"release-it": "16.1.3",
"release-it": "16.2.1",
"ts-jest": "29.1.1",
"ts-node": "10.9.1",
"typescript": "5.1.6"
"typescript": "5.2.2"
},

@@ -73,0 +73,0 @@ "peerDependencies": {

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