External Libraries: Update clipboard and polyfill-library.

This updates the Clipboard.js and `polyfill-library` dependencies to their latest versions (`2.0.11` and `4.4.0`, respectively).

Fixes #56670.

git-svn-id: https://develop.svn.wordpress.org/trunk@54386 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Jonathan Desrosiers
2022-10-04 15:52:33 +00:00
parent 24809a6346
commit ad31d53c64
4 changed files with 28 additions and 28 deletions

44
package-lock.json generated
View File

@@ -8587,9 +8587,9 @@
"dev": true
},
"clipboard": {
"version": "2.0.10",
"resolved": "https://registry.npmjs.org/clipboard/-/clipboard-2.0.10.tgz",
"integrity": "sha512-cz3m2YVwFz95qSEbCDi2fzLN/epEN9zXBvfgAoGkvGOJZATMl9gtTDVOtBYkx2ODUJl2kvmud7n32sV2BpYR4g==",
"version": "2.0.11",
"resolved": "https://registry.npmjs.org/clipboard/-/clipboard-2.0.11.tgz",
"integrity": "sha512-C+0bbOqkezLIsmWSvlsXS0Q0bmkugu7jcfMIACB+RDEntIzQIkdr148we28AfSloQLRdZlYL/QYyrq05j/3Faw==",
"requires": {
"good-listener": "^1.2.2",
"select": "^1.1.2",
@@ -12709,7 +12709,7 @@
"from2-string": {
"version": "1.1.0",
"resolved": "https://registry.npmjs.org/from2-string/-/from2-string-1.1.0.tgz",
"integrity": "sha1-GCgrJ9CKJnyzAwzSuLSw8hKvdSo=",
"integrity": "sha512-m8vCh+KnXXXBtfF2VUbiYlQ+nczLcntB0BrtNgpmLkHylhObe9WF1b2LZjBBzrZzA6P4mkEla6ZYQoOUTG8cYA==",
"requires": {
"from2": "^2.0.3"
}
@@ -13241,7 +13241,7 @@
"good-listener": {
"version": "1.2.2",
"resolved": "https://registry.npmjs.org/good-listener/-/good-listener-1.2.2.tgz",
"integrity": "sha1-1TswzfkxPf+33JoNR3CWqm0UXFA=",
"integrity": "sha512-goW1b+d9q/HIwbVYZzZ6SsTr4IgE+WA44A0GmPIQstuOrgsFcT7VEJ48nmr9GaRtNu0XTKacFLGnBPAM6Afouw==",
"requires": {
"delegate": "^3.1.2"
}
@@ -19302,11 +19302,11 @@
"dev": true
},
"mnemonist": {
"version": "0.38.5",
"resolved": "https://registry.npmjs.org/mnemonist/-/mnemonist-0.38.5.tgz",
"integrity": "sha512-bZTFT5rrPKtPJxj8KSV0WkPyNxl72vQepqqVUAW2ARUpUSF2qXMB6jZj7hW5/k7C1rtpzqbD/IIbJwLXUjCHeg==",
"version": "0.39.3",
"resolved": "https://registry.npmjs.org/mnemonist/-/mnemonist-0.39.3.tgz",
"integrity": "sha512-CQ9Nq2TjXH+bybu89QHHrJnv3FnGtozaQPna3gvGpgHSJhyfHR2khMN6EOL/Z1b6ikmbZgCUD2eOBtTS9FOdFw==",
"requires": {
"obliterator": "^2.0.0"
"obliterator": "^2.0.1"
}
},
"moment": {
@@ -20605,9 +20605,9 @@
"integrity": "sha512-8Quz071ZmGi0QWEG4xB3Bv5Lpw6K0Uca87FLoLMKMWjB6qIq9IyBegP3b/VLNxv2WYvIMGoeUQ+c6ibUkNa8TA=="
},
"obliterator": {
"version": "2.0.2",
"resolved": "https://registry.npmjs.org/obliterator/-/obliterator-2.0.2.tgz",
"integrity": "sha512-g0TrA7SbUggROhDPK8cEu/qpItwH2LSKcNl4tlfBNT54XY+nOsqrs0Q68h1V9b3HOSpIWv15jb1lax2hAggdIg=="
"version": "2.0.4",
"resolved": "https://registry.npmjs.org/obliterator/-/obliterator-2.0.4.tgz",
"integrity": "sha512-lgHwxlxV1qIg1Eap7LgIeoBWIMFibOjbrYPIPJZcI1mmGAI2m3lNYpK12Y+GBdPQ0U1hRwSord7GIaawz962qQ=="
},
"obuf": {
"version": "1.1.2",
@@ -21155,15 +21155,15 @@
"dev": true
},
"polyfill-library": {
"version": "4.0.0",
"resolved": "https://registry.npmjs.org/polyfill-library/-/polyfill-library-4.0.0.tgz",
"integrity": "sha512-xwNRAaaIjP1FSwh8ieuDTYqWMyrOGp2a5zzZsfi8TjzLkewJGBkRD5rCbwxnPHGJ6fU/veE9Z8xQ9DOxp7WpPA==",
"version": "4.4.0",
"resolved": "https://registry.npmjs.org/polyfill-library/-/polyfill-library-4.4.0.tgz",
"integrity": "sha512-PPEBdgjDBGcHkRoPK/lnrpTY1X5DX2JxlB3hsvs5VGP+5b6MB+s17ld4veCSGYHNF7fm5ngcy+JSO/hIqL1qTw==",
"requires": {
"@financial-times/polyfill-useragent-normaliser": "^2.0.0",
"@financial-times/polyfill-useragent-normaliser": "^2.0.1",
"from2-string": "^1.1.0",
"graceful-fs": "^4.2.8",
"graceful-fs": "^4.2.10",
"merge2": "^1.0.3",
"mnemonist": "^0.38.5",
"mnemonist": "^0.39.2",
"stream-from-promise": "^1.0.0",
"stream-to-string": "^1.1.0",
"toposort": "^2.0.2"
@@ -21767,7 +21767,7 @@
"promise-polyfill": {
"version": "1.1.6",
"resolved": "https://registry.npmjs.org/promise-polyfill/-/promise-polyfill-1.1.6.tgz",
"integrity": "sha1-zQTv9G9clcOn0EVZHXm14+AfEtc="
"integrity": "sha512-7rrONfyLkDEc7OJ5QBkqa4KI4EBhCd340xRuIUPGCfu13znS+vx+VDdrT9ODAJHlXm7w4lbxN3DRjyv58EuzDg=="
},
"prompts": {
"version": "2.4.2",
@@ -23054,7 +23054,7 @@
"select": {
"version": "1.1.2",
"resolved": "https://registry.npmjs.org/select/-/select-1.1.2.tgz",
"integrity": "sha1-DnNQrN7ICxEIUoeG7B1EGNEbOW0="
"integrity": "sha512-OwpTSOfy6xSs1+pwcNrv0RBMOzI39Lp3qQKUTPVVPRjCdNa5JH/oPRiqsesIskK8TVgmRiHwO4KXlV2Li9dANA=="
},
"select-hose": {
"version": "2.0.0",
@@ -23983,7 +23983,7 @@
"stream-from-promise": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/stream-from-promise/-/stream-from-promise-1.0.0.tgz",
"integrity": "sha1-djaH9913fkyJT2QIMz/Gs/yKYbs="
"integrity": "sha512-j84KLkudt+gr8KJ21RB02btPLx61uGbrLnewsWz6QKmsz8/c4ZFqXw6mJh5+G4oRN7DgDxdbjPxnpySpg1mUig=="
},
"stream-to-string": {
"version": "1.2.0",
@@ -25430,7 +25430,7 @@
"toposort": {
"version": "2.0.2",
"resolved": "https://registry.npmjs.org/toposort/-/toposort-2.0.2.tgz",
"integrity": "sha1-riF2gXXRVZ1IvvNUILL0li8JwzA="
"integrity": "sha512-0a5EOkAUp8D4moMi2W8ZF8jcga7BgZd91O/yabJCFY8az+XSzeGyTKs0Aoo897iV1Nj6guFq8orWDS96z91oGg=="
},
"totalist": {
"version": "1.1.0",

View File

@@ -133,7 +133,7 @@
"@wordpress/widgets": "2.15.4",
"@wordpress/wordcount": "3.17.1",
"backbone": "1.4.1",
"clipboard": "2.0.10",
"clipboard": "2.0.11",
"core-js-url-browser": "3.6.4",
"element-closest": "^2.0.2",
"formdata-polyfill": "4.0.10",
@@ -148,7 +148,7 @@
"masonry-layout": "4.2.2",
"moment": "2.29.4",
"objectFitPolyfill": "2.3.5",
"polyfill-library": "4.0.0",
"polyfill-library": "4.4.0",
"react": "17.0.2",
"react-dom": "17.0.2",
"regenerator-runtime": "0.13.9",

File diff suppressed because one or more lines are too long

View File

@@ -110,9 +110,9 @@ function wp_default_packages_vendor( $scripts ) {
'lodash' => '4.17.19',
'wp-polyfill-fetch' => '3.6.2',
'wp-polyfill-formdata' => '4.0.10',
'wp-polyfill-node-contains' => '4.0.0',
'wp-polyfill-node-contains' => '4.4.0',
'wp-polyfill-url' => '3.6.4',
'wp-polyfill-dom-rect' => '4.0.0',
'wp-polyfill-dom-rect' => '4.4.0',
'wp-polyfill-element-closest' => '2.0.2',
'wp-polyfill-object-fit' => '2.3.5',
'wp-polyfill' => '3.15.0',
@@ -740,7 +740,7 @@ function wp_default_scripts( $scripts ) {
$scripts->add( 'editor', "/wp-admin/js/editor$suffix.js", array( 'utils', 'jquery' ), false, 1 );
$scripts->add( 'clipboard', "/wp-includes/js/clipboard$suffix.js", array(), '2.0.10', 1 );
$scripts->add( 'clipboard', "/wp-includes/js/clipboard$suffix.js", array(), '2.0.11', 1 );
$scripts->add( 'wp-ajax-response', "/wp-includes/js/wp-ajax-response$suffix.js", array( 'jquery', 'wp-a11y' ), false, 1 );
did_action( 'init' ) && $scripts->localize(