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

fix(deps): update all non-major dependencies #1780

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Oct 15, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@apollo/server (source) ^4.11.0 -> ^4.11.2 age adoption passing confidence
@babel/cli (source) ^7.25.7 -> ^7.25.9 age adoption passing confidence
@babel/code-frame (source) ^8.0.0-alpha.12 -> ^8.0.0-alpha.13 age adoption passing confidence
@babel/core (source) ^7.25.8 -> ^7.26.0 age adoption passing confidence
@babel/eslint-parser (source) ^7.25.8 -> ^7.25.9 age adoption passing confidence
@babel/plugin-transform-runtime (source) ^7.25.7 -> ^7.25.9 age adoption passing confidence
@babel/preset-env (source) ^7.25.8 -> ^7.26.0 age adoption passing confidence
@babel/preset-react (source) ^7.25.7 -> ^7.25.9 age adoption passing confidence
@babel/preset-typescript (source) ^7.25.7 -> ^7.26.0 age adoption passing confidence
@babel/register (source) ^7.25.7 -> ^7.25.9 age adoption passing confidence
@babel/runtime (source) ^7.25.7 -> ^7.26.0 age adoption passing confidence
@chakra-ui/react (source) ^2.10.2 -> ^2.10.4 age adoption passing confidence
@eslint/compat ^1.2.0 -> ^1.2.3 age adoption passing confidence
@reduxjs/toolkit (source) ^2.2.8 -> ^2.3.0 age adoption passing confidence
@rjsf/core ^5.21.2 -> ^5.22.4 age adoption passing confidence
@rjsf/utils ^5.21.2 -> ^5.22.4 age adoption passing confidence
@rjsf/validator-ajv8 ^5.21.2 -> ^5.22.4 age adoption passing confidence
@storybook/addon-essentials (source) ^8.3.5 -> ^8.4.4 age adoption passing confidence
@storybook/addon-interactions (source) ^8.3.5 -> ^8.4.4 age adoption passing confidence
@storybook/addon-links (source) ^8.3.5 -> ^8.4.4 age adoption passing confidence
@storybook/addon-onboarding (source) ^8.3.5 -> ^8.4.4 age adoption passing confidence
@storybook/blocks (source) ^8.3.5 -> ^8.4.4 age adoption passing confidence
@storybook/react (source) ^8.3.5 -> ^8.4.4 age adoption passing confidence
@storybook/react-webpack5 (source) ^8.3.5 -> ^8.4.4 age adoption passing confidence
@storybook/test (source) ^8.3.5 -> ^8.4.4 age adoption passing confidence
@testing-library/jest-dom ^6.5.0 -> ^6.6.3 age adoption passing confidence
@types/chrome (source) ^0.0.278 -> ^0.0.283 age adoption passing confidence
@types/jest (source) ^29.5.13 -> ^29.5.14 age adoption passing confidence
@types/lodash (source) ^4.17.10 -> ^4.17.13 age adoption passing confidence
@types/node (source) ^20.16.11 -> ^20.17.6 age adoption passing confidence
@types/react (source) ^18.3.11 -> ^18.3.12 age adoption passing confidence
@typescript-eslint/eslint-plugin (source) ^8.9.0 -> ^8.14.0 age adoption passing confidence
@typescript-eslint/parser (source) ^8.9.0 -> ^8.14.0 age adoption passing confidence
electron ^31.7.0 -> ^31.7.5 age adoption passing confidence
eslint-plugin-jest ^28.8.3 -> ^28.9.0 age adoption passing confidence
eslint-plugin-react ^7.37.1 -> ^7.37.2 age adoption passing confidence
framer-motion ^11.11.8 -> ^11.11.17 age adoption passing confidence
globals ^15.11.0 -> ^15.12.0 age adoption passing confidence
html-webpack-plugin ^5.6.0 -> ^5.6.3 age adoption passing confidence
nanoid ^5.0.7 -> ^5.0.8 age adoption passing confidence
pnpm (source) 9.12.1 -> 9.13.2 age adoption passing confidence
react-router-dom (source) ^6.27.0 -> ^6.28.0 age adoption passing confidence
react-select (source) ^5.8.1 -> ^5.8.3 age adoption passing confidence
selenium-webdriver (source) ^4.25.0 -> ^4.26.0 age adoption passing confidence
socketcluster-client (source) ^19.2.2 -> ^19.2.3 age adoption passing confidence
socketcluster-server ^19.1.0 -> ^19.1.1 age adoption passing confidence
storybook (source) ^8.3.5 -> ^8.4.4 age adoption passing confidence
typescript-eslint (source) ^8.9.0 -> ^8.14.0 age adoption passing confidence
webpack ^5.95.0 -> ^5.96.1 age adoption passing confidence

