소스 검색

Fix CVE for set-value

Matt Bolt 5 년 전
부모
커밋
da2e3e143c
2개의 변경된 파일8개의 추가작업 그리고 12665개의 파일을 삭제
  1. 1 12663
      ui/package-lock.json
  2. 7 2
      ui/package.json

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 1 - 12663
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"
   }
   }
 }
 }

이 변경점에서 너무 많은 파일들이 변경되어 몇몇 파일들은 표시되지 않았습니다.