mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2025-10-16 12:05:38 +00:00
External Libraries: Update imagesLoaded to version 5.0.0.
This release drops support for IE and moves to using ES6. A full list of changes can be found on GitHub: https://github.com/desandro/imagesloaded/compare/v4.1.4...v5.0.0. Props nazsabuz, arnedb, costdev, audrasjb, ahmedgeek , valmedia2023 , hareesh-pillai. Fixes #56731. git-svn-id: https://develop.svn.wordpress.org/trunk@56393 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
78c78cb20b
commit
0c96ba106c
15
package-lock.json
generated
15
package-lock.json
generated
@ -78,7 +78,7 @@
|
||||
"formdata-polyfill": "4.0.10",
|
||||
"framer-motion": "10.11.6",
|
||||
"hoverintent": "2.2.1",
|
||||
"imagesloaded": "4.1.4",
|
||||
"imagesloaded": "5.0.0",
|
||||
"is-plain-object": "5.0.0",
|
||||
"jquery": "3.7.0",
|
||||
"jquery-color": "2.2.0",
|
||||
@ -18008,13 +18008,18 @@
|
||||
}
|
||||
},
|
||||
"node_modules/imagesloaded": {
|
||||
"version": "4.1.4",
|
||||
"resolved": "https://registry.npmjs.org/imagesloaded/-/imagesloaded-4.1.4.tgz",
|
||||
"integrity": "sha512-ltiBVcYpc/TYTF5nolkMNsnREHW+ICvfQ3Yla2Sgr71YFwQ86bDwV9hgpFhFtrGPuwEx5+LqOHIrdXBdoWwwsA==",
|
||||
"version": "5.0.0",
|
||||
"resolved": "https://registry.npmjs.org/imagesloaded/-/imagesloaded-5.0.0.tgz",
|
||||
"integrity": "sha512-/0JGSubc1MTCoDKVmonLHgbifBWHdyLkun+R/151E1c5n79hiSxcd7cB7mPXFgojYu8xnRZv7GYxzKoxW8BetQ==",
|
||||
"dependencies": {
|
||||
"ev-emitter": "^1.0.0"
|
||||
"ev-emitter": "^2.1.2"
|
||||
}
|
||||
},
|
||||
"node_modules/imagesloaded/node_modules/ev-emitter": {
|
||||
"version": "2.1.2",
|
||||
"resolved": "https://registry.npmjs.org/ev-emitter/-/ev-emitter-2.1.2.tgz",
|
||||
"integrity": "sha512-jQ5Ql18hdCQ4qS+RCrbLfz1n+Pags27q5TwMKvZyhp5hh2UULUYZUy1keqj6k6SYsdqIYjnmz7xyyEY0V67B8Q=="
|
||||
},
|
||||
"node_modules/immutable": {
|
||||
"version": "4.2.2",
|
||||
"resolved": "https://registry.npmjs.org/immutable/-/immutable-4.2.2.tgz",
|
||||
|
||||
@ -145,7 +145,7 @@
|
||||
"formdata-polyfill": "4.0.10",
|
||||
"framer-motion": "10.11.6",
|
||||
"hoverintent": "2.2.1",
|
||||
"imagesloaded": "4.1.4",
|
||||
"imagesloaded": "5.0.0",
|
||||
"is-plain-object": "5.0.0",
|
||||
"jquery": "3.7.0",
|
||||
"jquery-color": "2.2.0",
|
||||
|
||||
@ -929,7 +929,7 @@ function wp_default_scripts( $scripts ) {
|
||||
* Masonry v2 depended on jQuery. v3 does not. The older jquery-masonry handle is a shiv.
|
||||
* It sets jQuery as a dependency, as the theme may have been implicitly loading it this way.
|
||||
*/
|
||||
$scripts->add( 'imagesloaded', '/wp-includes/js/imagesloaded.min.js', array(), '4.1.4', 1 );
|
||||
$scripts->add( 'imagesloaded', '/wp-includes/js/imagesloaded.min.js', array(), '5.0.0', 1 );
|
||||
$scripts->add( 'masonry', '/wp-includes/js/masonry.min.js', array( 'imagesloaded' ), '4.2.2', 1 );
|
||||
$scripts->add( 'jquery-masonry', '/wp-includes/js/jquery/jquery.masonry.min.js', array( 'jquery', 'masonry' ), '3.1.2b', 1 );
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user