Upgrade dependencies
opened this issue · comments
I see some deprecation warnings while installing dependencies.
npm i 4s 657ms
npm WARN deprecated gulp-util@2.2.20: gulp-util is deprecated - replace it, following the guidelines at https://medium.com/gulpjs/gulp-util-ca3b1f9f9ac5
npm WARN deprecated graceful-fs@3.0.11: please upgrade to graceful-fs 4 for compatibility with current and future versions of Node.js
npm WARN deprecated minimatch@2.0.10: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated minimatch@0.2.14: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated graceful-fs@1.2.3: please upgrade to graceful-fs 4 for compatibility with current and future versions of Node.js
After installion, I checked the installed versions and npm listed a bunch of outdated packages.
$ npm outdated
Package Current Wanted Latest Location
@rsi/core 0.0.2 git git @rsi/server
@types/body-parser 0.0.33 0.0.33 1.16.8 @rsi/server
@types/compression 0.0.33 0.0.33 0.0.35 @rsi/server
@types/node 6.0.101 6.0.101 9.4.6 @rsi/server
@types/query-string 4.3.1 4.3.1 5.1.0 @rsi/server
@types/uuid 2.0.30 2.0.30 3.4.3 @rsi/server
@types/ws 0.0.37 0.0.37 4.0.1 @rsi/server
gulp-clean 0.3.2 0.3.2 0.4.0 @rsi/server
gulp-file 0.3.0 0.3.0 0.4.0 @rsi/server
gulp-jasmine 2.4.2 2.4.2 3.0.0 @rsi/server
gulp-typescript 3.2.4 3.2.4 4.0.1 @rsi/server
query-string 4.3.4 4.3.4 5.1.0 @rsi/server
ws 1.1.5 1.1.5 4.0.0 @rsi/server
How to upgrade? I mean, just update the dependencies to their respective actual versions or also use different modules? Replace Gulp by Webpack? Replace Jasmine by Jasmine2 or Jest?
Well, actually I think we do not even need gulp nor web pack...
we can easily migrate to pure typescript, like we do in http://github.com/wzr1337/rsi.core
What do you think?
the other deps shall be fine to upgrade as long as https://github.com/wzr1337/rsi.demo tests fine.. there are no tests for this repo alone.. This is still a task to do.. "hint" ;)
core is updated.
#69 created to update server.
i see your hint. not sure if i' am a jasmine guy since i know jest ;-)