minze icon indicating copy to clipboard operation
minze copied to clipboard

chore(deps): update all non-major dependencies

Open renovate[bot] opened this issue 3 years ago • 0 comments

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@microsoft/api-extractor (source) ^7.27.0 -> ^7.29.2 age adoption passing confidence
@playwright/test (source) ^1.22.2 -> ^1.24.2 age adoption passing confidence
@rollup/plugin-typescript ^8.3.3 -> ^8.3.4 age adoption passing confidence
@types/jest ^28.1.3 -> ^28.1.6 age adoption passing confidence
@types/react ^18.0.14 -> ^18.0.17 age adoption passing confidence
@types/react-dom ^18.0.5 -> ^18.0.6 age adoption passing confidence
@typescript-eslint/eslint-plugin ^5.29.0 -> ^5.33.0 age adoption passing confidence
@typescript-eslint/parser ^5.29.0 -> ^5.33.0 age adoption passing confidence
eslint (source) ^8.18.0 -> ^8.21.0 age adoption passing confidence
jest (source) ^28.1.1 -> ^28.1.3 age adoption passing confidence
rollup (source) ^2.75.7 -> ^2.77.2 age adoption passing confidence
ts-jest ^28.0.5 -> ^28.0.7 age adoption passing confidence
ts-node (source) ^10.8.1 -> ^10.9.1 age adoption passing confidence
vite ^2.9.13 -> ^2.9.14 age adoption passing confidence

Release Notes

Microsoft/playwright

v1.24.2

Compare Source

Highlights

This patch includes the following bug fixes:

https://github.com/microsoft/playwright/issues/15977 - [BUG] test.use of storage state regression in 1.24

Browser Versions

  • Chromium 104.0.5112.48
  • Mozilla Firefox 102.0
  • WebKit 16.0

This version was also tested against the following stable channels:

  • Google Chrome 103
  • Microsoft Edge 103

v1.24.1

Compare Source

Highlights

This patch includes the following bug fixes:

https://github.com/microsoft/playwright/issues/15898 - [BUG] Typescript error: The type for webServer config property (TestConfigWebServer) is not typed correctlyhttps://github.com/microsoft/playwright/issues/159133 - [BUG] hooksConfig is required for mount fixturhttps://github.com/microsoft/playwright/issues/1593232 - [BUG] - Install MS Edge on CI Fails

Browser Versions

  • Chromium 104.0.5112.48
  • Mozilla Firefox 102.0
  • WebKit 16.0

This version was also tested against the following stable channels:

  • Google Chrome 103
  • Microsoft Edge 103

v1.24.0

Compare Source

🌍 Multiple Web Servers in playwright.config.ts

Launch multiple web servers, databases, or other processes by passing an array of configurations:

// playwright.config.ts
import type { PlaywrightTestConfig } from '@​playwright/test';
const config: PlaywrightTestConfig = {
  webServer: [
    {
      command: 'npm run start',
      port: 3000,
      timeout: 120 * 1000,
      reuseExistingServer: !process.env.CI,
    },
    {
      command: 'npm run backend',
      port: 3333,
      timeout: 120 * 1000,
      reuseExistingServer: !process.env.CI,
    }
  ],
  use: {
    baseURL: 'http://localhost:3000/',
  },
};
export default config;

🐂 Debian 11 Bullseye Support

Playwright now supports Debian 11 Bullseye on x86_64 for Chromium, Firefox and WebKit. Let us know if you encounter any issues!

Linux support looks like this:

Ubuntu 18.04 Ubuntu 20.04 Ubuntu 22.04 Debian 11
Chromium
WebKit
Firefox

🕵️ Anonymous Describe

It is now possible to call test.describe(callback) to create suites without a title. This is useful for giving a group of tests a common option with test.use(options).

test.describe(() => {
  test.use({ colorScheme: 'dark' });

  test('one', async ({ page }) => {
    // ...
  });

  test('two', async ({ page }) => {
    // ...
  });
});

🧩 Component Tests Update

