@nestjs/schematics 8.0.3 → 8.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -7,7 +7,7 @@ var __createBinding = (this && this.__createBinding) || (Object.create ? (functi
7
7
  o[k2] = m[k];
8
8
  }));
9
9
  var __exportStar = (this && this.__exportStar) || function(m, exports) {
10
- for (var p in m) if (p !== "default" && !exports.hasOwnProperty(p)) __createBinding(exports, m, p);
10
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
11
11
  };
12
12
  Object.defineProperty(exports, "__esModule", { value: true });
13
13
  __exportStar(require("./utils"), exports);
@@ -22,16 +22,16 @@
22
22
  },
23
23
  "devDependencies": {
24
24
  "@nestjs/testing": "^8.0.0",
25
- "@babel/core": "7.15.0",
26
- "@babel/node": "7.14.9",
27
- "@babel/plugin-proposal-decorators": "7.14.5",
28
- "@babel/plugin-transform-runtime": "7.15.0",
29
- "@babel/preset-env": "7.15.0",
25
+ "@babel/core": "7.15.8",
26
+ "@babel/node": "7.15.8",
27
+ "@babel/plugin-proposal-decorators": "7.15.8",
28
+ "@babel/plugin-transform-runtime": "7.15.8",
29
+ "@babel/preset-env": "7.15.8",
30
30
  "@babel/register": "7.15.3",
31
- "@babel/runtime": "7.15.3",
32
- "jest": "27.0.6",
33
- "nodemon": "2.0.12",
34
- "prettier": "2.3.2",
31
+ "@babel/runtime": "7.15.4",
32
+ "jest": "27.2.5",
33
+ "nodemon": "2.0.13",
34
+ "prettier": "2.4.1",
35
35
  "supertest": "6.1.6"
36
36
  },
37
37
  "jest": {
@@ -36,13 +36,14 @@
36
36
  "@types/jest": "^27.0.1",
37
37
  "@types/node": "^16.0.0",
38
38
  "@types/supertest": "^2.0.11",
39
- "@typescript-eslint/eslint-plugin": "^4.28.2",
40
- "@typescript-eslint/parser": "^4.28.2",
41
- "eslint": "^7.30.0",
39
+ "@typescript-eslint/eslint-plugin": "^5.0.0",
40
+ "@typescript-eslint/parser": "^5.0.0",
41
+ "eslint": "^8.0.1",
42
42
  "eslint-config-prettier": "^8.3.0",
43
- "eslint-plugin-prettier": "^3.4.0",
44
- "jest": "^27.0.6",
43
+ "eslint-plugin-prettier": "^4.0.0",
44
+ "jest": "^27.2.5",
45
45
  "prettier": "^2.3.2",
46
+ "source-map-support": "^0.5.20",
46
47
  "supertest": "^6.1.3",
47
48
  "ts-jest": "^27.0.3",
48
49
  "ts-loader": "^9.2.3",
@@ -1,7 +1,7 @@
1
1
  import { Test, TestingModule } from '@nestjs/testing';
2
2
  import { INestApplication } from '@nestjs/common';
3
3
  import * as request from 'supertest';
4
- import { <%= classify(name)%>Module } from './../src/<%= classify(name)%>.module';
4
+ import { <%= classify(name)%>Module } from './../src/<%= name %>.module';
5
5
 
6
6
  describe('<%= classify(name)%>Controller (e2e)', () => {
7
7
  let app: INestApplication;
@@ -7,7 +7,7 @@ var __createBinding = (this && this.__createBinding) || (Object.create ? (functi
7
7
  o[k2] = m[k];
8
8
  }));
9
9
  var __exportStar = (this && this.__exportStar) || function(m, exports) {
10
- for (var p in m) if (p !== "default" && !exports.hasOwnProperty(p)) __createBinding(exports, m, p);
10
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
11
11
  };
12
12
  Object.defineProperty(exports, "__esModule", { value: true });
13
13
  __exportStar(require("./metadata.manager"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nestjs/schematics",
3
- "version": "8.0.3",
3
+ "version": "8.0.4",
4
4
  "description": "Nest - modern, fast, powerful node.js web framework (@schematics)",
5
5
  "main": "dist/index.js",
6
6
  "files": [
@@ -40,33 +40,33 @@
40
40
  },
41
41
  "homepage": "https://github.com/nestjs/schematics#readme",
42
42
  "dependencies": {
43
- "@angular-devkit/core": "12.0.5",
44
- "@angular-devkit/schematics": "12.0.5",
43
+ "@angular-devkit/core": "12.2.10",
44
+ "@angular-devkit/schematics": "12.2.10",
45
45
  "fs-extra": "10.0.0",
46
46
  "jsonc-parser": "3.0.0",
47
47
  "pluralize": "8.0.0"
48
48
  },
49
49
  "devDependencies": {
50
- "@commitlint/cli": "13.1.0",
51
- "@commitlint/config-angular": "13.1.0",
52
- "@types/fs-extra": "9.0.12",
53
- "@types/jest": "27.0.1",
50
+ "@commitlint/cli": "13.2.1",
51
+ "@commitlint/config-angular": "13.2.0",
52
+ "@types/fs-extra": "9.0.13",
53
+ "@types/jest": "27.0.2",
54
54
  "@types/node": "16.0.0",
55
- "@typescript-eslint/eslint-plugin": "4.28.2",
56
- "@typescript-eslint/parser": "4.28.2",
55
+ "@typescript-eslint/eslint-plugin": "5.0.0",
56
+ "@typescript-eslint/parser": "5.0.0",
57
57
  "cpx": "1.5.0",
58
- "eslint": "7.32.0",
58
+ "eslint": "8.0.1",
59
59
  "eslint-config-prettier": "8.3.0",
60
- "eslint-plugin-import": "2.24.1",
60
+ "eslint-plugin-import": "2.25.2",
61
61
  "gulp": "4.0.2",
62
62
  "gulp-clean": "0.4.0",
63
- "husky": "7.0.1",
64
- "jest": "27.0.6",
63
+ "husky": "7.0.2",
64
+ "jest": "27.2.5",
65
65
  "nyc": "15.1.0",
66
- "release-it": "14.11.5",
67
- "ts-jest": "27.0.5",
68
- "ts-node": "10.2.1",
69
- "typescript": "3.9.10"
66
+ "release-it": "14.11.6",
67
+ "ts-jest": "27.0.7",
68
+ "ts-node": "10.3.0",
69
+ "typescript": "4.3.5"
70
70
  },
71
71
  "peerDependencies": {
72
72
  "typescript": "^3.4.5 || ^4.3.5"