From 275f9dc0bdf3e58aa36b800f55f8648fbc55d8af Mon Sep 17 00:00:00 2001 From: littleblack111 Date: Thu, 4 Jan 2024 11:07:54 +0800 Subject: upgrade --- node_modules/svgo/plugins/removeOffCanvasPaths.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'node_modules/svgo/plugins/removeOffCanvasPaths.js') diff --git a/node_modules/svgo/plugins/removeOffCanvasPaths.js b/node_modules/svgo/plugins/removeOffCanvasPaths.js index 8afd1e9a..60a69fb1 100644 --- a/node_modules/svgo/plugins/removeOffCanvasPaths.js +++ b/node_modules/svgo/plugins/removeOffCanvasPaths.js @@ -57,7 +57,7 @@ exports.fn = () => { // ensure that the dimensions are 4 values separated by space const m = /^(-?\d*\.?\d+) (-?\d*\.?\d+) (\d*\.?\d+) (\d*\.?\d+)$/.exec( - viewBox + viewBox, ); if (m == null) { return; @@ -116,7 +116,7 @@ exports.fn = () => { const { left, top, width, height } = viewBoxData; /** - * @type {Array} + * @type {PathDataItem[]} */ const viewBoxPathData = [ { command: 'M', args: [left, top] }, -- cgit v1.2.3