Playwright 1.24 Component Tests introduce beforeMount and afterMount hooks. Use these to configure your app for tests.

Vue + Vue Router

For example, this could be used to setup App router in Vue.js:

// src/component.spec.ts
import { test } from '@​playwright/experimental-ct-vue';
import { Component } from './mycomponent';

test('should work', async ({ mount }) => {
  const component = await mount(Component, {
    hooksConfig: {
      /* anything to configure your app */
    }
  });
});
// playwright/index.ts
import { router } from '../router';
import { beforeMount } from '@​playwright/experimental-ct-vue/hooks';

beforeMount(async ({ app, hooksConfig }) => {
  app.use(router);
});
React + Next.js

A similar configuration in Next.js would look like this:

// src/component.spec.jsx
import { test } from '@​playwright/experimental-ct-react';
import { Component } from './mycomponent';

test('should work', async ({ mount }) => {
  const component = await mount(<Component></Component>, {
    // Pass mock value from test into `beforeMount`.
    hooksConfig: {
      router: {
        query: { page: 1, per_page: 10 },
        asPath: '/posts'
      }
    }
  });
});
// playwright/index.js
import router from 'next/router';
import { beforeMount } from '@&#8203;playwright/experimental-ct-react/hooks';

beforeMount(async ({ hooksConfig }) => {
  // Before mount, redefine useRouter to return mock value from test.
  router.useRouter = () => hooksConfig.router;
});

Browser Versions

  • Chromium 104.0.5112.48
  • Mozilla Firefox 102.0
  • WebKit 16.0

This version was also tested against the following stable channels:

  • Google Chrome 103
  • Microsoft Edge 103

v1.23.4

Compare Source

Highlights

This patch includes the following bug fix:

https://github.com/microsoft/playwright/issues/15717 - [REGRESSION]: Suddenly stopped working despite nothing having changed (experimentalLoader.js:load did not call the next hook in its chain and did not explicitly signal a short circuit)

Browser Versions
  • Chromium 104.0.5112.20
  • Mozilla Firefox 100.0.2
  • WebKit 15.4

This version was also tested against the following stable channels:

  • Google Chrome 103
  • Microsoft Edge 103

v1.23.3

Compare Source

Highlights

This patch includes the following bug fixes:

https://github.com/microsoft/playwright/issues/15557 - [REGRESSION]: Event Listeners not being removed if same handler is used for different events

Browser Versions

  • Chromium 104.0.5112.20
  • Mozilla Firefox 100.0.2
  • WebKit 15.4

This version was also tested against the following stable channels:

  • Google Chrome 103
  • Microsoft Edge 103

v1.23.2

Compare Source

Highlights

This patch includes the following bug fixes:

https://github.com/microsoft/playwright/issues/15273 - [BUG] LaunchOptions config has no effect after update to v1.23.0https://github.com/microsoft/playwright/issues/153511 - [REGRESSION]: Component testing project does not compile anymorhttps://github.com/microsoft/playwright/issues/1543131 - [BUG] Regression: page.on('console') is ignored in 1.23

Browser Versions
  • Chromium 104.0.5112.20
  • Mozilla Firefox 100.0.2
  • WebKit 15.4

This version was also tested against the following stable channels:

  • Google Chrome 103
  • Microsoft Edge 103

v1.23.1

Compare Source

Highlights

This patch includes the following bug fixes:

https://github.com/microsoft/playwright/issues/15219 - [REGRESSION]: playwright-core 1.23.0 issue with 'TypeError [ERR_INVALID_ARG_TYPE]: The "listener" argument'

Browser Versions

  • Chromium 104.0.5112.20
  • Mozilla Firefox 100.0.2
  • WebKit 15.4

This version was also tested against the following stable channels:

  • Google Chrome 103
  • Microsoft Edge 103

v1.23.0

Compare Source

Playwright v1.23 updates

Network Replay

Now you can record network traffic into a HAR file and re-use the data in your tests.

To record network into HAR file:

npx playwright open --save-har=github.har.zip https://github.com/microsoft

