Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PeerDependencies on npmjs.org #88

Open
Tinkvision opened this issue Jun 15, 2022 · 4 comments
Open

PeerDependencies on npmjs.org #88

Tinkvision opened this issue Jun 15, 2022 · 4 comments

Comments

@Tinkvision
Copy link

Hello @olivierlsc ,

Peerdependencies on registery.npmjs.org are not updated :
{
'@types/body-parser': '^1.17.0',
'@types/compression': '0.0.35',
'@types/express': '^4.16.0',
'@types/helmet': '0.0.37',
'@types/inversify': '^2.0.33',
'@types/lodash': '^4.14.109',
'body-parser': '^1.18.3',
compression: '^1.7.2',
express: '^4.16.4',
helmet: '^3.12.1',
inversify: '^4.13.0',
'inversify-express-utils': '^4.2.2',
lodash: '^4.17.10',
}

It's cause an issue with i try to keep my package up to date.

Could you do something about it ?

Thanks in advance,

@XanderEmu
Copy link

@Tinkvision I don't know if that's still the issue for you but you can resolve it on your end by using npm's overrides:
https://docs.npmjs.com/cli/v8/configuring-npm/package-json#overrides

@caw-ishikajain
Copy link

Is it ok to user overrides? I am also facing same issue!
image

@francescorivola
Copy link

Hi here. I am facing the same issue. I would like to solve it submitting a PR. Is there any active mantainer that would review it?

@Ta-h-a
Copy link

Ta-h-a commented Oct 26, 2023

Is it ok to user overrides? I am also facing same issue! image

Here we can go to package.json and write the following -
"overrides": { "swagger-express-ts": { "@types/compression": "1.7.2", } }

You can override other packages dependencies as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants