Skip to content

Commit 27b7532

Browse files
neuralsorcerermeta-codesync[bot]
authored andcommitted
Update dependencies to avoid build errors (#434)
Summary: Resolves [build issues](https://github.com/facebookresearch/balance/actions/runs/25216504063/job/73938032572) Pull Request resolved: #434 Differential Revision: D103527304 Pulled By: talgalili fbshipit-source-id: 14b1403b94ece4ac4951085cf20aabdabab278a6
1 parent 684f64f commit 27b7532

5 files changed

Lines changed: 24 additions & 12 deletions

File tree

.github/workflows/build-and-test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ jobs:
9292
- uses: actions/checkout@v5
9393
- uses: actions/setup-node@v5
9494
with:
95-
node-version: 20
95+
node-version: 22
9696
cache: yarn
9797
cache-dependency-path: "./website/yarn.lock"
9898
- name: Set up Python

.github/workflows/deploy-website.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
- uses: actions/checkout@v5
1313
- uses: actions/setup-node@v5
1414
with:
15-
node-version: 20
15+
node-version: 22
1616
cache: yarn
1717
cache-dependency-path: "./website/yarn.lock"
1818
- name: Set up Python

website/README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@ FontAwesome icons were used under the
99

1010
### Installation
1111

12+
#### Node.js requirement
13+
14+
This website now requires **Node.js 22 or newer** (`engines.node: >=22`). The repository also enforces engines via `website/.npmrc` (`engine-strict = true`), so installs on Node 20/21 will fail fast with an engine error.
15+
1216
```
1317
$ yarn
1418
```

website/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
]
4242
},
4343
"engines": {
44-
"node": ">=20",
44+
"node": ">=22",
4545
"npm": "use yarn instead",
4646
"yarn": "^1.5"
4747
},
@@ -67,11 +67,11 @@
6767
"serialize-javascript": "^7.0.5",
6868
"http-proxy-middleware": ">=2.0.9",
6969
"webpack-dev-server": "5.2.2",
70-
"mermaid": ">=10.9.3",
70+
"mermaid": "^11.0.0",
7171
"@babel/helpers": ">=7.26.10",
7272
"@babel/runtime": ">=7.26.10",
7373
"@babel/runtime-corejs3": ">=7.26.10",
74-
"marked": "^15.0.0",
74+
"marked": "^16.3.0",
7575
"qs": ">=6.14.1",
7676
"axios": "^1.7.9",
7777
"wait-on": "^7.2.0",

website/yarn.lock

Lines changed: 15 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1566,7 +1566,7 @@
15661566
"@docusaurus/theme-search-algolia" "2.4.3"
15671567
"@docusaurus/types" "2.4.3"
15681568

1569-
"@docusaurus/react-loadable@5.5.2", "react-loadable@npm:@docusaurus/react-loadable@5.5.2":
1569+
"@docusaurus/react-loadable@5.5.2":
15701570
version "5.5.2"
15711571
resolved "https://registry.facebook.net/@docusaurus/react-loadable/-/react-loadable-5.5.2.tgz#81aae0db81ecafbdaee3651f12804580868fa6ce"
15721572
integrity sha512-A3dYjdBGuy0IGT+wyLIGIKLRE+sAk1iNk0f1HjNDysO7u8lhL4N3VEm+FAubmJbAztn94F7MxBTPmnixbiyFdQ==
@@ -6858,10 +6858,10 @@ markdown-table@^3.0.0:
68586858
resolved "https://registry.facebook.net/markdown-table/-/markdown-table-3.0.4.tgz#fe44d6d410ff9d6f2ea1797a3f60aa4d2b631c2a"
68596859
integrity sha512-wiYz4+JrLyb/DqW2hkFJxP7Vd7JuTDm77fvbM8VfEQdmSMqcImWeeRbHwZjBjIFki/VaMK2BhFi7oUUZeM5bqw==
68606860

6861-
marked@^15.0.0, marked@^16.3.0:
6862-
version "15.0.12"
6863-
resolved "https://registry.facebook.net/marked/-/marked-15.0.12.tgz#30722c7346e12d0a2d0207ab9b0c4f0102d86c4e"
6864-
integrity sha512-8dD6FusOQSrpv9Z1rdNMdlSgQOIP880DHqnohobOmYLElGEqAL/JvxvuxZO16r4HtjTlfPRDC1hbvxC9dPN2nA==
6861+
marked@^16.3.0:
6862+
version "16.4.2"
6863+
resolved "https://registry.yarnpkg.com/marked/-/marked-16.4.2.tgz#4959a64be6c486f0db7467ead7ce288de54290a3"
6864+
integrity sha512-TI3V8YYWvkVf3KJe1dRkpnjs68JUPyEa5vjKrp1XEEJUAOaQc+Qj+L1qWbPd0SJuAdQkFU0h73sXXqwDYxsiDA==
68656865

68666866
math-intrinsics@^1.1.0:
68676867
version "1.1.0"
@@ -7189,9 +7189,9 @@ merge2@^1.3.0, merge2@^1.4.1:
71897189
resolved "https://registry.facebook.net/merge2/-/merge2-1.4.1.tgz#4368892f885e907455a6fd7dc55c0c9d404990ae"
71907190
integrity sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==
71917191

7192-
mermaid@>=10.9.3, mermaid@^11.5.0:
7192+
mermaid@^11.0.0, mermaid@^11.5.0:
71937193
version "11.14.0"
7194-
resolved "https://registry.facebook.net/mermaid/-/mermaid-11.14.0.tgz#ce81b22bc10f3117ef7737406ef2d10ee1741769"
7194+
resolved "https://registry.yarnpkg.com/mermaid/-/mermaid-11.14.0.tgz#ce81b22bc10f3117ef7737406ef2d10ee1741769"
71957195
integrity sha512-GSGloRsBs+JINmmhl0JDwjpuezCsHB4WGI4NASHxL3fHo3o/BRXTxhDLKnln8/Q0lRFRyDdEjmk1/d5Sn1Xz8g==
71967196
dependencies:
71977197
"@braintree/sanitize-url" "^7.1.1"
@@ -8957,6 +8957,14 @@ react-loadable-ssr-addon-v5-slorber@^1.0.1:
89578957
dependencies:
89588958
"@babel/runtime" "^7.10.3"
89598959

8960+
"react-loadable@npm:@docusaurus/react-loadable@5.5.2":
8961+
version "5.5.2"
8962+
resolved "https://registry.facebook.net/@docusaurus/react-loadable/-/react-loadable-5.5.2.tgz#81aae0db81ecafbdaee3651f12804580868fa6ce"
8963+
integrity sha512-A3dYjdBGuy0IGT+wyLIGIKLRE+sAk1iNk0f1HjNDysO7u8lhL4N3VEm+FAubmJbAztn94F7MxBTPmnixbiyFdQ==
8964+
dependencies:
8965+
"@types/react" "*"
8966+
prop-types "^15.6.2"
8967+
89608968
react-modal@3.15.1:
89618969
version "3.15.1"
89628970
resolved "https://registry.facebook.net/react-modal/-/react-modal-3.15.1.tgz#950ce67bfef80971182dd0ed38f2d9b1a681288b"

0 commit comments

Comments
 (0)