Home / Function/ isAllowedPackage() — astro Function Reference

isAllowedPackage() — astro Function Reference

Architecture documentation for the isAllowedPackage() function in verify.ts from the astro codebase.

Entity Profile

Dependency Diagram

graph TD
  64544eee_321d_e431_0d34_571a01b53ae5["isAllowedPackage()"]
  bf354028_170b_aac5_1cb8_bcd8677afe9a["verify.ts"]
  64544eee_321d_e431_0d34_571a01b53ae5 -->|defined in| bf354028_170b_aac5_1cb8_bcd8677afe9a
  style 64544eee_321d_e431_0d34_571a01b53ae5 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

packages/upgrade/src/actions/verify.ts lines 78–80

function isAllowedPackage(name: string, _version: string) {
	return name !== '@astrojs/upgrade';
}

Domain

Subdomains

Frequently Asked Questions

What does isAllowedPackage() do?
isAllowedPackage() is a function in the astro codebase, defined in packages/upgrade/src/actions/verify.ts.
Where is isAllowedPackage() defined?
isAllowedPackage() is defined in packages/upgrade/src/actions/verify.ts at line 78.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free