postmanlabs / postman-code-generators

Common repository for all code generators shipped with Postman
Apache License 2.0
992 stars 350 forks source link

specify semver ranges for dependencies #738

Open benmccann opened 5 months ago

benmccann commented 5 months ago

Not using semver ranges is forcing users to utilize versions of dependencies with known security vulnerabilities with no recourse. Standard practice is to specify a ^ in front of each dependency version, which will allow npm to download a version of the dependency which has the same major version, but may be a newer minor or patch version so that users can download fixes