@tsed/common 5.67.0 → 5.67.2

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.
@@ -41,7 +41,7 @@ export interface PlatformLoggerSettings {
41
41
  */
42
42
  disableRoutesSummary?: boolean;
43
43
  /**
44
- * Specify log format. Example: `%[%d{[yyyy-MM-dd hh:mm:ss,SSS}] %p%] %m`. See [@tsed/logger configuration](https://typedproject.github.io/logger/).
44
+ * Specify log format. Example: `%[%d{[yyyy-MM-dd hh:mm:ss,SSS}] %p%] %m`. See [@tsed/logger configuration](https://tsedio.github.io/logger/).
45
45
  */
46
46
  format?: string;
47
47
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"PlatformLoggerSettings.js","sourceRoot":"","sources":["../../../src/config/interfaces/PlatformLoggerSettings.ts"],"names":[],"mappings":"","sourcesContent":["export interface PlatformLoggerSettings {\n /**\n * Enable debug mode. By default debug is false.\n */\n debug?: boolean;\n /**\n * Enable info mode. By default debug is false.\n */\n level?: \"debug\" | \"info\" | \"warn\" | \"error\" | \"off\";\n /**\n * Fields displayed when a request is logged. Possible values: `reqId`, `method`, `url`, `headers`, `body`, `query`,`params`, `duration`.\n */\n requestFields?: (\"reqId\" | \"method\" | \"url\" | \"headers\" | \"body\" | \"query\" | \"params\" | \"duration\" | string)[];\n /**\n * List of regexp to ignore log.\n */\n ignoreUrlPatterns?: string[];\n /**\n * Log all incoming request. By default is true and print the configured `logger.requestFields`.\n */\n logRequest?: boolean;\n /**\n * Log start of all incoming request. By default is true\n */\n logStart?: boolean;\n /**\n * Log end of all incoming request. By default is true\n */\n logEnd?: boolean;\n /**\n * The number of space characters to use as white space in JSON output. Default is 2 (0 in production).\n */\n jsonIndentation?: number;\n /**\n * A function called for each incoming request to create a request id.\n * @returns {number}\n */\n reqIdBuilder?: () => string;\n /**\n * Disable routes table displayed in the logger. By default debug is `false`.\n */\n disableRoutesSummary?: boolean;\n /**\n * Specify log format. Example: `%[%d{[yyyy-MM-dd hh:mm:ss,SSS}] %p%] %m`. See [@tsed/logger configuration](https://typedproject.github.io/logger/).\n */\n format?: string;\n /**\n * Specify the log stack size for the context.logger. When the stack.length is reach, the logger is flushed during the request.\n * Default size is set to 30.\n */\n maxStackSize?: number;\n}\n/**\n * @deprecated Use PlatformLoggerSettings interface instead\n */\nexport interface ILoggerSettings extends PlatformLoggerSettings {}\n"]}
1
+ {"version":3,"file":"PlatformLoggerSettings.js","sourceRoot":"","sources":["../../../src/config/interfaces/PlatformLoggerSettings.ts"],"names":[],"mappings":"","sourcesContent":["export interface PlatformLoggerSettings {\n /**\n * Enable debug mode. By default debug is false.\n */\n debug?: boolean;\n /**\n * Enable info mode. By default debug is false.\n */\n level?: \"debug\" | \"info\" | \"warn\" | \"error\" | \"off\";\n /**\n * Fields displayed when a request is logged. Possible values: `reqId`, `method`, `url`, `headers`, `body`, `query`,`params`, `duration`.\n */\n requestFields?: (\"reqId\" | \"method\" | \"url\" | \"headers\" | \"body\" | \"query\" | \"params\" | \"duration\" | string)[];\n /**\n * List of regexp to ignore log.\n */\n ignoreUrlPatterns?: string[];\n /**\n * Log all incoming request. By default is true and print the configured `logger.requestFields`.\n */\n logRequest?: boolean;\n /**\n * Log start of all incoming request. By default is true\n */\n logStart?: boolean;\n /**\n * Log end of all incoming request. By default is true\n */\n logEnd?: boolean;\n /**\n * The number of space characters to use as white space in JSON output. Default is 2 (0 in production).\n */\n jsonIndentation?: number;\n /**\n * A function called for each incoming request to create a request id.\n * @returns {number}\n */\n reqIdBuilder?: () => string;\n /**\n * Disable routes table displayed in the logger. By default debug is `false`.\n */\n disableRoutesSummary?: boolean;\n /**\n * Specify log format. Example: `%[%d{[yyyy-MM-dd hh:mm:ss,SSS}] %p%] %m`. See [@tsed/logger configuration](https://tsedio.github.io/logger/).\n */\n format?: string;\n /**\n * Specify the log stack size for the context.logger. When the stack.length is reach, the logger is flushed during the request.\n * Default size is set to 30.\n */\n maxStackSize?: number;\n}\n/**\n * @deprecated Use PlatformLoggerSettings interface instead\n */\nexport interface ILoggerSettings extends PlatformLoggerSettings {}\n"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tsed/common",
3
- "version": "5.67.0",
3
+ "version": "5.67.2",
4
4
  "description": "A TypeScript Framework on top of Express",
5
5
  "main": "./lib/index.js",
6
6
  "typings": "./lib/index.d.ts",
@@ -30,21 +30,21 @@
30
30
  "author": "Romain Lenzotti",
31
31
  "license": "MIT",
32
32
  "bugs": {
33
- "url": "https://github.com/TypedProject/tsed/issues"
33
+ "url": "https://github.com/tsedio/tsed/issues"
34
34
  },
35
- "homepage": "https://github.com/TypedProject/tsed/tree/5.x/packages/common",
36
- "repository": "https://github.com/TypedProject/tsed",
35
+ "homepage": "https://github.com/tsedio/tsed/tree/5.x/packages/common",
36
+ "repository": "https://github.com/tsedio/tsed",
37
37
  "scripts": {
38
38
  "build": "tsc --build tsconfig.compile.json"
39
39
  },
40
40
  "dependencies": {
41
- "@tsed/core": "5.67.0",
42
- "@tsed/di": "5.67.0",
43
- "@tsed/exceptions": "5.67.0",
41
+ "@tsed/core": "5.67.2",
42
+ "@tsed/di": "5.67.2",
43
+ "@tsed/exceptions": "5.67.2",
44
44
  "@tsed/logger": "5.5.3",
45
45
  "@types/json-schema": "7.0.6",
46
46
  "globby": "11.0.1",
47
- "json-schema": "^0.2.3",
47
+ "json-schema": "^0.4.0",
48
48
  "normalize-path": "3.0.0",
49
49
  "on-finished": "2.3.0",
50
50
  "rxjs": "^6.5.2",
package/readme.md CHANGED
@@ -2,14 +2,14 @@
2
2
  <a href="https://tsed.io" target="_blank"><img src="https://tsed.io/tsed-og.png" width="200" alt="Ts.ED logo"/></a>
3
3
  </p>
4
4
 
5
- [![Build Status](https://travis-ci.org/TypedProject/tsed.svg?branch=master)](https://travis-ci.org/TypedProject/tsed)
6
- [![Coverage Status](https://coveralls.io/repos/github/TypedProject/tsed/badge.svg?branch=production)](https://coveralls.io/github/TypedProject/tsed?branch=production)
5
+ [![Build Status](https://travis-ci.org/tsedio/tsed.svg?branch=master)](https://travis-ci.org/tsedio/tsed)
6
+ [![Coverage Status](https://coveralls.io/repos/github/tsedio/tsed/badge.svg?branch=production)](https://coveralls.io/github/tsedio/tsed?branch=production)
7
7
  ![npm](https://img.shields.io/npm/dm/@tsed/common.svg)
8
8
  [![npm version](https://badge.fury.io/js/%40tsed%2Fcommon.svg)](https://badge.fury.io/js/%40tsed%2Fcommon)
9
- [![Dependencies](https://david-dm.org/TypedProject/tsed.svg)](https://david-dm.org/TypedProject/tsed#info=dependencies)
10
- [![img](https://david-dm.org/TypedProject/tsed/dev-status.svg)](https://david-dm.org/TypedProject/tsed/#info=devDependencies)
11
- [![img](https://david-dm.org/TypedProject/tsed/peer-status.svg)](https://david-dm.org/TypedProject/tsed/#info=peerDependenciess)
12
- [![Known Vulnerabilities](https://snyk.io/test/github/TypedProject/tsed/badge.svg)](https://snyk.io/test/github/TypedProject/tsed)
9
+ [![Dependencies](https://david-dm.org/tsedio/tsed.svg)](https://david-dm.org/tsedio/tsed#info=dependencies)
10
+ [![img](https://david-dm.org/tsedio/tsed/dev-status.svg)](https://david-dm.org/tsedio/tsed/#info=devDependencies)
11
+ [![img](https://david-dm.org/tsedio/tsed/peer-status.svg)](https://david-dm.org/tsedio/tsed/#info=peerDependenciess)
12
+ [![Known Vulnerabilities](https://snyk.io/test/github/tsedio/tsed/badge.svg)](https://snyk.io/test/github/tsedio/tsed)
13
13
  [![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg)](https://github.com/semantic-release/semantic-release)
14
14
  [![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square)](https://github.com/prettier/prettier)
15
15
  [![backers](https://opencollective.com/tsed/tiers/badge.svg)](https://opencollective.com/tsed)
@@ -180,7 +180,7 @@ export class UsersCtrl {
180
180
  ## Contributors
181
181
  Please read [contributing guidelines here](./CONTRIBUTING.md).
182
182
 
183
- <a href="https://github.com/TypedProject/tsed/graphs/contributors"><img src="https://opencollective.com/tsed/contributors.svg?width=890" /></a>
183
+ <a href="https://github.com/tsedio/tsed/graphs/contributors"><img src="https://opencollective.com/tsed/contributors.svg?width=890" /></a>
184
184
 
185
185
 
186
186
  ## Backers