diff --git a/src/pybind/mgr/dashboard/frontend/package-lock.json b/src/pybind/mgr/dashboard/frontend/package-lock.json index f3e393d852345..f2158659a50b6 100644 --- a/src/pybind/mgr/dashboard/frontend/package-lock.json +++ b/src/pybind/mgr/dashboard/frontend/package-lock.json @@ -37,7 +37,7 @@ "moment": "2.29.4", "ng-block-ui": "3.0.2", "ng-click-outside": "7.0.0", - "ng2-charts": "4.1.1", + "ng2-charts": "6.0.0", "ngx-cookie-service": "17.1.0", "ngx-pipe-function": "1.0.0", "ngx-toastr": "17.0.2", @@ -24967,17 +24967,18 @@ } }, "node_modules/ng2-charts": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/ng2-charts/-/ng2-charts-4.1.1.tgz", - "integrity": "sha512-iHwXDbmX86lfeH8VRcsaW2tJATsuAZo4kvvC/Yk2l35zOHjevja1qBvO6BAibiDazi9r9aS6ZRJOqWPsz1pP2w==", + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/ng2-charts/-/ng2-charts-6.0.0.tgz", + "integrity": "sha512-Hg45RDOoFoXSDya4U8t2IW2teKnXjy10zJVij65G/62Si+A5+uu8hKQKkBahxg67iTdpOwtyPGnQJ/chHVfFVA==", "dependencies": { "lodash-es": "^4.17.15", "tslib": "^2.3.0" }, "peerDependencies": { - "@angular/cdk": ">=14.0.0", - "@angular/common": ">=14.0.0", - "@angular/core": ">=14.0.0", + "@angular/cdk": ">=17.0.0", + "@angular/common": ">=17.0.0", + "@angular/core": ">=17.0.0", + "@angular/platform-browser": ">=17.0.0", "chart.js": "^3.4.0 || ^4.0.0", "rxjs": "^6.5.3 || ^7.4.0" } diff --git a/src/pybind/mgr/dashboard/frontend/package.json b/src/pybind/mgr/dashboard/frontend/package.json index f72dbdbe4125b..9208210ce1c07 100644 --- a/src/pybind/mgr/dashboard/frontend/package.json +++ b/src/pybind/mgr/dashboard/frontend/package.json @@ -71,7 +71,7 @@ "moment": "2.29.4", "ng-block-ui": "3.0.2", "ng-click-outside": "7.0.0", - "ng2-charts": "4.1.1", + "ng2-charts": "6.0.0", "ngx-cookie-service": "17.1.0", "ngx-pipe-function": "1.0.0", "ngx-toastr": "17.0.2",