Release Notes

apollographql/apollo-server (@​apollo/server)

v4.11.2

Compare Source

(No change; there is a change to the @apollo/server-integration-testsuite used to test integrations, and the two packages always have matching versions.)

v4.11.1

Compare Source

Patch Changes
  • #​7952 bb81b2c Thanks @​glasser! - Upgrade dependencies so that automated scans don't detect a vulnerability.

    @apollo/server depends on express which depends on cookie. Versions of express older than v4.21.1 depend on a version of cookie vulnerable to CVE-2024-47764. Users of older express versions who call res.cookie() or res.clearCookie() may be vulnerable to this issue.

    However, Apollo Server does not call this function directly, and it does not expose any object to user code that allows TypeScript users to call this function without an unsafe cast.

    The only way that this direct dependency can cause a vulnerability for users of Apollo Server is if you call startStandaloneServer with a context function that calls Express-specific methods such as res.cookie() or res.clearCookies() on the response object, which is a violation of the TypeScript types provided by startStandaloneServer (which only promise that the response object is a core Node.js http.ServerResponse rather than the Express-specific subclass). So this vulnerability can only affect Apollo Server users who use unsafe JavaScript or unsafe as typecasts in TypeScript.

    However, this upgrade will at least prevent vulnerability scanners from alerting you to this dependency, and we encourage all Express users to upgrade their project's own express dependency to v4.21.1 or newer.

babel/babel (@​babel/cli)

v7.25.9

Compare Source

🐛 Bug Fix
🏠 Internal
🏃‍♀️ Performance
babel/babel (@​babel/code-frame)

v8.0.0-alpha.13

Compare Source

v8.0.0-alpha.13 (2024-10-25)

In addition to the changelog below, this release includes changes from v7.25.1 to v7.26.0

💥 Breaking Change
  • babel-generator, babel-parser, babel-plugin-transform-typescript, babel-traverse, babel-types
  • babel-generator, babel-parser, babel-plugin-proposal-pipeline-operator, babel-plugin-syntax-pipeline-operator, babel-standalone
  • babel-parser
  • babel-plugin-transform-class-static-block, babel-plugin-transform-destructuring, babel-plugin-transform-spread, babel-traverse
  • babel-generator, babel-parser, babel-plugin-proposal-import-wasm-source, babel-template, babel-types
  • babel-generator, babel-parser, babel-standalone
  • babel-generator, babel-traverse, babel-types
  • babel-generator, babel-parser, babel-plugin-proposal-destructuring-private, babel-plugin-syntax-decimal, babel-standalone
  • babel-generator, babel-parser, babel-types
  • babel-plugin-proposal-async-do-expressions, babel-traverse
🚀 New Feature
  • babel-parser, babel-plugin-syntax-flow, babel-preset-typescript
🐛 Bug Fix
💅 Polish
🏠 Internal
  • babel-generator, babel-helper-create-class-features-plugin, babel-helper-module-transforms, babel-plugin-proposal-destructuring-private, babel-plugin-transform-destructuring, babel-plugin-transform-modules-commonjs, babel-plugin-transform-object-rest-spread, babel-plugin-transform-parameters, babel-traverse, babel-types
  • Every package
  • babel-generator, babel-parser, babel-plugin-bugfix-v8-spread-parameters-in-optional-chaining, babel-plugin-syntax-typescript, babel-plugin-transform-class-properties, babel-plugin-transform-modules-commonjs, babel-plugin-transform-private-methods, babel-plugin-transform-unicode-sets-regex, babel-traverse
Committers: 13
babel/babel (@​babel/core)

v7.26.0

Compare Source

