LoginSignup
1
0

More than 3 years have passed since last update.

phoenixフレームワークのjs-yamlのバージョンをあげる

Last updated at Posted at 2019-06-20

phoenixのチュートリアルやってみようと思い立ち、
とりあえずgithubにrepo作ってfirst commitしておいたんですが、
security alertが出ていた。
スクリーンショット 2019-06-20 10.26.30.png
js-yamlのバージョンをあげなさい、と。
素直に従う。
assets/package.jsonの最後尾にこいつを追加するだけ。

"js-yaml": ">=3.13.1"

追加したらassets配下で

npm install

実行すると、assets/package-lock.json内のjs-yamlのバージョンが上がってるはず。
この状態でcommit&pushで、githubのsecurity alertは消えた。

1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0