Alternatively, you can record HAR programmatically:

const context = await browser.newContext({
  recordHar: { path: 'github.har.zip' }
});
// ... do stuff ...
await context.close();

Use the new methods page.routeFromHAR() or browserContext.routeFromHAR() to serve matching responses from the HAR file:

await context.routeFromHAR('github.har.zip');

Read more in our documentation.

Advanced Routing

You can now use route.fallback() to defer routing to other handlers.

Consider the following example:

// Remove a header from all requests.
test.beforeEach(async ({ page }) => {
  await page.route('**/*', route => {
    const headers = route.request().headers();
    delete headers['if-none-match'];
    route.fallback({ headers });
  });
});

test('should work', async ({ page }) => {
  await page.route('**/*', route => {
    if (route.request().resourceType() === 'image')
      route.abort();
    else
      route.fallback();
  });
});

Note that the new methods page.routeFromHAR() and browserContext.routeFromHAR() also participate in routing and could be deferred to.

Web-First Assertions Update
Component Tests Update

Read more about component testing with Playwright.

Miscellaneous
  • If there's a service worker that's in your way, you can now easily disable it with a new context option serviceWorkers:
    // playwright.config.ts
    export default {
      use: {
        serviceWorkers: 'block',
      }
    }
    
  • Using .zip path for recordHar context option automatically zips the resulting HAR:
    const context = await browser.newContext({
      recordHar: {
        path: 'github.har.zip',
      }
    });
    
  • If you intend to edit HAR by hand, consider using the "minimal" HAR recording mode that only records information that is essential for replaying:
    const context = await browser.newContext({
      recordHar: {
        path: 'github.har.zip',
        mode: 'minimal',
      }
    });
    
  • Playwright now runs on Ubuntu 22 amd64 and Ubuntu 22 arm64. We also publish new docker image mcr.microsoft.com/playwright:v1.23.0-focal.
⚠️ Breaking Changes ⚠️

WebServer is now considered "ready" if request to the specified port has any of the following HTTP status codes:

  • 200-299
  • 300-399 (new)
  • 400, 401, 402, 403 (new)
rollup/plugins

v8.3.4

Compare Source

2022-07-28

