Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
225 commits
Select commit Hold shift + click to select a range
32cec09
chore(deps): update crate-ci/typos action to v1.46.2 (#1137)
renovate[bot] May 19, 2026
558d754
chore(deps): update dependency vite-plus to v0.1.22 (#1138)
renovate[bot] May 20, 2026
22fafa2
chore(deps): update dependency vite-plus to v0.1.22 (#1139)
renovate[bot] May 21, 2026
9e6a648
perf(alias): fast-reject alias entries by cached first byte (#1142)
Boshen May 23, 2026
98617e3
perf(cache): store canonical path as Box<Path> instead of PathBuf (#1…
Boshen May 23, 2026
72a163c
perf(cache): pack CachedPathImpl::meta into a CachedMeta byte (#1144)
Boshen May 23, 2026
ef0c86b
fix: strip query fragments when calling `find_tsconfig` (#1147)
Boshen May 24, 2026
27a9864
fix(tsconfig): resolve `baseUrl` / `paths` against the canonical tsco…
Boshen May 24, 2026
798cf49
fix(tsconfig): resolve `rootDirs` against the config that declared th…
Boshen May 24, 2026
ac7a26b
fix(tsconfig): let project references take priority over their parent…
Boshen May 24, 2026
ea68cf6
chore(deps): update github actions (#1152)
renovate[bot] May 24, 2026
cf9a91c
chore(deps): update rust crate serde_json to v1.0.150 (#1153)
renovate[bot] May 24, 2026
120a369
fix(tsconfig): walk past a tsconfig that doesn't claim the file (#1154)
Boshen May 25, 2026
baf2d56
test(tsconfig): port lookup scenarios from typescript-go (#1155)
Boshen May 25, 2026
3d8ed1f
fix(tsconfig): apply later-wins semantics for extends array (#1156)
Boshen May 25, 2026
53af0d7
chore: release v11.19.2 (#1044)
Boshen May 25, 2026
c68ce07
chore(deps): update crate-ci/typos action to v1.46.3 (#1160)
renovate[bot] May 26, 2026
827b45a
fix(tsconfig): scope default `**/*` include to the tsconfig directory…
Boshen May 27, 2026
50e1aaa
feat(tsconfig): parse `strict` and `strictNullChecks` compiler option…
kylecannon May 27, 2026
c637fbc
chore(deps): update dependency @napi-rs/cli to v3.7.0 (#1171)
renovate[bot] May 27, 2026
403600f
chore: release v11.20.0 (#1163)
oxc-guard[bot] May 27, 2026
8d988ad
chore: drop i686-pc-windows-msvc target (#1172)
Boshen May 27, 2026
de3ada2
fix(ci): bypass vp on FreeBSD build (#1173)
Boshen May 27, 2026
c0e91fe
fix(ci): call napi directly on FreeBSD (#1174)
Boshen May 28, 2026
bb0bf37
fix(ci): invoke napi binary directly in publish job (#1175)
Boshen May 28, 2026
8dad6c9
bench: add baselines for each package manager x node_modules layout (…
Boshen May 28, 2026
3124c50
chore(deps): update dependency rust to v1.96.0 (#1180)
renovate[bot] May 28, 2026
4654e32
chore(deps): update dependency vite-plus to v0.1.23 (#1181)
renovate[bot] May 29, 2026
a539c40
fix: make symlink_metadata VPath-aware for Yarn PnP (#1183)
Boshen May 29, 2026
4e9ac5e
perf: reduce resolution syscalls by unifying stat and lstat (#1182)
Boshen May 29, 2026
be27c2f
perf: eliminate symlink stat syscalls by reusing canonicalization (#1…
Boshen May 29, 2026
aba01c3
perf(cache): move package.json path into parse instead of cloning (#1…
Boshen May 30, 2026
4e04a04
perf: borrow relative main field instead of allocating a "./" prefix …
Boshen May 30, 2026
47dd835
chore(deps): update dependency vite-plus to v0.1.23 (#1188)
renovate[bot] May 30, 2026
eb08c05
chore(deps): update dependency bun to v1.3.14 (#1190)
renovate[bot] May 31, 2026
86b3d0f
chore(deps): update rust crates (#1192)
renovate[bot] May 31, 2026
b9dad13
chore(deps): update github actions (#1191)
renovate[bot] May 31, 2026
8260097
chore(deps): update pnpm to v11.4.0 (#1194)
renovate[bot] May 31, 2026
44622de
chore(deps): update crate-ci/typos action to v1.47.0 (#1195)
renovate[bot] Jun 1, 2026
7bf9c00
chore(deps): update dependency vite-plus to v0.1.24 (#1196)
renovate[bot] Jun 2, 2026
65be7f2
chore(deps): update vite+ to v0.1.24 (#1197)
renovate[bot] Jun 2, 2026
1975bb5
chore(deps): update dependency @napi-rs/cli to v3.7.0 (#1177)
renovate[bot] Jun 3, 2026
4a9f78c
feat(tsconfig): support package.json imports field in extends (#1199)
Boshen Jun 3, 2026
d24aa2b
fix(tsconfig): apply each referenced project's own `allowJs` (#1198)
shulaoda Jun 3, 2026
6ae46ed
chore: release v11.21.0 (#1178)
oxc-guard[bot] Jun 3, 2026
8252151
test: verify node_modules canonicalization across layouts (#1200)
Boshen Jun 4, 2026
12219c9
chore(deps): update typos to v1.47.1 (#1203)
renovate[bot] Jun 6, 2026
a99af8d
chore(deps): update typos to v1.47.2 (#1206)
renovate[bot] Jun 7, 2026
528b851
chore(deps): update github actions (#1207)
renovate[bot] Jun 7, 2026
e873d44
chore(deps): update github actions (#1209)
renovate[bot] Jun 14, 2026
8e7dc8b
chore(deps): update npm packages (#1210)
renovate[bot] Jun 14, 2026
c4349da
chore(deps): update github actions to v7 (#1211)
renovate[bot] Jun 14, 2026
c55a3e1
fix(tsconfig): honor explicit non-TS extensions in `include` (#1213)
shulaoda Jun 17, 2026
3365d86
refactor(cache): replace papaya with dashmap (#1214)
Boshen Jun 17, 2026
d0d956b
fix(tsconfig): walk up for non-TS and `allowJs`-off `.js` importers (…
shulaoda Jun 17, 2026
3b27825
chore: release v11.21.1 (#1201)
oxc-guard[bot] Jun 17, 2026
bad3e7a
chore(deps): update pnp to v0.12.10 (#1217)
Boshen Jun 17, 2026
11e7de0
refactor: replace fancy-regex with regress (#1219)
Boshen Jun 17, 2026
f4bd0ee
chore: release v11.21.2 (#1218)
oxc-guard[bot] Jun 17, 2026
110bb35
fix(tsconfig): only attach an auto-discovered tsconfig to a file it o…
shulaoda Jun 17, 2026
10c5471
refactor: outline normalize_with to reduce binary size (#1222)
Boshen Jun 18, 2026
517961d
chore: release v11.21.3 (#1221)
oxc-guard[bot] Jun 18, 2026
aeebc3d
chore(deps): update vite+ to ^0.2.0 (#1215)
renovate[bot] Jun 18, 2026
77c24b3
chore(deps): update napi (#1208)
renovate[bot] Jun 18, 2026
5833cfe
chore(deps): update vite+ to v0.2.1 (#1225)
renovate[bot] Jun 18, 2026
ea50722
chore(deps): update napi to v3.9.3 (#1226)
renovate[bot] Jun 18, 2026
fdf42b5
perf(browser-field): fast-reject non-matching keys before normalize (…
Boshen Jun 18, 2026
fd695b8
feat(file_system): make FileSystemOs cheaply cloneable and Debug (#1230)
Boshen Jun 19, 2026
28fa3b0
refactor(package-json): dedupe simd/serde backends behind JSON traits…
Boshen Jun 19, 2026
4d9c9e4
perf(path): drop Chain<Once, Components> in normalize_with (#1231)
Boshen Jun 19, 2026
5ee4713
perf(tsconfig): cut allocations in glob ownership matching (#1232)
Boshen Jun 19, 2026
302c56d
docs(path): trim verbose comments in normalize_with (#1233)
Boshen Jun 19, 2026
e57309f
perf(specifier): SIMD fast-reject of specifiers without query/fragmen…
Boshen Jun 19, 2026
54494e8
perf(resolve): compute parent once in package.json scope walk (#1235)
Boshen Jun 19, 2026
fd8b954
chore(bench): pin rayon thread count so parallel benches are determin…
Boshen Jun 20, 2026
bffcc0f
perf(tsconfig): reuse cached lstat to avoid redundant stat in get_tsc…
Boshen Jun 20, 2026
4781c8e
chore(deps): update github actions (#1241)
renovate[bot] Jun 21, 2026
f90fd3b
chore(deps): update rust crates (#1242)
renovate[bot] Jun 21, 2026
e352633
chore(deps): update github actions to v7 (#1243)
renovate[bot] Jun 22, 2026
0a7b692
perf(alias): skip UTF-8 validation of resolved path when no alias key…
Boshen Jun 22, 2026
fff7320
perf: avoid UTF-8 validation on alias and .d.ts resolve hot paths (#1…
Boshen Jun 22, 2026
82940eb
chore(deps): update napi (#1245)
renovate[bot] Jun 24, 2026
6983aa4
chore: remove Copilot setup workflow (#1247)
Boshen Jun 26, 2026
11e587c
chore: bump cargo-shear to 1.13.1 (#1248)
Boshen Jun 26, 2026
083af0d
ci: enable codspeed simulation (#1249)
Boshen Jun 26, 2026
e463dcf
perf: reduce tsconfig paths binary size (#1250)
Boshen Jun 26, 2026
ff5fce1
chore(deps): update dependency @napi-rs/wasm-runtime to v1.1.6 (#1251)
renovate[bot] Jun 28, 2026
50b3b48
chore(deps): update github actions (#1253)
renovate[bot] Jun 28, 2026
de14e01
chore(deps): update rust crate mimalloc-safe to v0.1.64 (#1252)
renovate[bot] Jun 28, 2026
c003970
ci: add crates environment to release workflow
Boshen Jun 30, 2026
6d0e7af
perf: type-erase the filesystem into a non-generic ResolverImpl core …
Boshen Jun 30, 2026
5123ede
chore: release v11.22.0 (#1228)
oxc-guard[bot] Jun 30, 2026
5750c8b
chore(deps): update pnpm to v11.9.0 (#1256)
renovate[bot] Jun 30, 2026
1a363e2
chore(deps): update napi (#1258)
renovate[bot] Jul 1, 2026
af3f527
feat(tsconfig): expose outDir, declarationDir, resolveJsonModule, che…
Boshen Jul 1, 2026
4837a2e
perf(alias): scan a packed first-byte array instead of striding over …
Boshen Jul 2, 2026
d69fc38
refactor(alias): compile fallback aliases once at construction (#1264)
Boshen Jul 2, 2026
e66adb8
refactor(tsconfig): skip TsConfig deep clone for non-root configs (#1…
Boshen Jul 2, 2026
9763d7b
refactor(dts): deduplicate package entry selection and remove dead co…
Boshen Jul 2, 2026
534280f
chore: miscellaneous small cleanups (#1268)
Boshen Jul 2, 2026
0fbd4a3
fix(exports): propagate the last error in array target resolution (#1…
Boshen Jul 2, 2026
3e88f90
refactor: deduplicate cross-file helpers, drop stale lint allows (#1269)
Boshen Jul 2, 2026
a042d49
chore(bench): move specifier allocation out of the timed symlink loop…
Boshen Jul 2, 2026
28a487b
chore: remove test and JS-side leftovers (#1271)
Boshen Jul 2, 2026
c6d0899
chore: release v11.23.0 (#1259)
oxc-guard[bot] Jul 2, 2026
c8e84a1
chore(deps): update dependency vite-plus to v0.2.2 (#1272)
renovate[bot] Jul 2, 2026
e81907e
docs: normalize README sponsor section (#1273)
Boshen Jul 3, 2026
45e07a2
chore(deps): update napi (#1275)
renovate[bot] Jul 3, 2026
fe48679
chore(deps): update crate-ci/typos action to v1.48.0 (#1277)
renovate[bot] Jul 3, 2026
2bb1c75
chore: standardize rustfmt config
Boshen Jul 4, 2026
847d744
chore(deps): update rust crate napi to v3.10.2 (#1278)
renovate[bot] Jul 4, 2026
d24a24c
chore(deps): update rust crate napi to v3.10.3 (#1279)
renovate[bot] Jul 4, 2026
f7a16c3
chore(deps): update rust crate rustc-hash to v2.1.3 (#1280)
renovate[bot] Jul 5, 2026
b72ef3b
chore(deps): update rust to v1.96.1 (#1281)
renovate[bot] Jul 5, 2026
8779117
chore(deps): update dependency vite-plus to v0.2.3 (#1284)
renovate[bot] Jul 7, 2026
7135ac4
chore(deps): update dependency vite-plus to v0.2.4 (#1285)
renovate[bot] Jul 8, 2026
3483eb3
feat: add `ResolveError::TsconfigLoadFailed` for tsconfig read and pa…
shulaoda Jul 10, 2026
888c6af
chore(deps): update dependency rust to v1.97.0 (#1286)
renovate[bot] Jul 10, 2026
86af5b0
perf(cache): reuse the child path when its parent canonicalizes to it…
Boshen Jul 11, 2026
f6832d5
chore: bump MSRV to 1.95.0 (#1289)
Boshen Jul 11, 2026
bf4a499
chore(deps): update crossbeam-epoch to v0.9.20 to fix RUSTSEC-2026-02…
Boshen Jul 11, 2026
db9fb8b
refactor: replace cfg-if dependency with std cfg_select! macro (#1290)
Boshen Jul 11, 2026
f66d340
perf(napi): shrink release binaries (path remap + build-std without b…
Boshen Jul 12, 2026
85e3f78
ci: publish with pnpm so workspace catalog: specifiers are resolved (…
Boshen Jul 12, 2026
f7cd525
feat: expose tsconfig paths resolve method without file existence che…
sapphi-red Jul 12, 2026
b465cec
chore: release v11.24.0 (#1274)
oxc-guard[bot] Jul 12, 2026
e8caef2
ci: remove npm install -g npm@latest from release job (#1294)
Boshen Jul 12, 2026
b23cc5e
chore: enable more clippy restriction lints (#1295)
Boshen Jul 12, 2026
b6f9b5f
chore: release v11.24.1 (#1296)
oxc-guard[bot] Jul 12, 2026
892094e
fix(napi): add explicit "types" field to package.json (#1297)
Boshen Jul 12, 2026
79f927a
style: group and merge imports (#1299)
Boshen Jul 12, 2026
fc4e528
chore(deps): update codspeedhq/action action to v4.18.4 (#1301)
renovate[bot] Jul 12, 2026
4c3b967
chore(deps): update napi (#1302)
renovate[bot] Jul 12, 2026
7d99632
chore(deps): update npm packages to v1.11.2 (#1303)
renovate[bot] Jul 12, 2026
7ba4ae6
chore: release v11.24.2 (#1300)
oxc-guard[bot] Jul 12, 2026
d208f5a
chore(deps): update codspeedhq/action action to v4.18.5 (#1304)
renovate[bot] Jul 12, 2026
977adac
chore(deps): update dependency @napi-rs/cli to v3.7.3 (#1305)
renovate[bot] Jul 12, 2026
5a9a5e4
chore(deps): update rust crates (#1306)
renovate[bot] Jul 12, 2026
72a44d2
chore(deps): update napi (#1307)
renovate[bot] Jul 13, 2026
387e8cf
docs: update sponsor section (#1311)
Boshen Jul 16, 2026
11dfc70
chore(deps): update dependency rust to v1.97.1 (#1313)
renovate[bot] Jul 16, 2026
d121e7d
chore(deps): update dependency vite-plus to v0.2.5 (#1314)
renovate[bot] Jul 17, 2026
ce95052
chore(deps): update actions/setup-node action to v6.5.0 (#1315)
renovate[bot] Jul 19, 2026
7e8cfd0
chore(deps): update rust crates (#1316)
renovate[bot] Jul 19, 2026
ba290c3
chore(deps): update actions/setup-node action to v7 (#1317)
renovate[bot] Jul 19, 2026
2abdbb4
chore(deps): update dependency typescript to v7 (#1318)
renovate[bot] Jul 19, 2026
5885e8a
chore(deps): update napi (#1308)
renovate[bot] Jul 21, 2026
26580cd
chore(deps): update rust crate pnp to v0.12.11 (#1322)
renovate[bot] Jul 22, 2026
77b4c5f
chore(deps): update dependency @napi-rs/cli to v3.7.4 (#1321)
renovate[bot] Jul 22, 2026
60764eb
ci(semgrep): add scan workflow (#1320)
Boshen Jul 22, 2026
01cf02e
chore(deps): update dependency vite-plus to v0.2.6 (#1323)
renovate[bot] Jul 23, 2026
ca426fa
chore(deps): update rust crates to v1.1.0 (#1326)
renovate[bot] Jul 26, 2026
2352217
chore(deps): update semgrep/semgrep docker tag to v1.171.0 (#1327)
renovate[bot] Jul 26, 2026
1210079
chore(oxc_resolver): exclude extraneous files from published package …
20jasper Jul 27, 2026
7a6527c
chore(deps): update pnpm and yarn (#1328)
Boshen Jul 27, 2026
7ef65cf
refactor: normalize fixture directory names (#1329)
Boshen Jul 27, 2026
3ea7418
chore(deps): update napi (#1332)
renovate[bot] Jul 29, 2026
9748307
chore(deps): update dependency @napi-rs/cli to v3.8.1 (#1333)
renovate[bot] Jul 30, 2026
c967aec
chore(deps): update dependency @napi-rs/cli to v3.8.2 (#1334)
renovate[bot] Jul 31, 2026
42f365c
chore(deps): update dependency vite-plus to v0.2.7 (#1335)
renovate[bot] Jul 31, 2026
b81eb86
chore(deps): update napi (#1336)
renovate[bot] Aug 1, 2026
85915ba
chore(deps): update github actions (#1339)
renovate[bot] Aug 2, 2026
ee310ee
chore(deps): update rust crate json-strip-comments to v3.1.2 (#1338)
renovate[bot] Aug 2, 2026
51a7ef0
chore(deps): update codspeedhq/action action to v5 (#1340)
renovate[bot] Aug 2, 2026
c61574f
chore(deps): update dependency vite-plus to v0.2.8 (#1342)
renovate[bot] Aug 5, 2026
47c8683
chore(deps): update dependency @napi-rs/cli to v3.8.3 (#1346)
renovate[bot] Aug 9, 2026
7b79d61
chore(deps): update crate-ci/typos action to v1.49.0 (#1344)
renovate[bot] Aug 9, 2026
de7a73d
chore(deps): update github actions (#1347)
renovate[bot] Aug 9, 2026
7d0509f
chore(deps): update rust crate thiserror to v2.0.20 (#1348)
renovate[bot] Aug 9, 2026
047a6cf
chore(deps): update napi (#1349)
renovate[bot] Aug 10, 2026
9572ca4
chore(deps): update dependency vite-plus to v0.2.9 (#1351)
renovate[bot] Aug 12, 2026
3812074
ci: remove Semgrep workflow (#1352)
Boshen Aug 14, 2026
2320863
chore: reduce Rust dev debug info (#1353)
Boshen Aug 14, 2026
e69a3cd
chore(deps): update github actions (#1354)
renovate[bot] Aug 16, 2026
24cde63
chore(deps): update rust crate simd-json to 0.18.0 (#1356)
renovate[bot] Aug 16, 2026
9bfa27a
chore(deps): update npm packages (#1355)
renovate[bot] Aug 20, 2026
0117dc1
chore(deps): update rust crate napi to v3.12.2 (#1350)
renovate[bot] Aug 21, 2026
2725db4
chore(deps): update dependency rust to v1.98.0 (#1359)
renovate[bot] Aug 22, 2026
76c9b5a
chore(deps): update dependency bun to v1.4.0 (#1361)
renovate[bot] Aug 23, 2026
dd96f14
chore(deps): update rust crate simd-json to v0.18.1 (#1362)
renovate[bot] Aug 23, 2026
5b7e6ef
chore(deps): update dependency vite-plus to ^0.3.0 (#1363)
renovate[bot] Aug 24, 2026
6de96f5
chore(deps): bump regress and pnp (#1364)
Boshen Aug 24, 2026
b6a6125
chore: release v11.24.3 (#1312)
oxc-guard[bot] Aug 24, 2026
7a46582
chore(deps): update rust crates (#1365)
renovate[bot] Aug 30, 2026
bfd6db9
chore(deps): update codspeedhq/action action to v5.2.1 (#1366)
renovate[bot] Aug 30, 2026
c442f17
chore(deps): update crate-ci/typos action to v1.49.1 (#1367)
renovate[bot] Aug 30, 2026
9cc75ce
chore(deps): update crate-ci/typos action to v1.50.0 (#1368)
renovate[bot] Aug 31, 2026
a2b91fb
chore(deps): update pnpm to v11.24.0 (#1369)
renovate[bot] Aug 31, 2026
b2dee49
chore(deps): update dependency @napi-rs/cli to v3.9.0 (#1371)
renovate[bot] Sep 3, 2026
bb7a984
chore(deps): update dependency rust to v1.98.1 (#1370)
renovate[bot] Sep 3, 2026
02f6d33
chore(deps): update crate-ci/typos action to v1.50.1 (#1372)
renovate[bot] Sep 4, 2026
03d40b7
chore(deps): update rust crates (#1373)
renovate[bot] Sep 6, 2026
2481de2
chore(deps): update github actions (#1374)
renovate[bot] Sep 6, 2026
0ac26d9
chore(deps): update rust crate dirs to v7 (#1375)
renovate[bot] Sep 6, 2026
bb2d787
chore(deps): update dependency vite-plus to v0.3.1 (#1378)
renovate[bot] Sep 8, 2026
9cd60e1
chore(deps): update napi (#1379)
renovate[bot] Sep 10, 2026
1381b51
chore(deps): update npm packages (#1381)
renovate[bot] Sep 13, 2026
8529d31
chore(deps): update pnpm/action-setup action to v6.1.0 (#1382)
renovate[bot] Sep 13, 2026
02d1f67
chore(deps): update dependency vite-plus to v0.3.2 (#1383)
renovate[bot] Sep 14, 2026
a9db40d
chore(deps): update dependency vite-plus to v0.3.3 (#1384)
renovate[bot] Sep 18, 2026
5de71a3
chore(deps): update crate-ci/typos action to v1.50.2 (#1385)
renovate[bot] Sep 18, 2026
e784c18
chore(deps): update rust crates (#1386)
renovate[bot] Sep 20, 2026
38caed0
chore(deps): update github actions (#1387)
renovate[bot] Sep 20, 2026
59ee1e8
feat: support Node.js package maps (#1331)
Boshen Sep 21, 2026
6196379
chore(deps): update dependency @napi-rs/cli to v3.9.1 (#1380)
renovate[bot] Sep 23, 2026
6bfa44b
chore(deps): update napi (#1394)
renovate[bot] Sep 23, 2026
1971b77
fix(dts): try the `.json` file itself after `.d.json.ts` for json imp…
ocavue Sep 23, 2026
4cfe2eb
chore(docs): standardize on AGENTS.md (#1396)
Boshen Sep 25, 2026
992f229
chore(deps): update rust crates (#1397)
renovate[bot] Sep 27, 2026
2513617
chore(deps): update dependency vite-plus to v1 (#1398)
renovate[bot] Sep 28, 2026
9fd9006
chore(deps): update crate-ci/typos action to v1.50.3 (#1399)
renovate[bot] Sep 29, 2026
bf29bf0
perf: enable Wasm 128bit SIMD Extension (#1400)
sapphi-red Sep 29, 2026
ccc087e
chore(deps): update dependency vite-plus to v1.1.0 (#1406)
renovate[bot] Oct 7, 2026
492e862
chore(deps): update crate-ci/typos action to v1.51.0 (#1408)
renovate[bot] Oct 9, 2026
9a13063
chore(deps): update crate-ci/typos action to v1.51.1 (#1410)
renovate[bot] Oct 10, 2026
2e976e6
chore(deps): update dependency rust to v1.99.0 (#1404)
renovate[bot] Oct 10, 2026
b249fea
chore(deps): update npm packages (#1411)
renovate[bot] Oct 11, 2026
fc5db7b
chore(deps): update rust crate serde_json to v1.0.154 (#1412)
renovate[bot] Oct 11, 2026
f8b6ac6
chore(deps): update github actions (#1413)
renovate[bot] Oct 11, 2026
3e2212b
chore(deps): update dependency vite-plus to v1.2.0 (#1414)
renovate[bot] Oct 14, 2026
98578fa
docs(security): inherit organization security policy (#1415)
Boshen Oct 16, 2026
c33300a
chore(deps): update dependency rust to v1.99.1 (#1416)
renovate[bot] Oct 16, 2026
4e4aa51
chore(deps): update dependency vite-plus to v1.3.0 (#1417)
renovate[bot] Oct 23, 2026
db46738
chore(deps): update rust crate mimalloc-safe to v0.1.68 (#1420)
renovate[bot] Oct 25, 2026
a6d8c8c
Merge remote-tracking branch 'upstream/main' into chore/merge_upstream
JounQin Oct 31, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
6 changes: 5 additions & 1 deletion .cargo/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,8 @@
rustflags = ["-C", "link-args=-Wl,-z,nodelete"]

[target.wasm32-wasip1-threads]
rustflags = ["-Clink-args=-zstack-size=64000000 --max-memory=4294967296"]
rustflags = [
"-C",
"target-feature=+simd128",
"-Clink-args=-zstack-size=64000000 --max-memory=4294967296",
]
2 changes: 1 addition & 1 deletion .github/actions/pnpm/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ inputs:
runs:
using: composite
steps:
- uses: oxc-project/setup-node@ab97f03642370d79a7e96dd286bd02a1be40e0ba # v1.3.0
- uses: oxc-project/setup-node@f46a72f95efdc55273fcd042d61c84e723b2892c # v1.4.1
with:
architecture: ${{ inputs.architecture }}
cpu: ${{ inputs.cpu }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/autofix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ jobs:
steps:
- uses: taiki-e/checkout-action@7d1e50e93dc4fb3bba58f85018fadf77898aee8b # v1.4.2

- uses: oxc-project/setup-rust@23f38cfb0c04af97a055f76acee94d5be71c7c82 # v1.0.16
- uses: oxc-project/setup-rust@3d6fb132fbe7cdcb66bf8ec193911c2945369d12 # v1.0.17
with:
restore-cache: false
tools: just,cargo-shear@1
tools: just,cargo-shear@1.13.1
components: rustfmt

- uses: ./.github/actions/pnpm
Expand Down
17 changes: 12 additions & 5 deletions .github/workflows/benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,20 +25,27 @@ jobs:
steps:
- uses: taiki-e/checkout-action@7d1e50e93dc4fb3bba58f85018fadf77898aee8b # v1.4.2

- uses: oxc-project/setup-rust@23f38cfb0c04af97a055f76acee94d5be71c7c82 # v1.0.16
- uses: oxc-project/setup-rust@3d6fb132fbe7cdcb66bf8ec193911c2945369d12 # v1.0.17
with:
cache-key: benchmark
save-cache: ${{ github.ref_name == 'main' }}
tools: cargo-codspeed
tools: cargo-codspeed,just

- uses: ./.github/actions/pnpm

- run: cargo codspeed build --features codspeed
- uses: oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6 # v2.2.0
with:
bun-version: 1.4.2

- name: Install bench-pm fixtures
run: just install-bench-fixtures

- run: cargo codspeed build --features codspeed,yarn_pnp
env:
RUSTFLAGS: "-C debuginfo=1 -C strip=none"

- uses: CodSpeedHQ/action@3194d9a39c4d46684cb44bf7207fc56626aad8fd # v4.15.1
- uses: CodSpeedHQ/action@c4fd08a3a159bd0cc208da1e0edf32b8c47d75e5 # v5.4.0
timeout-minutes: 30
with:
mode: simulation
run: cargo codspeed run
mode: instrumentation
14 changes: 7 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
runs-on: ${{ matrix.os }}
steps:
- uses: taiki-e/checkout-action@7d1e50e93dc4fb3bba58f85018fadf77898aee8b # v1.4.2
- uses: oxc-project/setup-rust@23f38cfb0c04af97a055f76acee94d5be71c7c82 # v1.0.16
- uses: oxc-project/setup-rust@3d6fb132fbe7cdcb66bf8ec193911c2945369d12 # v1.0.17
with:
save-cache: ${{ github.ref_name == 'main' }}
cache-key: warm
Expand All @@ -53,7 +53,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: taiki-e/checkout-action@7d1e50e93dc4fb3bba58f85018fadf77898aee8b # v1.4.2
- uses: oxc-project/setup-rust@23f38cfb0c04af97a055f76acee94d5be71c7c82 # v1.0.16
- uses: oxc-project/setup-rust@3d6fb132fbe7cdcb66bf8ec193911c2945369d12 # v1.0.17
with:
save-cache: ${{ github.ref_name == 'main' }}
cache-key: s390x-unknown-linux-gnu
Expand All @@ -71,12 +71,12 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: taiki-e/checkout-action@7d1e50e93dc4fb3bba58f85018fadf77898aee8b # v1.4.2
- uses: oxc-project/setup-rust@23f38cfb0c04af97a055f76acee94d5be71c7c82 # v1.0.16
- uses: oxc-project/setup-rust@3d6fb132fbe7cdcb66bf8ec193911c2945369d12 # v1.0.17
with:
components: clippy rust-docs
- run: cargo clippy --all-features --all-targets -- -D warnings
- run: RUSTDOCFLAGS='-D warnings' cargo doc --no-deps --all-features
- uses: crate-ci/typos@5374cbf686e897b15713110e233094e2874de7ef # v1.46.1
- uses: crate-ci/typos@7f9d0819ca1c008ade73f4b41fa9d258d48f605b # v1.51.1
with:
files: .

Expand All @@ -86,7 +86,7 @@ jobs:
steps:
- uses: taiki-e/checkout-action@7d1e50e93dc4fb3bba58f85018fadf77898aee8b # v1.4.2

- uses: oxc-project/setup-rust@23f38cfb0c04af97a055f76acee94d5be71c7c82 # v1.0.16
- uses: oxc-project/setup-rust@3d6fb132fbe7cdcb66bf8ec193911c2945369d12 # v1.0.17
with:
cache-key: wasm32-wasip1
save-cache: ${{ github.ref_name == 'main' }}
Expand All @@ -109,7 +109,7 @@ jobs:
steps:
- uses: taiki-e/checkout-action@7d1e50e93dc4fb3bba58f85018fadf77898aee8b # v1.4.2

- uses: oxc-project/setup-rust@23f38cfb0c04af97a055f76acee94d5be71c7c82 # v1.0.16
- uses: oxc-project/setup-rust@3d6fb132fbe7cdcb66bf8ec193911c2945369d12 # v1.0.17
with:
cache-key: wasm32-unknown-unknown
save-cache: ${{ github.ref_name == 'main' }}
Expand All @@ -125,7 +125,7 @@ jobs:
steps:
- uses: taiki-e/checkout-action@7d1e50e93dc4fb3bba58f85018fadf77898aee8b # v1.4.2

- uses: oxc-project/setup-rust@23f38cfb0c04af97a055f76acee94d5be71c7c82 # v1.0.16
- uses: oxc-project/setup-rust@3d6fb132fbe7cdcb66bf8ec193911c2945369d12 # v1.0.17
with:
cache-key: wasi
save-cache: ${{ github.ref_name == 'main' }}
Expand Down
10 changes: 6 additions & 4 deletions .github/workflows/codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,14 @@ on:
- synchronize
paths:
- "src/**/*.rs"
- "tests/**/*.rs"
- "Cargo.lock"
push:
branches:
- main
paths:
- "src/**/*.rs"
- "tests/**/*.rs"
- "Cargo.lock"

concurrency:
Expand All @@ -32,7 +34,7 @@ jobs:

- uses: ./.github/actions/pnpm

- uses: oxc-project/setup-rust@23f38cfb0c04af97a055f76acee94d5be71c7c82 # v1.0.16
- uses: oxc-project/setup-rust@3d6fb132fbe7cdcb66bf8ec193911c2945369d12 # v1.0.17
with:
cache-key: codecov
save-cache: ${{ github.ref_name == 'main' }}
Expand All @@ -42,7 +44,7 @@ jobs:
- run: cargo llvm-cov --lcov --output-path lcov.info

- name: Upload Artifact
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2
with:
name: codecov
path: lcov.info
Expand All @@ -62,13 +64,13 @@ jobs:

- name: Download coverage file
if: env.CODECOV_TOKEN
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2
with:
name: codecov

- name: Upload to codecov.io
if: env.CODECOV_TOKEN
uses: codecov/codecov-action@57e3a136b779b570ffcdbf80b3bdc90e7fab3de2 # v6.0.0
uses: codecov/codecov-action@303a32d7a59b442fa8d48b6a1cc6825c09c847a5 # v7.1.1
with:
token: ${{ secrets.CODECOV_TOKEN }}
fail_ci_if_error: true
Expand Down
38 changes: 0 additions & 38 deletions .github/workflows/copilot-setup-steps.yml

This file was deleted.

2 changes: 1 addition & 1 deletion .github/workflows/deny.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
steps:
- uses: taiki-e/checkout-action@7d1e50e93dc4fb3bba58f85018fadf77898aee8b # v1.4.2

- uses: oxc-project/setup-rust@23f38cfb0c04af97a055f76acee94d5be71c7c82 # v1.0.16
- uses: oxc-project/setup-rust@3d6fb132fbe7cdcb66bf8ec193911c2945369d12 # v1.0.17
with:
restore-cache: false
tools: cargo-deny
Expand Down
38 changes: 27 additions & 11 deletions .github/workflows/release-napi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,10 @@ jobs:

- run: rustup target add ${{ matrix.target }}

# std sources for `-Z build-std`: CI release builds with an explicit --target rebuild
# std without its backtrace symbolizer (see napi/build.mjs); missing rust-src fails the job.
- run: rustup component add rust-src

- name: Setup OpenHarmony SDK
if: ${{ contains(matrix.target, 'ohos') }}
uses: Boshen/setup-ohos-sdk@edb865a89a712f1f15dbad932dfa9cfce849d95c # v1.0.0
Expand All @@ -153,7 +157,7 @@ jobs:
TARGET_CC: clang # for mimalloc

- name: Upload artifacts
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2
with:
if-no-files-found: error
name: bindings-${{ matrix.target }}
Expand All @@ -165,21 +169,25 @@ jobs:
needs: check
if: needs.check.outputs.version_changed == 'true'
name: Build FreeBSD
# UNRS_RESOLVER_BUILD_STD=0 keeps the prebuilt std: provisioning rust-src inside the VM
# isn't worth it for this niche target, and CI leaks into the VM, so without the opt-out
# the missing-rust-src guard in napi/build.mjs would fail the job.
runs-on: ubuntu-latest
steps:
- uses: taiki-e/checkout-action@7d1e50e93dc4fb3bba58f85018fadf77898aee8b # v1.4.2
- name: Build
id: build
uses: cross-platform-actions/action@233156312992f3f169d8d0c633c21d12a5d30455 # v1.0.0
uses: cross-platform-actions/action@e0b9770014ba65d5e0815f15b74031c3a635f641 # v1.6.0
env:
DEBUG: napi:*
RUSTUP_IO_THREADS: 1
UNRS_RESOLVER_BUILD_STD: "0"
with:
operating_system: freebsd
version: 14.2
memory: 8G
cpu_count: 3
environment_variables: DEBUG RUSTUP_IO_THREADS
environment_variables: DEBUG RUSTUP_IO_THREADS UNRS_RESOLVER_BUILD_STD
shell: bash
run: |
sudo pkg install -y -f curl libnghttp2 node22 npm cmake
Expand All @@ -201,7 +209,7 @@ jobs:
rm -rf node_modules
rm -rf target
- name: Upload artifact
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2
with:
name: bindings-freebsd
path: napi/*.node
Expand All @@ -211,17 +219,17 @@ jobs:
name: Publish NAPI
runs-on: ubuntu-latest
permissions:
id-token: write # for `npm publish --provenance`
id-token: write # for `pnpm publish --provenance`
needs:
- build
- build-freebsd
steps:
- uses: taiki-e/checkout-action@7d1e50e93dc4fb3bba58f85018fadf77898aee8b # v1.4.2

- uses: pnpm/action-setup@0e279bb959325dab635dd2c09392533439d90093 # v6.0.8
- uses: pnpm/action-setup@ea17c68df8912ef543352723c149a84f56e3d413 # v6.1.0

- name: Setup Node.js
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0
with:
node-version-file: .node-version
cache: pnpm
Expand All @@ -230,12 +238,10 @@ jobs:
run: pnpm install --frozen-lockfile

- name: Download Artifacts
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2
with:
path: artifacts

- run: npm install -g npm@latest # For trusted publishing support

- name: Prepare dirs and artifacts
run: |
cp package.json napi/package.json
Expand All @@ -252,4 +258,14 @@ jobs:
# Publish root package
cp package.json napi/package.json
cp README.md napi/README.md
npm publish napi/ --tag latest --provenance --access public

# Guard: fail if a workspace-only specifier would leak into the published manifest.
pnpm -C napi pack --out "$RUNNER_TEMP/pack-check.tgz"
if tar -xzOf "$RUNNER_TEMP/pack-check.tgz" package/package.json | grep -nE '"(catalog|workspace):'; then
echo "::error::catalog:/workspace: specifier leaked into the packed package.json"
exit 1
fi

# pnpm publish (unlike npm publish) resolves `catalog:` specifiers
# to concrete versions when packing.
pnpm publish napi/ --tag latest --provenance --access public --no-git-checks
3 changes: 2 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ jobs:
release-plz:
name: Release-plz
runs-on: ubuntu-latest
environment: crates
permissions:
pull-requests: write
contents: write
Expand All @@ -32,7 +33,7 @@ jobs:
with:
PAT: ${{ steps.app-token.outputs.token }}

- uses: oxc-project/setup-rust@23f38cfb0c04af97a055f76acee94d5be71c7c82 # v1.0.16
- uses: oxc-project/setup-rust@3d6fb132fbe7cdcb66bf8ec193911c2945369d12 # v1.0.17
with:
cache-key: warm

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/security.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@ jobs:
name: Security Analysis
runs-on: ubuntu-latest
steps:
- uses: oxc-project/security-action@77e230508eccbb400b23746dab6c573a8ea7483e # v1.0.5
- uses: oxc-project/security-action@2ac862d109c9728f5bf439d249b69f68905a5de4 # v1.0.8
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,5 @@ target/
/fixtures/pnpm/node_modules
/fixtures/yarn/node_modules
/fixtures/tsconfck/node_modules
/fixtures/bench-pm/installs/
fuzz/Cargo.lock
15 changes: 2 additions & 13 deletions .rustfmt.toml
Original file line number Diff line number Diff line change
@@ -1,17 +1,6 @@
style_edition = "2024"

# Make Rust more readable given most people have wide screens nowadays.
# This is also the setting used by [rustc](https://github.com/rust-lang/rust/blob/master/rustfmt.toml)
use_small_heuristics = "Max"

# Use field initialize shorthand if possible
use_field_init_shorthand = true

reorder_modules = true

# For `cargo +nightly fmt`
# unstable_features = true
# style_edition = '2024'
# reorder_impl_items = true
# group_imports = "StdExternalCrate"
# imports_granularity = "Crate"
merge_derives = true
remove_nested_parens = true
Loading
Loading