Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update npm non-major dependencies #931

Merged
merged 1 commit into from
Jun 10, 2024
Merged

Update npm non-major dependencies #931

merged 1 commit into from
Jun 10, 2024

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jun 6, 2024

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@navikt/aksel-icons (source) 6.6.1 -> 6.10.1 age adoption passing confidence
@playwright/test (source) 1.43.1 -> 1.44.1 age adoption passing confidence
@reduxjs/toolkit (source) 2.2.3 -> 2.2.5 age adoption passing confidence
@testing-library/cypress 10.0.1 -> 10.0.2 age adoption passing confidence
@types/node (source) 20.12.7 -> 20.14.2 age adoption passing confidence
@types/react (source) 18.2.79 -> 18.3.3 age adoption passing confidence
@types/react-dom (source) 18.2.25 -> 18.3.0 age adoption passing confidence
@typescript-eslint/eslint-plugin (source) 7.7.1 -> 7.12.0 age adoption passing confidence
@typescript-eslint/parser (source) 7.7.1 -> 7.12.0 age adoption passing confidence
@vitejs/plugin-react (source) 4.2.1 -> 4.3.0 age adoption passing confidence
dayjs (source) 1.11.10 -> 1.11.11 age adoption passing confidence
eslint (source) 9.1.1 -> 9.4.0 age adoption passing confidence
eslint-plugin-cypress 3.1.0 -> 3.3.0 age adoption passing confidence
eslint-plugin-n 17.3.1 -> 17.8.1 age adoption passing confidence
eslint-plugin-promise 6.1.1 -> 6.2.0 age adoption passing confidence
eslint-plugin-react 7.34.1 -> 7.34.2 age adoption passing confidence
i18next (source) 23.11.2 -> 23.11.5 age adoption passing confidence
junit-report-merger 6.0.3 -> 6.0.4 age adoption passing confidence
lint-staged 15.2.2 -> 15.2.5 age adoption passing confidence
prettier (source) 3.2.5 -> 3.3.1 age adoption passing confidence
react (source) 18.2.0 -> 18.3.1 age adoption passing confidence
react-dom (source) 18.2.0 -> 18.3.1 age adoption passing confidence
react-i18next 14.1.1 -> 14.1.2 age adoption passing confidence
react-redux 9.1.1 -> 9.1.2 age adoption passing confidence
react-router-dom (source) 6.23.0 -> 6.23.1 age adoption passing confidence

Release Notes

navikt/aksel (@​navikt/aksel-icons)

v6.10.1

Compare Source

