diff --git package-lock.json package-lock.json
index c09426b894..4f884f6e4e 100644
|
|
|
3314 | 3314 | "dependencies": { |
3315 | 3315 | "file-type": { |
3316 | 3316 | "version": "3.9.0", |
3317 | | "resolved": "http://registry.npmjs.org/file-type/-/file-type-3.9.0.tgz", |
| 3317 | "resolved": "https://registry.npmjs.org/file-type/-/file-type-3.9.0.tgz", |
3318 | 3318 | "integrity": "sha1-JXoHg4TR24CHvESdEH1SpSZyuek=", |
3319 | 3319 | "dev": true, |
3320 | 3320 | "optional": true |
… |
… |
|
4468 | 4468 | }, |
4469 | 4469 | "uuid": { |
4470 | 4470 | "version": "2.0.3", |
4471 | | "resolved": "http://registry.npmjs.org/uuid/-/uuid-2.0.3.tgz", |
| 4471 | "resolved": "https://registry.npmjs.org/uuid/-/uuid-2.0.3.tgz", |
4472 | 4472 | "integrity": "sha1-Z+LoY3lyFVMN/zGOW/nc6/1Hsho=", |
4473 | 4473 | "dev": true, |
4474 | 4474 | "optional": true |
… |
… |
|
4547 | 4547 | }, |
4548 | 4548 | "bl": { |
4549 | 4549 | "version": "1.2.2", |
4550 | | "resolved": "http://registry.npmjs.org/bl/-/bl-1.2.2.tgz", |
| 4550 | "resolved": "https://registry.npmjs.org/bl/-/bl-1.2.2.tgz", |
4551 | 4551 | "integrity": "sha512-e8tQYnZodmebYDWGH7KMRvtzKXaJHx3BbilrgZCfvyLUYdKpK1t5PSPmpkny/SgiTSCnjfLW7v5rlONXVFkQEA==", |
4552 | 4552 | "dev": true, |
4553 | 4553 | "optional": true, |
… |
… |
|
4733 | 4733 | }, |
4734 | 4734 | "browserify-aes": { |
4735 | 4735 | "version": "1.2.0", |
4736 | | "resolved": "http://registry.npmjs.org/browserify-aes/-/browserify-aes-1.2.0.tgz", |
| 4736 | "resolved": "https://registry.npmjs.org/browserify-aes/-/browserify-aes-1.2.0.tgz", |
4737 | 4737 | "integrity": "sha512-+7CHXqGuspUn/Sl5aO7Ea0xWGAtETPXNSAjHo48JfLdPWcMng33Xe4znFvQweqc/uzk5zSOI3H52CYnjCfb5hA==", |
4738 | 4738 | "dev": true, |
4739 | 4739 | "requires": { |
… |
… |
|
4885 | 4885 | "dependencies": { |
4886 | 4886 | "file-type": { |
4887 | 4887 | "version": "3.9.0", |
4888 | | "resolved": "http://registry.npmjs.org/file-type/-/file-type-3.9.0.tgz", |
| 4888 | "resolved": "https://registry.npmjs.org/file-type/-/file-type-3.9.0.tgz", |
4889 | 4889 | "integrity": "sha1-JXoHg4TR24CHvESdEH1SpSZyuek=", |
4890 | 4890 | "dev": true, |
4891 | 4891 | "optional": true |
4892 | 4892 | }, |
4893 | 4893 | "uuid": { |
4894 | 4894 | "version": "2.0.3", |
4895 | | "resolved": "http://registry.npmjs.org/uuid/-/uuid-2.0.3.tgz", |
| 4895 | "resolved": "https://registry.npmjs.org/uuid/-/uuid-2.0.3.tgz", |
4896 | 4896 | "integrity": "sha1-Z+LoY3lyFVMN/zGOW/nc6/1Hsho=", |
4897 | 4897 | "dev": true, |
4898 | 4898 | "optional": true |
… |
… |
|
5765 | 5765 | "dependencies": { |
5766 | 5766 | "cacache": { |
5767 | 5767 | "version": "10.0.4", |
5768 | | "resolved": "http://registry.npmjs.org/cacache/-/cacache-10.0.4.tgz", |
| 5768 | "resolved": "https://registry.npmjs.org/cacache/-/cacache-10.0.4.tgz", |
5769 | 5769 | "integrity": "sha512-Dph0MzuH+rTQzGPNT9fAnrPmMmjKfST6trxJeK7NQuHRaVw24VzPRWTmg9MpcwOVQZO0E1FBICUlFeNaKPIfHA==", |
5770 | 5770 | "dev": true, |
5771 | 5771 | "requires": { |
… |
… |
|
6919 | 6919 | "minimalistic-assert": "^1.0.0" |
6920 | 6920 | } |
6921 | 6921 | }, |
6922 | | "desandro-get-style-property": { |
6923 | | "version": "1.0.4", |
6924 | | "resolved": "https://registry.npmjs.org/desandro-get-style-property/-/desandro-get-style-property-1.0.4.tgz", |
6925 | | "integrity": "sha1-9YQsIeo0tjq89pvvNarJVuHFf3k=" |
6926 | | }, |
6927 | 6922 | "desandro-matches-selector": { |
6928 | | "version": "1.0.3", |
6929 | | "resolved": "https://registry.npmjs.org/desandro-matches-selector/-/desandro-matches-selector-1.0.3.tgz", |
6930 | | "integrity": "sha1-4bM3gcTcZU0GzU/FbO5EccKYTSM=" |
| 6923 | "version": "2.0.2", |
| 6924 | "resolved": "https://registry.npmjs.org/desandro-matches-selector/-/desandro-matches-selector-2.0.2.tgz", |
| 6925 | "integrity": "sha1-cXvu1NwT59jzdi9wem1YpndCGOE=" |
6931 | 6926 | }, |
6932 | 6927 | "destroy": { |
6933 | 6928 | "version": "1.0.4", |
… |
… |
|
7028 | 7023 | "buffer-indexof": "^1.0.0" |
7029 | 7024 | } |
7030 | 7025 | }, |
7031 | | "doc-ready": { |
7032 | | "version": "1.0.4", |
7033 | | "resolved": "https://registry.npmjs.org/doc-ready/-/doc-ready-1.0.4.tgz", |
7034 | | "integrity": "sha1-N/U5GWnP+ZQwP9/vLl1QNX+BZNM=", |
7035 | | "requires": { |
7036 | | "eventie": "^1" |
7037 | | } |
7038 | | }, |
7039 | 7026 | "doctrine": { |
7040 | 7027 | "version": "2.1.0", |
7041 | 7028 | "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-2.1.0.tgz", |
… |
… |
|
7155 | 7142 | }, |
7156 | 7143 | "duplexer": { |
7157 | 7144 | "version": "0.1.1", |
7158 | | "resolved": "http://registry.npmjs.org/duplexer/-/duplexer-0.1.1.tgz", |
| 7145 | "resolved": "https://registry.npmjs.org/duplexer/-/duplexer-0.1.1.tgz", |
7159 | 7146 | "integrity": "sha1-rOb/gIwc5mtX0ev5eXessCM0z8E=", |
7160 | 7147 | "dev": true |
7161 | 7148 | }, |
… |
… |
|
7708 | 7695 | "integrity": "sha1-Qa4u62XvpiJorr/qg6x9eSmbCIc=", |
7709 | 7696 | "dev": true |
7710 | 7697 | }, |
| 7698 | "ev-emitter": { |
| 7699 | "version": "1.1.1", |
| 7700 | "resolved": "https://registry.npmjs.org/ev-emitter/-/ev-emitter-1.1.1.tgz", |
| 7701 | "integrity": "sha512-ipiDYhdQSCZ4hSbX4rMW+XzNKMD1prg/sTvoVmSLkuQ1MVlwjJQQA+sW8tMYR3BLUr9KjodFV4pvzunvRhd33Q==" |
| 7702 | }, |
7711 | 7703 | "event-source-polyfill": { |
7712 | 7704 | "version": "0.0.9", |
7713 | 7705 | "resolved": "https://registry.npmjs.org/event-source-polyfill/-/event-source-polyfill-0.0.9.tgz", |
… |
… |
|
8722 | 8714 | "optional": true |
8723 | 8715 | }, |
8724 | 8716 | "fizzy-ui-utils": { |
8725 | | "version": "1.0.1", |
8726 | | "resolved": "https://registry.npmjs.org/fizzy-ui-utils/-/fizzy-ui-utils-1.0.1.tgz", |
8727 | | "integrity": "sha1-qkEGZB51O8ilzqAQMVskiYyTRAw=", |
| 8717 | "version": "2.0.7", |
| 8718 | "resolved": "https://registry.npmjs.org/fizzy-ui-utils/-/fizzy-ui-utils-2.0.7.tgz", |
| 8719 | "integrity": "sha512-CZXDVXQ1If3/r8s0T+v+qVeMshhfcuq0rqIFgJnrtd+Bu8GmDmqMjntjUePypVtjHXKJ6V4sw9zeyox34n9aCg==", |
8728 | 8720 | "requires": { |
8729 | | "desandro-matches-selector": "~1.0.2", |
8730 | | "doc-ready": "~1.0.3" |
| 8721 | "desandro-matches-selector": "^2.0.0" |
8731 | 8722 | } |
8732 | 8723 | }, |
8733 | 8724 | "flat-cache": { |
… |
… |
|
9558 | 9549 | } |
9559 | 9550 | }, |
9560 | 9551 | "get-size": { |
9561 | | "version": "1.2.2", |
9562 | | "resolved": "https://registry.npmjs.org/get-size/-/get-size-1.2.2.tgz", |
9563 | | "integrity": "sha1-v8PvHQGeNFCMmU+jJ9GDwoddYuY=", |
9564 | | "requires": { |
9565 | | "desandro-get-style-property": "^1" |
9566 | | } |
| 9552 | "version": "2.0.3", |
| 9553 | "resolved": "https://registry.npmjs.org/get-size/-/get-size-2.0.3.tgz", |
| 9554 | "integrity": "sha512-lXNzT/h/dTjTxRbm9BXb+SGxxzkm97h/PCIKtlN/CBCxxmkkIVV21udumMS93MuVTDX583gqc94v3RjuHmI+2Q==" |
9567 | 9555 | }, |
9568 | 9556 | "get-stdin": { |
9569 | 9557 | "version": "6.0.0", |
… |
… |
|
10319 | 10307 | "dependencies": { |
10320 | 10308 | "async": { |
10321 | 10309 | "version": "0.2.10", |
10322 | | "resolved": "http://registry.npmjs.org/async/-/async-0.2.10.tgz", |
| 10310 | "resolved": "https://registry.npmjs.org/async/-/async-0.2.10.tgz", |
10323 | 10311 | "integrity": "sha1-trvgsGdLnXGXCMo43owjfLUmw9E=", |
10324 | 10312 | "dev": true |
10325 | 10313 | }, |
… |
… |
|
10479 | 10467 | }, |
10480 | 10468 | "uglify-js": { |
10481 | 10469 | "version": "2.7.5", |
10482 | | "resolved": "http://registry.npmjs.org/uglify-js/-/uglify-js-2.7.5.tgz", |
| 10470 | "resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-2.7.5.tgz", |
10483 | 10471 | "integrity": "sha1-RhLAx7qu4rp8SH3kkErhIgefLKg=", |
10484 | 10472 | "dev": true, |
10485 | 10473 | "requires": { |
… |
… |
|
10491 | 10479 | }, |
10492 | 10480 | "yargs": { |
10493 | 10481 | "version": "3.10.0", |
10494 | | "resolved": "http://registry.npmjs.org/yargs/-/yargs-3.10.0.tgz", |
| 10482 | "resolved": "https://registry.npmjs.org/yargs/-/yargs-3.10.0.tgz", |
10495 | 10483 | "integrity": "sha1-9+572FfdfB0tOMDnTvvWgdFDH9E=", |
10496 | 10484 | "dev": true, |
10497 | 10485 | "requires": { |
… |
… |
|
14867 | 14855 | "dev": true |
14868 | 14856 | }, |
14869 | 14857 | "masonry-layout": { |
14870 | | "version": "3.3.2", |
14871 | | "resolved": "https://registry.npmjs.org/masonry-layout/-/masonry-layout-3.3.2.tgz", |
14872 | | "integrity": "sha1-uQwMClCaXtKoBrvIqBEokKdjQbo=", |
| 14858 | "version": "4.2.2", |
| 14859 | "resolved": "https://registry.npmjs.org/masonry-layout/-/masonry-layout-4.2.2.tgz", |
| 14860 | "integrity": "sha512-iGtAlrpHNyxaR19CvKC3npnEcAwszXoyJiI8ARV2ePi7fmYhIud25MHK8Zx4P0LCC4d3TNO9+rFa1KoK1OEOaA==", |
14873 | 14861 | "requires": { |
14874 | | "fizzy-ui-utils": "^1.0.1", |
14875 | | "get-size": "~1.2.2", |
14876 | | "outlayer": "~1.4.0" |
| 14862 | "get-size": "^2.0.2", |
| 14863 | "outlayer": "^2.1.0" |
14877 | 14864 | } |
14878 | 14865 | }, |
14879 | 14866 | "matchdep": { |
… |
… |
|
16111 | 16098 | } |
16112 | 16099 | }, |
16113 | 16100 | "outlayer": { |
16114 | | "version": "1.4.2", |
16115 | | "resolved": "https://registry.npmjs.org/outlayer/-/outlayer-1.4.2.tgz", |
16116 | | "integrity": "sha1-bT81+QeMLLdyqb7JOLXqL8dSv0M=", |
| 16101 | "version": "2.1.1", |
| 16102 | "resolved": "https://registry.npmjs.org/outlayer/-/outlayer-2.1.1.tgz", |
| 16103 | "integrity": "sha1-KYY7beEOpdrf/8rfoNcokHOH6aI=", |
16117 | 16104 | "requires": { |
16118 | | "desandro-get-style-property": "~1.0.4", |
16119 | | "desandro-matches-selector": "~1.0.2", |
16120 | | "doc-ready": "1.0.x", |
16121 | | "eventie": "~1.0.3", |
16122 | | "fizzy-ui-utils": "~1.0.1", |
16123 | | "get-size": "~1.2.2", |
16124 | | "wolfy87-eventemitter": ">=4.2 <5" |
| 16105 | "ev-emitter": "^1.0.0", |
| 16106 | "fizzy-ui-utils": "^2.0.0", |
| 16107 | "get-size": "^2.0.2" |
16125 | 16108 | } |
16126 | 16109 | }, |
16127 | 16110 | "p-defer": { |
… |
… |
|
16436 | 16419 | "dependencies": { |
16437 | 16420 | "progress": { |
16438 | 16421 | "version": "1.1.8", |
16439 | | "resolved": "http://registry.npmjs.org/progress/-/progress-1.1.8.tgz", |
| 16422 | "resolved": "https://registry.npmjs.org/progress/-/progress-1.1.8.tgz", |
16440 | 16423 | "integrity": "sha1-4mDHj2Fhzdmw5WzD4Khd4Xx6V74=", |
16441 | 16424 | "dev": true |
16442 | 16425 | } |
diff --git package.json package.json
index 4bf1a8435c..e4e719d910 100644
|
|
|
111 | 111 | "jquery-hoverintent": "1.8.3", |
112 | 112 | "jquery-ui": "https://github.com/jquery/jquery-ui/archive/1.11.4.tar.gz", |
113 | 113 | "lodash": "4.17.15", |
114 | | "masonry-layout": "3.3.2", |
| 114 | "masonry-layout": "4.2.2", |
115 | 115 | "moment": "2.22.2", |
116 | 116 | "polyfill-library": "3.27.4", |
117 | 117 | "react": "16.8.4", |
diff --git src/wp-includes/script-loader.php src/wp-includes/script-loader.php
index 4ad643008c..641453712b 100644
|
|
function wp_default_scripts( &$scripts ) { |
1092 | 1092 | // Masonry v2 depended on jQuery. v3 does not. The older jquery-masonry handle is a shiv. |
1093 | 1093 | // It sets jQuery as a dependency, as the theme may have been implicitly loading it this way. |
1094 | 1094 | $scripts->add( 'imagesloaded', '/wp-includes/js/imagesloaded.min.js', array(), '3.2.0', 1 ); |
1095 | | $scripts->add( 'masonry', '/wp-includes/js/masonry.min.js', array( 'imagesloaded' ), '3.3.2', 1 ); |
| 1095 | $scripts->add( 'masonry', '/wp-includes/js/masonry.min.js', array( 'imagesloaded' ), '4.2.2', 1 ); |
1096 | 1096 | $scripts->add( 'jquery-masonry', "/wp-includes/js/jquery/jquery.masonry$dev_suffix.js", array( 'jquery', 'masonry' ), '3.1.2b', 1 ); |
1097 | 1097 | |
1098 | 1098 | $scripts->add( 'thickbox', '/wp-includes/js/thickbox/thickbox.js', array( 'jquery' ), '3.1-20121105', 1 ); |