From fc87c009806dcc98867f6b58efe29b042aa01dee Mon Sep 17 00:00:00 2001 From: littleblack111 Date: Mon, 18 May 2026 23:10:59 +0800 Subject: node: update --- node_modules/svgo/plugins/removeTitle.js | 27 --------------------------- 1 file changed, 27 deletions(-) delete mode 100644 node_modules/svgo/plugins/removeTitle.js (limited to 'node_modules/svgo/plugins/removeTitle.js') diff --git a/node_modules/svgo/plugins/removeTitle.js b/node_modules/svgo/plugins/removeTitle.js deleted file mode 100644 index 906dd3c2..00000000 --- a/node_modules/svgo/plugins/removeTitle.js +++ /dev/null @@ -1,27 +0,0 @@ -'use strict'; - -const { detachNodeFromParent } = require('../lib/xast.js'); - -exports.name = 'removeTitle'; -exports.description = 'removes '; - -/** - * Remove <title>. - * - * https://developer.mozilla.org/docs/Web/SVG/Element/title - * - * @author Igor Kalashnikov - * - * @type {import('./plugins-types').Plugin<'removeTitle'>} - */ -exports.fn = () => { - return { - element: { - enter: (node, parentNode) => { - if (node.name === 'title') { - detachNodeFromParent(node, parentNode); - } - }, - }, - }; -}; -- cgit v1.2.3