defuss-astro 1.4.3 → 1.4.4

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/README.md CHANGED
@@ -94,6 +94,6 @@ All commands are run from the root of the project, from a terminal:
94
94
 
95
95
  ---
96
96
 
97
- <img src="assets/defuss_comic.png" />
97
+ <img src="https://raw.githubusercontent.com/kyr0/defuss/refs/heads/main/assets/defuss_comic.png" />
98
98
 
99
99
  <caption><i><b>Come visit us on defuss island!</b></i></caption>
package/dist/index.cjs CHANGED
@@ -112,12 +112,12 @@ function index({
112
112
  glob("**/*.svg", { cwd })
113
113
  ]);
114
114
  if (htmlFiles.length === 0 && svgFiles.length === 0) return;
115
- logMessage(`\u2734\uFE0F Optimizing ${cssFiles.length} CSS stylesheets`);
115
+ logMessage(`\u26A1 Optimizing ${cssFiles.length} CSS stylesheets`);
116
116
  const minifyAndWritePromises = [];
117
117
  for (const filename of cssFiles) {
118
118
  minifyAndWritePromises.push(minifyAndWriteFile(cwd, filename, "css"));
119
119
  }
120
- logMessage(`\u2734\uFE0F Optimizing ${svgFiles.length} SVG vector graphics`);
120
+ logMessage(`\u26A1 Optimizing ${svgFiles.length} SVG vector graphics`);
121
121
  for (const filename of svgFiles) {
122
122
  minifyAndWritePromises.push(minifyAndWriteFile(cwd, filename, "svg"));
123
123
  }
@@ -125,7 +125,7 @@ function index({
125
125
  const end = node_perf_hooks.performance.now();
126
126
  const deltaT = end - start;
127
127
  const humanTime = deltaT < 1e3 ? `${deltaT.toFixed(0)}ms` : `${(deltaT / 1e3).toFixed(1)}s`;
128
- logMessage(`\u2734\uFE0F Optimization completed in ${humanTime}`);
128
+ logMessage(`\u26A1 Optimization completed in ${humanTime}`);
129
129
  }
130
130
  }
131
131
  };
package/dist/index.mjs CHANGED
@@ -108,12 +108,12 @@ function index({
108
108
  glob("**/*.svg", { cwd })
109
109
  ]);
110
110
  if (htmlFiles.length === 0 && svgFiles.length === 0) return;
111
- logMessage(`\u2734\uFE0F Optimizing ${cssFiles.length} CSS stylesheets`);
111
+ logMessage(`\u26A1 Optimizing ${cssFiles.length} CSS stylesheets`);
112
112
  const minifyAndWritePromises = [];
113
113
  for (const filename of cssFiles) {
114
114
  minifyAndWritePromises.push(minifyAndWriteFile(cwd, filename, "css"));
115
115
  }
116
- logMessage(`\u2734\uFE0F Optimizing ${svgFiles.length} SVG vector graphics`);
116
+ logMessage(`\u26A1 Optimizing ${svgFiles.length} SVG vector graphics`);
117
117
  for (const filename of svgFiles) {
118
118
  minifyAndWritePromises.push(minifyAndWriteFile(cwd, filename, "svg"));
119
119
  }
@@ -121,7 +121,7 @@ function index({
121
121
  const end = performance.now();
122
122
  const deltaT = end - start;
123
123
  const humanTime = deltaT < 1e3 ? `${deltaT.toFixed(0)}ms` : `${(deltaT / 1e3).toFixed(1)}s`;
124
- logMessage(`\u2734\uFE0F Optimization completed in ${humanTime}`);
124
+ logMessage(`\u26A1 Optimization completed in ${humanTime}`);
125
125
  }
126
126
  }
127
127
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "defuss-astro",
3
- "version": "1.4.3",
3
+ "version": "1.4.4",
4
4
  "type": "module",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -78,7 +78,7 @@
78
78
  "lightningimg": "^1.0.3",
79
79
  "purgecss": "^7.0.2",
80
80
  "file-type": "^19.6.0",
81
- "defuss": "2.0.7",
81
+ "defuss": "2.0.17",
82
82
  "defuss-vite": "1.1.3"
83
83
  },
84
84
  "scripts": {