From 06823fbf1c2e763a5bf76c3990ca98fbbcd98691 Mon Sep 17 00:00:00 2001 From: littleblack111 Date: Tue, 14 May 2024 14:05:49 +0800 Subject: updated node_modules --- node_modules/postcss-discard-duplicates/package.json | 4 ++-- node_modules/postcss-discard-duplicates/src/index.js | 2 +- node_modules/postcss-discard-duplicates/types/index.d.ts | 1 + 3 files changed, 4 insertions(+), 3 deletions(-) (limited to 'node_modules/postcss-discard-duplicates') diff --git a/node_modules/postcss-discard-duplicates/package.json b/node_modules/postcss-discard-duplicates/package.json index b9d78e2a..b4295e95 100644 --- a/node_modules/postcss-discard-duplicates/package.json +++ b/node_modules/postcss-discard-duplicates/package.json @@ -1,6 +1,6 @@ { "name": "postcss-discard-duplicates", - "version": "6.0.1", + "version": "6.0.3", "description": "Discard duplicate rules in your CSS files with PostCSS.", "main": "src/index.js", "types": "types/index.d.ts", @@ -31,7 +31,7 @@ "node": "^14 || ^16 || >=18.0" }, "devDependencies": { - "postcss": "^8.4.32" + "postcss": "^8.4.35" }, "peerDependencies": { "postcss": "^8.4.31" diff --git a/node_modules/postcss-discard-duplicates/src/index.js b/node_modules/postcss-discard-duplicates/src/index.js index 28ca2ca5..e84361e6 100644 --- a/node_modules/postcss-discard-duplicates/src/index.js +++ b/node_modules/postcss-discard-duplicates/src/index.js @@ -68,7 +68,7 @@ function equals(nodeA, nodeB) { break; } - if (a.nodes) { + if (a.nodes && b.nodes) { if (a.nodes.length !== b.nodes.length) { return false; } diff --git a/node_modules/postcss-discard-duplicates/types/index.d.ts b/node_modules/postcss-discard-duplicates/types/index.d.ts index 4443a311..e449e8b4 100644 --- a/node_modules/postcss-discard-duplicates/types/index.d.ts +++ b/node_modules/postcss-discard-duplicates/types/index.d.ts @@ -7,3 +7,4 @@ declare function pluginCreator(): import('postcss').Plugin; declare namespace pluginCreator { let postcss: true; } +//# sourceMappingURL=index.d.ts.map \ No newline at end of file -- cgit v1.2.3