olivierlsc / swagger-express-ts

Generate and serve swagger.json
MIT License
147 stars 60 forks source link

PeerDependencies on npmjs.org #88

Open Tinkvision opened 2 years ago

Tinkvision commented 2 years ago

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 commented 2 years ago

@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 commented 2 years ago

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

francescorivola commented 1 year ago

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 commented 11 months ago

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.