Open joehan opened 6 months ago
Exactly. In my case I get the same warning as the OP. The offending reference to glob
is shown here:
$ npm ls glob
esx-core-server@1.0.0 /home/david/Projects/Evoke-mac/esx-core/server
├─┬ openapi-client-axios-typegen@7.6.2
│ └─┬ @anttiviljami/dtsgenerator@3.20.0
│ └── glob@10.4.2
├─┬ quicktype@23.0.170
│ └─┬ quicktype-typescript-input@23.0.170
│ └─┬ @mark.probst/typescript-json-schema@0.55.0
│ └── glob@7.2.3
└─┬ typescript-cp@0.1.9
└─┬ rimraf@5.0.7
└── glob@10.4.2 deduped
I also notice the offending dependency on inflight
is also this same module:
$ npm ls inflight
esx-core-server@1.0.0 /home/david/Projects/Evoke-mac/esx-core/server
└─┬ quicktype@23.0.170
└─┬ quicktype-typescript-input@23.0.170
└─┬ @mark.probst/typescript-json-schema@0.55.0
└─┬ glob@7.2.3
└── inflight@1.0.6
For inflight
there is not a quick fix because the suggested route is to convert to lru-cache
For the inflight
issue see: https://github.com/YousefED/typescript-json-schema/issues/608
Do the glob
people have any information on what actually changed to require a major semver bump? Something inconsequential (to this project) like a Nodejs minimum version change, or something that requires code change?
This package currently uses
glob
<v9, which transitively depends on inflight, which is deprecated due to leaking memory.To fix this, just update glob to >9.0.0