Skip to content

Commit 93d71ab

Browse files
rlyerlymeta-codesync[bot]
authored andcommitted
Fix website...again
Summary: Still getting dependabot PRs. I ran `yarn audit` and got this: ``` $ yarn audit --summary yarn audit v1.22.21 ⠁ (node:1917004) [DEP0169] DeprecationWarning: `url.parse()` behavior is not standardized and prone to errors that have security implications. Use the WHATWG URL API instead. CVEs are not issued for `url.parse()` vulnerabilities. (Use `node-linux-x64 --trace-deprecation ...` to show where the warning was created) 328 vulnerabilities found - Packages audited: 1948 Severity: 5 Low | 132 Moderate | 110 High | 81 Critical Done in 2.58s. ``` I then ran `yarn upgrade`, `yarn install`, and `yarn build`. After fixing a webpack pinning issue, the website now builds and there are a bunch of updated dependencies. Note that `yarn audit` still isn't totally clean, but there are many fewer. I think the remaining issues are due to pinned packages, we probably need to go through and winnow down our packages.json file to minimize the number of pinned packages. Reviewed By: AlnisM Differential Revision: D104671346 fbshipit-source-id: 7f52678bbe2b2f13ca69254d87871054f9e76e33
1 parent 53aee32 commit 93d71ab

2 files changed

Lines changed: 4749 additions & 5076 deletions

File tree

website/package.json

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,29 @@
1616
"prettier:diff": "prettier --config .prettierrc --list-different \"**/*.{js,md}\""
1717
},
1818
"dependencies": {
19+
"@braintree/sanitize-url": "^6.0.1",
1920
"@docusaurus/core": "2.1.0",
2021
"@docusaurus/plugin-content-docs": "2.1.0",
2122
"@docusaurus/preset-classic": "2.1.0",
2223
"@docusaurus/theme-classic": "2.1.0",
2324
"@docusaurus/theme-search-algolia": "2.1.0",
25+
"algoliasearch-helper": "^3.11.2",
26+
"axios": "^1.14.0",
27+
"brace-expansion": "^1.1.12",
2428
"docusaurus-plugin-internaldocs-fb": "1.8.0",
29+
"dompurify": "^3.4.0",
30+
"eta": "^2.0.0",
31+
"http-cache-semantics": "^4.1.1",
32+
"http-proxy-middleware": "^2.0.7",
33+
"qs": "^6.14.2",
2534
"react": "^17.0.2",
2635
"react-dom": "^17.0.2",
27-
"typescript": "^4.5.2"
36+
"semver": "^7.5.2",
37+
"send": "^0.19.0",
38+
"serve-static": "^1.16.0",
39+
"typescript": "^4.5.2",
40+
"ua-parser-js": "^1.0.33",
41+
"ws": "^8.17.1"
2842
},
2943
"devDependencies": {
3044
"babel-eslint": "^10.0.3",
@@ -49,7 +63,7 @@
4963
"webpack-dev-middleware": "^5.3.4",
5064
"braces": "^3.0.3",
5165
"ws": "^8.17.1",
52-
"webpack": "^5.104.1",
66+
"webpack": "5.104.1",
5367
"dompurify": "^3.4.0",
5468
"send": "^0.19.0",
5569
"serve-static": "^1.16.0",

0 commit comments

Comments
 (0)