[Snyk] Upgrade gulp from 4.0.2 to 5.0.1 #17
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Snyk has created this PR to upgrade gulp from 4.0.2 to 5.0.1.
ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.
The recommended version is 2 versions ahead of your current version.
The recommended version was released 3 months ago.
Issues fixed by the recommended upgrade:
SNYK-JS-UNSETVALUE-2400660
Release notes
Package name: gulp
-
5.0.1 - 2025-06-01
- Avoid globbing before read stream is opened (#2839) (19122f3)
- Avoid Node.js deprecation warning for
- Support top-level await on Node 22.12+ (#2836) (04b4a74)
-
5.0.0 - 2024-03-29
- Drop support for Node.js <10.13
- Default stream encoding to UTF-8
- Standardized on
- Removed support for ordered globs. This aligns with the chokidar globbing implementation. If you need your globs to be ordered, you can use
- All globs and paths are normalized to unix-like filepaths
- Only allow JS variants for
- Removed support for alpha releases of v4 from
- Removed the
- Renamed the
- Removed many legacy and deprecated loaders
- Upgrade to chokidar v3
- Clone
- Stop using
- Throw on non-function, non-string option coercers
- Drop support of Node.js snake_case flags
- Use a Symbol for attaching the
- Use a Symbol for attaching the
- Use sha256 to hash the
- Streamlined the dependency tree
- Switch all streams implementation to Streamx
- Rewrote
- Implement translation support for all CLI messages and all messages passing through gulplog
- Allow users to customize or remove the timestamp from their logs
- Upgraded gulplog to v2. Messages logged via v1 will also display a deprecated warning. Plugins should update to v2 as the community upgrades to gulp 5
- Added support for
- Add support for
- Provide an ESM export (#2760) (b00de68)
- Support sourcemap handling on streaming
- Support
- Allow overriding
- Resolve bugs related to symlinks on various platforms
- Resolved some reported ReDoS CVEs and improved performance in glob-parent
- Rework errors surfaced when encountering files or symlinks when trying to create directories
- Ensure watch allows japanese characters in globs (72668c6)
- Ensure watch does not trigger on negated globs (72668c6)
- Improve handling of BOM at the beginning of a stream
- Properly handle function coercer in array of option coercers
- Fork
- Check negative patterns before trimming
- Ensure glob-like characters are escaped in cwd & root options
- Resolve
- Remove lazystream dependency
- Updated various stream test suites to test against Node.js core
- Normalize repository, dropping node <10.13 support (#2758) (72668c6)
- undertaker
- vinyl-fs
- glob-stream
- gulp-cli
- interpret
- glob-parent
- glob-watcher
- vinyl
- fs-mkdirp-stream
- lead
- vinyl-sourcemap
- to-through
- resolve-options
- remove-bom-stream
- value-or-function
- now-and-later
- @ gulpjs/to-absolute-glob
- fined
- mute-stdout
- semver-greatest-satisfied-range
- flagged-respawn
- rechoir
- gulplog
- glogg
- @ gulpjs/messages
- sparkles
- liftoff
- v8flags
- bach
- undertaker-registry
- async-settle
- last-run
- async-done
- replace-homedir
-
4.0.2 - 2019-05-06
- Bind src/dest/symlink to the gulp instance to support esm exports (5667666) - Ref standard-things/esm#797
- Add notes about esm support (4091bd3) - Closes #2278
- Fix the Negative Globs section & examples (3c66d95) - Closes #2297
- Remove next tag from recipes (1693a11) - Closes #2277
- Add default task wrappers to Watching Files examples to make runnable (d916276) - Closes #2322
- Fix syntax error in lastRun API docs (ea52a92) - Closes #2315
- Fix typo in Explaining Globs (5d81f42) - Closes #2326
- Add node 12 to Travis & Azure (b4b5a68)
from gulp GitHub release notesBug Fixes
fs.Stats(#2838) (69a5d0e)We've tried to provide a high-level changelog for gulp v5 below, but it
doesn't contain all changes from the 60+ dependencies that we maintain.
Please see individual changelogs to drill down
into all changes that were made.
⚠ BREAKING CHANGES
anymatchlibrary for globbing paths. All globs should work the same betweensrcandwatchnow!ordered-read-stream.gulp.*config filesgulp-cli--verifyflag--requireflag to--preloadto avoid conflicting with Node.js flagsVinylobjects with stream contents usingteex, but no longer wait for all streams to flow before cloned streams will receive dataprocess.umask()to make directories, instead falling back to Node's default modegulplognamespace to the storegulplogstore to the globalv8flagscache into a filenameFeatures
glob-streamto use a custom directory walk that relies on newer Node.js features and is more performant than old implementationgulpile.cjsandgulpfile.mjsswc,esbuild,sucrase, andmdxloadersVinylcontentsextendssyntax for.gulp.*config filegulpfileandpreloadsvia.gulp.*config fileBug Fixes
to-absolute-globto:../at the beginning of globsMiscellaneous Chores
stream,readable-stream, andstreamxIndividual Changelogs
We created and maintain various projects that gulp depends upon. You can find their changelogs linked below:
Fix
Docs
Build
Important
Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information: