Skip to content

Commit

Permalink
build(deps): bump send and express (#3021)
Browse files Browse the repository at this point in the history
* build(deps): bump send and express

Bumps [send](https://github.com/pillarjs/send) to 0.19.0 and updates ancestor dependency [express](https://github.com/expressjs/express). These dependencies need to be updated together.


Updates `send` from 0.18.0 to 0.19.0
- [Release notes](https://github.com/pillarjs/send/releases)
- [Changelog](https://github.com/pillarjs/send/blob/master/HISTORY.md)
- [Commits](pillarjs/send@0.18.0...0.19.0)

Updates `express` from 4.19.2 to 4.21.0
- [Release notes](https://github.com/expressjs/express/releases)
- [Changelog](https://github.com/expressjs/express/blob/4.21.0/History.md)
- [Commits](expressjs/express@4.19.2...4.21.0)

---
updated-dependencies:
- dependency-name: send
  dependency-type: indirect
- dependency-name: express
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <[email protected]>

* upd package-lock

* fixed test

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Pavel <[email protected]>
  • Loading branch information
dependabot[bot] and PavelMor25 authored Sep 26, 2024
1 parent c557ddc commit eb4c934
Show file tree
Hide file tree
Showing 3 changed files with 1,026 additions and 1,453 deletions.
12 changes: 9 additions & 3 deletions Gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,20 +44,26 @@ gulp.step('client-scripts-bundle', () => {
});

gulp.step('client-scripts-processing', () => {
const uglifyOptions = {
compress: {
comparisons: false,
},
};

const script = gulp.src('./src/client/index.js.wrapper.mustache')
.pipe(mustache({ source: fs.readFileSync('./lib/client/hammerhead.js').toString() }))
.pipe(rename('hammerhead.js'));

const bundledScript = script.pipe(clone())
.pipe(uglify())
.pipe(uglify(uglifyOptions))
.pipe(rename('hammerhead.min.js'));

const bundledTransportWorker = gulp.src('./lib/client/transport-worker.js')
.pipe(uglify())
.pipe(uglify(uglifyOptions))
.pipe(rename('transport-worker.min.js'));

const bundledWorkerHammerhead = gulp.src('./lib/client/worker-hammerhead.js')
.pipe(uglify())
.pipe(uglify(uglifyOptions))
.pipe(rename('worker-hammerhead.min.js'));

return mergeStreams(script, bundledScript, bundledTransportWorker, bundledWorkerHammerhead)
Expand Down
Loading

0 comments on commit eb4c934

Please sign in to comment.