equal
deleted
inserted
replaced
27 // EXPORTS |
27 // EXPORTS |
28 __webpack_require__.d(__webpack_exports__, { |
28 __webpack_require__.d(__webpack_exports__, { |
29 "default": () => (/* binding */ warning) |
29 "default": () => (/* binding */ warning) |
30 }); |
30 }); |
31 |
31 |
32 ;// CONCATENATED MODULE: ./node_modules/@wordpress/warning/build-module/utils.js |
32 ;// ./node_modules/@wordpress/warning/build-module/utils.js |
33 /** |
33 /** |
34 * Object map tracking messages which have been logged, for use in ensuring a |
34 * Object map tracking messages which have been logged, for use in ensuring a |
35 * message is only logged once. |
35 * message is only logged once. |
36 * |
|
37 * @type {Set<string>} |
|
38 */ |
36 */ |
39 const logged = new Set(); |
37 const logged = new Set(); |
40 |
38 |
41 ;// CONCATENATED MODULE: ./node_modules/@wordpress/warning/build-module/index.js |
39 ;// ./node_modules/@wordpress/warning/build-module/index.js |
42 /** |
40 /** |
43 * Internal dependencies |
41 * Internal dependencies |
44 */ |
42 */ |
45 |
43 |
46 function isDev() { |
44 function isDev() { |
49 } |
47 } |
50 |
48 |
51 /** |
49 /** |
52 * Shows a warning with `message` if environment is not `production`. |
50 * Shows a warning with `message` if environment is not `production`. |
53 * |
51 * |
54 * @param {string} message Message to show in the warning. |
52 * @param message Message to show in the warning. |
55 * |
53 * |
56 * @example |
54 * @example |
57 * ```js |
55 * ```js |
58 * import warning from '@wordpress/warning'; |
56 * import warning from '@wordpress/warning'; |
59 * |
57 * |