| @@ -1,5 +1,5 @@ | ||
| 1 | -/******/ (function() { // webpackBootstrap | |
| 1 | +/******/ (() => { // webpackBootstrap | |
| 2 | 2 | /******/ "use strict"; |
| 3 | 3 | /******/ // The require scope |
| 4 | 4 | /******/ var __webpack_require__ = {}; |
| 5 | 5 | /******/ |
| @@ -4,11 +4,11 @@ | ||
| 4 | 4 | /******/ var __webpack_require__ = {}; |
| 5 | 5 | /******/ |
| 6 | 6 | /************************************************************************/ |
| 7 | 7 | /******/ /* webpack/runtime/define property getters */ |
| 8 | -/******/ !function() { | |
| 8 | +/******/ (() => { | |
| 9 | 9 | /******/ // define getter functions for harmony exports |
| 10 | -/******/ __webpack_require__.d = function(exports, definition) { | |
| 10 | +/******/ __webpack_require__.d = (exports, definition) => { | |
| 11 | 11 | /******/ for(var key in definition) { |
| 12 | 12 | /******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) { |
| 13 | 13 | /******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] }); |
| 14 | 14 | /******/ } |
| @@ -13,25 +13,25 @@ | ||
| 13 | 13 | /******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] }); |
| 14 | 14 | /******/ } |
| 15 | 15 | /******/ } |
| 16 | 16 | /******/ }; |
| 17 | -/******/ }(); | |
| 17 | +/******/ })(); | |
| 18 | 18 | /******/ |
| 19 | 19 | /******/ /* webpack/runtime/hasOwnProperty shorthand */ |
| 20 | -/******/ !function() { | |
| 21 | -/******/ __webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); } | |
| 22 | -/******/ }(); | |
| 20 | +/******/ (() => { | |
| 21 | +/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop)) | |
| 22 | +/******/ })(); | |
| 23 | 23 | /******/ |
| 24 | 24 | /******/ /* webpack/runtime/make namespace object */ |
| 25 | -/******/ !function() { | |
| 25 | +/******/ (() => { | |
| 26 | 26 | /******/ // define __esModule on exports |
| 27 | -/******/ __webpack_require__.r = function(exports) { | |
| 27 | +/******/ __webpack_require__.r = (exports) => { | |
| 28 | 28 | /******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { |
| 29 | 29 | /******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); |
| 30 | 30 | /******/ } |
| 31 | 31 | /******/ Object.defineProperty(exports, '__esModule', { value: true }); |
| 32 | 32 | /******/ }; |
| 33 | -/******/ }(); | |
| 33 | +/******/ })(); | |
| 34 | 34 | /******/ |
| 35 | 35 | /************************************************************************/ |
| 36 | 36 | var __webpack_exports__ = {}; |
| 37 | 37 | // ESM COMPAT FLAG |
| @@ -38,15 +38,15 @@ | ||
| 38 | 38 | __webpack_require__.r(__webpack_exports__); |
| 39 | 39 | |
| 40 | 40 | // EXPORTS |
| 41 | 41 | __webpack_require__.d(__webpack_exports__, { |
| 42 | - "escapeAmpersand": function() { return /* binding */ escapeAmpersand; }, | |
| 43 | - "escapeAttribute": function() { return /* binding */ escapeAttribute; }, | |
| 44 | - "escapeEditableHTML": function() { return /* binding */ escapeEditableHTML; }, | |
| 45 | - "escapeHTML": function() { return /* binding */ escapeHTML; }, | |
| 46 | - "escapeLessThan": function() { return /* binding */ escapeLessThan; }, | |
| 47 | - "escapeQuotationMark": function() { return /* binding */ escapeQuotationMark; }, | |
| 48 | - "isValidAttributeName": function() { return /* binding */ isValidAttributeName; } | |
| 42 | + "escapeAmpersand": () => (/* binding */ escapeAmpersand), | |
| 43 | + "escapeAttribute": () => (/* binding */ escapeAttribute), | |
| 44 | + "escapeEditableHTML": () => (/* binding */ escapeEditableHTML), | |
| 45 | + "escapeHTML": () => (/* binding */ escapeHTML), | |
| 46 | + "escapeLessThan": () => (/* binding */ escapeLessThan), | |
| 47 | + "escapeQuotationMark": () => (/* binding */ escapeQuotationMark), | |
| 48 | + "isValidAttributeName": () => (/* binding */ isValidAttributeName) | |
| 49 | 49 | }); |
| 50 | 50 | |
| 51 | 51 | ;// CONCATENATED MODULE: ./packages/escape-html/build-module/escape-greater.js |
| 52 | 52 | /** |
| @@ -63,9 +63,9 @@ | ||
| 63 | 63 | */ |
| 64 | 64 | function __unstableEscapeGreaterThan(value) { |
| 65 | 65 | return value.replace(/>/g, '>'); |
| 66 | 66 | } |
| 67 | -//# sourceMappingURL=escape-greater.js.map | |
| 67 | + | |
| 68 | 68 | ;// CONCATENATED MODULE: ./packages/escape-html/build-module/index.js |
| 69 | 69 | /** |
| 70 | 70 | * Internal dependencies |
| 71 | 71 | */ |
| @@ -86,9 +86,9 @@ | ||
| 86 | 86 | /** |
| 87 | 87 | * Returns a string with ampersands escaped. Note that this is an imperfect |
| 88 | 88 | * implementation, where only ampersands which do not appear as a pattern of |
| 89 | 89 | * named, decimal, or hexadecimal character references are escaped. Invalid |
| 90 | - * named references (i.e. ambiguous ampersand) are are still permitted. | |
| 90 | + * named references (i.e. ambiguous ampersand) are still permitted. | |
| 91 | 91 | * |
| 92 | 92 | * @see https://w3c.github.io/html/syntax.html#character-references |
| 93 | 93 | * @see https://w3c.github.io/html/syntax.html#ambiguous-ampersand |
| 94 | 94 | * @see https://w3c.github.io/html/syntax.html#named-character-references |
| @@ -186,8 +186,8 @@ | ||
| 186 | 186 | |
| 187 | 187 | function isValidAttributeName(name) { |
| 188 | 188 | return !REGEXP_INVALID_ATTRIBUTE_NAME.test(name); |
| 189 | 189 | } |
| 190 | -//# sourceMappingURL=index.js.map | |
| 190 | + | |
| 191 | 191 | (window.wp = window.wp || {}).escapeHtml = __webpack_exports__; |
| 192 | 192 | /******/ })() |
| 193 | 193 | ; |