json-logger-service
Advanced tools
Comparing version 1.0.20 to 7.6.4
"use strict"; | ||
function __export(m) { | ||
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p]; | ||
} | ||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); | ||
}) : (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
o[k2] = m[k]; | ||
})); | ||
var __exportStar = (this && this.__exportStar) || function(m, exports) { | ||
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
__export(require("./src/JsonLogger")); | ||
__export(require("./src/LoggerFactory")); | ||
__export(require("./src/JsonLoggerService")); | ||
__export(require("./src/RequestLoggerOptions")); | ||
__export(require("./src/RequestLogger")); | ||
__exportStar(require("./src/JsonLogger"), exports); | ||
__exportStar(require("./src/LoggerFactory"), exports); | ||
__exportStar(require("./src/JsonLoggerService"), exports); | ||
__exportStar(require("./src/RequestLoggerOptions"), exports); | ||
__exportStar(require("./src/RequestLogger"), exports); | ||
//# sourceMappingURL=index.js.map |
"use strict"; | ||
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { | ||
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } | ||
return new (P || (P = Promise))(function (resolve, reject) { | ||
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } } | ||
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } } | ||
function step(result) { result.done ? resolve(result.value) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); } | ||
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); } | ||
step((generator = generator.apply(thisArg, _arguments || [])).next()); | ||
@@ -15,3 +16,3 @@ }); | ||
let jsonLoggerService; | ||
beforeAll(() => __awaiter(this, void 0, void 0, function* () { | ||
beforeAll(() => __awaiter(void 0, void 0, void 0, function* () { | ||
process.env.LOGGER_ENV = 'test'; | ||
@@ -18,0 +19,0 @@ index_1.LoggerFactory.setDefaultLogCustomContextBuilder(undefined); |
"use strict"; | ||
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { | ||
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } | ||
return new (P || (P = Promise))(function (resolve, reject) { | ||
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } } | ||
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } } | ||
function step(result) { result.done ? resolve(result.value) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); } | ||
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); } | ||
step((generator = generator.apply(thisArg, _arguments || [])).next()); | ||
@@ -25,3 +26,3 @@ }); | ||
}; | ||
beforeEach(() => __awaiter(this, void 0, void 0, function* () { | ||
beforeEach(() => __awaiter(void 0, void 0, void 0, function* () { | ||
loggerMock = ts_mockito_1.mock(index_1.JsonLogger); | ||
@@ -28,0 +29,0 @@ requestLogger = index_1.RequestLogger.buildExpressRequestLogger({ jsonLogger: ts_mockito_1.instance(loggerMock) }); |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.JsonLogger = void 0; | ||
const LoggerFactory_1 = require("./LoggerFactory"); | ||
@@ -4,0 +5,0 @@ class JsonLogger { |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.JsonLoggerService = void 0; | ||
const LoggerFactory_1 = require("./LoggerFactory"); | ||
@@ -4,0 +5,0 @@ class JsonLoggerService { |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.LoggerFactory = void 0; | ||
const Logger = require("bunyan"); | ||
@@ -4,0 +5,0 @@ const JsonLogger_1 = require("./JsonLogger"); |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.RequestLogger = void 0; | ||
const LoggerFactory_1 = require("./LoggerFactory"); | ||
@@ -4,0 +5,0 @@ const onFinished = require('on-finished'); |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.RequestLoggerOptions = void 0; | ||
class RequestLoggerOptions { | ||
@@ -4,0 +5,0 @@ } |
{ | ||
"name": "json-logger-service", | ||
"version": "1.0.20", | ||
"version": "7.6.4", | ||
"description": "Nest Json LoggerService implementation.", | ||
@@ -35,23 +35,30 @@ "main": "dist/index", | ||
"dependencies": { | ||
"@nestjs/common": "^6.0.0", | ||
"@nestjs/core": "^6.0.0", | ||
"@nestjs/platform-express": "^6.0.0", | ||
"@nestjs/common": "^7.6.4", | ||
"@nestjs/core": "^7.6.4", | ||
"@nestjs/platform-express": "^7.6.4", | ||
"bunyan": "^2.0.0", | ||
"on-finished": "^2.3.0", | ||
"reflect-metadata": "^0.1.13", | ||
"rxjs": "^6.0.0" | ||
"rxjs": "^6.6.3" | ||
}, | ||
"devDependencies": { | ||
"@types/jest": "^25.1.0", | ||
"@types/node": "^10.12.18", | ||
"@types/supertest": "^2.0.7", | ||
"jest": "^25.0.0", | ||
"rimraf": "^2.6.3", | ||
"ts-jest": "^25.0.0", | ||
"ts-mockito": "^2.5.0", | ||
"tslint": "^5.0.0", | ||
"tslint-config-airbnb": "^5.11.1", | ||
"tslint-microsoft-contrib": "^6.1.0", | ||
"typescript": "^3.4.3" | ||
"@types/jest": "^26.0.19", | ||
"@types/node": "^14.14.16", | ||
"@types/supertest": "^2.0.10", | ||
"@typescript-eslint/eslint-plugin": "^4.11.0", | ||
"@typescript-eslint/eslint-plugin-tslint": "^4.11.0", | ||
"@typescript-eslint/parser": "^4.11.0", | ||
"eslint": "^7.16.0", | ||
"eslint-plugin-jsdoc": "^30.7.9", | ||
"eslint-plugin-no-null": "^1.0.2", | ||
"eslint-plugin-prefer-arrow": "^1.2.2", | ||
"jest": "^26.6.3", | ||
"rimraf": "^3.0.2", | ||
"ts-jest": "^26.4.4", | ||
"ts-mockito": "^2.6.1", | ||
"tslint": "^6.1.3", | ||
"tslint-config-airbnb": "^5.11.2", | ||
"tslint-microsoft-contrib": "^6.2.0", | ||
"typescript": "^4.1.3" | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
41202
462
18
+ Added@nestjs/common@7.6.18(transitive)
+ Added@nestjs/core@7.6.18(transitive)
+ Added@nestjs/platform-express@7.6.18(transitive)
+ Added@nuxtjs/opencollective@0.3.2(transitive)
+ Addedansi-styles@4.3.0(transitive)
+ Addedaxios@0.21.1(transitive)
+ Addedchalk@4.1.2(transitive)
+ Addedcolor-convert@2.0.1(transitive)
+ Addedcolor-name@1.1.4(transitive)
+ Addedfollow-redirects@1.15.9(transitive)
+ Addedhas-flag@4.0.0(transitive)
+ Addediterare@1.2.1(transitive)
+ Addedobject-hash@2.1.1(transitive)
+ Addedsupports-color@7.2.0(transitive)
+ Addedtslib@1.14.12.2.0(transitive)
+ Addeduuid@8.3.2(transitive)
- Removed@nestjs/common@6.11.11(transitive)
- Removed@nestjs/core@6.11.11(transitive)
- Removed@nestjs/platform-express@6.11.11(transitive)
- Removed@nuxtjs/opencollective@0.2.2(transitive)
- Removedansi-regex@2.1.1(transitive)
- Removedansi-styles@3.2.1(transitive)
- Removedaxios@0.19.2(transitive)
- Removedchalk@2.4.2(transitive)
- Removedcli-color@2.0.0(transitive)
- Removedcolor-convert@1.9.3(transitive)
- Removedcolor-name@1.1.3(transitive)
- Removedd@1.0.2(transitive)
- Removedes5-ext@0.10.64(transitive)
- Removedes6-iterator@2.0.3(transitive)
- Removedes6-symbol@3.1.4(transitive)
- Removedes6-weak-map@2.0.3(transitive)
- Removedescape-string-regexp@1.0.5(transitive)
- Removedesniff@2.0.1(transitive)
- Removedevent-emitter@0.3.5(transitive)
- Removedext@1.7.0(transitive)
- Removedfollow-redirects@1.5.10(transitive)
- Removedhas-flag@3.0.0(transitive)
- Removedis-promise@2.2.2(transitive)
- Removediterare@1.2.0(transitive)
- Removedlru-queue@0.1.0(transitive)
- Removedmemoizee@0.4.17(transitive)
- Removednext-tick@1.1.0(transitive)
- Removedobject-hash@2.0.3(transitive)
- Removedsupports-color@5.5.0(transitive)
- Removedtimers-ext@0.1.8(transitive)
- Removedtslib@1.11.1(transitive)
- Removedtype@2.7.3(transitive)
- Removeduuid@7.0.1(transitive)
Updated@nestjs/common@^7.6.4
Updated@nestjs/core@^7.6.4
Updatedrxjs@^6.6.3