[Task]: Investigate WooCommerce Blocks dependencies that use lodash #45701
Labels
focus: performance
The issue/PR is related to performance.
priority: normal
The issue/PR is of normal priority—not many people are affected or there’s a workaround, etc.
team: Rubik
Store API checkout endpoints, Mini-Cart, Cart and Checkout related issues
type: task
The issue is an internally driven task (e.g. from another A8c team).
Problem to solve
When executing
pnpm why lodash --prod
in thewoocommerce/plugins/woocommerce-blocks
folder of the WC monorepo, it looks like lodash is being pulled in for usage of@wordpress/components v14.2.0
,@wordpress/compose v5.5.0
,@wordpress/notices v3.12.0
,@wordpress/server-side-render v3.10.0
and@wordpress/data v6.15.0
.Lodash was removed from removed from WordPress packages WordPress/gutenberg#17025 so we need to update the versions of the libraries listed above.
Note:
@wordpress/components
will be ignored as we are working on removing it via #45571.Goal of this ticket
@wordpress/compose
(npm)@wordpress/notices
(npm)@wordpress/server-side-render
(npm)@wordpress/data
(npm)This ticket should be handled as part of the Porter rotation
Describe alternatives you've considered
No response
Additional context
p6JqRr-c8r-p2#comment-18037
The text was updated successfully, but these errors were encountered: