Class BundledNpmDependency
A bundled NPM module, that is, a module in a package whose source is
included in the database (as opposed to an ExternalNPMDependency
which is only referenced in a package.json file).
Import path
import semmle.javascript.dependencies.DependenciesDirect supertypes
Indirect supertypes
Predicates
| getAnImport | Gets an import that imports to this module. |
| getNpmPackageName | Gets the name of the NPM package this module belongs to. |
| getVersion | Gets the version of the NPM package this module belongs to. |
Inherited predicates
| getAPrimaryQlClass | Gets the primary QL class for the Locatable. | from Locatable |
| getAUse | Gets a use of this dependency, which is of the given | from NpmDependency |
| getEndLine | Gets the line on which this element ends. | from Locatable |
| getFile | Gets the file this program element comes from. | from Locatable |
| getLocation | Gets this element’s location. | from Locatable |
| getNumLines | Gets the number of lines covered by this element. | from Locatable |
| getPrimaryQlClasses | Gets a comma-separated list of the names of the primary CodeQL classes to which this element belongs. | from Locatable |
| getStartLine | Gets the line on which this element starts. | from Locatable |
| info | Holds if this dependency has identifier | from NpmDependency |
| toString | Gets a textual representation of this element. | from Locatable |