ultimate-jekyll-manager 1.4.1 → 1.4.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/CHANGELOG.md +7 -0
- package/dist/gulp/tasks/imagemin.js +6 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -14,6 +14,13 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
|
|
|
14
14
|
- `Fixed` for any bug fixes.
|
|
15
15
|
- `Security` in case of vulnerabilities.
|
|
16
16
|
|
|
17
|
+
---
|
|
18
|
+
## [1.4.2] - 2026-05-27
|
|
19
|
+
|
|
20
|
+
### Fixed
|
|
21
|
+
|
|
22
|
+
- **Imagemin: uppercase image extensions (e.g. `IMG_3119.JPG`) no longer break the responsive build.** `gulp-responsive-modern` uses micromatch internally, which is strictly case-sensitive regardless of filesystem. On macOS APFS, gulp's `src()` would discover the file and count it toward expected outputs, but the lowercase-only `**/*.{jpg,jpeg,png}` pattern wouldn't match — producing zero outputs and erroring with "Available images do not match the following config". [src/gulp/tasks/imagemin.js](src/gulp/tasks/imagemin.js) now expands `ALL_IMAGE_GLOB` and `RESPONSIVE_GLOB` to include uppercase variants so consumers don't need to rename camera/phone files.
|
|
23
|
+
|
|
17
24
|
---
|
|
18
25
|
## [1.4.1] - 2026-05-27
|
|
19
26
|
|
|
@@ -25,8 +25,12 @@ let githubCache;
|
|
|
25
25
|
// Supported image extensions
|
|
26
26
|
const ALL_IMAGE_EXTENSIONS = ['jpg', 'jpeg', 'png', 'gif', 'svg', 'webp'];
|
|
27
27
|
const RESPONSIVE_EXTENSIONS = new Set(['jpg', 'jpeg', 'png']);
|
|
28
|
-
|
|
29
|
-
|
|
28
|
+
// Globs include upper- and lower-case variants so micromatch (used by gulp-responsive-modern)
|
|
29
|
+
// matches files like IMG_3119.JPG. micromatch is strictly case-sensitive even on case-insensitive
|
|
30
|
+
// filesystems, so we expand each extension to both cases rather than relying on a nocase flag.
|
|
31
|
+
const expandCases = (exts) => exts.flatMap((ext) => [ext, ext.toUpperCase()]);
|
|
32
|
+
const ALL_IMAGE_GLOB = `*.{${expandCases(ALL_IMAGE_EXTENSIONS).join(',')}}`;
|
|
33
|
+
const RESPONSIVE_GLOB = `*.{${expandCases([...RESPONSIVE_EXTENSIONS]).join(',')}}`;
|
|
30
34
|
|
|
31
35
|
// Glob
|
|
32
36
|
const input = [
|