Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Oct 19, 2024

Bumps cookie and express. These dependencies needed to be updated together.
Updates cookie from 0.6.0 to 0.7.1

Release notes

Sourced from cookie's releases.

0.7.1

Fixed

  • Allow leading dot for domain (#174)
    • Although not permitted in the spec, some users expect this to work and user agents ignore the leading dot according to spec
  • Add fast path for serialize without options, use obj.hasOwnProperty when parsing (#172)

jshttp/cookie@v0.7.0...v0.7.1

0.7.0

jshttp/cookie@v0.6.0...v0.7.0

Commits
Maintainer changes

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


Updates express from 4.19.2 to 4.21.1

Release notes

Sourced from express's releases.

4.21.1

What's Changed

Full Changelog: expressjs/express@4.21.0...4.21.1

4.21.0

What's Changed

New Contributors

Full Changelog: expressjs/express@4.20.0...4.21.0

4.20.0

What's Changed

Important

  • IMPORTANT: The default depth level for parsing URL-encoded data is now 32 (previously was Infinity)
  • Remove link renderization in html while using res.redirect

Other Changes

... (truncated)

Changelog

Sourced from express's changelog.

4.21.1 / 2024-10-08

4.21.0 / 2024-09-11

4.20.0 / 2024-09-10

  • deps: [email protected]
    • Remove link renderization in html while redirecting
  • deps: [email protected]
    • Remove link renderization in html while redirecting
  • deps: [email protected]
    • add depth option to customize the depth level in the parser
    • IMPORTANT: The default depth level for parsing URL-encoded data is now 32 (previously was Infinity)
  • Remove link renderization in html while using res.redirect
  • deps: [email protected]
    • Adds support for named matching groups in the routes using a regex
    • Adds backtracking protection to parameters without regexes defined
  • deps: encodeurl@~2.0.0
    • Removes encoding of \, |, and ^ to align better with URL spec
  • Deprecate passing options.maxAge and options.expires to res.clearCookie
    • Will be ignored in v5, clearCookie will set a cookie with an expires in the past to instruct clients to delete the cookie
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 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)
    You can disable automated security fix PRs for this repo from the Security Alerts page.

Bumps [cookie](https://github.com/jshttp/cookie) and [express](https://github.com/expressjs/express). These dependencies needed to be updated together.

Updates `cookie` from 0.6.0 to 0.7.1
- [Release notes](https://github.com/jshttp/cookie/releases)
- [Commits](jshttp/cookie@v0.6.0...v0.7.1)

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

---
updated-dependencies:
- dependency-name: cookie
  dependency-type: indirect
- dependency-name: express
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Oct 19, 2024
@akagane99 akagane99 self-assigned this Oct 25, 2024
@akagane99
Copy link
Contributor

akagane99 commented Oct 25, 2024

対応

上記を参考に対応

コマンド結果(脆弱性対応)

## ローカルにある古いリモートブランチ削除
git fetch -p

## ローカルリポジトリの最新化
git fetch

## リモートも含めた全ブランチ表示
git branch -a

## リモートブランチをローカルにチェックアウト
git checkout -b multi-9f37c16f8f remotes/origin/dependabot/npm_and_yarn/multi-9f37c16f8f

## その後作業

PS> npm audit fix
PS> npm audit
PS> npm update
PS> npm run prod

npm audit 一旦対応見送り

bootstrap 4.0.0 - 4.6.2

Will install [email protected], which is a breaking change

→ bootstrap4系から5系への切替になるため、一旦対応見送りました。

elliptic *

Will install [email protected], which is a breaking change

→ 現在のバージョン(elliptic 6.5.7 最新)のため、一旦対応見送りました。
(※ 今後新バージョンが提供されれば解消するかも)

Will install [email protected]は、現在のバージョン(Laravel Mix v6.0.49)よりダウングレードのため、一旦対応見送りました。

vue-template-compiler >=2.0.0

Will install [email protected], which is a breaking change

→ 現在のバージョン(2.7.16 最新)のため、一旦対応見送りました。
(※ 今後新バージョンが提供されれば解消するかも)

→ Vue2系から3系への切替になるため、一旦対応見送りました。

Will install [email protected]は、現在のバージョン(2.7.16)よりダウングレードのため、一旦対応見送りました。

@akagane99
Copy link
Contributor

akagane99 commented Oct 25, 2024

package-lock.json確認

更新後、バージョンが上がっていることを確認。

  • Updates cookie from 0.6.0 to 0.7.1
  • Updates express from 4.19.2 to 4.21.1
  • Bumps elliptic from 6.5.5 to 6.5.7.
  • Updates body-parser from 1.20.2 to 1.20.3
  • Updates send from 0.18.0 to 0.19.0
  • pdates serve-static from 1.15.0 to 1.16.2
  • Bumps webpack from 5.92.1 to 5.94.0.
        "node_modules/cookie": {
            "version": "0.7.1",

        "node_modules/express": {
            "version": "4.21.1",

        "node_modules/elliptic": {
            "version": "6.5.7",

        "node_modules/body-parser": {
            "version": "1.20.3",

        "node_modules/send": {
            "version": "0.19.0",

        "node_modules/serve-static": {
            "version": "1.16.2",

        "node_modules/webpack": {
            "version": "5.95.0",

下記も同時対応しました。

@akagane99 akagane99 merged commit 281ae8c into master Oct 25, 2024
1 check passed
@akagane99 akagane99 deleted the dependabot/npm_and_yarn/multi-9f37c16f8f branch October 25, 2024 02:45
@akagane99 akagane99 added the developer update 開発者向けの更新 label Nov 14, 2024
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 developer update 開発者向けの更新 javascript Pull requests that update Javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants