Update dependency @linaria/react to ^4.5.4 #92
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^4.3.2
->^4.5.4
Release Notes
callstack/linaria (@linaria/react)
v4.5.4
Compare Source
Patch Changes
10bcd24
: Fix for "The expression evaluated to 'undefined'" in Webpack (fixes #1300 and #1287)10bcd24
]v4.5.3
Compare Source
Patch Changes
10bcd24
]v4.5.2
Compare Source
Patch Changes
e59bf80
: Shaker mistakenly counts references in types as valuable and keeps referenced variables alive.ae3727f
: Fix the issues with processing files that are supposed to be parsed with their respective Babel config.7955724
]b191f54
]e59bf80
]520ba8d
]ae3727f
]dca076e
]v4.5.1
Compare Source
Patch Changes
v4.5.0
Compare Source
Minor Changes
16c057d
: Breaking Change: Performance Optimization forstyled
When a component is wrapped in
styled
, Linaria needs to determine if that component is already a styled component. To accomplish this, the wrapped component is included in the list of variables for evaluation, along with the interpolated values used in styles. The issue arises when a wrapped component, even if it is not styled, brings along a substantial dependency tree. This situation is particularly evident when usingstyled
to style components from third-party UI libraries.To address this problem, Linaria will now examine the import location of the component and check if there is an annotation in the
package.json
file of the package containing the components. This annotation indicates whether the package includes other Linaria components. If there is no such annotation, Linaria will refrain from evaluating the component.Please note that this Breaking Change solely affects developers of component libraries. In order for users to style components from your library, you must include the
linaria.components
property in the library'spackage.json
file. This property should have a mask that covers all imported files with components. Here's an example of how to specify it:Patch Changes
af5bb92
: The end of support for Node.js 14. Migration to pnpm 8.16c057d
]af5bb92
]v4.3.8
Compare Source
Patch Changes
54ab61b
: Enhance @linaria/shaker strategy: better search in namespace imports, add support for side effect imports, fix file skipping.54ab61b
]v4.3.7
Compare Source
Patch Changes
1c3f309
: Fix tags usage validation (fixes #1224)3402908
: Usages ofstyled
andcss
in Jest no longer trigger the "Using the … tag in runtime is not supported" exception.2e966f2
]1c3f309
]dbe250b
]3402908
]v4.3.6
Compare Source
Patch Changes
a3ad617
: Fix "Invalid usage ofstyled
tag" when it's not really invalid. Fixes #1214.a3ad617
]v4.3.5
Compare Source
Patch Changes
f9df4ed
]v4.3.4
Compare Source
Patch Changes
28f3f93
]71a5b35
]61d49a3
]v4.3.3
Compare Source
Patch Changes
3ce985e
]d11174d
]Configuration
📅 Schedule: Branch creation - "after 6am" in timezone Asia/Tokyo, 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.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.