Update npm#294
Merged
Merged
Conversation
cf9528e to
5d2be8b
Compare
5d2be8b to
d637094
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
1.59.1→1.60.04.2.4→4.3.024.12.2→24.12.418.0.2→18.0.34.2.4→4.3.0~5.46.0→~5.47.03.4.10→3.19.3Warning
Some dependencies could not be looked up. Check the Dependency Dashboard for more information.
Release Notes
microsoft/playwright (@playwright/test)
v1.60.0Compare Source
🌐 HAR recording on Tracing
tracing.startHar() / tracing.stopHar() expose HAR recording as a first-class tracing API, with the same
content,modeandurlFilteroptions asrecordHar. The returned Disposable makes it easy to scope a recording withawait using:🪝 Drop API
New locator.drop() simulates an external drag-and-drop of files or clipboard-like data onto an element. Playwright dispatches
dragenter,dragover, anddropwith a synthetic [DataTransfer] in the page context — works cross-browser and is great for testing upload zones:🎯 Aria snapshots
page.locator('body').boxesoption on locator.ariaSnapshot() / page.ariaSnapshot() appends each element's bounding box as[box=x,y,width,height], useful for AI consumption.🛑 test.abort()
New test.abort() aborts the currently running test from a fixture, hook, or route handler with an optional message. Use it when you have detected an unrecoverable misuse and want to fail the test right away:
New APIs
Browser, Context and Page
Locators and Assertions
descriptionin page.getByRole() / locator.getByRole() / frame.getByRole() / frameLocator.getByRole() for matching the accessible description.pseudoin expect(locator).toHaveCSS() reads computed styles from::beforeor::after.stylein locator.highlight() applies extra inline CSS to the highlight overlay, plus new page.hideHighlight() to clear all highlights.Network
noDefaultsin browserType.connectOverCDP() disables Playwright's default overrides on the default context (download behavior, focus emulation, media emulation), so attaching to a user's daily-driver browser doesn't disturb its state.Errors and Reporting
line/columnproperties (lineNumber/columnNumberare deprecated).expect(...)matcher failure.workerInfoargument with details about the worker for fixture teardown errors.Test runner
{testFileBaseName}token in testProject.snapshotPathTemplate — file name without extension.workers: 0or negative values.🛠️ Other improvements
npx playwright show-reportaccepts.zipfiles directly — no need to unzip first.repeatEachIndexis shown in the test header when non-zero.Breaking Changes⚠️
Locator.ariaRef()— use the standard locator.ariaSnapshot() pipeline.handleoption onBrowserContext.exposeBindingandPage.exposeBinding.loggeroption onBrowserType.connectandBrowserType.connectOverCDP— use tracing instead.videosPath/videoSize— userecordVideoinstead.Browser Versions
This version was also tested against the following stable channels:
tailwindlabs/tailwindcss (@tailwindcss/cli)
v4.3.0Compare Source
Added
@container-sizeutility (#18901)scrollbar-{auto,thin,none}utilities forscrollbar-width, andscrollbar-thumb-*/scrollbar-track-*color utilities forscrollbar-color(#19981, #20019)scrollbar-gutter-*utilities (#20018)zoom-*utilities (#20020)tab-*utilities (#20022)@variantwith stacked variants (e.g.@variant hover:focus { … }) (#19996)@variantwith compound variants (e.g.@variant hover, focus { … }) (#19996)--default(…)in--value(…)and--modifier(…)for functional@utilitydefinitions (#19989)Fixed
@pluginresolves package JavaScript entries instead of browser CSS entries when using@tailwindcss/vite(#19949)@importand@pluginpaths resolving from the wrong directory when using@tailwindcss/vite(#19965)@variantare processed by@tailwindcss/vite(#19966)basewhenresult.opts.fromis not provided when using@tailwindcss/postcss(#19980)_whitespace in arbitrary values (#19986)w-[calc(100%---spacing(60))]→w-[calc(100%-(--spacing(60)))]) (#19986)-mt-[20in]→mt-[-20in], notmt-[-1920px]) (#19988):has()variants from[&:has(…)]tohas-[…](#19991)styleattributes (e.g.style="flex-grow: 1"→style="flex-grow: 1", notstyle="grow: 1") (#19918)@utilitydefinitions with the same name but different value types (#19777)PluginWithConfigtype fromtailwindcss/pluginto fix errors when inferring plugin config types (#19707)startandendlegacy utilities without values do not generate CSS (#20003)--value(…)is required in functional@utilitydefinitions (#20005)-left-[(var(--a)+var(--b))]) (#20011)markedjs/marked (marked)
v18.0.3Compare Source
Bug Fixes
terser/terser (terser)
v5.47.1Compare Source
mangle.keep_fnameswith destructuringv5.47.0Compare Source
builtins_ecmaandbuiltins_pureoptionsv5.46.2Compare Source
unusedoption: delete computed keys of concise methods and getters/setters.Error.causeadded to DOM properties listfoo.barandfoo["bar"]to be equivalent when property mangler is enabled withkeep_quoted=strictoption.mishoo/UglifyJS (uglify-js)
v3.19.3Compare Source
Bug Fixes
abefd94,cf87290)functioncall (4a92cdc)functionliteral (303417c)f34fbb2,23f98ba,abefd94,cf87290)v3.19.2Compare Source
Features
c7152b5,cd0a8ec)76803d6)functionliterals to arrow functions (2255074)ascii_onlyon template literals (4661b34)80ebacb)Bug Fixes
d82b7de)ifstatement (69f4e3a)69f4e3a)15c8edb,8bbbc51,69f4e3a)e9cf8de)switchstatement (69f4e3a)trystatement (4bf9a4f,69f4e3a)v3.19.1Compare Source
Features
7a4fb85)Bug Fixes
ifstatement (fac0aa2)switchstatement (1247576,fac0aa2)v3.19.0Compare Source
Features
9c80456,95d3ede,205a1d1,124c4d3)hoist_varsefficiency (ce8ef52)8c5a899)8c5a899)Bug Fixes
__proto__accessor (87c9edb)008edfb,8cfa37e)classfield (2c73103,0a33da4)6669ea1)deleteoperator (b6b0658)f31311e,8195a66,ed36c1e)functioncall (dc7aa32,722465b)dc51a23)6b23899)23d74be)trystatement (8dc99fa,787dfbe)fada1a1)v3.18.0Compare Source
Features
consttoletwhen possible (21aff99)68d62a8,17c3ae6)letandvardeclarations (e5cbd3e)enableHighAccuracy&maximumAgeDOM properties (aa7c338)ffe0fe7,3dfb379)functiondeclaration in ES6+ (e7b9b4a)ca4185a)Bug Fixes
f0ca9cf)asyncgenerator function (404794f)awaitoperator (0991077)BigIntliteral (2b1c321)classfield (f40dbd6,1d400f1)classliteral (548f093)57dd3f6)functioncall (e37a148,a437a61)574ca47)ifstatement (358faaa)1d400f1,aef7065,dd88f38,c911704)instanceofoperator (8d28052)letstatement (0cbd5ea)7270671)2cb6454)switchstatement (34b6143)f07dc5c)30bf068)varstatement (2352909)v3.17.4Compare Source
Features
a391897,ed7051b)Bug Fixes
asyncgenerator function (5411360)19c471c)7edd10e)8319bad)5a5200d)bccb1c3)19c471c)v3.17.3Compare Source
Features
mangle.properties(3fa2086)dompropsto be used underminify()(bd5fc4c)80fc862,dabcc39,58d997a)Bug Fixes
asyncgenerator function (8e65413,a570c00)classfield (e1e3516)for await...ofloop (140e4e0)be8ccc3)switchstatement (6cdc035)v3.17.2Compare Source
Bug Fixes
9efa02a,63b04a6)ifstatement (9ac3879)returnstatement (37d3e4f)43ec350)v3.17.1Compare Source
Features
d6d2f5c,10bc86b)--mangle-props(9eea3a6,4653e8a,5ac6ec5)globpatterns for--in-situ(535212c)32bd65a)9dec612)edf1bf1)Bug Fixes
argumentsobject (5b5f6e3)02d966d)1d42e9a)asyncfunction (15b608f)classmethod (001f6f9)f63b7b0)eb22f01)exportstatement (9cdc1ef)88dfc49,e0b302d)78f354b)returnstatement (887e086)78f354b,e4bff31)throwstatement (4e4a2f8)ac002b6,f63b7b0)varstatement (887e086,4db8106)v3.17.0Compare Source
Features
ifstatements (996836b)Object()wrappers (db6fd6d)returnstatements (08c386f,ab5c7e6,6667440,e39f33e,64e3cee,8076d66,884842c,a9d9af5)672cdfa)builtinmangling (8a07f12)--expressionfor ease of handling bookmarklets or JSON expressions (f451a7a)2c3c4ec)5a4cd09)Bug Fixes
asyncgenerator function (da930af)classproperty (41b65af,dd90135)classstaticblock (41b65af)c32fe26)c32fe26)functionliteral (513995f)937a672)v3.16.3Compare Source
Features
returnstatements (0207b46,c8d98f4)ifstatements (d89f096,3dcf098,902292f,b92a89f)154edf0,24443b6,b371dc2)import&exportof non-ECMAScript identifiers (d67daa8)Bug Fixes
5792f30,f0120e9)ec4558b)exportstatement (b2bc2e1)import()(0b808f6)import.meta(0b808f6)importstatement (b2bc2e1)38bd4f6)56e9454)v3.16.2Compare Source
Features
returnstatements (9f57920,8b46433,fcc87ed)asyncgenerator functions (51deeff)Bug Fixes
asyncfunction (e1b03d0)asyncgenerator function (f1b3e9d)classfield (2426657)4c227cc,3596b4f)4c227cc)functionliteral (4c227cc)933ca9d)4c227cc)v3.16.1Compare Source
Features
awaitvia--module(d2bd0d1,0c7b016)class staticinitialization block (88b4283,0066576,4382bfe)in&instanceofexpressions viaunsafe_comps(5d69545)class&function(b6f250f)Bug Fixes
__proto__accessor (123f9cf)44e5e99)99946a3)awaitoperator (be53c48)classliteral (2501797,053cb27)instanceofoperator (139fad0)v3.16.0Compare Source
Features
c82fc1e)e31bbe3,2152f00)Bug Fixes
asyncfunction (27aa85f,3c9e169)classliteral (c2ca7b7,ad3a331)f70462a,27727e6,d4caa97,740f93f,a025392)33c9c48,a025392)exportstatement (fc6a668)27aa85f)63f16e4)ad5f5ef)8bc03dc)59b23b8)7db2ada)returnstatement (94aae05,3c9e169)v3.15.5Compare Source
Bug Fixes
argumentsobject (5ebfa78)950609f)a0c0c29,89a35f9)35c2149)fbdb7ee)trystatement (20252c6)v3.15.4Compare Source
Features
keep_fnamesonfunctionliterals assigned to variables (8922f08)3671894)Bug Fixes
classliteral (a8e040b,c624b43)8922f08)ccd77d7)d75a946)for...inloop (01b8407)functionliteral (998c979)224c91b)a8e040b)15a4074)46570a4)varstatement (fb5e08e,21bd4c4)yieldkeyword (5e30f3a)v3.15.3Compare Source
Features
compressefficiency (fdbbef2)Bug Fixes
argumentsobject (104d385)eval()function (e2b0081)varstatement (042c228,12a6728)v3.15.2Compare Source
Features
compressefficiency (b6c72c8)6d0bb58,a14555a,d5afe16)9686379)mangleentropy (a7d0616)returnfrom discarded calls (dd3b81d)Bug Fixes
classliteral (316245e)functioncall (313e497)functionliteral (63b92ea)82e8ebd)fbc5ecf)a9d0dde)0b50880,212ce46)v3.15.1Compare Source
Features
5c863b7)max_line_len&preserve_line(371d259)e4a91a8)returnchains (d7eb80b,aad5d6e)Bug Fixes
argumentsobject (77552d9)classliteral (e7d6dd2)0a5a1f3)67438f3,9a91a7a, [d338e45](https://rediConfiguration
📅 Schedule: (in timezone Europe/Amsterdam)
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR was generated by Mend Renovate. View the repository job log.