If B requires A, thethen B is dependent on A. BeSo B is a dependent of A.
Dependent: (adj) determined or conditioned by another : contingent (e.g., plans that are dependent on the weather) Merriam-Webster
The corresponding noun has the same spelling.