Utdanningsdirektoratet / Grep-komponenter

Komponentbibliotek for Grep. Brukes i Læreplanutvikleren og Grepadmin
2 stars 0 forks source link

chore(deps-dev): bump the major-dependecies group across 1 directory with 6 updates #3024

Closed dependabot[bot] closed 3 months ago

dependabot[bot] commented 4 months ago

Bumps the major-dependecies group with 4 updates in the / directory: @rollup/plugin-commonjs, eslint, react-router and react-router-dom.

Updates @rollup/plugin-commonjs from 25.0.7 to 26.0.1

Changelog

Sourced from @​rollup/plugin-commonjs's changelog.

v26.0.1

2024-06-05

Bugfixes

  • fix: correct import of glob (04a15b5)

v26.0.0

2024-06-05

Breaking Changes

  • chore!: bump glob's version (#1695)

v25.0.8

2024-05-22

Bugfixes

  • fix: preserve the class body property keys even if they are special keywords (#1688)
Commits
  • 8550c4b chore(release): commonjs v26.0.1
  • 04a15b5 fix(commonjs): correct import of glob
  • b3149b0 chore(release): commonjs v26.0.0
  • 2447548 chore(commonjs)!: bump glob's version (#1695)
  • 8949965 chore(release): commonjs v25.0.8
  • 0bb872b fix(commonjs): preserve the class body property keys even if they are special...
  • dcd8da5 chore(repo): use @dot/versioner for releases (#1612)
  • See full diff in compare view


Updates eslint from 8.57.0 to 9.4.0

Release notes

Sourced from eslint's releases.

v9.4.0

Features

  • 89a4a0a feat: ignore IIFE's in the no-loop-func rule (#17528) (Nitin Kumar)

Bug Fixes

  • f6534d1 fix: skip processor code blocks that match only universal patterns (#18507) (Milos Djermanovic)
  • 7226ebd fix: allow implicit undefined return in no-constructor-return (#18515) (Ali Rezvani)
  • 389744b fix: use @eslint/config-inspector@latest (#18483) (唯然)
  • 70118a5 fix: func-style false positive with arrow functions and super (#18473) (Milos Djermanovic)

Documentation

  • d7ab6f5 docs: update theme when when prefers-color-scheme changes (#18510) (Nitin Kumar)
  • 525fdff docs: fix components files (#18519) (Tanuj Kanti)
  • 80747d2 docs: refactor prefer-destructuring rule (#18472) (Tanuj Kanti)
  • f06e0b5 docs: clarify func-style (#18477) (Cameron Steffen)

Chores

  • 010dd2e chore: upgrade to @eslint/js@9.4.0 (#18534) (Francesco Trotta)
  • 5e1b5dc chore: package.json update for @​eslint/js release (Jenkins)
  • 594145f refactor: switch to @eslint/config-array (#18527) (Francesco Trotta)

v9.3.0

Features

  • b32153c feat: add overrides.namedExports to func-style rule (#18444) (Percy Ma)
  • b67eba4 feat: add restrictedNamedExportsPattern to no-restricted-exports (#18431) (Akul Srivastava)
  • 069aa68 feat: add option allowEscape to no-misleading-character-class rule (#18208) (Francesco Trotta)
  • 05ef92d feat: deprecate multiline-comment-style & line-comment-position (#18435) (唯然)
  • db0b174 feat: add enforceForInnerExpressions option to no-extra-boolean-cast (#18222) (Kirk Waiblinger)

Bug Fixes

  • 8db0eff fix: Improve config error messages (#18457) (Nicholas C. Zakas)
  • 5c28d9a fix: don't remove comments between key and value in object-shorthand (#18442) (Kuba Jastrzębski)
  • 39fb0ee fix: object-shorthand loses type parameters when auto-fixing (#18438) (dalaoshu)
  • 37eba48 fix: don't crash when fs.readFile returns promise from another realm (#18416) (Milos Djermanovic)

Documentation

  • ceada8c docs: explain how to use "tsc waiting" label (#18466) (Francesco Trotta)
  • 62e686c docs: Add troubleshooting info for plugin compatibility (#18451) (Nicholas C. Zakas)
  • e17e1c0 docs: Update README (GitHub Actions Bot)
  • 2465a1e docs: Update README (GitHub Actions Bot)
  • d23574c docs: Clarify usage of no-unreachable with TypeScript (#18445) (benj-dobs)
  • 1db9bae docs: Fix typos (#18443) (Frieder Bluemle)
  • 7065196 docs: Update README (GitHub Actions Bot)
  • 04e7c6e docs: update deprecation notice of no-return-await (#18433) (Tanuj Kanti)
  • e763512 docs: Link global ignores section in config object property list (#18430) (MaoShizhong)
  • ac7f718 docs: reflect release of v9 in config migration guide (#18412) (Peter Briggs)
  • 0de0909 docs: fix grammar in configuration file resolution (#18419) (Mike McCready)

Chores

  • 58e2719 chore: update dependencies for v9.3.0 release (#18469) (Francesco Trotta)

... (truncated)

Changelog

Sourced from eslint's changelog.

v9.4.0 - May 31, 2024

  • 010dd2e chore: upgrade to @eslint/js@9.4.0 (#18534) (Francesco Trotta)
  • 5e1b5dc chore: package.json update for @​eslint/js release (Jenkins)
  • d7ab6f5 docs: update theme when when prefers-color-scheme changes (#18510) (Nitin Kumar)
  • 594145f refactor: switch to @eslint/config-array (#18527) (Francesco Trotta)
  • 525fdff docs: fix components files (#18519) (Tanuj Kanti)
  • 89a4a0a feat: ignore IIFE's in the no-loop-func rule (#17528) (Nitin Kumar)
  • 80747d2 docs: refactor prefer-destructuring rule (#18472) (Tanuj Kanti)
  • f6534d1 fix: skip processor code blocks that match only universal patterns (#18507) (Milos Djermanovic)
  • 7226ebd fix: allow implicit undefined return in no-constructor-return (#18515) (Ali Rezvani)
  • f06e0b5 docs: clarify func-style (#18477) (Cameron Steffen)
  • 389744b fix: use @eslint/config-inspector@latest (#18483) (唯然)
  • 70118a5 fix: func-style false positive with arrow functions and super (#18473) (Milos Djermanovic)

v9.3.0 - May 17, 2024

  • 58e2719 chore: update dependencies for v9.3.0 release (#18469) (Francesco Trotta)
  • b681ecb chore: package.json update for @​eslint/js release (Jenkins)
  • 8db0eff fix: Improve config error messages (#18457) (Nicholas C. Zakas)
  • ceada8c docs: explain how to use "tsc waiting" label (#18466) (Francesco Trotta)
  • b32153c feat: add overrides.namedExports to func-style rule (#18444) (Percy Ma)
  • 06f1d1c chore: update dependency @​humanwhocodes/retry to ^0.3.0 (#18463) (renovate[bot])
  • 5c28d9a fix: don't remove comments between key and value in object-shorthand (#18442) (Kuba Jastrzębski)
  • 62e686c docs: Add troubleshooting info for plugin compatibility (#18451) (Nicholas C. Zakas)
  • e17e1c0 docs: Update README (GitHub Actions Bot)
  • 39fb0ee fix: object-shorthand loses type parameters when auto-fixing (#18438) (dalaoshu)
  • b67eba4 feat: add restrictedNamedExportsPattern to no-restricted-exports (#18431) (Akul Srivastava)
  • 2465a1e docs: Update README (GitHub Actions Bot)
  • d23574c docs: Clarify usage of no-unreachable with TypeScript (#18445) (benj-dobs)
  • 1db9bae docs: Fix typos (#18443) (Frieder Bluemle)
  • 069aa68 feat: add option allowEscape to no-misleading-character-class rule (#18208) (Francesco Trotta)
  • 7065196 docs: Update README (GitHub Actions Bot)
  • 05ef92d feat: deprecate multiline-comment-style & line-comment-position (#18435) (唯然)
  • a63ed72 refactor: Use node: protocol for built-in Node.js modules (#18434) (Milos Djermanovic)
  • 04e7c6e docs: update deprecation notice of no-return-await (#18433) (Tanuj Kanti)
  • e763512 docs: Link global ignores section in config object property list (#18430) (MaoShizhong)
  • 37eba48 fix: don't crash when fs.readFile returns promise from another realm (#18416) (Milos Djermanovic)
  • 040700a chore: update dependency markdownlint-cli to ^0.40.0 (#18425) (renovate[bot])
  • f47847c chore: update actions/stale action to v9 (#18426) (renovate[bot])
  • c18ad25 chore: update actions/upload-artifact action to v4 (#18427) (renovate[bot])
  • 27e3060 chore: Disable documentation label (#18423) (Nicholas C. Zakas)
  • ac7f718 docs: reflect release of v9 in config migration guide (#18412) (Peter Briggs)
  • db0b174 feat: add enforceForInnerExpressions option to no-extra-boolean-cast (#18222) (Kirk Waiblinger)
  • 0de0909 docs: fix grammar in configuration file resolution (#18419) (Mike McCready)

v9.2.0 - May 3, 2024

  • b346605 chore: upgrade @​eslint/js@​9.2.0 (#18413) (Milos Djermanovic)
  • c4c18e0 chore: package.json update for @​eslint/js release (Jenkins)

... (truncated)

Commits


Updates eslint-plugin-react from 7.33.2 to 7.34.2

Release notes

Sourced from eslint-plugin-react's releases.

v7.34.2

Fixed

Changed

#3759: jsx-eslint/eslint-plugin-react#3759 #3746: jsx-eslint/eslint-plugin-react#3746 #3718: jsx-eslint/eslint-plugin-react#3718

v7.34.1

Fixed

Changed

#1000: jsx-eslint/eslint-plugin-react#1000 #1002: jsx-eslint/eslint-plugin-react#1002 #1005: jsx-eslint/eslint-plugin-react#1005 #100: jsx-eslint/eslint-plugin-react#100 #1010: jsx-eslint/eslint-plugin-react#1010 #1013: jsx-eslint/eslint-plugin-react#1013 #1022: jsx-eslint/eslint-plugin-react#1022 #1029: jsx-eslint/eslint-plugin-react#1029 #102: jsx-eslint/eslint-plugin-react#102 #1034: jsx-eslint/eslint-plugin-react#1034 #1038: jsx-eslint/eslint-plugin-react#1038 #1041: jsx-eslint/eslint-plugin-react#1041 #1043: jsx-eslint/eslint-plugin-react#1043 #1046: jsx-eslint/eslint-plugin-react#1046 #1047: jsx-eslint/eslint-plugin-react#1047 #1050: jsx-eslint/eslint-plugin-react#1050 #1053: jsx-eslint/eslint-plugin-react#1053

... (truncated)

Changelog

Sourced from eslint-plugin-react's changelog.

7.34.2 - 2024.05.24

Fixed

Changed

#3759: jsx-eslint/eslint-plugin-react#3759 #3746: jsx-eslint/eslint-plugin-react#3746 #3718: jsx-eslint/eslint-plugin-react#3718

7.34.1 - 2024.03.15

Fixed

Changed

  • [boolean-prop-naming]: improve error message (@​ljharb)

#3715: jsx-eslint/eslint-plugin-react#3715 #3713: jsx-eslint/eslint-plugin-react#3713 #3707: jsx-eslint/eslint-plugin-react#3707 #3705: jsx-eslint/eslint-plugin-react#3705 #3704: jsx-eslint/eslint-plugin-react#3704 #3701: jsx-eslint/eslint-plugin-react#3701 #3700: jsx-eslint/eslint-plugin-react#3700

[7.34.0] - 2024.03.03

Added

  • [sort-prop-types]: give errors on TS types (#3615[] @​akulsr0)
  • [no-invalid-html-attribute]: add support for apple-touch-startup-image rel attributes in link tags (#3638[] @​thomashockaday)
  • [no-unknown-property]: add requireDataLowercase option (#3645[] @​HermanBilous)
  • [no-unknown-property]: add displaystyle on <math> (#3652[] @​lounsbrough)
  • [prefer-read-only-props], [prop-types], component detection: allow components to be async functions (#3654[] @​pnodet)
  • [no-unknown-property]: support onResize on audio/video tags (#3662[] @​caesar1030)
  • [jsx-wrap-multilines]: add never option to prohibit wrapping parens on multiline JSX (#3668[] @​reedws)
  • [jsx-filename-extension]: add ignoreFilesWithoutCode option to allow empty files (#3674[] @​burtek)

... (truncated)

Commits
  • 417e1ca Update CHANGELOG and bump version
  • d79605a [Deps] update array-includes, array.prototype.findlast, `es-iterator-help...
  • ec86001 [Dev Deps] update @babel/core, @babel/eslint-parser, `@babel/plugin-synta...
  • 014ee05 [Fix] no-invalid-html-attribute: ensure error messages are correct
  • 23b0a49 [Fix] jsx-closing-bracket-location: message shows {{details}} when there ...
  • fbb1e0f [Tests] jsx-no-useless-fragment, jsx-fragments, `function-component-defin...
  • 3533e26 [Refactor] jsx-no-constructed-context-values: set schema: false
  • 6c4b6fb [meta] consistently indent .eslintrc with tabs
  • 8e1a94b [Refactor] create getScope util; context.getScope is deprecated
  • d6e9059 [Refactor] context.getSource -> sourceCode.getText
  • Additional commits viewable in compare view


Updates eslint-plugin-react-hooks from 4.6.0 to 4.6.2

Changelog

Sourced from eslint-plugin-react-hooks's changelog.

5.0.0 (next release)

  • New Violations: Component names now need to start with an uppercase letter instead of a non-lowercase letter. This means _Button or _component are no longer valid. (@​kassens) in #25162
Commits
Maintainer changes

This version was pushed to npm by react-bot, a new releaser for eslint-plugin-react-hooks since your current version.


Updates react-router from 5.3.4 to 6.23.1

Release notes

Sourced from react-router's releases.

v6.23.1

See the changelog for release notes: https://github.com/remix-run/react-router/blob/main/CHANGELOG.md#v6231

v6.23.0

See the changelog for release notes: https://github.com/remix-run/react-router/blob/main/CHANGELOG.md#v6230

v6.22.3

See the changelog for release notes: https://github.com/remix-run/react-router/blob/main/CHANGELOG.md#v6223

v6.22.2

See the changelog for release notes: https://github.com/remix-run/react-router/blob/main/CHANGELOG.md#v6222

v6.22.1

See the changelog for release notes: https://github.com/remix-run/react-router/blob/main/CHANGELOG.md#v6221

v6.22.0

See the changelog for release notes: https://github.com/remix-run/react-router/blob/main/CHANGELOG.md#v6220

v6.21.3

See the changelog for release notes: https://github.com/remix-run/react-router/blob/main/CHANGELOG.md#v6213

v6.21.2

See the changelog for release notes: https://github.com/remix-run/react-router/blob/main/CHANGELOG.md#v6212

v6.21.1

See the changelog for release notes: https://github.com/remix-run/react-router/blob/main/CHANGELOG.md#v6211

v6.21.0

See the changelog for release notes: https://github.com/remix-run/react-router/blob/main/CHANGELOG.md#v6210

v6.20.1

See the changelog for release notes: https://github.com/remix-run/react-router/blob/main/CHANGELOG.md#v6201

v6.20.0

See the changelog for release notes: https://github.com/remix-run/react-router/blob/main/CHANGELOG.md#v6200

v6.19.0

See the changelog for release notes: https://github.com/remix-run/react-router/blob/main/CHANGELOG.md#v6190

v6.18.0

Minor Changes

New Fetcher APIs

Per this RFC, we've introduced some new APIs that give you more granular control over your fetcher behaviors. (#10960)

  • You may now specify your own fetcher identifier via useFetcher({ key: string }), which allows you to access the same fetcher instance from different components in your application without prop-drilling
  • Fetcher keys are now exposed on the fetchers returned from useFetchers so that they can be looked up by key
  • Form and useSumbit now support optional navigate/fetcherKey props/params to allow kicking off a fetcher submission under the hood with an optionally user-specified key
    • <Form method="post" navigate={false} fetcherKey="my-key">

... (truncated)

Changelog

Sourced from react-router's changelog.

6.23.1

Patch Changes

  • allow undefined to be resolved with <Await> (#11513)
  • Updated dependencies:
    • @remix-run/router@1.16.1

6.23.0

Minor Changes

  • Add a new unstable_dataStrategy configuration option (#11098)
    • This option allows Data Router applications to take control over the approach for executing route loaders and actions
    • The default implementation is today's behavior, to fetch all loaders in parallel, but this option allows users to implement more advanced data flows including Remix single-fetch, middleware/context APIs, automatic loader caching, and more

Patch Changes

  • Updated dependencies:
    • @remix-run/router@1.16.0

6.22.3

Patch Changes

  • Updated dependencies:
    • @remix-run/router@1.15.3

6.22.2

Patch Changes

  • Updated dependencies:
    • @remix-run/router@1.15.2

6.22.1

Patch Changes

  • Fix encoding/decoding issues with pre-encoded dynamic parameter values (#11199)
  • Updated dependencies:
    • @remix-run/router@1.15.1

6.22.0

Patch Changes

  • Updated dependencies:
    • @remix-run/router@1.15.0

... (truncated)

Commits


Updates react-router-dom from 5.3.4 to 6.23.1

Release notes

Sourced from react-router-dom's releases.

v6.4.4

What's Changed

  • Throw an error if an action/loader function returns undefined as revalidations need to know whether the loader has previously been executed. undefined also causes issues during SSR stringification for hydration. You should always ensure your loader/action returns a value, and you may return null if you don't wish to return anything. (#9511)
  • Properly handle redirects to external domains (#9590, #9654)
  • Preserve the HTTP method on 307/308 redirects (#9597)
  • Support basename in static data routers (#9591)
  • Enhanced ErrorResponse bodies to contain more descriptive text in internal 403/404/405 scenarios
  • Fix issues with encoded characters in NavLink and descendant <Routes> (#9589, #9647)
  • Properly serialize/deserialize ErrorResponse instances when using built-in hydration (#9593)
  • Support basename in static data routers (#9591)
  • Updated dependencies:
    • @remix-run/router@1.0.4
    • react-router@6.4.4

Full Changelog: https://github.com/remix-run/react-router/compare/react-router-dom@6.4.3...react-router-dom@6.4.4

react-router-dom@6.4.0-pre.15

Patch Changes

  • fix: remove internal router singleton (#9227)

    This change removes the internal module-level routerSingleton we create and maintain inside our data routers since it was causing a number of headaches for non-simple use cases:

    • Unit tests are a pain because you need to find a way to reset the singleton in-between tests
      • Use use a _resetModuleScope singleton for our tests
      • ...but this isn't exposed to users who may want to do their own tests around our router
    • The JSX children <Route> objects cause non-intuitive behavior based on idiomatic react expectations
      • Conditional runtime <Route>'s won't get picked up
      • Adding new <Route>'s during local dev won't get picked up during HMR
      • Using external state in your elements doesn't work as one might expect (see #9225)

    Instead, we are going to lift the singleton out into user-land, so that they create the router singleton and manage it outside the react tree - which is what react 18 is encouraging with useSyncExternalStore anyways! This also means that since users create the router - there's no longer any difference in the rendering aspect for memory/browser/hash routers (which only impacts router/history creation) - so we can get rid of those and trim to a simple RouterProvider

    // Before
    function App() {
      <DataBrowserRouter>
        <Route path="/" element={<Layout />}>
          <Route index element={<Home />}>
        </Route>
      <DataBrowserRouter>
    }
    

    // After let router = createBrowserRouter([{ path: "/", element: <Layout />, children: [{ index: true,

... (truncated)

Changelog

Sourced from react-router-dom's changelog.

6.23.1

Patch Changes

  • Check for document existence when checking startViewTransition (#11544)
  • Change the react-router-dom/server import back to react-router-dom instead of index.ts (#11514)
  • Updated dependencies:
    • @remix-run/router@1.16.1
    • react-router@6.23.1

6.23.0

Minor Changes

  • Add a new unstable_dataStrategy configuration option (#11098)
    • This option allows Data Router applications to take control over the approach for executing route loaders and actions
    • The default implementation is today's behavior, to fetch all loaders in parallel, but this option allows users to implement more advanced data flows including Remix single-fetch, middleware/context APIs, automatic loader caching, and more

Patch Changes

  • Updated dependencies:
    • @remix-run/router@1.16.0
    • react-router@6.23.0

6.22.3

Patch Changes

  • Updated dependencies:
    • @remix-run/router@1.15.3
    • react-router@6.22.3

6.22.2

Patch Changes

  • Updated dependencies:
    • @remix-run/router@1.15.2
    • react-router@6.22.2

6.22.1

Patch Changes

  • Updated dependencies:
    • react-router@6.22.1
    • @remix-run/router@1.15.1

6.22.0

... (truncated)

Commits
dependabot[bot] commented 3 months ago

Superseded by #3025.