buildkite-plugins / buildkite-plugin-linter

✨ A linter for your Buildkite plugins
MIT License
7 stars 9 forks source link

Dependencies update #540

Closed toote closed 3 months ago

toote commented 3 months ago

NodeJS base image

Updates NodeJS image to latest LTS (same as #539)

Nothing to call home about as everything worked on that PR

js-yaml

Updates js-yaml dependency to 4.1.0 (same as #531).

This was a major update as the safe versions of functions were removed as they are the default ones now. Had to rename a few calls here and there but not too complicated

chai

Updates chai dev dependency to 5.1.1 (same as #501).

This was a major version upgrade because they removed support for older NodeJS versions and made ESM mandatory. This means that require would no longer work and would need replacing with import statements. Unfortunately, you can not mix the two so there was a need for a major overhaul of the code around the dependencies.

Huge props to VSCode for doing most of the tedious changes through automatic conversion of files to ESM-compatible code.