script_context_deprecated() — svelte Function Reference
Architecture documentation for the script_context_deprecated() function in warnings.js from the svelte codebase.
Entity Profile
Dependency Diagram
graph TD f09deab3_63f9_9f92_9e8a_4c63d15738a6["script_context_deprecated()"] 56a689f9_11c0_cc76_bd60_41bb6dc96475["warnings.js"] f09deab3_63f9_9f92_9e8a_4c63d15738a6 -->|defined in| 56a689f9_11c0_cc76_bd60_41bb6dc96475 78a6ba9a_5003_f569_a638_76e4f1977809["analyze_component()"] 78a6ba9a_5003_f569_a638_76e4f1977809 -->|calls| f09deab3_63f9_9f92_9e8a_4c63d15738a6 style f09deab3_63f9_9f92_9e8a_4c63d15738a6 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/svelte/src/compiler/warnings.js lines 801–803
export function script_context_deprecated(node) {
w(node, 'script_context_deprecated', `\`context="module"\` is deprecated, use the \`module\` attribute instead\nhttps://svelte.dev/e/script_context_deprecated`);
}
Domain
Subdomains
Defined In
Called By
Source
Frequently Asked Questions
What does script_context_deprecated() do?
script_context_deprecated() is a function in the svelte codebase, defined in packages/svelte/src/compiler/warnings.js.
Where is script_context_deprecated() defined?
script_context_deprecated() is defined in packages/svelte/src/compiler/warnings.js at line 801.
What calls script_context_deprecated()?
script_context_deprecated() is called by 1 function(s): analyze_component.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free