kuldeepkeshwar / filbert-js

A lightweight(~1kb) css-in-js framework
https://filbert-js.vercel.app/docs/introduction
MIT License
176 stars 9 forks source link

Bump @emotion/cache from 10.0.29 to 11.5.0 #236

Closed dependabot[bot] closed 2 years ago

dependabot[bot] commented 3 years ago

Bumps @emotion/cache from 10.0.29 to 11.5.0.

Release notes

Sourced from @​emotion/cache's releases.

@​emotion/cache@​11.5.0

Patch Changes

  • #2498 e5beae8e Thanks @​Andarist! - Fixed an edge case issue with incorrect rules being generated. When a context selector (&) was used not at the beginning of a selector (which is not valid SCSS but is allowed by the Stylis parser that we are using) within a group of selectors containing a pseudoclass then it was not replaced correctly with the current context selector.

  • #2493 9ae4a91a Thanks @​Andarist! - Improved the declared types related to Stylis. This should improve the compatibility with the types published in @types/stylis.

  • Updated dependencies [f2eda829]:

    • @​emotion/sheet@​1.0.3

@​emotion/cache@​11.4.0

Patch Changes

@​emotion/cache@​11.1.3

Patch Changes

  • 704b0092 #2180 Thanks @​Andarist! - Fixed an issue with global styles containing pseudo selectors in at-rules not being able to be inserted.

@​emotion/cache@​11.0.0

Major Changes

  • 105de5c8 #1572 Thanks @​Andarist! - From now on key option is required. Please make sure it's unique (and not equal to "css") as it's used for linking styles to your cache. If multiple caches share the same key they might "fight" for each other's style elements.

  • 9e998e37 #1817 Thanks @​Andarist! - The parser we use (Stylis) got upgraded. It fixes some long-standing parsing edge cases while being smaller and faster 🚀

    It has been completely rewritten and comes with some breaking changes. The most notable ones that might affect Emotion users are:

    • plugins written for the former Stylis v3 are not compatible with the new version. To learn more on how to write a plugin for Stylis v4 you can check out its README and the source code of core plugins.
    • vendor-prefixing was previously customizable using prefix option. This was always limited to turning off all of some of the prefixes as all available prefixes were on by default. The prefix option is gone and to customize which prefixes are applied you need to fork (copy-paste) the prefixer plugin and adjust it to your needs. While this being somewhat more problematic to setup at first we believe that the vast majority of users were not customizing this anyway. By not including the possibility to customize this through an extra option the final solution is more performant because there is no extra overhead of checking if a particular property should be prefixed or not.
    • the prefixer is now just a plugin which happens to be included in the default stylisPlugins. If you plan to use custom stylisPlugins and you want to have your styles prefixed automatically you must include prefixer in your custom stylisPlugins. You can import prefixer from the stylis module to do that.
    • @import rules are no longer special-cased. The responsibility to put them first has been moved to the author of the styles. They also can't be nested within other rules now. It's only possible to write them at the top level of global styles.

Minor Changes

  • 4a891bf6 #1473 Thanks @​jcharry! - The new prepend option can make Emotion add style tags at the beginning of the specified DOM container instead of the end.

Patch Changes

  • a8eb4e75 #1998 Thanks @​Andarist! - Styles are now correctly extracted from the correct cache (key-sensitive) on the server.

  • 105de5c8 #1572 Thanks @​Andarist! - Fixed issue with SSRed styles causing a React rehydration mismatch between server & client when cache was created in render.

  • 39be057b #1997 Thanks @​Andarist! - From now on an empty rule will get inserted into the DOM in non-production environments if it gets created by the user. This helps to grab used keys from the (JS)DOM even for caches that have not inserted any actual rules to the document yet. It allows @emotion/jest to find those and serialize Emotion classes properly in situations like this:

... (truncated)

Commits
  • 4be3391 Version Packages (#2495)
  • f2eda82 Prevent flush from raising error on detached tag (#2447)
  • d7d768e Implement automatic adding of jsxImportSource pragma definition (#2353)
  • 685bbec Improve readability of the extractCriticalToChunks example in the docs (#2460)
  • 218e4f7 Add RegExp as a valid type for the target option accepted by `toHaveStyle...
  • eda5e68 Fix error in alternative JS environments (#2500)
  • 84522de fix: update docs references (#2497)
  • 500cdd8 Support typings for Jest v27 (#2456)
  • e5beae8 Fixed an issue with context selector not at the beginning (#2498)
  • 63a0a6c Fix URLs in the docs/extract-static.mdx (#2496)
  • 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)
changeset-bot[bot] commented 3 years ago

⚠️ No Changeset found

Latest commit: 96ab154b7435d92582e30b8552fc4772e0fe0445

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

vercel[bot] commented 3 years ago

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/kuldeepkeshwar/filbert-js/5ew7SvpNcmk517UwRDJPwJaSjLi9
✅ Preview: https://filbert-js-git-dependabot-npmandyarnemoti-022dfa-kuldeepkeshwar.vercel.app

codesandbox-ci[bot] commented 3 years ago

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit 96ab154b7435d92582e30b8552fc4772e0fe0445:

Sandbox Source
kuldeepkeshwar/filbert-js-examples-with-cra Configuration
kuldeepkeshwar/filbert-js-examples-with-preact Configuration
kuldeepkeshwar/filbert-js-examples-with-nextjs Configuration
kuldeepkeshwar/filbert-js-examples-with-gatsby Configuration
dependabot[bot] commented 2 years ago

Superseded by #239.