Comparing version 1.6.0 to 1.6.1
@@ -9,3 +9,3 @@ import type { ThreadGroupConfig } from '../../streams'; | ||
noBeginMessage?: string | unknown; | ||
transformFields?: <T extends BunyaminLogRecordFields>(context: T | undefined) => T | undefined; | ||
transformFields?: (fields: BunyaminLogRecordFields | undefined) => BunyaminLogRecordFields | undefined; | ||
}; |
@@ -362,3 +362,3 @@ (function (global, factory) { | ||
const endContext = { | ||
...customContext, | ||
..._classPrivateFieldLooseBase(this, _transformContext)[_transformContext](customContext), | ||
ph: 'E', | ||
@@ -365,0 +365,0 @@ tid: fields.tid |
{ | ||
"name": "bunyamin", | ||
"version": "1.6.0", | ||
"version": "1.6.1", | ||
"description": "Bunyan-based logger for Node.js supporting Trace Event format", | ||
@@ -54,30 +54,30 @@ "license": "MIT", | ||
"devDependencies": { | ||
"@commitlint/cli": "^17.6.1", | ||
"@commitlint/config-conventional": "^17.6.1", | ||
"@commitlint/cli": "^19.2.1", | ||
"@commitlint/config-conventional": "^19.1.0", | ||
"@types/bunyan": "^1.8.8", | ||
"@types/stream-json": "^1.7.3", | ||
"@typescript-eslint/eslint-plugin": "^5.29.0", | ||
"@typescript-eslint/parser": "^5.29.0", | ||
"@types/stream-json": "^1.7.7", | ||
"@typescript-eslint/eslint-plugin": "^7.6.0", | ||
"@typescript-eslint/parser": "^7.6.0", | ||
"bunyan": "^1.8.15", | ||
"cz-conventional-changelog": "^3.3.0", | ||
"eslint": "^8.39.0", | ||
"eslint-config-prettier": "^8.8.0", | ||
"eslint-import-resolver-typescript": "^3.5.5", | ||
"eslint-plugin-ecmascript-compat": "^3.0.0", | ||
"eslint-plugin-import": "^2.27.5", | ||
"eslint-plugin-jsdoc": "^43.1.1", | ||
"eslint": "^8.57.0", | ||
"eslint-config-prettier": "^9.1.0", | ||
"eslint-import-resolver-typescript": "^3.6.1", | ||
"eslint-plugin-ecmascript-compat": "^3.2.1", | ||
"eslint-plugin-import": "^2.29.1", | ||
"eslint-plugin-jsdoc": "^48.2.3", | ||
"eslint-plugin-no-only-tests": "^3.1.0", | ||
"eslint-plugin-node": "^11.1.0", | ||
"eslint-plugin-prettier": "^4.2.1", | ||
"eslint-plugin-unicorn": "^46.0.0", | ||
"husky": "^8.0.3", | ||
"jest": "^29.0.0", | ||
"lint-staged": "^13.2.2", | ||
"eslint-plugin-n": "^17.2.0", | ||
"eslint-plugin-prettier": "^5.1.3", | ||
"eslint-plugin-unicorn": "^52.0.0", | ||
"husky": "^9.0.11", | ||
"jest": "^29.7.0", | ||
"lint-staged": "^15.2.2", | ||
"microbundle": "^0.15.1", | ||
"prettier": "^2.8.8", | ||
"semantic-release": "^21.0.2", | ||
"prettier": "^3.2.5", | ||
"semantic-release": "^23.0.8", | ||
"tempy": "^1.0.0", | ||
"ts-jest": "^29.1.0", | ||
"typedoc": "^0.25.1", | ||
"typescript": "5.1.x" | ||
"typedoc": "^0.25.13", | ||
"typescript": "5.2.x" | ||
}, | ||
@@ -84,0 +84,0 @@ "dependencies": { |
@@ -161,3 +161,3 @@ import { deflateCategories, mergeCategories } from './categories'; | ||
const endContext = { | ||
...customContext, | ||
...this.#transformContext(customContext), | ||
ph: 'E', | ||
@@ -198,4 +198,4 @@ tid: fields.tid, | ||
: isError(arguments_[0]) && arguments_.length === 1 | ||
? [arguments_[0].message] | ||
: arguments_.slice(1); | ||
? [arguments_[0].message] | ||
: arguments_.slice(1); | ||
@@ -202,0 +202,0 @@ return { |
@@ -27,3 +27,5 @@ import type { ThreadGroupConfig } from '../../streams'; | ||
*/ | ||
transformFields?: <T extends BunyaminLogRecordFields>(context: T | undefined) => T | undefined; | ||
transformFields?: ( | ||
fields: BunyaminLogRecordFields | undefined, | ||
) => BunyaminLogRecordFields | undefined; | ||
}; |
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
368991
4486