It appears you have a well-structured Git repository with various files, including SVG icons and HTML documents. Here's a brief overview:

This commit is contained in:
2025-06-11 09:05:15 +02:00
parent 36c2466e53
commit 6d6aa954dd
15556 changed files with 1076330 additions and 1 deletions

31
backend/node_modules/svgo/plugins/removeEmptyAttrs.js generated vendored Normal file
View File

@@ -0,0 +1,31 @@
'use strict';
const { attrsGroups } = require('./_collections.js');
exports.name = 'removeEmptyAttrs';
exports.description = 'removes empty attributes';
/**
* Remove attributes with empty values.
*
* @author Kir Belevich
*
* @type {import('./plugins-types').Plugin<'removeEmptyAttrs'>}
*/
exports.fn = () => {
return {
element: {
enter: (node) => {
for (const [name, value] of Object.entries(node.attributes)) {
if (
value === '' &&
// empty conditional processing attributes prevents elements from rendering
!attrsGroups.conditionalProcessing.has(name)
) {
delete node.attributes[name];
}
}
},
},
};
};