Patch Changes
  • Icons: Added back support for sourcemapping. (#​2978)

v6.10.0

Compare Source

v6.9.0

Compare Source

Minor Changes
  • Icons: New icons for geometric shapes (#​2927)

v6.8.0

Compare Source

v6.7.1

Compare Source

v6.7.0

Compare Source

microsoft/playwright (@​playwright/test)

v1.44.1

Compare Source

Highlights

https://github.com/microsoft/playwright/issues/30779 - [REGRESSION]: When using video: 'on' with VSCode extension the browser got closed
https://github.com/microsoft/playwright/issues/30755 - [REGRESSION]: Electron launch with spaces inside executablePath didn't workhttps://github.com/microsoft/playwright/issues/307700 - [REGRESSION]: Mask elements outside of viewport when creating fullscreen screenshots didn't worhttps://github.com/microsoft/playwright/issues/3085858 - [REGRESSION]: ipv6 got shown instead of localhost in show-trace/show-report

Browser Versions

  • Chromium 125.0.6422.14
  • Mozilla Firefox 125.0.1
  • WebKit 17.4

This version was also tested against the following stable channels:

  • Google Chrome 124
  • Microsoft Edge 124

v1.44.0

Compare Source

New APIs

Accessibility assertions

  • expect(locator).toHaveAccessibleName() checks if the element has the specified accessible name:

    const locator = page.getByRole('button');
    await expect(locator).toHaveAccessibleName('Submit');
  • expect(locator).toHaveAccessibleDescription() checks if the element has the specified accessible description:

    const locator = page.getByRole('button');
    await expect(locator).toHaveAccessibleDescription('Upload a photo');
  • expect(locator).toHaveRole() checks if the element has the specified ARIA role:

    const locator = page.getByTestId('save-button');
    await expect(locator).toHaveRole('button');

Locator handler

  • After executing the handler added with page.addLocatorHandler(), Playwright will now wait until the overlay that triggered the handler is not visible anymore. You can opt-out of this behavior with the new noWaitAfter option.
  • You can use new times option in page.addLocatorHandler() to specify maximum number of times the handler should be run.
  • The handler in page.addLocatorHandler() now accepts the locator as argument.
  • New page.removeLocatorHandler() method for removing previously added locator handlers.
const locator = page.getByText('This interstitial covers the button');
await page.addLocatorHandler(locator, async overlay => {
  await overlay.locator('#close').click();
}, { times: 3, noWaitAfter: true });
// Run your tests that can be interrupted by the overlay.
// ...
await page.removeLocatorHandler(locator);

Miscellaneous options

  • multipart option in apiRequestContext.fetch() now accepts FormData and supports repeating fields with the same name.

    const formData = new FormData();
    formData.append('file', new File(['let x = 2024;'], 'f1.js', { type: 'text/javascript' }));
    formData.append('file', new File(['hello'], 'f2.txt', { type: 'text/plain' }));
    context.request.post('https://example.com/uploadFiles', {
      multipart: formData
    });
  • expect(callback).toPass({ intervals }) can now be configured by expect.toPass.inervals option globally in testConfig.expect or per project in testProject.expect.

  • expect(page).toHaveURL(url) now supports ignoreCase option.

  • testProject.ignoreSnapshots allows to configure per project whether to skip screenshot expectations.

Reporter API

  • New method suite.entries() returns child test suites and test cases in their declaration order. suite.type and testCase.type can be used to tell apart test cases and suites in the list.
  • Blob reporter now allows overriding report file path with a single option outputFile. The same option can also be specified as PLAYWRIGHT_BLOB_OUTPUT_FILE environment variable that might be more convenient on CI/CD.
  • JUnit reporter now supports includeProjectInTestName option.

Command line

  • --last-failed CLI option for running only tests that failed in the previous run.

    First run all tests:

    $ npx playwright test
    
    Running 103 tests using 5 workers
    ...
    2 failed
      [chromium] › my-test.spec.ts:8:5 › two ─────────────────────────────────────────────────────────
      [chromium] › my-test.spec.ts:13:5 › three ──────────────────────────────────────────────────────
    101 passed (30.0s)

    Now fix the failing tests and run Playwright again with --last-failed option:

    $ npx playwright test --last-failed
    
    Running 2 tests using 2 workers
      2 passed (1.2s)

Browser Versions

  • Chromium 125.0.6422.14
  • Mozilla Firefox 125.0.1
  • WebKit 17.4

This version was also tested against the following stable channels:

  • Google Chrome 124
  • Microsoft Edge 124
reduxjs/redux-toolkit (@​reduxjs/toolkit)

v2.2.5

Compare Source

This bugfix release fixes an issue in the recent createEntityAdapter sorting perf improvements that could (in specific cases) cause Immer to throw an error when trying to read a plain JS value instead of a proxy-wrapped value.

What's Changed

Full Changelog: reduxjs/redux-toolkit@v2.2.4...v2.2.5

v2.2.4

Compare Source

testing-library/cypress-testing-library (@​testing-library/cypress)

v10.0.2

Compare Source

Bug Fixes
typescript-eslint/typescript-eslint (@​typescript-eslint/eslint-plugin)

v7.12.0

Compare Source

🚀 Features
  • eslint-plugin: [no-useless-template-literals] rename to no-useless-template-expression (deprecate no-useless-template-literals)

  • rule-tester: check for parsing errors in suggestion fixes

  • rule-tester: port checkDuplicateTestCases from ESLint

  • eslint-plugin: [no-floating-promises] add option 'allowForKnownSafePromises'

🩹 Fixes
  • no-useless-template-expression -> no-unnecessary-template-expression

  • eslint-plugin: [no-unnecessary-type-assertion] combine template literal check with const variable check

  • eslint-plugin: [dot-notation] fix false positive when accessing private/protected property with optional chaining

  • eslint-plugin: [explicit-member-accessibility] refine report locations

  • eslint-plugin: [no-unnecessary-type-assertion] declares are always defined, so always check declares

  • eslint-plugin: [prefer-literal-enum-member] allow using member it self on allowBitwiseExpressions

  • eslint-plugin: [return-await] clean up in-try-catch detection and make autofixes safe

  • eslint-plugin: [member-ordering] also TSMethodSignature can be get/set

❤️ Thank You
  • Abraham Guo
  • Han Yeong-woo
  • Joshua Chen
  • Kim Sang Du
  • Kirk Waiblinger
  • YeonJuan

You can read about our versioning strategy and releases on our website.

v7.11.0

Compare Source

🚀 Features
  • eslint-plugin: deprecate prefer-ts-expect-error in favor of ban-ts-comment
🩹 Fixes
  • eslint-plugin: [consistent-type-assertions] prevent syntax errors on arrow functions
❤️ Thank You
  • Abraham Guo
  • auvred
  • Dom Armstrong
  • Kirk Waiblinger

You can read about our versioning strategy and releases on our website.

v7.10.0

Compare Source

🚀 Features
  • eslint-plugin: [sort-type-constituents] support case sensitive sorting
🩹 Fixes
  • eslint-plugin: [prefer-regexp-exec] fix heuristic to check whether regex may contain global flag
❤️ Thank You
  • auvred
  • Emanuel Hoogeveen
  • jsfm01
  • Kirk Waiblinger

You can read about our versioning strategy and releases on our website.

v7.9.0

Compare Source

🩹 Fixes
  • eslint-plugin: [explicit-function-return-types] fix false positive on default parameters
❤️ Thank You
  • Kirk Waiblinger
  • Sheetal Nandi
  • Vinccool96

You can read about our versioning strategy and releases on our website.

v7.8.0

Compare Source

🩹 Fixes
  • eslint-plugin: [no-unsafe-argument] handle tagged templates

  • eslint-plugin: [prefer-optional-chain] suggests optional chaining during strict null equality check

  • eslint-plugin: [consistent-type-assertions] handle tagged templates

  • eslint-plugin: [no-unsafe-return] handle union types

  • eslint-plugin: [no-unused-vars] clear error report range

❤️ Thank You
  • auvred
  • Josh Goldberg ✨
  • jsfm01
  • Kim Sang Du
  • YeonJuan

You can read about our versioning strategy and releases on our website.

typescript-eslint/typescript-eslint (@​typescript-eslint/parser)

v7.12.0

Compare Source

🩹 Fixes
  • types: correct typing ParserOptions
❤️ Thank You
  • Abraham Guo
  • Han Yeong-woo
  • Joshua Chen
  • Kim Sang Du
  • Kirk Waiblinger
  • YeonJuan

You can read about our versioning strategy and releases on our website.

v7.11.0

Compare Source

This was a version bump only for parser to align it with other projects, there were no code changes.

You can read about our versioning strategy and releases on our website.

v7.10.0

Compare Source

This was a version bump only for parser to align it with other projects, there were no code changes.

You can read about our versioning strategy and releases on our website.

v7.9.0

Compare Source

This was a version bump only for parser to align it with other projects, there were no code changes.

You can read about our versioning strategy and releases on our website.

v7.8.0

Compare Source

This was a version bump only for parser to align it with other projects, there were no code changes.

You can read about our versioning strategy and releases on our website.

vitejs/vite-plugin-react (@​vitejs/plugin-react)

v4.3.0

Compare Source

Fix support for React compiler

Don't set retainLines: true when the React compiler is used. This creates whitespace issues and the compiler is modifying the JSX too much to get correct line numbers after that. If you want to use the React compiler and get back correct line numbers for tools like vite-plugin-react-click-to-component to work, you should update your config to something like:

export default defineConfig(({ command }) => {
  const babelPlugins = [['babel-plugin-react-compiler', {}]]
  if (command === 'serve') {
    babelPlugins.push(['@​babel/plugin-transform-react-jsx-development', {}])
  }

  return {
    plugins: [react({ babel: { plugins: babelPlugins } })],
  }
})
Support HMR for class components

This is a long overdue and should fix some issues people had with HMR when migrating from CRA.

iamkun/dayjs (dayjs)

v1.11.11

Compare Source

Bug Fixes
eslint/eslint (eslint)

v9.4.0

Compare Source

v9.3.0

Compare Source

v9.2.0

Compare Source

cypress-io/eslint-plugin-cypress (eslint-plugin-cypress)

v3.3.0

Compare Source

Features
  • add flat configurations (0e434c7)

v3.2.0

Compare Source

Features

v3.1.1

Compare Source

Bug Fixes
  • issue with unsafe to chain command that is not an action (93824e4)
eslint-community/eslint-plugin-n (eslint-plugin-n)

v17.8.1

Compare Source

🩹 Fixes

v17.8.0

Compare Source

🌟 Features
🩹 Fixes
🧹 Chores

v17.7.0

Compare Source

🌟 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
  • node-builtins: Remove "node:" prefix from "ignores" message (#​277) (704f0b9)
📚 Documentation
  • node-builtins: Specify that only static properties are supported (#​272) (735a520)
  • Provide an example with eslint-plugin-n to Playground (#​275) (cb8ffa6)

v17.6.0

Compare Source

🌟 Features
📚 Documentation

v17.5.1

Compare Source

🩹 Fixes

v17.5.0

Compare Source

🌟 Features
🩹 Fixes
🧹 Chores

v17.4.0

Compare Source

🌟 Features
🩹 Fixes
  • unsupported-features/node-builtins-modules version comparation (#​257) (5c67787)
🧹 Chores
eslint-community/eslint-plugin-promise (eslint-plugin-promise)

v6.2.0

Compare Source

jsx-eslint/eslint-plugin-react (eslint-plugin-react)

v7.34.2

Compare Source

Fixed
Changed
i18next/i18next (i18next)

v23.11.5

Compare Source

  • perf: use Array.isArray() 2193
  • perf: trim keys once 2194

v23.11.4

Compare Source

  • perf(interpolator): use object deconstruction 2181

v23.11.3

Compare Source

  • fix: Unsupported language is automatically added to preload option 2178
bhovhannes/junit-report-merger (junit-report-merger)

v6.0.4

Compare Source

What's Changed

Bug fixes:

fix (closes https://github.com/bhovhannes/junit-report-merger/issues/318): preserve empty xml tags (bhovhannes/junit-report-merger@1951408)

Dependency upgrades:

Configuration

📅 Schedule: Branch creation - "before 07:00 on Thursday" in timezone Europe/Oslo, 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, check this box

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

@github-actions github-actions bot added the dependencies Pull request for dependency change label Jun 6, 2024
@renovate renovate bot force-pushed the renovate/npm-minor-patch branch 2 times, most recently from 17b4d6f to 037a332 Compare June 10, 2024 06:38
@renovate renovate bot force-pushed the renovate/npm-minor-patch branch from 037a332 to 0db68ee Compare June 10, 2024 06:42
@allinox allinox merged commit cd10ddc into main Jun 10, 2024
5 checks passed
@allinox allinox deleted the renovate/npm-minor-patch branch June 10, 2024 06:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull request for dependency change
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant