mirror of
https://github.com/hanzoai/unrs-resolver.git
synced 2026-09-24 17:03:52 +00:00
## Summary - Fix `dts_resolve_esm_match` to try TS/declaration extension substitution (e.g. `.mjs` → `.d.mts`) **before** checking if the original JS file exists, matching TypeScript's `loadFileNameFromPackageJsonField` behavior - Previously, `resolveDtsSync` would return `.mjs` instead of `.d.mts` for packages like `magic-string` that have both the JS entry and its declaration file Closes #1046 --------- Co-authored-by: Hanzo Dev <[email protected]>
17 lines
549 B
JSON
17 lines
549 B
JSON
{
|
|
"name": "pnpm",
|
|
"version": "1.0.0",
|
|
"private": true,
|
|
"devDependencies": {
|
|
"@oxc-resolver/test-longfilename-aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa": "file:longfilename",
|
|
"axios": "1.8.4",
|
|
"decimal.js": "10.5.0",
|
|
"ipaddr.js": "2.2.0",
|
|
"magic-string": "0.30.17",
|
|
"mathjs": "14.4.0",
|
|
"minimatch": "10.0.1",
|
|
"postcss": "8.5.3",
|
|
"styled-components": "6.1.17"
|
|
}
|
|
}
|