Browse Source

Merge pull request #951 from kubecost/bolt/ui-set-value-fix

Fix CVE for set-value
Ajay Tripathy 4 years ago
parent
commit
269c33a9a7
2 changed files with 833 additions and 688 deletions
  1. 826 686
      ui/package-lock.json
  2. 7 2
      ui/package.json

File diff suppressed because it is too large
+ 826 - 686
ui/package-lock.json


+ 7 - 2
ui/package.json

@@ -3,7 +3,8 @@
   "version": "0.0.1",
   "version": "0.0.1",
   "description": "Open source UI for Kubecost",
   "description": "Open source UI for Kubecost",
   "scripts": {
   "scripts": {
-    "test": "echo \"Error: no test specified\" && exit 1"
+    "test": "echo \"Error: no test specified\" && exit 1",
+    "preinstall": "npx npm-force-resolutions"
   },
   },
   "author": "",
   "author": "",
   "license": "Apache-2.0",
   "license": "Apache-2.0",
@@ -32,6 +33,10 @@
     "@babel/plugin-proposal-class-properties": "^7.13.0",
     "@babel/plugin-proposal-class-properties": "^7.13.0",
     "@babel/plugin-transform-runtime": "^7.13.10",
     "@babel/plugin-transform-runtime": "^7.13.10",
     "@babel/preset-react": "^7.12.13",
     "@babel/preset-react": "^7.12.13",
-    "parcel": "*"
+    "parcel": "*",
+    "set-value": "4.0.1"
+  },
+  "resolutions": {
+    "set-value": "4.0.1"
   }
   }
 }
 }

Some files were not shown because too many files changed in this diff