@darraghor/nest-backend-libs 1.19.1 → 1.20.0

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.
@@ -1,4 +1,4 @@
1
- export declare type AccessToken = {
1
+ export type AccessToken = {
2
2
  sub: string;
3
3
  gty: string;
4
4
  permissions: string[];
@@ -3,6 +3,6 @@ import { Request } from "express";
3
3
  export interface RequestWithUser extends Request {
4
4
  user: RequestPerson;
5
5
  }
6
- export declare type RequestPerson = Pick<Person, Exclude<keyof Person, "nullChecks">> & {
6
+ export type RequestPerson = Pick<Person, Exclude<keyof Person, "nullChecks">> & {
7
7
  permissions: string[];
8
8
  };
@@ -24,11 +24,11 @@ let CoreLoggerService = class CoreLoggerService {
24
24
  constructor(configService) {
25
25
  this.configService = configService;
26
26
  this.logger = new tslog_1.Logger({
27
- displayLoggerName: true,
28
- displayFunctionName: false,
27
+ //displayLoggerName: true,
28
+ // displayFunctionName: false,
29
29
  name: this.configService.loggerName,
30
- displayFilePath: "hidden",
31
- colorizePrettyLogs: this.configService.shouldLogForDevelopment,
30
+ // displayFilePath: "hidden",
31
+ // colorizePrettyLogs: this.configService.shouldLogForDevelopment,
32
32
  });
33
33
  }
34
34
  log(message, ...optionalParams) {
@@ -1 +1 @@
1
- {"version":3,"file":"CoreLoggerService.js","sourceRoot":"","sources":["../../src/logger/CoreLoggerService.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,0DAA0D;AAC1D,+DAA+D;AAC/D,sDAAsD;AACtD,4DAA4D;AAC5D,uDAAuD;AACvD,kDAAkD;AAClD,sEAAsE;AACtE,sDAAsD;AACtD,2CAAyD;AACzD,iCAA6B;AAC7B,+EAA0E;AAG3D,IAAM,iBAAiB,GAAvB,MAAM,iBAAiB;IAGlC,YAA6B,aAA0C;QAA1C,kBAAa,GAAb,aAAa,CAA6B;QACnE,IAAI,CAAC,MAAM,GAAG,IAAI,cAAM,CAAC;YACrB,iBAAiB,EAAE,IAAI;YACvB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iB,GAAvB,MAAM,iBAAiB;IAGlC,YAA6B,aAA0C;QAA1C,kBAAa,GAAb,aAAa,CAA6B;QACnE,IAAI,CAAC,MAAM,GAAG,IAAI,cAAM,CAAC;YACrB,0BAA0B;YAC1B,8BAA8B;YAC9B,IAAI,EAAE,IAAI,CAAC,aAAa,CAAC,UAAU;YACnC,6BAA6B;YAC7B,kEAAkE;SACrE,CAAC,CAAC;IACP,CAAC;IAED,GAAG,CAAC,OAAY,EAAE,GAAG,cAAqB;QACtC,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,EAAE,GAAG,cAAc,CAAC,CAAC;IACjD,CAAC;IAED,KAAK,CAAC,OAAY,EAAE,GAAG,cAAqB;QACxC,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,OAAO,EAAE,GAAG,cAAc,CAAC,CAAC;IAClD,CAAC;IAED,IAAI,CAAC,OAAY,EAAE,GAAG,cAAqB;QACvC,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,EAAE,GAAG,cAAc,CAAC,CAAC;IACjD,CAAC;IAED,KAAK,CAAC,OAAY,EAAE,GAAG,cAAqB;QACxC,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,OAAO,EAAE,GAAG,cAAc,CAAC,CAAC;IAClD,CAAC;IAED,OAAO,CAAC,OAAY,EAAE,GAAG,cAAqB;QAC1C,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,OAAO,EAAE,GAAG,cAAc,CAAC,CAAC;IAClD,CAAC;CACJ,CAAA;AAhCoB,iBAAiB;IADrC,IAAA,mBAAU,GAAE;qCAImC,yDAA2B;GAHtD,iBAAiB,CAgCrC;kBAhCoB,iBAAiB"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@darraghor/nest-backend-libs",
3
- "version": "1.19.1",
3
+ "version": "1.20.0",
4
4
  "license": "UNLICENSED",
5
5
  "description": "Some helpers for personal projects",
6
6
  "homepage": "https://github.com/darraghoriordan/nest-backend-libs",
@@ -40,11 +40,11 @@
40
40
  "copyOpenApiGenerationModule": "copyfiles --error --up 1 \"src/open-api-generation/**/*\" \"src/open-api-generation/*\" \"src/database-initialisation/*\" dist"
41
41
  },
42
42
  "dependencies": {
43
- "@nestjs/common": "9.1.6",
43
+ "@nestjs/common": "9.2.0",
44
44
  "@nestjs/config": "2.2.0",
45
- "@nestjs/core": "9.1.6",
45
+ "@nestjs/core": "9.2.0",
46
46
  "@nestjs/passport": "9.0.0",
47
- "@nestjs/platform-express": "9.1.6",
47
+ "@nestjs/platform-express": "9.2.0",
48
48
  "@nestjs/swagger": "6.1.3",
49
49
  "@nestjs/typeorm": "9.0.1",
50
50
  "auth0": "2.44.0",
@@ -52,7 +52,7 @@
52
52
  "class-validator": "0.13.2",
53
53
  "date-fns": "2.29.3",
54
54
  "dotenv": "16.0.3",
55
- "jwks-rsa": "2.1.5",
55
+ "jwks-rsa": "3.0.0",
56
56
  "nodemailer": "6.8.0",
57
57
  "passport": "0.6.0",
58
58
  "passport-jwt": "4.0.0",
@@ -62,40 +62,40 @@
62
62
  "resource": "0.8.1",
63
63
  "rimraf": "3.0.2",
64
64
  "rxjs": "7.5.7",
65
- "swagger-ui-express": "4.5.0",
66
- "tslog": "3.3.4",
65
+ "swagger-ui-express": "4.6.0",
66
+ "tslog": "4.2.0",
67
67
  "typeorm": "^0.3.10"
68
68
  },
69
69
  "devDependencies": {
70
70
  "@commitlint/cli": "17.2.0",
71
71
  "@commitlint/config-conventional": "17.2.0",
72
- "@darraghor/eslint-plugin-nestjs-typed": "3.12.1",
72
+ "@darraghor/eslint-plugin-nestjs-typed": "3.15.2",
73
73
  "@nestjs/cli": "9.1.5",
74
74
  "@nestjs/schematics": "^9.0.3",
75
75
  "@semantic-release/changelog": "6.0.1",
76
76
  "@semantic-release/exec": "6.0.3",
77
77
  "@types/auth0": "2.35.7",
78
78
  "@types/express": "4.17.14",
79
- "@types/jest": "29.2.1",
79
+ "@types/jest": "29.2.3",
80
80
  "@types/node": "18.11.9",
81
81
  "@types/nodemailer": "6.4.6",
82
82
  "@types/passport-jwt": "3.0.7",
83
83
  "@types/rimraf": "3.0.2",
84
84
  "@types/supertest": "2.0.12",
85
- "@typescript-eslint/eslint-plugin": "5.42.0",
86
- "@typescript-eslint/parser": "5.42.0",
85
+ "@typescript-eslint/eslint-plugin": "5.43.0",
86
+ "@typescript-eslint/parser": "5.43.0",
87
87
  "copyfiles": "2.4.1",
88
- "eslint": "8.26.0",
88
+ "eslint": "8.27.0",
89
89
  "eslint-config-prettier": "8.5.0",
90
90
  "eslint-plugin-eslint-comments": "3.2.0",
91
- "eslint-plugin-jest": "27.1.3",
92
- "eslint-plugin-jsdoc": "39.4.0",
91
+ "eslint-plugin-jest": "27.1.5",
92
+ "eslint-plugin-jsdoc": "39.6.2",
93
93
  "eslint-plugin-prefer-arrow": "1.2.3",
94
94
  "eslint-plugin-promise": "6.1.1",
95
95
  "eslint-plugin-sonarjs": "0.16.0",
96
96
  "eslint-plugin-unicorn": "44.0.2",
97
- "husky": "8.0.1",
98
- "jest": "29.2.2",
97
+ "husky": "8.0.2",
98
+ "jest": "29.3.1",
99
99
  "jest-create-mock-instance": "2.0.0",
100
100
  "lint-staged": "13.0.3",
101
101
  "prettier": "2.7.1",
@@ -104,7 +104,7 @@
104
104
  "ts-loader": "9.4.1",
105
105
  "ts-node": "10.9.1",
106
106
  "tsconfig-paths": "4.1.0",
107
- "typescript": "4.8.4"
107
+ "typescript": "4.9.3"
108
108
  },
109
109
  "lint-staged": {
110
110
  "*.ts": "eslint --cache --fix",