mmag

ハマったことメモなど

BOLG依存パッケージアップデート業 2022/03/24

API

Dependency         Current  Latest  Status
credo              1.6.3    1.6.4   Update possible
ecto_sql           3.7.2    3.7.2   Up-to-date
ex_aws             2.2.10   2.2.10  Up-to-date
ex_aws_s3          2.3.2    2.3.2   Up-to-date
gettext            0.19.1   0.19.1  Up-to-date
hackney            1.18.1   1.18.1  Up-to-date
id_token           0.2.0    0.2.0   Up-to-date
jason              1.3.0    1.3.0   Up-to-date
joken              2.4.1    2.4.1   Up-to-date
logger_json        5.0.0    5.0.0   Up-to-date
mock               0.3.7    0.3.7   Up-to-date
new_relic_agent    1.27.7   1.27.7  Up-to-date
oban               2.10.1   2.11.3  Update not possible
phoenix            1.6.6    1.6.6   Up-to-date
phoenix_ecto       4.4.0    4.4.0   Up-to-date
phoenix_pubsub     2.0.0    2.0.0   Up-to-date
plug               1.13.3   1.13.4  Update possible
plug_cowboy        2.5.2    2.5.2   Up-to-date
postgrex           0.16.2   0.16.2  Up-to-date
scrivener_ecto     2.7.0    2.7.0   Up-to-date
scrivener_headers  3.2.2    3.2.2   Up-to-date
sitemapper         0.6.0    0.6.0   Up-to-date

obanは前にバージョン上げたらちょいトラブったので今回も様子見。

credo

  • Fix for false positive in MaxLineLength
    • sigil付きの文字列の扱いでfalse positiveがあったとのこと
  • Fix a bug in Credo.Check.Refactor.PipeChainStart
    • 1..10//3のようなstep付きのrangeをパイプの始まりに置くと警告されてしまっていたらしい
  • Fix error message in gen.check command
    • CCって略語がなんのことかわからんっす、みたいなissueへの対応っぽい

plug

https://diff.hex.pm/diff/plug/1.13.3..1.13.4

Deprecation warningsの充実

両方とも影響なし。上げてよし。

front & dashboard

# front

 @types/node                ^16.11.7  →  ^17.0.23
 @types/react               ^17.0.39  →  ^17.0.42
 @types/react-dom           ^17.0.11  →  ^17.0.14
 @typescript-eslint/parser   ^5.12.1  →   ^5.16.0
 eslint                      ^8.10.0  →   ^8.11.0
 eslint-config-prettier       ^8.4.0  →    ^8.5.0
 eslint-plugin-react         ^7.29.2  →   ^7.29.4
 prettier                     ^2.5.1  →    ^2.6.0
 ress                         ^4.0.0  →    ^5.0.2
 typescript                   ^4.5.5  →    ^4.6.2

# dashboard

 connect-redis                       ^6.1.1  →   ^6.1.3
 firebase                            ^9.6.7  →   ^9.6.9
 http-proxy-middleware               ^2.0.3  →   ^2.0.4
 vee-validate                       ^3.4.14  →  ^4.5.10
 @nuxtjs/eslint-config-typescript    ^6.0.1  →   ^9.0.0
 @types/jest                       ^26.0.23  →  ^27.4.1
 eslint                             ^7.32.0  →  ^8.11.0
 eslint-config-prettier              ^8.4.0  →   ^8.5.0
 eslint-plugin-nuxt                 >=2.0.0  →  >=3.2.0
 jest                               ^26.6.3  →  ^27.5.1
 prettier                            ^2.5.1  →   ^2.6.0
 ress                                ^4.0.0  →   ^5.0.2
 sass-loader                        ^10.1.0  →  ^12.6.0
 ts-jest                            ^26.5.6  →  ^27.1.3
 ts-node                            ^10.5.0  →  ^10.7.0

npmは例によってちょっと溜まってきちゃってる。

eslint, eslint-config-prettier, prettier

上げていいでしょ、と思ったけど、dashboardの方はeslintがv7だったり@nuxtjs/eslint-config-typescriptがv6だったりでeslintだけ保留。この辺、Nuxt v3にしてキレイにしちゃいたい。

@typescript-eslint/parser, eslint-plugin-react

特にlintエラーは出ず。上げてよし。

ress

https://github.com/filipelinhares/ress/blob/16399b30f13427f64674488d253ccf512efe1518/CHANGELOG.md

  • iframeborder-style: none追加
  • [disabled]な要素へのカーソル指定を下の方へ移動
  • color: inheritbuttonから削除

メジャーバージョンアップだが恐れるなかれ。上げてよし。

connect-redis

前に一度revertされたやつがまた問題になったので、再revertされている模様。上げてよし。

firebase

使っているのは@firebase/authだけ。0.19.9 -> 0.19.10。

https://github.com/firebase/firebase-js-sdk/blob/34964891701cf68699b053d85010c78c6db27a38/packages/auth/CHANGELOG.md#01910

http-proxy-middleware

https://github.com/chimurai/http-proxy-middleware/releases/tag/v2.0.4

  • Content-Typeヘッダの扱いを改善
  • 開発依存の更新など

上げてよし。

今回はこんなもん。ressの更新で崩れが出ないかは見とくべし。