v7.25.9

Compare Source

🐛 Bug Fix
🏠 Internal
🏃‍♀️ Performance
eslint/rewrite (@​eslint/compat)

v1.2.3

Compare Source

v1.2.2

Compare Source

v1.2.1

Compare Source

reduxjs/redux-toolkit (@​reduxjs/toolkit)

v2.3.0

Compare Source

This feature release adds a new RTK Query upsertQueryEntries util to batch-upsert cache entries more efficiently, passes through additional values for use in prepareHeaders, and exports additional TS types around query options and selectors.

Changelog

upsertQueryEntries

RTK Query already had an upsertQueryData thunk that would upsert a single cache entry. However, some users wanted to upsert many cache entries (potentially hundreds or thousands), and found that upsertQueryData had poor performance in those cases. This is because upsertQueryData runs the full async request handling sequence, including dispatching both pending and fulfilled actions, each of which run the main reducer and update store subscribers. That means there's 2N store / UI updates per item, so upserting hundreds of items becomes extremely perf-intensive.

RTK Query now includes an api.util.upsertQueryEntries action that is meant to handle the batched upsert use case more efficiently. It's a single synchronous action that accepts an array of many {endpointName, arg, value} entries to upsert. This results in a single store update, making this vastly better for performance vs many individual upsertQueryData calls.

We see this as having two main use cases. The first is prefilling the cache with data retrieved from storage on app startup (and it's worth noting that upsertQueryEntries can accept entries for many different endpoints as part of the same array).

The second is to act as a "pseudo-normalization" tool. RTK Query is not a "normalized" cache. However, there are times when you may want to prefill other cache entries with the contents of another endpoint, such as taking the results of a getPosts list endpoint response and prefilling the individual getPost(id) endpoint cache entries, so that components that reference an individual item endpoint already have that data available.

Currently, you can implement the "pseudo-normalization" approach by dispatching upsertQueryEntries in an endpoint lifecycle, like this:

const api = createApi({
  endpoints: (build) => ({
    getPosts: build.query<Post[], void>({
      query: () => '/posts',
      async onQueryStarted(_, { dispatch, queryFulfilled }) {
        const res = await queryFulfilled
        const posts = res.data

        // Pre-fill the individual post entries with the results
        // from the list endpoint query
        dispatch(
          api.util.upsertQueryEntries(
            posts.map((post) => ({
              endpointName: 'getPost',
              arg: { id: post.id },
              value: post,
            })),
          ),
        )
      },
    }),
    getPost: build.query<Post, Pick<Post, 'id'>>({
      query: (post) => `post/${post.id}`,
    }),
  }),
})

Down the road we may add a new option to query e

Copy link

changeset-bot bot commented Oct 15, 2024

⚠️ No Changeset found

Latest commit: b149c25

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@renovate renovate bot changed the title chore(deps): update dependency @reduxjs/toolkit to ^2.3.0 chore(deps): update all non-major dependencies Oct 15, 2024
@renovate renovate bot changed the title chore(deps): update all non-major dependencies fix(deps): update all non-major dependencies Oct 16, 2024
@renovate renovate bot force-pushed the renovate/all-minor-patch branch 11 times, most recently from 72501ea to 4d63525 Compare October 22, 2024 16:21
@renovate renovate bot changed the title fix(deps): update all non-major dependencies chore(deps): update all non-major dependencies Oct 22, 2024
@renovate renovate bot force-pushed the renovate/all-minor-patch branch 13 times, most recently from 92974c3 to 5e4ca18 Compare October 29, 2024 01:31
@renovate renovate bot changed the title chore(deps): update all non-major dependencies fix(deps): update all non-major dependencies Oct 29, 2024
@renovate renovate bot force-pushed the renovate/all-minor-patch branch 16 times, most recently from 69f099f to 3ca6a38 Compare November 5, 2024 21:54
@renovate renovate bot force-pushed the renovate/all-minor-patch branch 8 times, most recently from 9c3b8c0 to 3c6b911 Compare November 13, 2024 16:32
@renovate renovate bot force-pushed the renovate/all-minor-patch branch 3 times, most recently from c94142c to db612a8 Compare November 15, 2024 04:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants