Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): bump express, follow-redirects, and webpack-dev-middleware #12880

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Apr 4, 2024

Bumps the npm_and_yarn group in /ui with 3 updates: express, follow-redirects and webpack-dev-middleware.

Updates express from 4.18.2 to 4.19.2

Release notes

Sourced from express's releases.

4.19.2

What's Changed

Full Changelog: expressjs/express@4.19.1...4.19.2

4.19.1

What's Changed

Full Changelog: expressjs/express@4.19.0...4.19.1

4.19.0

What's Changed

New Contributors

Full Changelog: expressjs/express@4.18.3...4.19.0

4.18.3

Main Changes

  • Fix routing requests without method
  • deps: body-parser@1.20.2
    • Fix strict json error message on Node.js 19+
    • deps: content-type@~1.0.5
    • deps: raw-body@2.5.2

Other Changes

... (truncated)

Changelog

Sourced from express's changelog.

4.19.2 / 2024-03-25

  • Improved fix for open redirect allow list bypass

4.19.1 / 2024-03-20

  • Allow passing non-strings to res.location with new encoding handling checks

4.19.0 / 2024-03-20

  • Prevent open redirect allow list bypass due to encodeurl
  • deps: cookie@0.6.0

4.18.3 / 2024-02-29

  • Fix routing requests without method
  • deps: body-parser@1.20.2
    • Fix strict json error message on Node.js 19+
    • deps: content-type@~1.0.5
    • deps: raw-body@2.5.2
  • deps: cookie@0.6.0
    • Add partitioned option
Commits
  • 04bc627 4.19.2
  • da4d763 Improved fix for open redirect allow list bypass
  • 4f0f6cc 4.19.1
  • a003cfa Allow passing non-strings to res.location with new encoding handling checks f...
  • a1fa90f fixed un-edited version in history.md for 4.19.0
  • 11f2b1d build: fix build due to inconsistent supertest behavior in older versions
  • 084e365 4.19.0
  • 0867302 Prevent open redirect allow list bypass due to encodeurl
  • 567c9c6 Add note on how to update docs for new release (#5541)
  • 69a4cf2 deps: cookie@0.6.0
  • Additional commits viewable in compare view
Maintainer changes

This version was pushed to npm by wesleytodd, a new releaser for express since your current version.


Updates follow-redirects from 1.15.4 to 1.15.6

Commits
  • 35a517c Release version 1.15.6 of the npm package.
  • c4f847f Drop Proxy-Authorization across hosts.
  • 8526b4a Use GitHub for disclosure.
  • b1677ce Release version 1.15.5 of the npm package.
  • d8914f7 Preserve fragment in responseUrl.
  • See full diff in compare view

Updates webpack-dev-middleware from 5.3.3 to 5.3.4

Release notes

Sourced from webpack-dev-middleware's releases.

v5.3.4

5.3.4 (2024-03-20)

Bug Fixes

  • security: do not allow to read files above (#1779) (189c4ac)
Changelog

Sourced from webpack-dev-middleware's changelog.

5.3.4 (2024-03-20)

Bug Fixes

  • security: do not allow to read files above (#1779) (189c4ac)
Commits

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions
    You can disable automated security fix PRs for this repo from the Security Alerts page.

Bumps the npm_and_yarn group in /ui with 3 updates: [express](https://github.com/expressjs/express), [follow-redirects](https://github.com/follow-redirects/follow-redirects) and [webpack-dev-middleware](https://github.com/webpack/webpack-dev-middleware).


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

Updates `follow-redirects` from 1.15.4 to 1.15.6
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases)
- [Commits](follow-redirects/follow-redirects@v1.15.4...v1.15.6)

Updates `webpack-dev-middleware` from 5.3.3 to 5.3.4
- [Release notes](https://github.com/webpack/webpack-dev-middleware/releases)
- [Changelog](https://github.com/webpack/webpack-dev-middleware/blob/v5.3.4/CHANGELOG.md)
- [Commits](webpack/webpack-dev-middleware@v5.3.3...v5.3.4)

---
updated-dependencies:
- dependency-name: express
  dependency-type: indirect
  dependency-group: npm_and_yarn-security-group
- dependency-name: follow-redirects
  dependency-type: indirect
  dependency-group: npm_and_yarn-security-group
- dependency-name: webpack-dev-middleware
  dependency-type: indirect
  dependency-group: npm_and_yarn-security-group
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added javascript Pull requests that update Javascript dependencies type/dependencies PRs and issues specific to updating dependencies labels Apr 4, 2024
@github-actions github-actions bot enabled auto-merge (squash) April 4, 2024 00:20
@agilgur5 agilgur5 added the type/security Security related label Apr 4, 2024
@agilgur5 agilgur5 added this to the v3.5.x patches milestone Apr 4, 2024
@agilgur5
Copy link
Member

agilgur5 commented Apr 4, 2024

CI is failing on the deduplication step added in #12234 (this is the first time it has ran). In this case, there were no changes, so it's failing to commit:

v Run git config --global user.name 'github-actions[bot]'
  git config --global user.name 'github-actions[bot]'
  git config --global user.email 'github-actions[bot]@users.noreply.github.com'
  git add ui/yarn.lock
  git commit -s -m 'chore: deduplicate yarn.lock'
  git push
  shell: /usr/bin/bash -e {0}
  env:
    NODE_OPTIONS: --max-old-space-size=[4](https://github.com/argoproj/argo-workflows/actions/runs/8547268614/job/23419138428?pr=12880#step:9:4)096
HEAD detached at pull/12880/merge
nothing to commit, working tree clean
Error: Process completed with exit code 1.

A simple fix would be to add --allow-empty to the commit, but a better one would be to not try committing at all if there are no changes. I actually said the same in my review of the PR: #12234 (comment)

The CI step should also have a name for clarity. Right now it's defaulting to the first line's command, which is confusing as it is only a single line and does not encompass everything that runs.

EDIT: added --allow-empty and names in #12882

@agilgur5 agilgur5 removed this from the v3.5.x patches milestone Apr 4, 2024
@agilgur5 agilgur5 changed the title build(deps): bump the npm_and_yarn group in /ui with 3 updates chore(deps): bump express, follow-redirects, and webpack-dev-middleware Apr 4, 2024
@agilgur5
Copy link
Member

agilgur5 commented Apr 4, 2024

Also I just realized these are all devDeps. We don't necessarily need devDeps auto updates as they don't make it into the prod bundle. So this doesn't need to be backported, at the very least.
If we could disable devDep security updates specifically that would make for less noise too 😅 (though it is potentially good to have for contributor setups)

EDIT: #12881 at least makes the commit message say chore(deps-dev) for explicitness (which could also be checked & ignored if we auto-backport)

EDIT2: These are all devDeps, but follow-redirects is also a prod dep apparently, see #12887 (comment). So I renamed this back to chore(deps)

EDIT3: I added devDeps vs prod deps grouping in #12890

@agilgur5 agilgur5 changed the title chore(deps): bump express, follow-redirects, and webpack-dev-middleware chore(deps-dev): bump express, follow-redirects, and webpack-dev-middleware Apr 4, 2024
auto-merge was automatically disabled April 4, 2024 14:54

Pull request was closed

Copy link
Contributor Author

dependabot bot commented on behalf of github Apr 4, 2024

This pull request was built based on a group rule. Closing it will not ignore any of these versions in future pull requests.

To ignore these dependencies, configure ignore rules in dependabot.yml

@dependabot dependabot bot deleted the dependabot/npm_and_yarn/ui/npm_and_yarn-security-group-f046cbaad1 branch April 4, 2024 14:54
@agilgur5
Copy link
Member

agilgur5 commented Apr 4, 2024

@terrytangyuan closed this in #12882 6 hours ago

Woops this got accidentally closed because in #12882 I had "Fixes #12880 (comment) [...]" -- I didn't think that worked for comment links, apparently GH will close the whole issue/PR from a comment link, my bad. I think this syntax may have worked without issues for me in the past because I was referencing comments on closed PRs.

@agilgur5 agilgur5 restored the dependabot/npm_and_yarn/ui/npm_and_yarn-security-group-f046cbaad1 branch April 4, 2024 22:11
@agilgur5 agilgur5 reopened this Apr 4, 2024
@agilgur5
Copy link
Member

agilgur5 commented Apr 4, 2024

@dependabot rebase

@agilgur5 agilgur5 changed the title chore(deps-dev): bump express, follow-redirects, and webpack-dev-middleware chore(deps): bump express, follow-redirects, and webpack-dev-middleware Apr 4, 2024
@agilgur5 agilgur5 merged commit 66d8351 into main Apr 4, 2024
31 of 32 checks passed
@agilgur5 agilgur5 deleted the dependabot/npm_and_yarn/ui/npm_and_yarn-security-group-f046cbaad1 branch April 4, 2024 22:39
@agilgur5
Copy link
Member

agilgur5 commented Apr 5, 2024

Partially cherry-picked the follow-redirects update to release-3.5 in 4ce9e02

  • I tried cherry-picking the whole commit/PR, but it had conflicts, so only did a partial cherry-pick backport of the one prod dep updated here (see above comment) as such

@agilgur5 agilgur5 added this to the v3.5.x patches milestone Apr 5, 2024
isubasinghe pushed a commit to isubasinghe/argo-workflows that referenced this pull request May 7, 2024
…dleware` (argoproj#12880)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
javascript Pull requests that update Javascript dependencies type/dependencies PRs and issues specific to updating dependencies type/security Security related
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant