webdoc-labs / webdoc

Documentation generator for the web
https://www.webdoclabs.com
Other
79 stars 9 forks source link

Outdated dependencies #73

Closed JoakimCh closed 2 years ago

JoakimCh commented 3 years ago

I wanted to try this project, but after being met with these messages during the install I will stay away (for now)...

npm install -g @webdoc/cli
npm WARN deprecated gulp-util@3.0.8: gulp-util is deprecated - replace it, following the guidelines at https://medium.com/gulpjs/gulp-util-ca3b1f9f9ac5
npm WARN deprecated resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated
npm WARN deprecated urix@0.1.0: Please see https://github.com/lydell/urix#deprecated
npm WARN deprecated fsevents@1.2.13: fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2.
npm WARN deprecated chokidar@2.1.8: Chokidar 2 will break on node v14+. Upgrade to chokidar 3 with 15x less dependencies.
ShukantPal commented 3 years ago

Thanks for bringing this to my attention. Where did you find webdoc from? (just asking for when I do a proper release)

ShukantPal commented 3 years ago

Inference improvements

JoakimCh commented 3 years ago

I'm a user of PixiJS and saw they now are using it. Hence it spiked my interest (especially since I've been fighting with JSDoc lately).

ShukantPal commented 3 years ago

I removed the gulp-util, jsdoc, requizzle dependencies from @webdoc/cli. That should also fix the chokidar, fsevents stuff. I'm not sure how to check the last two:

http://npm.anvaka.com/#/view/2d/%2540webdoc%252Fcli

ShukantPal commented 3 years ago

npm installing webdoc 1.1.4 should only complain about urix, resolve-url; the peer dependencies shouldn't be a security risk:

npm WARN deprecated urix@0.1.0: Please see https://github.com/lydell/urix#deprecated
npm WARN deprecated resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated

> core-js@3.8.2 postinstall /Users/shukantpal/Web Projects/test/node_modules/core-js
> node -e "try{require('./postinstall')}catch(e){}"

Thank you for using core-js ( https://github.com/zloirock/core-js ) for polyfilling JavaScript standard library!

The project needs your help! Please consider supporting of core-js on Open Collective or Patreon: 
> https://opencollective.com/core-js 
> https://www.patreon.com/zloirock 

Also, the author of core-js ( https://github.com/zloirock ) is looking for a good job -)

npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN @material-ui/icons@4.11.2 requires a peer of @material-ui/core@^4.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN @material-ui/icons@4.11.2 requires a peer of react@^16.8.0 || ^17.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN @material-ui/icons@4.11.2 requires a peer of react-dom@^16.8.0 || ^17.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN @material-ui/lab@4.0.0-alpha.57 requires a peer of @material-ui/core@^4.9.10 but none is installed. You must install peer dependencies yourself.
npm WARN @material-ui/lab@4.0.0-alpha.57 requires a peer of react@^16.8.0 || ^17.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN @material-ui/lab@4.0.0-alpha.57 requires a peer of react-dom@^16.8.0 || ^17.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN @material-ui/utils@4.11.2 requires a peer of react@^16.8.0 || ^17.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN @material-ui/utils@4.11.2 requires a peer of react-dom@^16.8.0 || ^17.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN test@1.0.0 No description
npm WARN test@1.0.0 No repository field.

+ @webdoc/cli@1.1.4
added 314 packages from 495 contributors and audited 314 packages in 13.031s

29 packages are looking for funding
  run `npm fund` for details

found 0 vulnerabilitie
ShukantPal commented 2 years ago

Turns urix, resolve-url were being used by git-branch & gulp; got rid of all references now!