summaryrefslogtreecommitdiff
path: root/node_modules/postcss-discard-duplicates
diff options
context:
space:
mode:
authorlittleblack111 <littleblack11111@gmail.com>2024-05-14 14:05:49 +0800
committerlittleblack111 <littleblack11111@gmail.com>2024-05-14 14:05:49 +0800
commit06823fbf1c2e763a5bf76c3990ca98fbbcd98691 (patch)
tree4280bece3888d12a022093bf1a9cd1b049393602 /node_modules/postcss-discard-duplicates
parent1368909b3cd552dbb0d12d5863c597f5be46177d (diff)
updated node_modules
Diffstat (limited to 'node_modules/postcss-discard-duplicates')
-rw-r--r--node_modules/postcss-discard-duplicates/package.json4
-rw-r--r--node_modules/postcss-discard-duplicates/src/index.js2
-rw-r--r--node_modules/postcss-discard-duplicates/types/index.d.ts1
3 files changed, 4 insertions, 3 deletions
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