Skip to content

Commit eb764f1

Browse files
committed
add deprecation filter by default
1 parent e6427ca commit eb764f1

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

packages/node-core/src/integrations/console.ts

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,14 @@ export const consoleIntegration = defineIntegration((options: Partial<ConsoleInt
3939
}
4040

4141
// Delegate breadcrumb handling to the core console integration.
42-
const core = coreConsoleIntegration(options);
42+
const core = coreConsoleIntegration({
43+
...options,
44+
filter: [
45+
...(options.filter || []),
46+
// Deprecation on Node 26 for module.require(), which is used by IITM
47+
'(node:4075) [DEP0205] DeprecationWarning',
48+
],
49+
});
4350
core.setup?.(client);
4451
},
4552
};

0 commit comments

Comments
 (0)