desrosj
a68590b382
Build/Test Tools: Support NodeJS 14.x in the 4.8 branch.
...
This updates the 4.8 branch to support the latest LTS version of NodeJS (currently 14.x), allowing the same version to be used across all WordPress branches that receive security updates as a courtesy.
This also replaces the `npm-shrinkwrap.json` with a `package-lock.json` file. Lock files were not supported in earlier versions of NPM, but can now be used.
In addition to backporting the package updates that happened after branching 4.8, dependencies that were removed in future releases have also been updated to their latest versions.
Props desrosj, dd32, netweb, jorbin.
Merges [42460-42461,42463,42887,43320,43323,43977,44219,44233,44728,45321,45765,46404,46408-46409,47404,47867-47869,47872-47873,48705,49636,49933,49937,49939,50017,50126,50176,50185,50192] to the 4.8 branch.
See #52341 .
Built from https://develop.svn.wordpress.org/branches/4.8@50203
git-svn-id: http://core.svn.wordpress.org/branches/4.8@49877 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-02-05 04:10:38 +00:00
Andrew Ozz
8c59b4a3c2
jQuery: Backport the patch from jQuery 3.4.0.
...
Merges [45342] to the 4.8 branch.
Props MikeNGarrett, peterwilsoncc, azaozz.
Fixes #47020 .
Built from https://develop.svn.wordpress.org/branches/4.8@46021
git-svn-id: http://core.svn.wordpress.org/branches/4.8@45832 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-09-04 21:45:54 +00:00
Aaron Jorbin
32be6f7bb7
Bump grunt-contrib-uglify from 1.0.1 to 2.0.0
...
Sets `screwIE8` to false as it is now enabled by default
Files Changed:
build/wp-admin/js/customize-nav-menus.min.js
build/wp-admin/js/customize-widgets.min.js
build/wp-includes/js/customize-loader.min.js
Changelog:
2016-07-19 v2.0.0 Update uglify-js to v2.7.0. screwIE8 is enabled by default.
2016-07-19 v1.0.2 Update grunt to ^1.0.0. Fix beautify when passed as an object. Fix docs about report values.
See #38199 .
Built from https://develop.svn.wordpress.org/trunk@39117
git-svn-id: http://core.svn.wordpress.org/trunk@39059 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-11-03 05:40:34 +00:00
Aaron Jorbin
6836de32d1
External Libraries: Update Minified version of jquery.masonry.js
...
WordPress maintains the minified version of jquery.masonry.js since there is no official build, however it has been excluded from grunt's minification process. This adds a minification task to grunt, adds it to the precommit hook for JS, minifies the file, and bumps the version on jquery.masonry.min.js. The change to the non minified version was introduced in [38261].
Fixes #37720 . See #37666 .
Built from https://develop.svn.wordpress.org/trunk@38276
git-svn-id: http://core.svn.wordpress.org/trunk@38217 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-08-18 18:55:30 +00:00
Dominik Schilling
d510afedd8
External Libraries: Update jQuery to 1.12.4.
...
Release post: https://blog.jquery.com/2016/05/20/jquery-1-12-4-and-2-2-4-released/
Changelog: https://github.com/jquery/jquery/compare/1.12.3...1.12.4
See [37433].
Fixes #36533 .
Built from https://develop.svn.wordpress.org/trunk@37526
git-svn-id: http://core.svn.wordpress.org/trunk@37494 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-05-23 09:00:29 +00:00
Aaron Jorbin
2db9ac7a24
Update jQuery Migrate to 1.4.1
...
http://blog.jquery.com/2016/05/19/jquery-migrate-1-4-1-released-and-the-path-to-jquery-3-0/
Unquoted selectors for attribute selectors should function once again (and output a warning so that plugins and themes using them can update).
Fixes #36892
Built from https://develop.svn.wordpress.org/trunk@37472
git-svn-id: http://core.svn.wordpress.org/trunk@37440 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-05-20 06:11:28 +00:00
Dominik Schilling
52d30beb3c
External Libraries: Update jQuery to 1.12.4-pre.
...
This version includes a fix for the media library which didn't open under certain conditions. The issue was tracked upstream as "Specific table CSS style breaks `.is(':visible')`", see https://github.com/jquery/jquery/issues/3065 .
Also fixed: "Element which is not in page is still :visible in IE8", see https://github.com/jquery/jquery/issues/3043 .
Changelog: https://github.com/jquery/jquery/compare/1.12.3...376caf4d
See #36533 .
Built from https://develop.svn.wordpress.org/trunk@37433
git-svn-id: http://core.svn.wordpress.org/trunk@37399 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-05-13 21:15:27 +00:00
Aaron Jorbin
262f3f2f7e
Update grunt-contrib-uglify from ~0.10.0 to ~1.0.1
...
This changes every JS file in WordPress, so we need to test everything.
Props netweb.
See #36520 .
Built from https://develop.svn.wordpress.org/trunk@37212
git-svn-id: http://core.svn.wordpress.org/trunk@37178 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-04-15 16:10:37 +00:00
Aaron Jorbin
1c1daa7ba4
External Libraries: Update jQuery to 1.12.3.
...
Sing it with me: jQuery fixed two issues, now you can get them with WP 4.5.
Release Post: http://blog.jquery.com/2016/04/05/jquery-1-12-3-and-2-2-3-released/
Changelog: https://github.com/jquery/jquery/compare/1.12.2...1.12.3
Fixes #35380 .
Props ocean90.
Built from https://develop.svn.wordpress.org/trunk@37164
git-svn-id: http://core.svn.wordpress.org/trunk@37131 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-04-06 22:45:27 +00:00
Dominik Schilling
7c42afee11
External Libraries: Update jQuery Migrate to 1.4.0.
...
Changes: https://github.com/jquery/jquery-migrate/compare/1.3.0...1.4.0
Fixes #35380 .
Built from https://develop.svn.wordpress.org/trunk@37072
git-svn-id: http://core.svn.wordpress.org/trunk@37039 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-23 19:44:26 +00:00
Dominik Schilling
51e6a98040
External Libraries: Update jQuery to 1.12.2.
...
Release post: http://blog.jquery.com/2016/03/17/jquery-1-12-2-and-2-2-2-released/
Changelog: https://github.com/jquery/jquery/compare/1.12.1...1.12.2
See #35380 .
Built from https://develop.svn.wordpress.org/trunk@37070
git-svn-id: http://core.svn.wordpress.org/trunk@37037 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-23 18:47:26 +00:00
Dominik Schilling
d90a013437
External Libraries: Update jQuery to 1.12.1.
...
Release post: http://blog.jquery.com/2016/02/22/jquery-1-12-1-and-2-2-1-released/
Changelog: https://github.com/jquery/jquery/compare/1.12.0...1.12.1
Fixes #35380 .
Built from https://develop.svn.wordpress.org/trunk@36680
git-svn-id: http://core.svn.wordpress.org/trunk@36647 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-02-24 15:44:26 +00:00
Dominik Schilling
b7df807589
jQuery: Replace use of the .load()
method for the "load" event with .on( 'load', handler )
.
...
The shortcut is deprecated since jQuery 1.8.
See http://api.jquery.com/load-event/ .
See #35380 .
Built from https://develop.svn.wordpress.org/trunk@36287
git-svn-id: http://core.svn.wordpress.org/trunk@36254 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-01-13 17:22:27 +00:00
Dominik Schilling
b1a9983584
External Libraries: Update jQuery to 1.12.0 and jQuery Migrate to 1.3.0.
...
jQuery:
* Release post: http://blog.jquery.com/2016/01/08/jquery-2-2-and-1-12-released/
* Changes: https://github.com/jquery/jquery/compare/1.11.3...1.12.0
jQuery Migrate:
* Release post: http://blog.jquery.com/2016/01/13/jquery-migrate-1-3-0-released/
* Changes: https://github.com/jquery/jquery-migrate/compare/1.2.1...1.3.0
See #35380 .
Built from https://develop.svn.wordpress.org/trunk@36285
git-svn-id: http://core.svn.wordpress.org/trunk@36252 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-01-13 15:52:26 +00:00
Dominik Schilling
b8f2a138e7
Set svn:eol-style
to native on "jquery-migrate.js" and "jquery-migrate.min.js".
...
Built from https://develop.svn.wordpress.org/trunk@36284
git-svn-id: http://core.svn.wordpress.org/trunk@36251 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-01-13 15:45:28 +00:00
Dominik Schilling
a3d58b3fbe
Build Tools: Update the preserveComments
option for uglify:jqueryui
.
...
Uglify2 doesn't support the value "some" anymore. Replace it with the `/^!/` regex which produces the same output as before.
See https://build.trac.wordpress.org/changeset/35502 and https://build.trac.wordpress.org/changeset/35528 .
Fixes #34177 .
Built from https://develop.svn.wordpress.org/trunk@35564
git-svn-id: http://core.svn.wordpress.org/trunk@35528 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-11-07 12:37:26 +00:00
Aaron Jorbin
d60ca2f758
Bump grunt-contrib-uglify to 0.10.0
...
This includes an update to the underlying version of uglify which causes all of the JS to be modified.
See #34177
Built from https://develop.svn.wordpress.org/trunk@35538
git-svn-id: http://core.svn.wordpress.org/trunk@35502 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-11-05 17:47:30 +00:00
Aaron Jorbin
c9307fc95a
Update Grunt dev-dependencies
...
grunt-browserify : minor version update
grunt-contrib-cssmin : minor version update
grunt-contrib-imagemin : patch version update
grunt-contrib-jshint : patch version update
grunt-contrib-uglify : minor version update (causes some changes to minified JS)
grunt-includes : minor version update
grunt-sass : major version update ( underlying libsass update ).
Props wonderboymusic
See #31700
Built from https://develop.svn.wordpress.org/trunk@32988
git-svn-id: http://core.svn.wordpress.org/trunk@32959 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-06-28 14:51:30 +00:00
Scott Taylor
f077b3c511
Update jQuery to 1.11.3:
...
http://blog.jquery.com/2015/04/28/jquery-1-11-3-and-2-1-4-released-ios-fail-safe-edition/
Changelog:
* https://github.com/jquery/jquery/issues?q=milestone%3A1.11.3%2F2.1.4
* https://github.com/jquery/jquery/compare/1.11.2...1.11.3
Props peterwilsoncc.
Fixes #32794 .
Built from https://develop.svn.wordpress.org/trunk@32978
git-svn-id: http://core.svn.wordpress.org/trunk@32949 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-06-27 23:40:23 +00:00
Dominik Schilling
31b7a7a762
Update jQuery UI to 1.11.4.
...
Changelog:
* https://jqueryui.com/changelog/1.11.4/
* https://github.com/jquery/jquery-ui/compare/1.11.3...1.11.4
props scott.gonzalez for arranging this release.
fixes #31597 , #30998 .
Built from https://develop.svn.wordpress.org/trunk@31716
git-svn-id: http://core.svn.wordpress.org/trunk@31697 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-03-11 15:12:27 +00:00
Dominik Schilling
8f44036ea7
Update jQuery UI to 1.11.3.
...
Changelog:
* http://jqueryui.com/changelog/1.11.3/
* https://github.com/jquery/jquery-ui/compare/1.11.2...1.11.3
fixes #31473 .
Built from https://develop.svn.wordpress.org/trunk@31569
git-svn-id: http://core.svn.wordpress.org/trunk@31550 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-02-27 10:21:26 +00:00
Dominik Schilling
d35ef1c5b1
Update jQuery to 1.11.2.
...
Changelog:
* https://github.com/jquery/jquery/issues?q=milestone%3A1.11.2%2F2.1.3
* https://github.com/jquery/jquery/compare/1.11.1...1.11.2
props HarishChaudhari.
fixes #31423 .
Built from https://develop.svn.wordpress.org/trunk@31567
git-svn-id: http://core.svn.wordpress.org/trunk@31548 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-02-27 09:41:27 +00:00
Dominik Schilling
d79cc63828
Update jQuery UI to 1.11.2.
...
Changelog: http://jqueryui.com/changelog/1.11.2/
see #29833 .
Built from https://develop.svn.wordpress.org/trunk@29920
git-svn-id: http://core.svn.wordpress.org/trunk@29672 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-16 19:02:38 +00:00
Dominik Schilling
04edb0a1d6
Update jQuery UI to 1.11.1.
...
Because jQUI's build process no longer provides individual minified files we need some additional changes:
* Rename all files, remove the "jquery.ui." prefix. Add old files to `$_old_files`.
* Add and use non-minified files in /src.
* Add grunt task to minify jQuery UI files.
* (Non-minified files will not be shipped.)
Changelogs:
* http://jqueryui.com/changelog/1.11.0/
* http://jqueryui.com/changelog/1.11.1/
props Fab1en, ocean90.
fixes #29833 .
Built from https://develop.svn.wordpress.org/trunk@29847
git-svn-id: http://core.svn.wordpress.org/trunk@29610 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-07 15:28:24 +00:00
Sergey Biryukov
1c227553b9
Fix unexpected replacement of a previous tag when selecting a tag from autosuggest results.
...
props camdensegal.
fixes #28471 .
Built from https://develop.svn.wordpress.org/trunk@28851
git-svn-id: http://core.svn.wordpress.org/trunk@28655 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-06-26 16:08:14 +00:00
Dominik Schilling
c7adbde777
Update jQuery to 1.11.1.
...
fixes #28103 .
Built from https://develop.svn.wordpress.org/trunk@28238
git-svn-id: http://core.svn.wordpress.org/trunk@28066 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-05-02 09:29:16 +00:00
Dominik Schilling
db4fac702a
Update suggest.min.js for [26333].
...
see #26110 , #27599 .
fixes #27621 .
Built from https://develop.svn.wordpress.org/trunk@27911
git-svn-id: http://core.svn.wordpress.org/trunk@27742 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-04-02 19:05:16 +00:00
Andrew Nacin
995cc6f6ec
Preserve comments in Masonry shim. see [27780], see #27510 .
...
Built from https://develop.svn.wordpress.org/trunk@27781
git-svn-id: http://core.svn.wordpress.org/trunk@27617 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-27 07:33:16 +00:00
Andrew Nacin
1bc06760de
Update minified jQuery Masonry shim. see [27779], see #27510 .
...
Built from https://develop.svn.wordpress.org/trunk@27780
git-svn-id: http://core.svn.wordpress.org/trunk@27616 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-27 07:32:14 +00:00
Andrew Nacin
3028e6e7fb
Add jquery.masonry.min.js. fixes #25351 .
...
Built from https://develop.svn.wordpress.org/trunk@27389
git-svn-id: http://core.svn.wordpress.org/trunk@27237 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-04 02:20:14 +00:00
Andrew Nacin
1cb9788f1b
Update the Masonry JavaScript library to version 3.
...
The new script handle is 'masonry'. The old 'jquery-masonry' handle is the official shiv that sits on top of the v3 library. While v3 no longer depends on jQuery, a theme or plugin may have bee
n implicitly loading jQuery though Masonry, rather than additionally declaring it as a dependency for themselves. Thus, the shiv is separate.
Themes should switch to 'masonry' and declare jQuery as a dependency on their own if they need it. Upgrade guide: http://masonry.desandro.com/appendix.html#upgrading-from-v2 . imagesLoaded remai
ns included with Masonry here.
props shelob9.
fixes #25351 .
Built from https://develop.svn.wordpress.org/trunk@27271
git-svn-id: http://core.svn.wordpress.org/trunk@27127 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-25 19:53:15 +00:00
Dominik Schilling
2d9bf68585
Update to jQuery UI 1.10.4. fixes #26884 .
...
Built from https://develop.svn.wordpress.org/trunk@27028
git-svn-id: http://core.svn.wordpress.org/trunk@26904 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-01-24 17:44:12 +00:00
Dominik Schilling
91f7d8e1b7
Update to jQuery 1.11.0. fixes #26926 .
...
Built from https://develop.svn.wordpress.org/trunk@27027
git-svn-id: http://core.svn.wordpress.org/trunk@26903 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-01-24 17:40:13 +00:00
Andrew Ozz
2a68f85fa1
Comment moderation shortcuts:
...
- Fix "toggle checkboxes" (shift+x).
- Add noDisable selector and use it to stop disabling the shortcuts when a select-comment checkbox is focused.
See #26755 .
Built from https://develop.svn.wordpress.org/trunk@26889
git-svn-id: http://core.svn.wordpress.org/trunk@26772 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-01-02 00:11:14 +00:00
Dominik Schilling
457a48d735
Suggest.js: Trigger change event when value is selected.
...
props obenland.
fixes #26110 .
Built from https://develop.svn.wordpress.org/trunk@26333
git-svn-id: http://core.svn.wordpress.org/trunk@26235 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-23 11:54:10 +00:00
Andrew Nacin
6292b4c519
Fix JSHint errors in 5 files.
...
props seanchayes.
fixes #26015 , #26020 , #26019 , #26034 , #26022 .
Built from https://develop.svn.wordpress.org/trunk@26200
git-svn-id: http://core.svn.wordpress.org/trunk@26108 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-15 05:16:09 +00:00
Andrew Nacin
090b3c8355
Update jQuery Form to 3.37.0 (unused in WP core).
...
props usermrpapa.
fixes #23944 .
Built from https://develop.svn.wordpress.org/trunk@25462
git-svn-id: http://core.svn.wordpress.org/trunk@25383 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-09-16 21:06:09 +00:00
Andrew Nacin
b82ff57666
Remove sourceMappingURL from jquery.min.js.
...
props Jayjdk.
fixes #24994 .
Built from https://develop.svn.wordpress.org/trunk@25072
git-svn-id: http://core.svn.wordpress.org/trunk@25057 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-08-21 15:41:10 +00:00
Andrew Nacin
0c87edd981
jQuery.noConflict(). see [24781]. see #24821 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@24791 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-24 06:33:54 +00:00
Andrew Nacin
42572a9543
Use production version of jQuery Migrate when not SCRIPT_DEBUG, which silences issues.
...
Minify jQuery as well. These were both unminified for ease of debugging.
fixes #24821 .
git-svn-id: http://core.svn.wordpress.org/trunk@24781 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-23 15:28:25 +00:00
Andrew Nacin
585eda125a
jQuery 1.10.2. props ocean90. fixes #24426 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@24546 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-03 20:11:44 +00:00
Dominik Schilling
1c84a1fe92
Update to jQuery 1.10.1. fixes #24426 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@24395 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-01 09:16:11 +00:00
Bot (Assets)
86dd4f184c
Compress scripts/styles: 3.6-beta3-24372.
...
git-svn-id: http://core.svn.wordpress.org/trunk@24372 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-26 08:58:56 +00:00
Dominik Schilling
df73ce7957
Remove deprecated jQuery API .browser in suggest.js. No need for a replacement since it works without too. see #22975 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@24371 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-26 08:49:05 +00:00
Dominik Schilling
3ad948ab0e
Update to jQuery 1.10.0. Still includes jQuery in original, unminified form, for ease of testing and bug reporting. fixes #24426 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@24364 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-25 22:33:07 +00:00
Dominik Schilling
520673570c
jQuery Migrate 1.2.1. see #22975 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@24252 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-14 17:22:58 +00:00
Dominik Schilling
434114d40e
jQuery UI 1.10.3. fixes #23370 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@24204 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-08 20:54:30 +00:00
Dominik Schilling
d46e2d405b
jQuery Color 2.2.1. fixes #22562 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@23954 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-10 17:29:55 +00:00
Andrew Nacin
163ebbe809
jQuery UI 1.10.2.
...
props ocean90. fixes #23370 .
git-svn-id: http://core.svn.wordpress.org/trunk@23892 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-03 17:36:25 +00:00
Andrew Nacin
31aaad4e84
jQuery Migrate 1.1.1. props ocean90. see #22975 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@23516 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-02-28 18:02:26 +00:00