You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
"[DEP0132] DeprecationWarning" warnings in the current main.js #27
I'm using neovim with copilot. Current code of language server spam my logs with an annoying depreciation warnings in LSP logs (I'm using the copilot.lua though):
[ERROR][2025-07-04 16:10:21] ...p/_transport.lua:36 "rpc" "node" "stderr" "(node:32377) [DEP0132] DeprecationWarning: Passing a callback to worker.terminate() is deprecated. It returns a Promise instead.\n(node:32377) [DEP0132] DeprecationWarning: Passing a callback to worker.terminate() is deprecated. It returns a Promise instead.\n(node:32377) [DEP0132] DeprecationWarning: Passing a callback to worker.terminate() is deprecated. It returns a Promise instead.\n(node:32377) [DEP0132] DeprecationWarning: Passing a callback to worker.terminate() is deprecated. It returns a Promise instead.\n"
The could be easily fixed if we replace this piece of code in main.js:
Activity
devm33 commentedon Jul 7, 2025
Hi, sorry for log noise. This particular warning is coming from a dependency: https://github.com/wilk/microjob/blob/00e17709d32543e61e25be500d7849b9595ddfdd/src/worker-pool.ts#L219