Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): bump winston from 3.3.3 to 3.11.0 #477

Merged
merged 3 commits into from
Feb 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
56 changes: 30 additions & 26 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@
"vscode-languageserver-textdocument": "^1.0.5",
"vscode-languageserver-types": "^3.16.0",
"vscode-uri": "^3.0.2",
"winston": "^3.3.3",
"winston": "^3.11.0",
"winston-transport": "^4.7.0"
},
"devDependencies": {
Expand Down
11 changes: 11 additions & 0 deletions test/unit/server-mocks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -328,6 +328,17 @@ export function getLogger(): jest.Mocked<winston.Logger> {
remove: jest.fn(),
removeAllListeners: jest.fn(),
removeListener: jest.fn(),
rejections: Object.assign(jest.fn(), {
catcher: false,
getAllInfo: jest.fn(),
getOsInfo: jest.fn(),
getProcessInfo: jest.fn(),
getTrace: jest.fn(),
handle: jest.fn(),
handlers: new Map(),
logger: undefined as unknown as winston.Logger,
unhandle: jest.fn(),
}),
resume: jest.fn(),
setDefaultEncoding: jest.fn(),
setEncoding: jest.fn(),
Expand Down
Loading