Skip to content

Bump serve-static from 1.16.2 to 2.2.0#4592

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/serve-static-2.2.0
Closed

Bump serve-static from 1.16.2 to 2.2.0#4592
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/serve-static-2.2.0

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github Apr 1, 2025

⚠️ Dependabot is rebasing this PR ⚠️

Rebasing might not happen immediately, so don't worry if this takes some time.

Note: if you make any changes to this PR yourself, they will take precedence over the rebase.


Bumps serve-static from 1.16.2 to 2.2.0.

Release notes

Sourced from serve-static's releases.

v2.2.0

What's Changed

New Contributors

Full Changelog: expressjs/serve-static@v2.1.0...v2.2.0

2.1.0

What's Changed

New Contributors

Full Changelog: expressjs/serve-static@v1.15.0...2.1.0

2.0.0-beta.1

  • Change dotfiles option default to 'ignore'
  • Drop support for Node.js 0.8
  • Remove hidden option; use dotfiles option instead
  • deps: send@1.0.0-beta.1
    • Use mime-types for file to content type mapping
    • deps: debug@3.1.0
Changelog

Sourced from serve-static's changelog.

2.2.0 / 2025-03-27

  • deps: send@^1.2.0

2.1.0 / 2024-09-10

  • Changes from 1.16.0
  • deps: send@^1.2.0

2.0.0 / 2024-08-23

  • deps:
    • parseurl@^1.3.3
    • excape-html@^1.0.3
    • encodeurl@^2.0.0
    • supertest@^6.3.4
    • safe-buffer@^5.2.1
    • nyc@^17.0.0
    • mocha@^10.7.0
  • Changes from 1.x

2.0.0-beta.2 / 2024-03-20

  • deps: send@1.0.0-beta.2

2.0.0-beta.1 / 2022-02-05

  • Change dotfiles option default to 'ignore'
  • Drop support for Node.js 0.8
  • Remove hidden option; use dotfiles option instead
  • Remove mime export; use mime-types package instead
  • deps: send@1.0.0-beta.1
    • Use mime-types for file to content type mapping
    • deps: debug@3.1.0

1.16.0 / 2024-09-10

  • Remove link renderization in html while redirecting

1.15.0 / 2022-03-24

  • deps: send@0.18.0
    • Fix emitted 416 error missing headers property

... (truncated)

Commits
  • 4eb26be 2.2.0
  • 2e22086 Revert "feat: conditionally set headers (if not already set) in redirect resp...
  • 6a1aa93 deps: send@^1.2.0 (#198)
  • 55475c7 ci: updated ci workflow and remove appveyor (#192)
  • dc86b4a chore(deps): remove devDependency safe-buffer (#191)
  • bb670f6 docs: remove security file (#195)
  • b51ab84 feat: conditionally set headers (if not already set) in redirect response (#190)
  • 3f71a54 fix(docs): retroactively note 2.0.0-beta.1 api change in history file (#194)
  • 2ceda41 Refactor HISTORY.md header update to use String.prototype.repeat
  • 96886b3 ci: add CodeQl (SAST)
  • Additional commits viewable in compare view

Dependabot compatibility score

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 this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@dependabot dependabot Bot requested a review from a team April 1, 2025 09:42
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Apr 1, 2025
@netlify
Copy link
Copy Markdown

netlify Bot commented Apr 1, 2025

You can preview this change here:

Name Link
🔨 Latest commit 7c90cd7
🔍 Latest deploy log https://app.netlify.com/sites/govuk-design-system-preview/deploys/67f38d1ffee27c00081a27bc
😎 Deploy Preview https://deploy-preview-4592--govuk-design-system-preview.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@dependabot dependabot Bot force-pushed the dependabot/npm_and_yarn/serve-static-2.2.0 branch 2 times, most recently from bb7f8e1 to 54df55c Compare April 4, 2025 16:14
@romaricpascal
Copy link
Copy Markdown
Member

romaricpascal commented Apr 4, 2025

Not 100% sure if we should take this one up or try to not depend directly on serve-static given we already have browser-sync in the repository. Leaning towards the latter.

Also because this makes us download two separate versions of serve-static:

npm ls serve-static
govuk_design_system@ /<REDACTED>/govuk-design-system
├─┬ browser-sync@3.0.3
│ └── serve-static@1.16.2
└── serve-static@2.2.0

Bumps [serve-static](https://github.com/expressjs/serve-static) from 1.16.2 to 2.2.0.
- [Release notes](https://github.com/expressjs/serve-static/releases)
- [Changelog](https://github.com/expressjs/serve-static/blob/master/HISTORY.md)
- [Commits](expressjs/serve-static@v1.16.2...v2.2.0)

---
updated-dependencies:
- dependency-name: serve-static
  dependency-version: 2.2.0
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot force-pushed the dependabot/npm_and_yarn/serve-static-2.2.0 branch from 54df55c to 7c90cd7 Compare April 7, 2025 08:30
@domoscargin
Copy link
Copy Markdown
Contributor

domoscargin commented Apr 7, 2025

I'm all for it if we can cut down on our dependencies, but I also feel like browser-sync has caused issues in the past due to using fairly old dependencies.

@querkmachine
Copy link
Copy Markdown
Member

This dependency was removed by #4609

@dependabot @github
Copy link
Copy Markdown
Contributor Author

dependabot Bot commented on behalf of github Apr 11, 2025

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot dependabot Bot deleted the dependabot/npm_and_yarn/serve-static-2.2.0 branch April 11, 2025 14:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants