chore(deps): update dependency @linaria/core to v4.5.4 #198
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.2.10
->4.5.4
Release Notes
callstack/linaria (@linaria/core)
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
]Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), 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.