opengovsg / checkfirst

Don't Know? CheckFirst. A tool to build eligibility checkers and calculators for Singapore Government policies
https://checkfirst.gov.sg
Other
12 stars 6 forks source link

chore(deps): bump @emotion/styled from 11.3.0 to 11.10.4 #1326

Closed dependabot[bot] closed 2 years ago

dependabot[bot] commented 2 years ago

Bumps @emotion/styled from 11.3.0 to 11.10.4.

Release notes

Sourced from @​emotion/styled's releases.

@​emotion/styled@​11.10.4

Patch Changes

  • #2867 89b6dbb3 Thanks @​Andarist! - Externalized code referencing React.useInsertionEffect to a separate @emotion/use-insertion-effect-with-fallbacks package. This package should be used in your defined externals if you bundle Emotion for whatever reason. It references useInsertionEffect in a very specific way that allows us to use it conditionally. However, if the code consuming Emotion is bundled as a library with Emotion in it then some bundlers might change the way in which we reference useInsertionEffect and that might create problems for bundlers used to consume the said library code. By externalizing this new package you can still bundle Emotion if you want to without running into this problem as you won't "destroy" the carefully crafted reference to useInsertionEffect in the process.

    Note that we don't recommend bundling Emotion. You should have very specific reasons to do so.

  • Updated dependencies [89b6dbb3]:

    • @​emotion/use-insertion-effect-with-fallbacks@​1.0.0

@​emotion/styled@​11.10.0

Minor Changes

  • #2819 bbad8c79 Thanks @​nicksrandall! - exports field has been added to the package.json manifest. It limits what files can be imported from a package but we've tried our best to allow importing all the files that were considered to be a part of the public API.

  • #2819 bbad8c79 Thanks @​nicksrandall! - Thanks to the added exports field, the package now includes a worker condition that can be utilized by properly configured bundlers when targeting worker-like environments. It fixes the issue with browser-specific files being prioritized by some bundlers when targeting workers.

Patch Changes

@​emotion/styled@​11.9.3

Patch Changes

  • #2759 Thanks @​srmagura, @​Andarist! - Change the argument of the shouldForwardProp option of styled from PropertyKey to string in the TypeScript definitions.

  • #2333 3055efdd Thanks @​Andarist! - shouldForwardProp has been changed from being a bivariant method to a contravariant function - it improves the type-safety for those that type this option.

  • #2333 3055efdd Thanks @​antongolub! - FilteringStyledOptions and StyledOptions types no longer require a type argument for the Props generic.

  • Updated dependencies [26e4e3e8, 5e81f213, 3055efdd]:

    • @​emotion/serialize@​1.0.4
    • @​emotion/is-prop-valid@​1.1.3

@​emotion/styled@​11.8.1

Patch Changes

  • #2651 39ac5b99 Thanks @​Andarist! - Fixed a transpilation issue that caused useInsertionEffect to be referenced directly in the specifiers list of the import statement. This has caused build errors in the consuming tools since the import statement can only reference known exports of a module.

@​emotion/styled@​11.8.0

Minor Changes

  • #2600 2f27156a Thanks @​Andarist! - Refactored code to use the upcoming React.useInsertionEffect when it's available (this is a new hook that is going to be introduced in React 18). This shouldn't have any effect on existing codebases and the change should be transparent.

... (truncated)

Commits
  • 6835850 Version Packages (#2872)
  • 89b6dbb Move conditional useInsertionEffect declarations into separate package (#2867)
  • 28522cd Upgrade Yarn (#2870)
  • f2608b3 Version Packages (#2865)
  • b9b8b74 Fixed a regression that could cause a crash when looking for an ignoring comm...
  • c60d646 Version Packages (#2860)
  • df434ea Pass --no-immutable to Yarn when regenerating lockfile after versioning pac...
  • 2de94ae Regenerate lockfile after versioning packages
  • 005e211 Fixed an issue in the styles minifier that caused interpolations to be someti...
  • 0ffd606 Fixed the ignore flag not disabling the warning when there are multiple block...
  • Additional commits viewable in compare view


Dependabot compatibility score

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)