mirror of
git://develop.git.wordpress.org/
synced 2025-04-23 05:32:41 +02:00
External Libraries: Install jQuery via NPM.
Previously, jQuery 1.12.4 was added to the WordPress SVN repo in order to backport an upstream security patch from jQuery 3.4.0. Now that WordPress includes an unmodified version of jQuery 3.5.1 and no longer needs to maintain a fork, it can be removed from the SVN repo and installed via NPM again as part of the build. Follow-up to [45342], [49101]. Props peterwilsoncc, SergeyBiryukov. Merges [50445] to the 5.7 branch. Fixes #52647. git-svn-id: https://develop.svn.wordpress.org/branches/5.7@50457 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
186b3faecf
commit
7af02944ff
@ -185,6 +185,8 @@ module.exports = function(grunt) {
|
||||
// Renamed to avoid conflict with jQuery hoverIntent.min.js (after minifying).
|
||||
[ WORKING_DIR + 'wp-includes/js/hoverintent-js.min.js' ]: [ './node_modules/hoverintent/dist/hoverintent.min.js' ],
|
||||
[ WORKING_DIR + 'wp-includes/js/imagesloaded.min.js' ]: [ './node_modules/imagesloaded/imagesloaded.pkgd.min.js' ],
|
||||
[ WORKING_DIR + 'wp-includes/js/jquery/jquery.js' ]: [ './node_modules/jquery/dist/jquery.js' ],
|
||||
[ WORKING_DIR + 'wp-includes/js/jquery/jquery.min.js' ]: [ './node_modules/jquery/dist/jquery.min.js' ],
|
||||
[ WORKING_DIR + 'wp-includes/js/jquery/jquery.form.js' ]: [ './node_modules/jquery-form/src/jquery.form.js' ],
|
||||
[ WORKING_DIR + 'wp-includes/js/masonry.min.js' ]: [ './node_modules/masonry-layout/dist/masonry.pkgd.min.js' ],
|
||||
[ WORKING_DIR + 'wp-includes/js/twemoji.js' ]: [ './node_modules/twemoji/dist/twemoji.js' ],
|
||||
|
@ -134,6 +134,7 @@
|
||||
"formdata-polyfill": "3.0.13",
|
||||
"hoverintent": "2.2.1",
|
||||
"imagesloaded": "4.1.4",
|
||||
"jquery": "3.5.1",
|
||||
"jquery-color": "https://github.com/jquery/jquery-color/archive/2.1.2.tar.gz",
|
||||
"jquery-form": "4.2.1",
|
||||
"jquery-hoverintent": "1.8.3",
|
||||
|
10872
src/js/_enqueues/vendor/jquery/jquery.js
vendored
10872
src/js/_enqueues/vendor/jquery/jquery.js
vendored
File diff suppressed because it is too large
Load Diff
2
src/js/_enqueues/vendor/jquery/jquery.min.js
vendored
2
src/js/_enqueues/vendor/jquery/jquery.min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
x
Reference in New Issue
Block a user