Make WordPress Core

Ticket #48031: 48031.3.diff

File 48031.3.diff, 5.6 KB (added by Hareesh Pillai, 4 years ago)

Patch refreshed

  • package-lock.json

     
    62356235                },
    6236                 "desandro-get-style-property": {
    6237                         "version": "1.0.4",
    6238                         "resolved": "https://registry.npmjs.org/desandro-get-style-property/-/desandro-get-style-property-1.0.4.tgz",
    6239                         "integrity": "sha1-9YQsIeo0tjq89pvvNarJVuHFf3k="
    6240                 },
    62416236                "desandro-matches-selector": {
    6242                         "version": "1.0.3",
    6243                         "resolved": "https://registry.npmjs.org/desandro-matches-selector/-/desandro-matches-selector-1.0.3.tgz",
    6244                         "integrity": "sha1-4bM3gcTcZU0GzU/FbO5EccKYTSM="
     6237                        "version": "2.0.2",
     6238                        "resolved": "https://registry.npmjs.org/desandro-matches-selector/-/desandro-matches-selector-2.0.2.tgz",
     6239                        "integrity": "sha1-cXvu1NwT59jzdi9wem1YpndCGOE="
    62456240                },
    62466241                "destroy": {
  • package.json

     			"version": "1.0.4",
    @@ -8873,14 +8868,6 @@
     				"buffer-indexof": "^1.0.0"
     			}
     		},
    -		"doc-ready": {
    -			"version": "1.0.4",
    -			"resolved": "https://registry.npmjs.org/doc-ready/-/doc-ready-1.0.4.tgz",
    -			"integrity": "sha1-N/U5GWnP+ZQwP9/vLl1QNX+BZNM=",
    -			"requires": {
    -				"eventie": "^1"
    -			}
    -		},
     		"doctrine": {
     			"version": "2.1.0",
     			"resolved": "https://registry.npmjs.org/doctrine/-/doctrine-2.1.0.tgz",
    @@ -9040,7 +9027,7 @@
     		},
    +		"ev-emitter": {
    +			"version": "1.1.1",
    +			"resolved": "https://registry.npmjs.org/ev-emitter/-/ev-emitter-1.1.1.tgz",
    +			"integrity": "sha512-ipiDYhdQSCZ4hSbX4rMW+XzNKMD1prg/sTvoVmSLkuQ1MVlwjJQQA+sW8tMYR3BLUr9KjodFV4pvzunvRhd33Q=="
    +		},
     		"event-source-polyfill": {
     			"version": "0.0.9",
     			"resolved": "https://registry.npmjs.org/event-source-polyfill/-/event-source-polyfill-0.0.9.tgz",
    @@ -10752,12 +10744,11 @@
     			}
     		},
     		"fizzy-ui-utils": {
    -			"version": "1.0.1",
    -			"resolved": "https://registry.npmjs.org/fizzy-ui-utils/-/fizzy-ui-utils-1.0.1.tgz",
    -			"integrity": "sha1-qkEGZB51O8ilzqAQMVskiYyTRAw=",
    +			"version": "2.0.7",
    +			"resolved": "https://registry.npmjs.org/fizzy-ui-utils/-/fizzy-ui-utils-2.0.7.tgz",
    +			"integrity": "sha512-CZXDVXQ1If3/r8s0T+v+qVeMshhfcuq0rqIFgJnrtd+Bu8GmDmqMjntjUePypVtjHXKJ6V4sw9zeyox34n9aCg==",
     			"requires": {
    -				"desandro-matches-selector": "~1.0.2",
    -				"doc-ready": "~1.0.3"
    +				"desandro-matches-selector": "^2.0.0"
     			}
     		},
     		"flat-cache": {
    @@ -11637,12 +11628,9 @@
     			}
     		},
     		"get-size": {
    -			"version": "1.2.2",
    -			"resolved": "https://registry.npmjs.org/get-size/-/get-size-1.2.2.tgz",
    -			"integrity": "sha1-v8PvHQGeNFCMmU+jJ9GDwoddYuY=",
    -			"requires": {
    -				"desandro-get-style-property": "^1"
    -			}
    +			"version": "2.0.3",
    +			"resolved": "https://registry.npmjs.org/get-size/-/get-size-2.0.3.tgz",
    +			"integrity": "sha512-lXNzT/h/dTjTxRbm9BXb+SGxxzkm97h/PCIKtlN/CBCxxmkkIVV21udumMS93MuVTDX583gqc94v3RjuHmI+2Q=="
     		},
     		"get-stdin": {
     			"version": "6.0.0",
    @@ -16722,13 +16710,12 @@
     			"dev": true
     		},
     		"masonry-layout": {
    -			"version": "3.3.2",
    -			"resolved": "https://registry.npmjs.org/masonry-layout/-/masonry-layout-3.3.2.tgz",
    -			"integrity": "sha1-uQwMClCaXtKoBrvIqBEokKdjQbo=",
    +			"version": "4.2.2",
    +			"resolved": "https://registry.npmjs.org/masonry-layout/-/masonry-layout-4.2.2.tgz",
    +			"integrity": "sha512-iGtAlrpHNyxaR19CvKC3npnEcAwszXoyJiI8ARV2ePi7fmYhIud25MHK8Zx4P0LCC4d3TNO9+rFa1KoK1OEOaA==",
     			"requires": {
    -				"fizzy-ui-utils": "^1.0.1",
    -				"get-size": "~1.2.2",
    -				"outlayer": "~1.4.0"
    +				"get-size": "^2.0.2",
    +				"outlayer": "^2.1.0"
     			}
     		},
     		"matchdep": {
    @@ -18298,17 +18285,13 @@
     			}
     		},
     		"outlayer": {
    -			"version": "1.4.2",
    -			"resolved": "https://registry.npmjs.org/outlayer/-/outlayer-1.4.2.tgz",
    -			"integrity": "sha1-bT81+QeMLLdyqb7JOLXqL8dSv0M=",
    +			"version": "2.1.1",
    +			"resolved": "https://registry.npmjs.org/outlayer/-/outlayer-2.1.1.tgz",
    +			"integrity": "sha1-KYY7beEOpdrf/8rfoNcokHOH6aI=",
     			"requires": {
    -				"desandro-get-style-property": "~1.0.4",
    -				"desandro-matches-selector": "~1.0.2",
    -				"doc-ready": "1.0.x",
    -				"eventie": "~1.0.3",
    -				"fizzy-ui-utils": "~1.0.1",
    -				"get-size": "~1.2.2",
    -				"wolfy87-eventemitter": ">=4.2 <5"
    +				"ev-emitter": "^1.0.0",
    +				"fizzy-ui-utils": "^2.0.0",
    +				"get-size": "^2.0.2"
     			}
     		},
     		"p-cancelable": {
     
    135135                "jquery-hoverintent": "1.8.3",
    136136                "jquery-ui": "https://github.com/jquery/jquery-ui/archive/1.11.4.tar.gz",
    137137                "lodash": "4.17.15",
    138                 "masonry-layout": "3.3.2",
     138                "masonry-layout": "4.2.2",
    139139                "moment": "2.22.2",
    140140                "polyfill-library": "3.42.0",
    141141                "react": "16.9.0",
  • src/wp-includes/script-loader.php

     
    826826        // Masonry v2 depended on jQuery. v3 does not. The older jquery-masonry handle is a shiv.
    827827        // It sets jQuery as a dependency, as the theme may have been implicitly loading it this way.
    828828        $scripts->add( 'imagesloaded', '/wp-includes/js/imagesloaded.min.js', array(), '3.2.0', 1 );
    829         $scripts->add( 'masonry', '/wp-includes/js/masonry.min.js', array( 'imagesloaded' ), '3.3.2', 1 );
     829        $scripts->add( 'masonry', '/wp-includes/js/masonry.min.js', array( 'imagesloaded' ), '4.2.2', 1 );
    830830        $scripts->add( 'jquery-masonry', "/wp-includes/js/jquery/jquery.masonry$dev_suffix.js", array( 'jquery', 'masonry' ), '3.1.2b', 1 );
    831831
    832832        $scripts->add( 'thickbox', '/wp-includes/js/thickbox/thickbox.js', array( 'jquery' ), '3.1-20121105', 1 );