Questions tagged [dependency-tree]

When dependencies are nested inside other dependencies, they form a dependency tree. Use this tag when a dependency tree is an important aspect of the question's problem setting.

35 questions
1
vote
1 answer

Extract an autonomous chunk of the dependency graph of a huge CPP project?

Consider Chromium codebase. It's huge, around 4gb of pure code, if I'm not mistaken. But however humongous it may be, it's still modular in its nature. And it implements a lot of interesting features in its internals. What I mean is for example I'd…
winwin
  • 958
  • 7
  • 25
1
vote
3 answers

How to get maven dependency tree programmatically

want to print maven dependency tree (all the dependencies including transitive dependencies) programmatically by just reading pom.xml file without connecting to remote repository.
Janki
  • 21
  • 5
1
vote
1 answer

I have 5 moderate severity vulnerabilities when I checked the npm audit

How can I fix these errors given below? $ npm audit # npm audit report glob-parent <5.1.2 Severity: moderate Regular expression denial of service - https://npmjs.com/advisories/1751 No fix…
1
vote
0 answers

Gap-Degree of non-projective dependency tree

The following is how my class defines gap-degree: The gap-degree of a word in a dependency tree is the least k for which the substring consisting of the word and its descendants is entirely comprised of k +1 contiguous substrings. The gap-degree of…
1
vote
1 answer

On which level of the maven dependency tree are dependencies from the parent project

I have a parent pom which has a dependency to third party jar A with version 1.0. Then I have a child project which inherits from the parent pom. This child project defines a dependency to library B which itself has the dependency to the third party…
MaverinCode
  • 469
  • 1
  • 4
  • 15
1
vote
1 answer

python - parse maven dependency tree

I want to be able to take in a maven dependency tree in as an input and parse through it to determine the groupId, artifactId, and version of each dependency with its child(ren) if any, and the child(ren)'s groupId, artifactId, and version (and any…
BeansMama
  • 131
  • 1
  • 8
1
vote
0 answers

'Tree' object has no attribute 'triples', stanford parser via nltk

When I am using the example from here I am getting the error AttributeError: 'Tree' object has no attribute 'triples' The version of the nltk I am using is 3.2.4, python 2.7. Any ideas of how to solve it are highly appreciated! from…
student
  • 511
  • 1
  • 5
  • 20
1
vote
2 answers

Creating NPM link utility - Tracing dependencies from bottom to top

I am working on creating an NPM link utility. I have a package which depends on about 7 or 8 locally developed packages as well. I link them together using NPM link. This is currently manually and has become tedious, would like to automate it with a…
Alexander Mills
  • 90,741
  • 139
  • 482
  • 817
0
votes
0 answers

How to change a version of a specific module for each depth of dependecy tree?

We can view all dependecy tree by running npm list -a or yarn list Let's say we want a specific module to have a version that we want. How can I perform by using npm or yarn commands? I looked at npm and yarn cli commands but couldn't find something…
0
votes
0 answers

MAVEN : Is There A Possibility to Personnalize the Tree of dependencies in Maven Project

In my Pom.XML, there is two dependency that get with them the: 'org.keyclaok:keycloak-core' dependency: ma.s2m.nxp nxp-keycloak-starter
0
votes
1 answer

nuget install command line "Unable To Resolve Dependency" error

I'm running the following nuget install command line command (indented for ease of reading) nuget.exe install "Microsoft.Azure.WebJobs.Extensions.OpenApi" -Version 1.4.0 -Source [our internal feed source] -Framework "net6.0" …
James Wiseman
  • 29,946
  • 17
  • 95
  • 158
0
votes
1 answer

angular-highcharts unable to resolve dependency tree peer @angular/common@"^13.0.0" from angular-highcharts@14.1.5

Trying to install angular-highcharts to my angular project but I m getting the error below: PS C:\Users\YUNUS\Desktop\newProject\gos-panel\src\app\shared> npm i angular-highcharts highcharts npm ERR! code ERESOLVE npm ERR! ERESOLVE unable to…
0
votes
0 answers

Importing Angular compiler to Bit results in dependency tree issues

I am trying to implement one commons project where I keep several reusable Angular components and services, that I want to use for several other projects. I want to use Bit to share components (or rather modules) between my projects. I followed the…
Serg Derbst
  • 444
  • 6
  • 18
0
votes
1 answer

How do I generate dependency tree only for the specific module in a multi module project - MAVEN

I have multi-module project. say for example : x |_b |_c When I run the command mvn dependency : tree This will output dependency trees for the modules "b" and "c" I know we can get specific module dependency tree by using this command mvn -f…
ziya
  • 1
  • 2
0
votes
2 answers

How can I exclude some packages from (transitive) dependencies?

I depend on org.springframework.boot:spring-boot-starter-validation:jar:2.2.6.RELEASE:test which depends on org.hibernate.validator:hibernate-validator:jar:6.0.18.Final:test. [INFO] +-…
Jin Kwon
  • 20,295
  • 14
  • 115
  • 184