Changeset 47416
- Timestamp:
- 03/03/2020 04:53:32 PM (5 years ago)
- Location:
- trunk
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/package-lock.json
r47408 r47416 5863 5863 } 5864 5864 }, 5865 "core-js-url-browser": { 5866 "version": "3.6.4", 5867 "resolved": "https://registry.npmjs.org/core-js-url-browser/-/core-js-url-browser-3.6.4.tgz", 5868 "integrity": "sha512-VCMkPikOVp5JXftTj0E3gPZNKa0exQX837KxyPcnMAKvImWG8+RbXwEHEGMjiNz+9Vl2YgutkVYOpq7iaSOt/Q==" 5869 }, 5865 5870 "core-util-is": { 5866 5871 "version": "1.0.2", -
trunk/package.json
r47408 r47416 122 122 "backbone": "1.4.0", 123 123 "clipboard": "2.0.4", 124 "core-js-url-browser": "3.6.4", 124 125 "element-closest": "^2.0.2", 125 126 "formdata-polyfill": "3.0.13", -
trunk/src/wp-includes/script-loader.php
r47355 r47416 101 101 'wp-polyfill-formdata' => '3.0.12', 102 102 'wp-polyfill-node-contains' => '3.42.0', 103 'wp-polyfill-url' => '3. 42.0',103 'wp-polyfill-url' => '3.6.4', 104 104 'wp-polyfill-dom-rect' => '3.42.0', 105 105 'wp-polyfill-element-closest' => '2.0.2', … … 127 127 '\'fetch\' in window' => 'wp-polyfill-fetch', 128 128 'document.contains' => 'wp-polyfill-node-contains', 129 'window.URL' => 'wp-polyfill-url',130 129 'window.DOMRect' => 'wp-polyfill-dom-rect', 130 'window.URL && window.URL.prototype && window.URLSearchParams' => 'wp-polyfill-url', 131 131 'window.FormData && window.FormData.prototype.keys' => 'wp-polyfill-formdata', 132 132 'Element.prototype.matches && Element.prototype.closest' => 'wp-polyfill-element-closest', -
trunk/tests/phpunit/tests/dependencies/scripts.php
r47238 r47416 718 718 $expected .= "<script type='text/javascript' src='/wp-includes/js/dist/vendor/wp-polyfill.min.js'></script>\n"; 719 719 $expected .= "<script type='text/javascript'>\n"; 720 $expected .= "( 'fetch' in window ) || document.write( '<script src=\"http://example.org/wp-includes/js/dist/vendor/wp-polyfill-fetch.min.js\"></scr' + 'ipt>' );( document.contains ) || document.write( '<script src=\"http://example.org/wp-includes/js/dist/vendor/wp-polyfill-node-contains.min.js\"></scr' + 'ipt>' );( window. URL ) || document.write( '<script src=\"http://example.org/wp-includes/js/dist/vendor/wp-polyfill-url.min.js\"></scr' + 'ipt>' );( window.DOMRect ) || document.write( '<script src=\"http://example.org/wp-includes/js/dist/vendor/wp-polyfill-dom-rect.min.js\"></scr' + 'ipt>' );( window.FormData && window.FormData.prototype.keys ) || document.write( '<script src=\"http://example.org/wp-includes/js/dist/vendor/wp-polyfill-formdata.min.js\"></scr' + 'ipt>' );( Element.prototype.matches && Element.prototype.closest ) || document.write( '<script src=\"http://example.org/wp-includes/js/dist/vendor/wp-polyfill-element-closest.min.js\"></scr' + 'ipt>' );\n";720 $expected .= "( 'fetch' in window ) || document.write( '<script src=\"http://example.org/wp-includes/js/dist/vendor/wp-polyfill-fetch.min.js\"></scr' + 'ipt>' );( document.contains ) || document.write( '<script src=\"http://example.org/wp-includes/js/dist/vendor/wp-polyfill-node-contains.min.js\"></scr' + 'ipt>' );( window.DOMRect ) || document.write( '<script src=\"http://example.org/wp-includes/js/dist/vendor/wp-polyfill-dom-rect.min.js\"></scr' + 'ipt>' );( window.URL && window.URL.prototype && window.URLSearchParams ) || document.write( '<script src=\"http://example.org/wp-includes/js/dist/vendor/wp-polyfill-url.min.js\"></scr' + 'ipt>' );( window.FormData && window.FormData.prototype.keys ) || document.write( '<script src=\"http://example.org/wp-includes/js/dist/vendor/wp-polyfill-formdata.min.js\"></scr' + 'ipt>' );( Element.prototype.matches && Element.prototype.closest ) || document.write( '<script src=\"http://example.org/wp-includes/js/dist/vendor/wp-polyfill-element-closest.min.js\"></scr' + 'ipt>' );\n"; 721 721 $expected .= "</script>\n"; 722 722 $expected .= "<script type='text/javascript' src='/wp-includes/js/dist/dom-ready.min.js'></script>\n"; -
trunk/tools/webpack/packages.js
r47352 r47416 78 78 'wp-polyfill-element-closest.js': 'element-closest/element-closest.js', 79 79 'wp-polyfill-node-contains.js': 'polyfill-library/polyfills/Node/prototype/contains/polyfill.js', 80 'wp-polyfill-url.js': ' polyfill-library/polyfills/URL/polyfill.js',80 'wp-polyfill-url.js': 'core-js-url-browser/url.js', 81 81 'wp-polyfill-dom-rect.js': 'polyfill-library/polyfills/DOMRect/polyfill.js', 82 82 'wp-polyfill-formdata.js': 'formdata-polyfill/FormData.js', … … 90 90 'wp-polyfill.min.js': '@babel/polyfill/dist/polyfill.min.js', 91 91 'wp-polyfill-formdata.min.js': 'formdata-polyfill/formdata.min.js', 92 'wp-polyfill-url.min.js': 'core-js-url-browser/url.min.js', 92 93 'moment.min.js': 'moment/min/moment.min.js', 93 94 'react.min.js': 'react/umd/react.production.min.js', … … 99 100 'wp-polyfill-element-closest.min.js': 'element-closest/element-closest.js', 100 101 'wp-polyfill-node-contains.min.js': 'polyfill-library/polyfills/Node/prototype/contains/polyfill.js', 101 'wp-polyfill-url.min.js': 'polyfill-library/polyfills/URL/polyfill.js',102 102 'wp-polyfill-dom-rect.min.js': 'polyfill-library/polyfills/DOMRect/polyfill.js', 103 103 };
Note: See TracChangeset
for help on using the changeset viewer.