ignoreDeprecationWarnings() — vite Function Reference
Architecture documentation for the ignoreDeprecationWarnings() function in deprecations.ts from the vite codebase.
Entity Profile
Dependency Diagram
graph TD bb180253_0ada_744c_66d8_79e5db023c5c["ignoreDeprecationWarnings()"] 8e764982_4d15_ae9b_89fa_c657779af0c5["deprecations.ts"] bb180253_0ada_744c_66d8_79e5db023c5c -->|defined in| 8e764982_4d15_ae9b_89fa_c657779af0c5 8f73b680_d5b9_383c_f695_c906b80fb1e6["handleHMRUpdate()"] 8f73b680_d5b9_383c_f695_c906b80fb1e6 -->|calls| bb180253_0ada_744c_66d8_79e5db023c5c style bb180253_0ada_744c_66d8_79e5db023c5c fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/vite/src/node/deprecations.ts lines 99–105
export function ignoreDeprecationWarnings<T>(fn: () => T): T {
const before = _ignoreDeprecationWarnings
_ignoreDeprecationWarnings = true
const ret = fn()
_ignoreDeprecationWarnings = before
return ret
}
Domain
Subdomains
Defined In
Called By
Source
Frequently Asked Questions
What does ignoreDeprecationWarnings() do?
ignoreDeprecationWarnings() is a function in the vite codebase, defined in packages/vite/src/node/deprecations.ts.
Where is ignoreDeprecationWarnings() defined?
ignoreDeprecationWarnings() is defined in packages/vite/src/node/deprecations.ts at line 99.
What calls ignoreDeprecationWarnings()?
ignoreDeprecationWarnings() is called by 1 function(s): handleHMRUpdate.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free