-
Notifications
You must be signed in to change notification settings - Fork 4.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update lodash #24401
Update lodash #24401
Conversation
Size Change: +1.28 kB (0%) Total Size: 1.16 MB
ℹ️ View Unchanged
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👍
the e2e test failure here is consistent but I'm not able to find why it's failing. |
I'm poking at the E2E test now. So far, no luck! Other folks are more than welcome to give it a shot! 🙏 |
@youknowriad Not sure if this is helpful! If I remove the following PHP code from gutenberg_register_vendor_script(
$scripts,
'lodash',
'https://unpkg.com/lodash@4.17.19/lodash.js',
array(),
'4.17.19'
); I'm unsure how the vendor_script code helps in regards to (I'm not saying we remove. It looks like it's important in regards to the lodash versioning. Maybe? 😛 ) Update: Switching the version to gutenberg_register_vendor_script(
$scripts,
'lodash',
'https://unpkg.com/lodash@4.17.15/lodash.js',
array(),
'4.17.15'
); Update 2: As a sanity check, I tried loading a different library ( |
Looks like loading on the footer did the trick. Awesome @ntsekouras thanks. |
Nothing fancy here, just want to silence some audit messages.