Here is everything you need to know about this update. Please take a good look at what changed and the test results before merging this pull request. ### What changed? #### ✳️ @playwright/test (1.47.1 → 1.48.0) · [Repo](https://github.com/Microsoft/playwright) <details> <summary>Release Notes</summary> <h4><a href="https://github.com/microsoft/playwright/releases/tag/v1.48.0">1.48.0</a></h4> <blockquote><h2 dir="auto">WebSocket routing</h2> <p dir="auto">New methods <a href="https://playwright.dev/docs/api/class-page#page-route-web-socket">page.routeWebSocket()</a> and <a href="https://playwright.dev/docs/api/class-browsercontext#browser-context-route-web-socket">browserContext.routeWebSocket()</a> allow to intercept, modify and mock WebSocket connections initiated in the page. Below is a simple example that mocks WebSocket communication by responding to a <code class="notranslate">"request"</code> with a <code class="notranslate">"response"</code>.</p> <div class="highlight highlight-source-js" dir="auto"><pre class="notranslate"><span class="pl-k">await</span> <span class="pl-s1">page</span><span class="pl-kos">.</span><span class="pl-en">routeWebSocket</span><span class="pl-kos">(</span><span class="pl-s">'/ws'</span><span class="pl-kos">,</span> <span class="pl-s1">ws</span> <span class="pl-c1">=></span> <span class="pl-kos">{</span> <span class="pl-s1">ws</span><span class="pl-kos">.</span><span class="pl-en">onMessage</span><span class="pl-kos">(</span><span class="pl-s1">message</span> <span class="pl-c1">=></span> <span class="pl-kos">{</span> <span class="pl-k">if</span> <span class="pl-kos">(</span><span class="pl-s1">message</span> <span class="pl-c1">===</span> <span class="pl-s">'request'</span><span class="pl-kos">)</span> <span class="pl-s1">ws</span><span class="pl-kos">.</span><span class="pl-en">send</span><span class="pl-kos">(</span><span class="pl-s">'response'</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span></pre></div> <p dir="auto">See <a href="https://playwright.dev/docs/api/class-websocketroute">WebSocketRoute</a> for more details.</p> <h2 dir="auto">UI updates</h2> <ul dir="auto"> <li>New "copy" buttons for annotations and test location in the HTML report.</li> <li>Route method calls like <a href="https://playwright.dev/docs/api/class-route#route-fulfill">route.fulfill()</a> are not shown in the report and trace viewer anymore. You can see which network requests were routed in the network tab instead.</li> <li>New "Copy as cURL" and "Copy as fetch" buttons for requests in the network tab.</li> </ul> <h2 dir="auto">Miscellaneous</h2> <ul dir="auto"> <li>Option <a href="https://playwright.dev/docs/api/class-apirequestcontext#api-request-context-fetch-option-form"><code class="notranslate">form</code></a> and similar ones now accept <a href="https://playwright.dev/docs/api/class-formdata">FormData</a>.</li> <li>New method <a href="https://playwright.dev/docs/api/class-page#page-request-gc">page.requestGC()</a> may help detect memory leaks.</li> <li>New option <a href="https://playwright.dev/docs/api/class-test#test-step-option-location"><code class="notranslate">location</code></a> to pass custom step location.</li> <li>Requests made by <a href="https://playwright.dev/docs/api/class-apirequestcontext">APIRequestContext</a> now record detailed timing and security information in the HAR.</li> </ul> <h2 dir="auto">Browser Versions</h2> <ul dir="auto"> <li>Chromium 130.0.6723.19</li> <li>Mozilla Firefox 130.0</li> <li>WebKit 18.0</li> </ul> <p dir="auto">This version was also tested against the following stable channels:</p> <ul dir="auto"> <li>Google Chrome 129</li> <li>Microsoft Edge 129</li> </ul></blockquote> <h4><a href="https://github.com/microsoft/playwright/releases/tag/v1.47.2">1.47.2</a></h4> <blockquote><h3 dir="auto">Highlights</h3> <p dir="auto"><a href="https://bounce.depfu.com/github.com/microsoft/playwright/pull/32699">#32699</a> [REGRESSION]: fix(codegen): use content_frame property in python/.NET<br> <a href="https://bounce.depfu.com/github.com/microsoft/playwright/issues/32706">#32706</a> [REGRESSION]: page.pause() does not pause test timeout after 1.47<br> <a href="https://bounce.depfu.com/github.com/microsoft/playwright/pull/32661">#32661</a> - fix(trace-viewer): time delta between local and remote actions</p> <h2 dir="auto">Browser Versions</h2> <ul dir="auto"> <li>Chromium 129.0.6668.29</li> <li>Mozilla Firefox 130.0</li> <li>WebKit 18.0</li> </ul> <p dir="auto">This version was also tested against the following stable channels:</p> <ul dir="auto"> <li>Google Chrome 128</li> <li>Microsoft Edge 128</li> </ul></blockquote> <p><em>Does any of this look wrong? <a href="feedback">Please let us know.</a></em></p> </details> <details> <summary>Commits</summary> <p><a href="3d2ffd0fe9...0cdbb11068">See the full diff on Github</a>. The new version differs by more commits than we can show here.</p> </details> ---  [Depfu](https://depfu.com) will automatically keep this PR conflict-free, as long as you don't add any commits to this branch yourself. You can also trigger a rebase manually by commenting with `@depfu rebase`. <details><summary>All Depfu comment commands</summary> <blockquote><dl> <dt>@depfu rebase</dt><dd>Rebases against your default branch and redoes this update</dd> <dt>@depfu recreate</dt><dd>Recreates this PR, overwriting any edits that you've made to it</dd> <dt>@depfu merge</dt><dd>Merges this PR once your tests are passing and conflicts are resolved</dd> <dt>@depfu cancel merge</dt><dd>Cancels automatic merging of this PR</dd> <dt>@depfu close</dt><dd>Closes this PR and deletes the branch</dd> <dt>@depfu reopen</dt><dd>Restores the branch and reopens this PR (if it's closed)</dd> <dt>@depfu pause</dt><dd>Ignores all future updates for this dependency and closes this PR</dd> <dt>@depfu pause [minor|major]</dt><dd>Ignores all future minor/major updates for this dependency and closes this PR</dd> <dt>@depfu resume</dt><dd>Future versions of this dependency will create PRs again (leaves this PR as is)</dd> </dl></blockquote> </details> Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
70 lines
1.8 KiB
JSON
70 lines
1.8 KiB
JSON
{
|
|
"name": "@tailwindcss/root",
|
|
"private": true,
|
|
"version": "1.0.0",
|
|
"prettier": {
|
|
"semi": false,
|
|
"singleQuote": true,
|
|
"printWidth": 100,
|
|
"plugins": [
|
|
"prettier-plugin-organize-imports"
|
|
],
|
|
"overrides": [
|
|
{
|
|
"files": [
|
|
"tsconfig.json"
|
|
],
|
|
"options": {
|
|
"parser": "jsonc"
|
|
}
|
|
},
|
|
{
|
|
"files": [
|
|
"integrations/**/*.ts"
|
|
],
|
|
"options": {
|
|
"plugins": [
|
|
"prettier-plugin-embed",
|
|
"prettier-plugin-organize-imports"
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"scripts": {
|
|
"format": "prettier --write .",
|
|
"lint": "prettier --check . && turbo lint",
|
|
"build": "turbo build --filter=!./playgrounds/*",
|
|
"postbuild": "node ./scripts/pack-packages.mjs",
|
|
"dev": "turbo dev --filter=!./playgrounds/*",
|
|
"test": "cargo test && vitest run",
|
|
"test:integrations": "vitest --root=./integrations --no-file-parallelism",
|
|
"test:ui": "pnpm run --filter=tailwindcss test:ui",
|
|
"tdd": "vitest",
|
|
"bench": "vitest bench",
|
|
"version-packages": "node ./scripts/version-packages.mjs",
|
|
"vite": "pnpm run --filter=vite-playground dev",
|
|
"nextjs": "pnpm run --filter=nextjs-playground dev"
|
|
},
|
|
"license": "MIT",
|
|
"devDependencies": {
|
|
"@playwright/test": "^1.48.0",
|
|
"@types/node": "catalog:",
|
|
"postcss": "8.4.47",
|
|
"postcss-import": "^16.1.0",
|
|
"prettier": "^3.3.3",
|
|
"prettier-plugin-embed": "^0.4.15",
|
|
"prettier-plugin-organize-imports": "^4.0.0",
|
|
"tsup": "^8.2.4",
|
|
"turbo": "^2.1.3",
|
|
"typescript": "^5.5.4",
|
|
"vitest": "^2.0.5"
|
|
},
|
|
"packageManager": "pnpm@9.6.0",
|
|
"pnpm": {
|
|
"patchedDependencies": {
|
|
"@parcel/watcher@2.4.1": "patches/@parcel__watcher@2.4.1.patch",
|
|
"lightningcss@1.26.0": "patches/lightningcss@1.26.0.patch"
|
|
}
|
|
}
|
|
}
|