playwright/packages
Simon Knott effb1ae234
fix(test runner): align with typescript behaviour for resolving index.js and package.json through path mapping (#32078)
Supercedes https://github.com/microsoft/playwright/pull/31915, closes
https://github.com/microsoft/playwright/issues/31811.

When TypeScript resolves a specifier via path mapping, it does not
interpret `package.json`. If path mapping resolves to a directory, it
only looks at the `index.js` file in that directory if it's in CommonJS
mode.

We need to mirror this in our `esmLoader.ts`.

---------

Co-authored-by: Dmitry Gozman <dgozman@gmail.com>
2024-08-12 15:05:19 +02:00
..
html-reporter chore(ui): update to react 18 (#32079) 2024-08-12 13:50:11 +02:00
playwright fix(test runner): align with typescript behaviour for resolving index.js and package.json through path mapping (#32078) 2024-08-12 15:05:19 +02:00
playwright-browser-chromium chore: mark 1.47.0-next (#31879) 2024-07-26 17:50:11 +02:00
playwright-browser-firefox chore: mark 1.47.0-next (#31879) 2024-07-26 17:50:11 +02:00
playwright-browser-webkit chore: mark 1.47.0-next (#31879) 2024-07-26 17:50:11 +02:00
playwright-chromium chore: mark 1.47.0-next (#31879) 2024-07-26 17:50:11 +02:00
playwright-core fix(expect): account for timeout during the first locator handler check (#32095) 2024-08-12 01:57:15 -07:00
playwright-ct-core fix(test runner): align with typescript behaviour for resolving index.js and package.json through path mapping (#32078) 2024-08-12 15:05:19 +02:00
playwright-ct-react chore: mark 1.47.0-next (#31879) 2024-07-26 17:50:11 +02:00
playwright-ct-react17 chore: mark 1.47.0-next (#31879) 2024-07-26 17:50:11 +02:00
playwright-ct-solid chore: mark 1.47.0-next (#31879) 2024-07-26 17:50:11 +02:00
playwright-ct-svelte chore: mark 1.47.0-next (#31879) 2024-07-26 17:50:11 +02:00
playwright-ct-vue chore: mark 1.47.0-next (#31879) 2024-07-26 17:50:11 +02:00
playwright-ct-vue2 chore: mark 1.47.0-next (#31879) 2024-07-26 17:50:11 +02:00
playwright-firefox chore: mark 1.47.0-next (#31879) 2024-07-26 17:50:11 +02:00
playwright-test chore: mark 1.47.0-next (#31879) 2024-07-26 17:50:11 +02:00
playwright-webkit chore: mark 1.47.0-next (#31879) 2024-07-26 17:50:11 +02:00
protocol/src chore: client certificates api review (#31826) 2024-07-23 22:56:36 +02:00
recorder chore(recorder): update to React 18 (#32101) 2024-08-12 09:19:28 +02:00
trace/src feat(trace viewer): show baseURL in Metadata pane (#31852) 2024-07-25 17:14:46 +02:00
trace-viewer chore(ui): update to react 18 (#32079) 2024-08-12 13:50:11 +02:00
web chore: sources tab render polish (#32055) 2024-08-08 10:53:59 -07:00
.eslintrc.js chore: replace process.exit with graceful closure (#24242) 2023-07-24 08:29:29 -07:00