Remove carets from package.json
caret (^)
backwards compatible new functionality
old functionality deprecated, but operational
large internal refactor
bug fix
Some of the packages were already missing carets.
This better reflects our package management, we have a npm 5
package-lock.json that is intended to lock the repo down to
a specific set of versions of packages to help our build
reliability, and insulate us a little from the NPM stability
issues.
When the Web UI was still in its infancy, OpenBMC got burned from
this. What NPM called "Compatible with version" introduced build
failures overnight without a code change.
Found in some package-lock.json documentation:
"A specific version in package.json guarantees the version only at
the top level."
npm update, npm audit fix, npm-check-updates will still
behave the same.
This is helps a future commit that moves to a
package-lock.json generated by npm 6.
npm 6 changes package-lock.json from exact versions to loosly
versions.
tilde and caret will be added to the package-log.json.
See:
https://github.com/npm/npm/issues/20434
https://github.com/npm/npm/issues/20891
Tested: Build and loaded on a Witherspoon
Change-Id: Ie28f5b903f71215285df07c650a58c11037efccd
Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
diff --git a/package.json b/package.json
index 2f20ed0..248a983 100644
--- a/package.json
+++ b/package.json
@@ -33,55 +33,55 @@
"node"
],
"dependencies": {
- "@novnc/novnc": "^1.1.0",
- "angular": "^1.7.8",
- "angular-animate": "^1.7.8",
- "angular-clipboard": "^1.7.0",
- "angular-cookies": "^1.7.8",
- "angular-messages": "^1.7.8",
- "angular-route": "^1.7.8",
- "angular-sanitize": "^1.7.8",
- "angular-ui-bootstrap": "^2.5.6",
- "angular-ui-router": "^1.0.22",
- "bootstrap": "^4.3.1",
- "ng-toast": "^2.0.0",
- "xterm": "^3.14.5"
+ "@novnc/novnc": "1.1.0",
+ "angular": "1.7.8",
+ "angular-animate": "1.7.8",
+ "angular-clipboard": "1.7.0",
+ "angular-cookies": "1.7.8",
+ "angular-messages": "1.7.8",
+ "angular-route": "1.7.8",
+ "angular-sanitize": "1.7.8",
+ "angular-ui-bootstrap": "2.5.6",
+ "angular-ui-router": "1.0.22",
+ "bootstrap": "4.3.1",
+ "ng-toast": "2.0.0",
+ "xterm": "3.14.5"
},
"peerDependencies": {},
"devDependencies": {
- "@babel/core": "^7.5.5",
- "@babel/preset-env": "^7.5.5",
+ "@babel/core": "7.5.5",
+ "@babel/preset-env": "7.5.5",
"angular-mocks": "1.7.3",
"assets-webpack-plugin": "3.9.6",
"autoprefixer": "9.1.5",
"babel-core": "6.26.3",
"babel-loader": "8.0.2",
- "babel-polyfill": "^6.26.0",
+ "babel-polyfill": "6.26.0",
"compression-webpack-plugin": "2.0.0",
"copy-webpack-plugin": "4.5.2",
- "csp-html-webpack-plugin": "^2.5.0",
+ "csp-html-webpack-plugin": "2.5.0",
"css-loader": "1.0.0",
"eslint-plugin-angular": "3.3.0",
"event-stream": "3.3.4",
"file-loader": "2.0.0",
- "filter-chunk-webpack-plugin": "^2.1.0",
- "html-loader": "^0.5.5",
- "html-minifier": "^3.5.21",
+ "filter-chunk-webpack-plugin": "2.1.0",
+ "html-loader": "0.5.5",
+ "html-minifier": "3.5.21",
"html-webpack-inline-source-plugin": "0.0.10",
- "html-webpack-plugin": "^3.2.0",
- "ignore-assets-webpack-plugin": "^2.0.1",
- "mini-css-extract-plugin": "^0.4.5",
- "node-sass": "^4.12.0",
- "null-loader": "^0.1.1",
- "raw-loader": "^0.5.1",
- "rimraf": "^2.6.3",
- "sass-loader": "^7.1.0",
- "style-loader": "^0.23.1",
- "svg-inline-loader": "^0.8.0",
- "uglifyjs-webpack-plugin": "^1.3.0",
- "webpack": "^4.37.0",
- "webpack-cli": "^3.3.6",
- "webpack-dev-server": "^3.7.2"
+ "html-webpack-plugin": "3.2.0",
+ "ignore-assets-webpack-plugin": "2.0.1",
+ "mini-css-extract-plugin": "0.4.5",
+ "node-sass": "4.12.0",
+ "null-loader": "0.1.1",
+ "raw-loader": "0.5.1",
+ "rimraf": "2.6.3",
+ "sass-loader": "7.1.0",
+ "style-loader": "0.23.1",
+ "svg-inline-loader": "0.8.0",
+ "uglifyjs-webpack-plugin": "1.3.0",
+ "webpack": "4.37.0",
+ "webpack-cli": "3.3.6",
+ "webpack-dev-server": "3.7.2"
},
"license": "Apache-2.0",
"licenses": [