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

Allow minor and patch updates to dependencies #965

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
chore(deps): allow minor and patch updates to dependencies
Currently most of the dependencies in this package are pinned to specific versions. This prevents consuming applications from being able to update these dependencies. This is particularly a problem when security vulnerabilities are found in dependencies, resulting in new versions of commitizen needing to be released i.e:

#963
#945
#931
#883

By using a `^` before the version number, consuming applications will be able to install minor and patch updates of `commitizen`'s dependencies, which should still be compatible with `commitizen` according to semver principles.
  • Loading branch information
keeganstreet authored and Keegan Street committed Jan 20, 2023
commit aeee0c6740bbaf63d946a9f4e08b58a394fec125
26 changes: 13 additions & 13 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -73,20 +73,20 @@
"uuid": "8.3.2"
},
"dependencies": {
"cachedir": "2.3.0",
"cz-conventional-changelog": "3.3.0",
"dedent": "0.7.0",
"detect-indent": "6.1.0",
"cachedir": "^2.3.0",
"cz-conventional-changelog": "^3.3.0",
"dedent": "~0.7.0",
"detect-indent": "^6.1.0",
"find-node-modules": "^2.1.2",
"find-root": "1.1.0",
"fs-extra": "9.1.0",
"glob": "7.2.3",
"inquirer": "8.2.5",
"is-utf8": "^0.2.1",
"lodash": "4.17.21",
"minimist": "1.2.7",
"strip-bom": "4.0.0",
"strip-json-comments": "3.1.1"
"find-root": "^1.1.0",
"fs-extra": "^9.1.0",
"glob": "^7.2.3",
"inquirer": "^8.2.5",
"is-utf8": "~0.2.1",
"lodash": "^4.17.21",
"minimist": "^1.2.7",
"strip-bom": "^4.0.0",
"strip-json-comments": "^3.1.1"
},
"nyc": {
"extends": "@istanbuljs/nyc-config-babel",
Expand Down