This commit is contained in:
Александр Тороп
2024-03-30 18:27:37 +03:00
commit 038bf44010
2765 changed files with 293753 additions and 0 deletions

21
node_modules/lodash/_escapeHtmlChar.js generated vendored Normal file
View File

@@ -0,0 +1,21 @@
var basePropertyOf = require('./_basePropertyOf');
/** Used to map characters to HTML entities. */
var htmlEscapes = {
'&': '&',
'<': '&lt;',
'>': '&gt;',
'"': '&quot;',
"'": '&#39;'
};
/**
* Used by `_.escape` to convert characters to HTML entities.
*
* @private
* @param {string} chr The matched character to escape.
* @returns {string} Returns the escaped character.
*/
var escapeHtmlChar = basePropertyOf(htmlEscapes);
module.exports = escapeHtmlChar;