Skip to content

fix(gulp-sharp): load yoctocolors as a runtime dependency instead of bundling it - #132

Merged
panz3r merged 1 commit into
mainfrom
fix/gulp-sharp-yoctocolors
Sep 29, 2026
Merged

panz3r merged 1 commit into
mainfrom
fix/gulp-sharp-yoctocolors

Conversation

@panz3r

@panz3r panz3r commented Sep 29, 2026

Copy link
Copy Markdown
Member

yoctocolors was a devDependency bundled into dist by rollup, so its updates could only reach users through a new gulp-sharp release, and Dependabot would label them chore(deps-dev).

  • Mark it external in the rollup build, like sharp here and browser-sync in gulp-browser-sync.
  • Declare it in dependencies (^2.2.0).

Built output now imports yoctocolors instead of inlining it. This will cut gulp-sharp 1.0.3.

Merge before the lockfile security PR, which touches the same lines.

@panz3r
panz3r merged commit adf3110 into main Sep 29, 2026
10 checks passed
@panz3r
panz3r deleted the fix/gulp-sharp-yoctocolors branch September 29, 2026 15:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant