Shiro icon indicating copy to clipboard operation
Shiro copied to clipboard

fix(deps): update all non-major dependencies (minor)

Open renovate[bot] opened this issue 9 months ago • 4 comments

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@aws-sdk/client-s3 (source) 3.577.0 -> 3.582.0 age adoption passing confidence
@clerk/nextjs (source) 5.0.12 -> 5.1.0 age adoption passing confidence
@floating-ui/react-dom (source) 2.0.9 -> 2.1.0 age adoption passing confidence
@shikijs/transformers (source) 1.5.2 -> 1.6.0 age adoption passing confidence
@tanstack/query-async-storage-persister (source) 5.36.1 -> 5.37.1 age adoption passing confidence
@tanstack/react-query (source) 5.36.2 -> 5.37.1 age adoption passing confidence
@tanstack/react-query-devtools (source) 5.36.2 -> 5.37.1 age adoption passing confidence
@tanstack/react-query-persist-client (source) 5.36.2 -> 5.37.1 age adoption passing confidence
@vitejs/plugin-react (source) ^4.2.1 -> ^4.3.0 age adoption passing confidence
shiki (source) 1.5.2 -> 1.6.0 age adoption passing confidence

Release Notes

aws/aws-sdk-js-v3 (@​aws-sdk/client-s3)

v3.582.0

Compare Source

Note: Version bump only for package @​aws-sdk/client-s3

clerk/javascript (@​clerk/nextjs)

v5.1.0

Compare Source

Minor Changes
React component
  • <GoogleOneTap/>

Customize the UX of the prompt

<GoogleOneTap
  cancelOnTapOutside={false}
  itpSupport={false}
  fedCmSupport={false}
/>
Use the component from with Vanilla JS
  • Clerk.openGoogleOneTap(props: GoogleOneTapProps)
  • Clerk.closeGoogleOneTap()
Low level APIs for custom flows
  • await Clerk.authenticateWithGoogleOneTap({ token: 'xxxx'})
  • await Clerk.handleGoogleOneTapCallback()

We recommend using this two methods together in order and let Clerk to perform the correct redirections.

google.accounts.id.initialize({
  callback: async response => {
    const signInOrUp = await Clerk.authenticateWithGoogleOneTap({ token: response.credential });
    await Clerk.handleGoogleOneTapCallback(signInOrUp, {
      signInForceRedirectUrl: window.location.href,
    });
  },
});

In case you want to handle the redirection and session management yourself you can do so like this

google.accounts.id.initialize({
  callback: async response => {
    const signInOrUp = await Clerk.authenticateWithGoogleOneTap({ token: response.credential });
    if (signInOrUp.status === 'complete') {
      await Clerk.setActive({
        session: signInOrUp.createdSessionId,
      });
    }
  },
});
Patch Changes
floating-ui/floating-ui (@​floating-ui/react-dom)

v2.1.0

Compare Source

Minor Changes
  • feat: support dependency array as a second argument of all middleware. This ensures stateful options can be kept reactive when making them derived (passing a function that returns the options):
const [value, setValue] = React.useState(0);

const offset1 = offset(value); // reactive
const offset2 = offset(() => value); // NOT reactive
const offset3 = offset(() => value, [value]); // reactive

This also includes size's apply function:

size(
  {
    apply() {
      value; // reactive
    },
  },
  [value],
);
shikijs/shiki (@​shikijs/transformers)

v1.6.0

Compare Source

   🚀 Features
    View changes on GitHub
TanStack/query (@​tanstack/query-async-storage-persister)

v5.37.1

Compare Source

Version 5.37.1 - 5/18/2024, 8:42 AM

Changes

Fix
Chore

Packages

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(['@&#8203;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.


Configuration

📅 Schedule: Branch creation - "after 9pm,before 9am" in timezone Asia/Shanghai, 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.

renovate[bot] avatar May 21 '24 20:05 renovate[bot]