webhintio / webhintio.github.io

🌍 webhint's website
https://webhint.io
Apache License 2.0
144 stars 69 forks source link

Fix: changing safeLoad for load in js-yaml>4 #1219

Closed vidorteg closed 2 months ago

vidorteg commented 2 months ago

Pull request checklist

Make sure you:

Short description of the change(s)

When running npm start node throws and error

Error: Function yaml.safeLoad is removed in js-yaml 4. Use yaml.load instead, which is now safe by default.

This fixes this issue