Bugfixes
  • fix: fix declaration file generation for single file outputs (#​1201)
typescript-eslint/typescript-eslint (@​typescript-eslint/eslint-plugin)

v5.33.0

Compare Source

Bug Fixes
  • eslint-plugin: [no-extra-parens] handle await with type assertion (#​5428) (e03826f)
  • website: add explicit frontmatter description to rule docs (#​5429) (63cba5f)
Features
  • eslint-plugin: [member-ordering] support static blocks (#​5417) (5983e5a)
  • eslint-plugin: [prefer-as-const] adds support for class properties (#​5413) (d2394f8)

v5.32.0

Compare Source

Features
  • eslint-plugin: [no-use-before-define] add "allowNamedExports" option (#​5397) (ad412cd)

v5.31.0

Compare Source

Bug Fixes
  • eslint-plugin: [typedef] Support nested array destructuring with type annotation (#​5311) (6d19efe)
  • scope-manager: handle typeParameters of TSInstantiationExpression (#​5355) (2595ccf)
Features
  • eslint-plugin: [consistent-generic-ctors] check class field declaration (#​5288) (48f996e)
  • eslint-plugin: [prefer-nullish-coalescing] add ignoreTernaryTests option (#​4965) (f82727f)

5.30.7 (2022-07-18)

Bug Fixes
  • eslint-plugin: [no-inferrable] fix optional param to valid code (#​5342) (98f6d5e)
  • eslint-plugin: [no-unused-vars] highlight last write reference (#​5267) (c3f199a)

5.30.6 (2022-07-11)

Note: Version bump only for package @​typescript-eslint/eslint-plugin

5.30.5 (2022-07-04)

Bug Fixes
  • eslint-plugin: [consistent-indexed-object-style] fix record mode fixer for generics with a default value (#​5280) (57f032c)

5.30.4 (2022-07-03)

Note: Version bump only for package @​typescript-eslint/eslint-plugin

5.30.3 (2022-07-01)

Note: Version bump only for package @​typescript-eslint/eslint-plugin

5.30.2 (2022-07-01)

Note: Version bump only for package @​typescript-eslint/eslint-plugin

5.30.1 (2022-07-01)

Bug Fixes
  • eslint-plugin: [no-base-to-string] add missing apostrophe to message (#​5270) (d320174)

v5.30.7

Compare Source

Bug Fixes
  • eslint-plugin: [no-inferrable] fix optional param to valid code (#​5342) (98f6d5e)
  • eslint-plugin: [no-unused-vars] highlight last write reference (#​5267) (c3f199a)

v5.30.6

Compare Source

Note: Version bump only for package @​typescript-eslint/eslint-plugin

v5.30.5

Compare Source

Bug Fixes
  • eslint-plugin: [consistent-indexed-object-style] fix record mode fixer for generics with a default value (#​5280) (57f032c)

v5.30.4

Compare Source

Note: Version bump only for package @​typescript-eslint/eslint-plugin

v5.30.3

Compare Source

Note: Version bump only for package @​typescript-eslint/eslint-plugin

v5.30.2

Compare Source

Note: Version bump only for package @​typescript-eslint/eslint-plugin

v5.30.1

Compare Source

Bug Fixes
  • eslint-plugin: [no-base-to-string] add missing apostrophe to message (#​5270) (d320174)

v5.30.0

Compare Source

Features
  • eslint-plugin: [no-shadow] add shadowed variable location to the error message (#​5183) (8ca08e9)
  • treat this in typeof this as a ThisExpression (#​4382) (b04b2ce)
typescript-eslint/typescript-eslint (@​typescript-eslint/parser)

v5.33.0

Compare Source

Note: Version bump only for package @​typescript-eslint/parser

v5.32.0

Compare Source

Note: Version bump only for package @​typescript-eslint/parser

v5.31.0

Compare Source

Note: Version bump only for package @​typescript-eslint/parser

5.30.7 (2022-07-18)

Bug Fixes

5.30.6 (2022-07-11)

Note: Version bump only for package @​typescript-eslint/parser

5.30.5 (2022-07-04)

Note: Version bump only for package @​typescript-eslint/parser

5.30.4 (2022-07-03)

Note: Version bump only for package @​typescript-eslint/parser

5.30.3 (2022-07-01)

Note: Version bump only for package @​typescript-eslint/parser

5.30.2 (2022-07-01)

Note: Version bump only for package @​typescript-eslint/parser

5.30.1 (2022-07-01)

Note: Version bump only for package @​typescript-eslint/parser

v5.30.7

Compare Source

Bug Fixes

v5.30.6

Compare Source

Note: Version bump only for package @​typescript-eslint/parser

v5.30.5

Compare Source

Note: Version bump only for package @​typescript-eslint/parser

v5.30.4

Compare Source

Note: Version bump only for package @​typescript-eslint/parser

v5.30.3

Compare Source

Note: Version bump only for package @​typescript-eslint/parser

v5.30.2

Compare Source

Note: Version bump only for package @​typescript-eslint/parser

v5.30.1

Compare Source

Note: Version bump only for package @​typescript-eslint/parser

v5.30.0

Compare Source

Note: Version bump only for package @​typescript-eslint/parser

eslint/eslint

v8.21.0

Compare Source

Features
  • 7b43ea1 feat: Implement FlatESLint (#​16149) (Nicholas C. Zakas)
  • 92bf49a feat: improve the key width calculation in key-spacing rule (#​16154) (Nitin Kumar)
  • c461542 feat: add new allowLineSeparatedGroups option to the sort-keys rule (#​16138) (Nitin Kumar)
  • 1cdcbca feat: add deprecation warnings for legacy API in RuleTester (#​16063) (Nitin Kumar)
Bug Fixes
  • 0396775 fix: lines-around-comment apply allowBlockStart for switch statements (#​16153) (Nitin Kumar)
Documentation
Chores

v8.20.0

Compare Source

Features

Bug Fixes

  • 30be0ed fix: no-warning-comments rule escapes special RegEx characters in terms (#​16090) (Lachlan Hunt)
  • bfe5e88 fix: ignore spacing before ] and } in comma-spacing (#​16113) (Milos Djermanovic)

Documentation

Chores

  • bbf8df4 chore: Mark autogenerated release blog post as draft (#​16130) (Nicholas C. Zakas)
  • eee4306 chore: update internal lint dependencies (#​16088) (Bryan Mishkin)
  • 9615a42 chore: update formatter examples template to avoid markdown lint error (#​16085) (Milos Djermanovic)
  • 62541ed chore: fix markdown linting error (#​16083) (唯然)

v8.19.0

Compare Source

Features

  • 7023628 feat: add importNames support for patterns in no-restricted-imports (#​16059) (Brandon Scott)
  • 472c368 feat: fix handling of blockless with statements in indent rule (#​16068) (Milos Djermanovic)

Bug Fixes

  • fc81848 fix: throw helpful exception when rule has wrong return type (#​16075) (Bryan Mishkin)

Documentation

  • 3ae0574 docs: Remove duplicate rule descriptions (#​16052) (Amaresh S M)
  • f50cf43 docs: Add base href to each page to fix relative URLs (#​16046) (Nicholas C. Zakas)
  • ae4b449 docs: make logo link clickable on small width screens (#​16058) (Milos Djermanovic)
  • 280f898 docs: use only fenced code blocks (#​16044) (Milos Djermanovic)
  • f5d63b9 docs: add listener only if element exists (#​16045) (Amaresh S M)
  • 8b639cc docs: add missing migrating-to-8.0.0 in the user guide (#​16048) (唯然)
  • b8e68c1 docs: Update release process (#​16036) (Nicholas C. Zakas)
  • 6d0cb11 docs: remove table of contents from markdown text (#​15999) (Nitin Kumar)

Chores

facebook/jest

v28.1.3

Compare Source

Features
  • [jest-leak-detector] Use native FinalizationRegistry when it exists to get rid of external C dependency (#​12973)
Fixes
  • [jest-changed-files] Fix a lock-up after repeated invocations (#​12757)
  • [@jest/expect-utils] Fix deep equality of ImmutableJS OrderedSets (#​12977)
  • [jest-mock] Add index signature support for spyOn types (#​13013, #​13020)
  • [jest-snapshot] Fix indentation of awaited inline snapshots (#​12986)
Chore & Maintenance
  • [*] Replace internal usage of pretty-format/ConvertAnsi with jest-serializer-ansi-escapes (#​12935, #​13004)
  • [docs] Update spyOn docs (#​13000)

v28.1.2

Compare Source

Fixes
  • [jest-runtime] Avoid star type import from @jest/globals (#​12949)
Chore & Maintenance
  • [docs] Mention that jest-codemods now supports Sinon (#​12898)
rollup/rollup

v2.77.2

Compare Source

2022-07-27

Bug Fixes
  • Avoid a rendering failure when mixing outputs with inlined and non-inlined dynamic imports (#​4589)
Pull Requests

v2.77.1

Compare Source

2022-07-26

Bug Fixes
  • Ensure IIFE output generates a global variable when generating ES5 (#​4588)
Pull Requests

v2.77.0

Compare Source

2022-07-15

Features
  • Introduce maxParallelFileOps to limit both read and write operations, default to 20 and replaces maxParallelFileRead (#​4570)
Bug Fixes
  • Avoid including variables referenced from return statements that are never reached (#​4573)
Pull Requests

Configuration

📅 Schedule: Branch creation - "before 3am on Monday" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • [ ] If you want to rebase/retry this PR, click this checkbox.

This PR has been generated by Mend Renovate. View repository job log here.

renovate[bot] avatar Jul 04 '22 02:07 renovate[bot]