isSupportedPackage() — astro Function Reference
Architecture documentation for the isSupportedPackage() function in verify.ts from the astro codebase.
Entity Profile
Dependency Diagram
graph TD 82d5de9c_1b85_30a0_1ccd_0c66691fc54c["isSupportedPackage()"] bf354028_170b_aac5_1cb8_bcd8677afe9a["verify.ts"] 82d5de9c_1b85_30a0_1ccd_0c66691fc54c -->|defined in| bf354028_170b_aac5_1cb8_bcd8677afe9a 86dc2b9b_78e5_91dc_4649_8f79e626ceff["collectPackageInfo()"] 86dc2b9b_78e5_91dc_4649_8f79e626ceff -->|calls| 82d5de9c_1b85_30a0_1ccd_0c66691fc54c style 82d5de9c_1b85_30a0_1ccd_0c66691fc54c fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/upgrade/src/actions/verify.ts lines 86–91
function isSupportedPackage(name: string, version: string): boolean {
for (const validator of [isAstroPackage, isAllowedPackage, isValidVersion]) {
if (!validator(name, version)) return false;
}
return true;
}
Domain
Subdomains
Defined In
Called By
Source
Frequently Asked Questions
What does isSupportedPackage() do?
isSupportedPackage() is a function in the astro codebase, defined in packages/upgrade/src/actions/verify.ts.
Where is isSupportedPackage() defined?
isSupportedPackage() is defined in packages/upgrade/src/actions/verify.ts at line 86.
What calls isSupportedPackage()?
isSupportedPackage() is called by 1 function(s): collectPackageInfo.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free