GUACAMOLE-773: Use caret version notation for JavaScript dependencies where appropriate.

The default caret version notation that is already well-established in
the NPM community should be used except where there is reason not to.
Here, it makes sense to use the caret for all dependencies except:

1. "google-closure-compiler", which does not use semantic versioning
   and does not guarantee a compatible API. We cannot know that a new
   release is expected to be compatible and thus must specify an exact
   version.

2. "blob-polyfill", which does not use semantic versioning BUT must
   provide a compatible API by its own nature (it is a polyfill for an
   API defined by a W3C standard). Any current, stable release should be
   OK for "blob-polyfill", hence ">=".
This commit is contained in:
Michael Jumper
2021-06-02 20:19:44 -07:00
parent 3ec578edce
commit b90a083fe1

View File

@@ -4,19 +4,19 @@
"build": "webpack --progress" "build": "webpack --progress"
}, },
"dependencies": { "dependencies": {
"@simonwep/pickr": "1.8.1", "@simonwep/pickr": "^1.8.1",
"angular": "1.8.2", "angular": "^1.8.2",
"angular-route": "1.8.2", "angular-route": "^1.8.2",
"angular-templatecache-webpack-plugin": "^1.0.1", "angular-templatecache-webpack-plugin": "^1.0.1",
"angular-translate": "2.18.4", "angular-translate": "^2.18.4",
"angular-translate-interpolation-messageformat": "2.18.4", "angular-translate-interpolation-messageformat": "^2.18.4",
"angular-translate-loader-static-files": "2.18.4", "angular-translate-loader-static-files": "^2.18.4",
"blob-polyfill": "5.0.20210201", "blob-polyfill": ">=5.0.20210201",
"datalist-polyfill": "1.24.4", "datalist-polyfill": "^1.24.4",
"file-saver": "2.0.5", "file-saver": "^2.0.5",
"jquery": "3.6.0", "jquery": "^3.6.0",
"jstz": "2.1.1", "jstz": "^2.1.1",
"lodash": "4.17.21" "lodash": "^4.17.21"
}, },
"devDependencies": { "devDependencies": {
"clean-webpack-plugin": "^3.0.0", "clean-webpack-plugin": "^3.0.0",
@@ -26,7 +26,7 @@
"css-minimizer-webpack-plugin": "^1.3.0", "css-minimizer-webpack-plugin": "^1.3.0",
"exports-loader": "^1.1.1", "exports-loader": "^1.1.1",
"find-package-json": "^1.2.0", "find-package-json": "^1.2.0",
"google-closure-compiler": "^20210302.0.0", "google-closure-compiler": "20210302.0.0",
"html-webpack-plugin": "^4.5.2", "html-webpack-plugin": "^4.5.2",
"mini-css-extract-plugin": "^1.5.0", "mini-css-extract-plugin": "^1.5.0",
"webpack": "^4.46.0", "webpack": "^4.46.0",