ultimate-jekyll-manager 1.9.19 → 1.9.21

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.
@@ -188,7 +188,8 @@ async function imagemin(complete) {
188
188
  // This await only ever runs in build mode — dev mode short-circuits via `!Manager.isBuildMode()`
189
189
  // above (so `npm start` never blocks on this), letting BrowserSync reload as images land later.
190
190
  await new Promise((resolve, reject) => {
191
- src(filesToProcess, { base: 'src/assets/images' })
191
+ // encoding: false — Gulp 5 defaults to UTF-8 which corrupts binary files
192
+ src(filesToProcess, { base: 'src/assets/images', encoding: false })
192
193
  .pipe(lowercaseExtTransform())
193
194
  .pipe(responsive({
194
195
  [`**/${RESPONSIVE_GLOB}`]: responsiveConfigs
@@ -373,7 +374,6 @@ function lowercaseExtTransform() {
373
374
  if (file.isNull()) {
374
375
  file.contents = jetpack.read(file.path, 'buffer');
375
376
  }
376
- logger.log(`🔍 Uppercase ext: ${file.relative}, isNull=${file.isNull()}, isBuffer=${file.isBuffer()}, contentsLen=${file.contents ? file.contents.length : 'N/A'}, firstBytes=${file.contents ? file.contents.slice(0, 4).toString('hex') : 'N/A'}`);
377
377
  file.path = file.path.slice(0, -ext.length) + ext.toLowerCase();
378
378
  }
379
379
  cb(null, file);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ultimate-jekyll-manager",
3
- "version": "1.9.19",
3
+ "version": "1.9.21",
4
4
  "description": "Ultimate Jekyll dependency manager",
5
5
  "main": "dist/index.js",
6
6
  "files": [
@@ -99,7 +99,7 @@
99
99
  "gulp-filter": "^10.0.0",
100
100
  "gulp-postcss": "^10.0.0",
101
101
  "gulp-rename": "^2.1.0",
102
- "gulp-responsive-modern": "^1.0.2",
102
+ "gulp-responsive-modern": "^1.0.4",
103
103
  "gulp-sass": "^6.0.1",
104
104
  "html-minifier-terser": "^7.2.0",
105
105
  "html-validate": "^11.5.3",