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

Bump loader-utils and styled-jsx in /build-system/tasks/storybook #94

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

Conversation

dependabot[bot]
Copy link

@dependabot dependabot bot commented on behalf of github Nov 21, 2022

Bumps loader-utils to 1.4.2 and updates ancestor dependency styled-jsx. These dependencies need to be updated together.

Updates loader-utils from 1.4.0 to 1.4.2

Release notes

Sourced from loader-utils's releases.

v1.4.2

1.4.2 (2022-11-11)

Bug Fixes

v1.4.1

1.4.1 (2022-11-07)

Bug Fixes

Changelog

Sourced from loader-utils's changelog.

1.4.2 (2022-11-11)

Bug Fixes

1.4.1 (2022-11-07)

Bug Fixes

Commits

Updates styled-jsx from 4.0.1 to 5.1.0

Release notes

Sourced from styled-jsx's releases.

v5.1.0

5.1.0 (2022-10-17)

Features

v5.0.7

5.0.7 (2022-09-09)

Bug Fixes

v5.0.6

5.0.6 (2022-09-05)

Bug Fixes

v5.0.5

5.0.5 (2022-09-02)

Improvements

Misc

  • Replace bundler #802

v5.0.4

5.0.4 (2022-08-11)

Bug Fixes

v5.0.3

5.0.3 (2022-08-09)

... (truncated)

Changelog

Sourced from styled-jsx's changelog.

Changelog

[5.0.0]

Features

  • Introduce contextual styles (#744)
  • Opt-in react 18 insertion effect hook when available (#753)
  • Fallback to module level registry in browser (#768)

Improvements

  • Make JSXStyle return a noop if the registry context is not provided (#749)
  • Fix typings of nonce property
  • Pre-compile dependencies to reduce install size/time (#770)

BREAKING CHANGES

APIs

  • styled-jsx/server import path is deprecated
  • flush and flushToHTML from styled-jsx/server APIs are deprecated
  • New component <StyledRegistry> is introduced
  • New APIs useStyleRegistry and createStyleRegistry are introduced

Usage

If you're only using styled-jsx purely client side, nothing will effect you. If you're using styled-jsx inside Next.js without customization, Next.js will automatically handle the changes for you.

If you have your own customization with styled-jsx in Next.js, for example you have a custom _document: By default, doing this will let Next.js collect styles and pass them down.

class Document extends React.Component {
  static async getInitialProps(ctx) {
    return await ctx.defaultGetInitialProps(ctx)
  }
}

Or for instance you're passing nonce property in getInitialProps of _document, this will let you configure it:

class Document extends React.Component {
  static async getInitialProps(ctx) {
-    return await ctx.defaultGetInitialProps(ctx)
+    return await ctx.defaultGetInitialProps(ctx, { nonce })
  }
}
</tr></table> 

... (truncated)

Commits
Maintainer changes

This version was pushed to npm by vercel-release-bot, a new releaser for styled-jsx since your current version.


Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language

You can disable automated security fix PRs for this repo from the Security Alerts page.

Bumps [loader-utils](https://github.com/webpack/loader-utils) to 1.4.2 and updates ancestor dependency [styled-jsx](https://github.com/vercel/styled-jsx). These dependencies need to be updated together.


Updates `loader-utils` from 1.4.0 to 1.4.2
- [Release notes](https://github.com/webpack/loader-utils/releases)
- [Changelog](https://github.com/webpack/loader-utils/blob/v1.4.2/CHANGELOG.md)
- [Commits](webpack/loader-utils@v1.4.0...v1.4.2)

Updates `styled-jsx` from 4.0.1 to 5.1.0
- [Release notes](https://github.com/vercel/styled-jsx/releases)
- [Changelog](https://github.com/vercel/styled-jsx/blob/main/Changelog.md)
- [Commits](vercel/styled-jsx@v4.0.1...v5.1.0)

---
updated-dependencies:
- dependency-name: loader-utils
  dependency-type: indirect
- dependency-name: styled-jsx
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Nov 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants