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.1 to 10.0.2

18

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

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

"@nestjs/testing": "^10.0.0",
"@babel/core": "7.22.5",
"@babel/node": "7.22.5",
"@babel/plugin-proposal-decorators": "7.22.5",
"@babel/plugin-transform-runtime": "7.22.5",
"@babel/preset-env": "7.22.5",
"@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.5",
"jest": "29.5.0",
"nodemon": "2.0.22",
"prettier": "2.8.8",
"@babel/runtime": "7.22.6",
"jest": "29.6.2",
"nodemon": "3.0.1",
"prettier": "3.0.1",
"supertest": "6.3.3"

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

@@ -37,9 +37,9 @@ {

"@types/supertest": "^2.0.12",
"@typescript-eslint/eslint-plugin": "^5.59.11",
"@typescript-eslint/parser": "^5.59.11",
"@typescript-eslint/eslint-plugin": "^6.0.0",
"@typescript-eslint/parser": "^6.0.0",
"eslint": "^8.42.0",
"eslint-config-prettier": "^8.8.0",
"eslint-plugin-prettier": "^4.2.1",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-prettier": "^5.0.0",
"jest": "^29.5.0",
"prettier": "^2.8.8",
"prettier": "^3.0.0",
"source-map-support": "^0.5.21",

@@ -46,0 +46,0 @@ "supertest": "^6.3.3",

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

function generate(options) {
const projectOrPath = options.project ?? '.';
return (0, schematics_1.apply)((0, schematics_1.url)((0, core_1.join)('./files', options.language)), [

@@ -26,4 +27,4 @@ (0, schematics_1.template)({

}),
(0, schematics_1.move)(options.project),
(0, schematics_1.move)(projectOrPath),
]);
}

@@ -7,4 +7,4 @@ import { Module } from '@nestjs/common';

<% if (type === 'rest' || type === 'microservice') { %>controllers: [<%= classify(name) %>Controller],
providers: [<%= classify(name) %>Service]<% } else if (type === 'graphql-code-first' || type === 'graphql-schema-first') { %>providers: [<%= classify(name) %>Resolver, <%= classify(name) %>Service]<% } else { %>providers: [<%= classify(name) %>Gateway, <%= classify(name) %>Service]<% } %>
providers: [<%= classify(name) %>Service],<% } else if (type === 'graphql-code-first' || type === 'graphql-schema-first') { %>providers: [<%= classify(name) %>Resolver, <%= classify(name) %>Service],<% } else { %>providers: [<%= classify(name) %>Gateway, <%= classify(name) %>Service],<% } %>
})
export class <%= classify(name) %>Module {}

@@ -181,8 +181,11 @@ "use strict";

function moveDirectoryTo(srcDir, destination, tree) {
let srcDirExists = false;
tree.getDir(srcDir).visit((filePath, file) => {
srcDirExists = true;
const newFilePath = (0, core_1.join)(destination, filePath);
tree.create(newFilePath, file.content);
tree.delete(filePath);
});
tree.delete(srcDir);
if (srcDirExists) {
tree.delete(srcDir);
}
}

@@ -189,0 +192,0 @@ function addAppsToCliOptions(projectRoot, projectName, appName) {

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

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

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

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

"devDependencies": {
"@commitlint/cli": "17.6.5",
"@commitlint/config-angular": "17.6.5",
"@types/jest": "29.5.2",
"@types/node": "18.16.18",
"@typescript-eslint/eslint-plugin": "5.59.11",
"@typescript-eslint/parser": "5.59.11",
"@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",
"cpx": "1.5.0",
"eslint": "8.42.0",
"eslint-config-prettier": "8.8.0",
"eslint-plugin-import": "2.27.5",
"eslint": "8.46.0",
"eslint-config-prettier": "9.0.0",
"eslint-plugin-import": "2.28.0",
"gulp": "4.0.2",
"gulp-clean": "0.4.0",
"husky": "8.0.3",
"jest": "29.5.0",
"jest": "29.6.2",
"nyc": "15.1.0",
"release-it": "15.11.0",
"ts-jest": "29.1.0",
"release-it": "16.1.3",
"ts-jest": "29.1.1",
"ts-node": "10.9.1",
"typescript": "5.1.3"
"typescript": "5.1.6"
},

@@ -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