@tailwindcss-mangle/shared 4.1.0 → 4.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs CHANGED
@@ -145,7 +145,7 @@ function groupBy(arr, cb) {
145
145
  const bucketCategory = cb(item);
146
146
  const bucket = result[bucketCategory];
147
147
  if (Array.isArray(bucket)) {
148
- result[bucketCategory].push(item);
148
+ bucket.push(item);
149
149
  } else {
150
150
  result[bucketCategory] = [item];
151
151
  }
package/dist/index.js CHANGED
@@ -104,7 +104,7 @@ function groupBy(arr, cb) {
104
104
  const bucketCategory = cb(item);
105
105
  const bucket = result[bucketCategory];
106
106
  if (Array.isArray(bucket)) {
107
- result[bucketCategory].push(item);
107
+ bucket.push(item);
108
108
  } else {
109
109
  result[bucketCategory] = [item];
110
110
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@tailwindcss-mangle/shared",
3
3
  "type": "module",
4
- "version": "4.1.0",
4
+ "version": "4.1.2",
5
5
  "description": "The shared utils of tailwindcss-mangle",
6
6
  "author": "ice breaker <1324318532@qq.com>",
7
7
  "license": "MIT",