datatracker
datatracker copied to clipboard
chore(deps-dev): bump the npm group across 1 directory with 5 updates
Bumps the npm group with 5 updates in the /playwright directory:
| Package | From | To |
|---|---|---|
| @playwright/test | 1.42.1 |
1.45.0 |
| eslint | 8.57.0 |
9.6.0 |
| eslint-plugin-n | 16.6.2 |
17.9.0 |
| eslint-plugin-promise | 6.1.1 |
6.4.0 |
| npm-check-updates | 16.14.18 |
16.14.20 |
Updates @playwright/test from 1.42.1 to 1.45.0
Release notes
Sourced from @playwright/test's releases.
v1.45.0
Clock
Utilizing the new Clock API allows to manipulate and control time within tests to verify time-related behavior. This API covers many common scenarios, including:
- testing with predefined time;
- keeping consistent time and timers;
- monitoring inactivity;
- ticking through time manually.
// Initialize clock and let the page load naturally. await page.clock.install({ time: new Date('2024-02-02T08:00:00') }); await page.goto('http://localhost:3333');// Pretend that the user closed the laptop lid and opened it again at 10am,
// Pause the time once reached that point.
await page.clock.pauseAt(new Date('2024-02-02T10:00:00'));// Assert the page state.
await expect(page.getByTestId('current-time')).toHaveText('2/2/2024, 10:00:00 AM');// Close the laptop lid again and open it at 10:30am.
await page.clock.fastForward('30:00');
await expect(page.getByTestId('current-time')).toHaveText('2/2/2024, 10:30:00 AM');
See the clock guide for more details.
Test runner
New CLI option
--fail-on-flaky-teststhat sets exit code to1upon any flaky tests. Note that by default, the test runner exits with code0when all failed tests recovered upon a retry. With this option, the test run will fail in such case.New enviroment variable
PLAYWRIGHT_FORCE_TTYcontrols whether built-inlist,lineanddotreporters assume a live terminal. For example, this could be useful to disable tty behavior when your CI environment does not handle ANSI control sequences well. Alternatively, you can enable tty behavior even when to live terminal is present, if you plan to post-process the output and handle control sequences.# Avoid TTY features that output ANSI control sequences PLAYWRIGHT_FORCE_TTY=0 npx playwright testEnable TTY features, assuming a terminal width 80
PLAYWRIGHT_FORCE_TTY=80 npx playwright test
New options testConfig.respectGitIgnore and testProject.respectGitIgnore control whether files matching
.gitignorepatterns are excluded when searching for tests.New property
timeoutis now available for custom expect matchers. This property takes into accountplaywright.config.tsandexpect.configure().import { expect as baseExpect } from '@playwright/test';export const expect = baseExpect.extend({
async toHaveAmount(locator: Locator, expected: number, options?: { timeout?: number }) {
// When no timeout option is specified, use the config timeout.
const timeout = options?.timeout ?? this.timeout;
... (truncated)
Commits
4f3f6eecherry-pick(#31421): docs: release notes for 1.45d557b7bcherry-pick(#31420): docs(java): correctly parse time (#31422)1368bcacherry-pick(#31419): docs: deprecatehandleoption inexposeBinding6c3fc49cherry-pick(#31404): feat(chromium): roll to r11244ae151fcherry-pick(#31340): docs: add guide for print dialogsa11585fcherry-pick(#31331): docs(test-parameterize): improve forEach exampleafcf8d2cherry-pick(#31350): docs: fix typo in 1.45 release notes599d074cherry-pick(#31356): fix(clock): throw for invalid date2451791cherry-pick(#31357): fix(clock): under reused context56ca1e1cherry-pick(#31369): docs: use long for time in milliseconds (#31371)- Additional commits viewable in compare view
Updates eslint from 8.57.0 to 9.6.0
Release notes
Sourced from eslint's releases.
v9.6.0
Features
e2b16e2feat: Implement feature flags (#18516) (Nicholas C. Zakas)8824aa1feat: addecmaVersion: 2025, parsing duplicate named capturing groups (#18596) (Milos Djermanovic)Bug Fixes
1613e2efix: Allow escaping characters in config patterns on Windows (#18628) (Milos Djermanovic)21d3766fix:no-unused-varsinclude caught errors pattern in report message (#18609) (Kirk Waiblinger)d7a7736fix: improveno-unused-varsmessage on unused caught errors (#18608) (Kirk Waiblinger)f9e95d2fix: correct locations of invalid/* eslint */comments (#18593) (Milos Djermanovic)Documentation
13dbecddocs: Limit search to just docs (#18627) (Nicholas C. Zakas)375227fdocs: Update getting-started.md - add pnpm to init eslint config (#18599) (Kostiantyn Ochenash)44915bbdocs: Update README (GitHub Actions Bot)d50db7bdocs: Update vscode-eslint info (#18595) (Nicholas C. Zakas)Chores
b15ee30chore: upgrade@eslint/js@9.6.0 (#18632) (Milos Djermanovic)d655503chore: package.json update for@eslint/jsrelease (Jenkins)7c78ad9refactor: Use language.visitorKeys and check for non-JS SourceCode (#18625) (Nicholas C. Zakas)69ff64erefactor: Return value of applyInlineConfig() (#18623) (Nicholas C. Zakas)d2d06f7refactor: use/separator when adjustingignorePatternson Windows (#18613) (Milos Djermanovic)6421973refactor: fix disable directives for languages with 0-based lines (#18605) (Milos Djermanovic)0a13539refactor: Allow optional methods for languages (#18604) (Nicholas C. Zakas)c7ddee0chore: make internal-rules not being a package (#18601) (Milos Djermanovic)3379164chore: remove.eslintrc.js(#18011) (唯然)d0c3a32chore: update knip (with webdriver-io plugin) (#18594) (Lars Kappert)v9.5.0
Features
b2d256cfeat:no-sparse-arraysreport on "comma" instead of the whole array (#18579) (fisker Cheung)Bug Fixes
6880286fix: treat*as a universal pattern (#18586) (Milos Djermanovic)7fbe211fix: message template for all files ignored (#18564) (Milos Djermanovic)469cb36fix: Don't lint the same file multiple times (#18552) (Milos Djermanovic)5cff638fix: improve message for ignored files without a matching config (#18404) (Francesco Trotta)Documentation
455f7fddocs: add section about including.gitignorefiles (#18590) (Milos Djermanovic)721eafedocs: update info about universalfilespatterns (#18587) (Francesco Trotta)8127127docs: Update README (GitHub Actions Bot)55c2a66docs: Update README (GitHub Actions Bot)eb76282docs: Update README (GitHub Actions Bot)ff6e96edocs:baseConfigandoverrideConfigcan be arrays (#18571) (Milos Djermanovic)d2d83e0docs: Add mention of eslint-transforms to v9 migration guide (#18566) (Nicholas C. Zakas)9ce6832docs: add callout box for unintuitive behavior (#18567) (Ben McCann)b8db99cdocs: Add VS Code info to config migration guide (#18555) (Nicholas C. Zakas)518a35cdocs: Mention config migrator (#18561) (Nicholas C. Zakas)
... (truncated)
Changelog
Sourced from eslint's changelog.
v9.6.0 - June 28, 2024
b15ee30chore: upgrade@eslint/js@9.6.0 (#18632) (Milos Djermanovic)d655503chore: package.json update for@eslint/jsrelease (Jenkins)1613e2efix: Allow escaping characters in config patterns on Windows (#18628) (Milos Djermanovic)13dbecddocs: Limit search to just docs (#18627) (Nicholas C. Zakas)7c78ad9refactor: Use language.visitorKeys and check for non-JS SourceCode (#18625) (Nicholas C. Zakas)e2b16e2feat: Implement feature flags (#18516) (Nicholas C. Zakas)69ff64erefactor: Return value of applyInlineConfig() (#18623) (Nicholas C. Zakas)375227fdocs: Update getting-started.md - add pnpm to init eslint config (#18599) (Kostiantyn Ochenash)44915bbdocs: Update README (GitHub Actions Bot)d2d06f7refactor: use/separator when adjustingignorePatternson Windows (#18613) (Milos Djermanovic)21d3766fix:no-unused-varsinclude caught errors pattern in report message (#18609) (Kirk Waiblinger)6421973refactor: fix disable directives for languages with 0-based lines (#18605) (Milos Djermanovic)d7a7736fix: improveno-unused-varsmessage on unused caught errors (#18608) (Kirk Waiblinger)0a13539refactor: Allow optional methods for languages (#18604) (Nicholas C. Zakas)f9e95d2fix: correct locations of invalid/* eslint */comments (#18593) (Milos Djermanovic)8824aa1feat: addecmaVersion: 2025, parsing duplicate named capturing groups (#18596) (Milos Djermanovic)c7ddee0chore: make internal-rules not being a package (#18601) (Milos Djermanovic)3379164chore: remove.eslintrc.js(#18011) (唯然)d0c3a32chore: update knip (with webdriver-io plugin) (#18594) (Lars Kappert)d50db7bdocs: Update vscode-eslint info (#18595) (Nicholas C. Zakas)v9.5.0 - June 14, 2024
f588160chore: upgrade@eslint/js@9.5.0 (#18591) (Milos Djermanovic)5890841chore: package.json update for@eslint/jsrelease (Jenkins)455f7fddocs: add section about including.gitignorefiles (#18590) (Milos Djermanovic)e9f4ccdchore: remove unused eslint-disable directive (#18589) (Milos Djermanovic)721eafedocs: update info about universalfilespatterns (#18587) (Francesco Trotta)4b23ffdrefactor: Move JS parsing logic into JS language (#18448) (Nicholas C. Zakas)6880286fix: treat*as a universal pattern (#18586) (Milos Djermanovic)8127127docs: Update README (GitHub Actions Bot)b2d256cfeat:no-sparse-arraysreport on "comma" instead of the whole array (#18579) (fisker Cheung)1495b93chore: update WebdriverIO packages (#18558) (Christian Bromann)cea7edechore: add website donate link instead of opencollective (#18582) (Strek)55c2a66docs: Update README (GitHub Actions Bot)eb76282docs: Update README (GitHub Actions Bot)ff6e96edocs:baseConfigandoverrideConfigcan be arrays (#18571) (Milos Djermanovic)7fbe211fix: message template for all files ignored (#18564) (Milos Djermanovic)ec94880chore: package.json update for eslint-config-eslint release (Jenkins)d2d83e0docs: Add mention of eslint-transforms to v9 migration guide (#18566) (Nicholas C. Zakas)6912586chore: extract formatting rules into separate config (#18560) (Milos Djermanovic)9ce6832docs: add callout box for unintuitive behavior (#18567) (Ben McCann)b8db99cdocs: Add VS Code info to config migration guide (#18555) (Nicholas C. Zakas)518a35cdocs: Mention config migrator (#18561) (Nicholas C. Zakas)469cb36fix: Don't lint the same file multiple times (#18552) (Milos Djermanovic)9738f7eci: fix CLI flags for c8, raise thresholds (#18554) (Francesco Trotta)eb440fcdocs: specifying files with arbitrary or no extension (#18539) (Francesco Trotta)38c159edocs: Provide example of reading package.json for plugins meta (#18530) (Nicholas C. Zakas)
... (truncated)
Commits
473d1bb9.6.0f435566Build: changelog update for 9.6.0b15ee30chore: upgrade@eslint/js@9.6.0 (#18632)d655503chore: package.json update for@eslint/jsrelease1613e2efix: Allow escaping characters in config patterns on Windows (#18628)13dbecddocs: Limit search to just docs (#18627)7c78ad9refactor: Use language.visitorKeys and check for non-JS SourceCode (#18625)e2b16e2feat: Implement feature flags (#18516)69ff64erefactor: Return value of applyInlineConfig() (#18623)375227fdocs: Update getting-started.md - add pnpm to init eslint config (#18599)- Additional commits viewable in compare view
Updates eslint-plugin-n from 16.6.2 to 17.9.0
Release notes
Sourced from eslint-plugin-n's releases.
v17.9.0
17.9.0 (2024-06-14)
🌟 Features
v17.8.1
17.8.1 (2024-06-06)
🩹 Fixes
v17.8.0
17.8.0 (2024-06-05)
🌟 Features
🩹 Fixes
🧹 Chores
- add a test for self-ref (#280) (4f50dfe)
- update dependency markdownlint-cli to ^0.41.0 (#287) (0efe751)
v17.7.0
17.7.0 (2024-05-14)
🌟 Features
- hashbang: Add support to map extensions to executables (#278) (3fd7639)
- node-builtin: Add node 20.13.0, 22.0.0, and 22.1.0 support (#276) (4a685c0)
🩹 Fixes
... (truncated)
Changelog
Sourced from eslint-plugin-n's changelog.
17.9.0 (2024-06-14)
🌟 Features
17.8.1 (2024-06-06)
🩹 Fixes
17.8.0 (2024-06-05)
🌟 Features
🩹 Fixes
🧹 Chores
- add a test for self-ref (#280) (4f50dfe)
- update dependency markdownlint-cli to ^0.41.0 (#287) (0efe751)
17.7.0 (2024-05-14)
🌟 Features
- hashbang: Add support to map extensions to executables (#278) (3fd7639)
- node-builtin: Add node 20.13.0, 22.0.0, and 22.1.0 support (#276) (4a685c0)
🩹 Fixes
📚 Documentation
... (truncated)
Commits
67bbfdfchore(master): release 17.9.0 (#299)0609431feat: Add flag ignorePrivate to no-unpublished-x rules (#298)1bcb006ci: Use up to dategoogleapis/release-please-actionaction name (#292)988bdd4chore(master): release 17.8.1 (#291)e82974ffix: hashbang + eslint v8 compat issue (#290)6dca24cchore(master): release 17.8.0 (#281)92e18b5fix: Allow for misconfigured default exports (#288)0efe751chore: update dependency markdownlint-cli to ^0.41.0 (#287)5221c40feat(node-builtin): Add node 22.2.0 support (#282)4f50dfetest: add a test for self-ref (#280)- Additional commits viewable in compare view
Updates eslint-plugin-promise from 6.1.1 to 6.4.0
Release notes
Sourced from eslint-plugin-promise's releases.
v6.4.0
6.4.0 (2024-07-01)
Features
v6.3.0
6.3.0 (2024-07-01)
Features
v6.2.0
6.2.0 (2024-05-27)
Bug Fixes
Features
Commits
ecbce9ffeat: add support for flat config (#479)4dfc8a7feat: add support for eslint v9 (#478)afbda82chore(deps-dev): bump braces from 3.0.2 to 3.0.3 (#477)5e4546dfix(no-callback-in-promise): false positives when the exception is an argumen...c0c716bfeat: ResolvegetAncestorsandgetScopecalls in eslint v9 (#466)7d33c30chore: add pkg.funding (#468)ce9ae7fchore(deps-dev): bump@babel/traversefrom 7.19.1 to 7.24.1 (#453)62af490chore(deps): bump actions/checkout from 3 to 4 (#461)19b21b4chore(deps): bump codecov/codecov-action from 3 to 4 (#459)8c74b9bchore(deps): bump actions/setup-node from 3 to 4 (#460)- Additional commits viewable in compare view
Updates npm-check-updates from 16.14.18 to 16.14.20
Commits
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore <dependency name> major versionwill close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)@dependabot ignore <dependency name> minor versionwill close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)@dependabot ignore <dependency name>will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)@dependabot unignore <dependency name>will remove all of the ignore conditions of the specified dependency@dependabot unignore <dependency name> <ignore condition>will remove the ignore condition of the specified dependency and ignore conditions