Skip to content

update-packages: Update all necessary packages

This merge request contains update for packages that could be afforded to be upgraded to their latest versions.

The following packages were not upgraded:

  • @toast-ui/editor and @toast-ui/vue-editor because the latest version 3.x requires another typed package to be installed in order for it to work. Since the editor is only used by admins (in this case usually only Maik) and it works perfectly fine, it would be better to not upgrade it and introduce another type package into our node-modules

  • axios Because the latest version 0.23.0 which came out yesterday as of now, has some breaking changes. They can be viewed here. This causes huge compile time errors and would be better handled if it is fixed in a separate ticket on its own.

  • draw2d Because the latest version breaks the movement of bricks on a touch device (this has been so since a very long time)

  • eslint The latest version 8.x breaks the npm run lint command as it cannot find a certain constructor to run it. Therefore it is being kept at the latest 7.25.x version

  • sass and sass-loader These two..... well, they styles dont load if they are upgraded. Even in Pushbox we keep sass-loader at version 10.x

  • webpack Because its latest version 5.x demands the latest sass-loader and since sass-loader cannot upgrade, webpack must also stay in its stable latest 4.x version

The following package was removed:

  • node-sass The NPM page for this package says that it is used to compile LibSass. We do not use LibSass and usually node-sass is used as an alternative to sass and we already are using sass. If you feel that this is an important package and a mistake has been made, please install it again.
Edited by Muhammad Adnan

Merge request reports