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

@nestjs/schematics

Package Overview
Dependencies
Maintainers
4
Versions
131
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 5.11.0 to 5.11.2

lib/application/files/ts/tsconfig.build.json

4

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

@@ -12,5 +12,5 @@ import { Controller, Dependencies, Get } from '@nestjs/common';

@Get()
root() {
return this.appService.root();
getHello() {
return this.appService.getHello();
}
}

@@ -18,5 +18,5 @@ import { Test } from '@nestjs/testing';

const appController = app.get(AppController);
expect(appController.root()).toBe('Hello World!');
expect(appController.getHello()).toBe('Hello World!');
});
});
});

@@ -5,5 +5,5 @@ import { Injectable } from '@nestjs/common';

export class AppService {
root() {
getHello() {
return 'Hello World!';
}
}

@@ -8,3 +8,3 @@ {

"scripts": {
"build": "tsc",
"build": "tsc -p tsconfig.build.json",
"format": "prettier --write \"src/**/*.ts\"",

@@ -20,2 +20,3 @@ "start": "ts-node -r tsconfig-paths/register src/main.ts",

"test:cov": "jest --coverage",
"test:debug": "node --inspect-brk -r tsconfig-paths/register -r ts-node/register node_modules/.bin/jest --runInBand",
"test:e2e": "jest --config ./test/jest-e2e.json"

@@ -22,0 +23,0 @@ },

@@ -18,5 +18,5 @@ import { Test, TestingModule } from '@nestjs/testing';

const appController = app.get<AppController>(AppController);
expect(appController.root()).toBe('Hello World!');
expect(appController.getHello()).toBe('Hello World!');
});
});
});

@@ -1,2 +0,2 @@

import { Get, Controller } from '@nestjs/common';
import { Controller, Get } from '@nestjs/common';
import { AppService } from './app.service';

@@ -9,5 +9,5 @@

@Get()
root(): string {
return this.appService.root();
getHello(): string {
return this.appService.getHello();
}
}

@@ -5,5 +5,5 @@ import { Injectable } from '@nestjs/common';

export class AppService {
root(): string {
getHello(): string {
return 'Hello World!';
}
}

@@ -16,9 +16,3 @@ {

},
"include": [
"src/**/*"
],
"exclude": [
"node_modules",
"**/*.spec.ts"
]
"exclude": ["node_modules"]
}
{
"extends": "tsconfig.json",
"extends": "./tsconfig.json",
"compilerOptions": {

@@ -4,0 +4,0 @@ "types": ["jest", "node"]

{
"defaultSeverity": "error",
"extends": [
"tslint:recommended"
],
"jsRules": {
"no-unused-expression": true
},
"rules": {
"eofline": false,
"quotemark": [
true,
"single"
],
"indent": false,
"member-access": [
false
],
"ordered-imports": [
false
],
"max-line-length": [
true,
150
],
"member-ordering": [
false
],
"curly": false,
"interface-name": [
false
],
"array-type": [
false
],
"no-empty-interface": false,
"no-empty": false,
"arrow-parens": false,
"object-literal-sort-keys": false,
"no-unused-expression": false,
"max-classes-per-file": [
false
],
"variable-name": [
false
],
"one-line": [
false
],
"one-variable-per-declaration": [
false
]
},
"rulesDirectory": []
"defaultSeverity": "error",
"extends": ["tslint:recommended"],
"jsRules": {
"no-unused-expression": true
},
"rules": {
"quotemark": [true, "single"],
"member-access": [false],
"ordered-imports": [false],
"max-line-length": [true, 150],
"member-ordering": [false],
"interface-name": [false],
"arrow-parens": false,
"object-literal-sort-keys": false
},
"rulesDirectory": []
}
{
"name": "@nestjs/schematics",
"version": "5.11.0",
"version": "5.11.2",
"description": "Nest - modern, fast, powerful node.js web framework (@schematics)",

@@ -5,0 +5,0 @@ "main": "index.js",

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