-
-
Notifications
You must be signed in to change notification settings - Fork 525
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove dependency on Gulp #344
Comments
👍 |
I agree. Back then I thought it would be a funny an easy going idea but it turned out to be a nightmare instead. I'm all for it! |
At the very least a short-term fix would involve upgrading gulp to silence the |
Not to mention this! https://snyk.io/test/npm/sequelize-cli |
@tdreyno This is a CLI tool, not something you expose via HTTP or something, and sequelize-cli doesn't use the minimatch globbing at all. There is no vulnerability here. |
Fair. I'm using automated security checking tools for node and it's complaining because of that, regardless of if the vector is real or not. |
This is a pain, we have been asked to run 👍 to remove gulp as a required dependency
|
nsp allows to exclude certain packages iirc. Especially since sequelize-cli is a devdep... |
So, I just tried our code without this dependency and migrations don't work now.... last I looked AWS Elastic Beanstalk will only install non dev dependencies, but it has been a while since I tried to check this....
What is the recommended way to run migrations on deployment if this is a dev dependency? While I understand it might not be part of the running production code we need to execute the dependency on the production servers to run the migrations, this means we need to be happy it has no vulnerabilities....? Open to your thoughts / ideas on this Some insights to the script if it helps
|
My understanding that |
Created pull request that fixes it #430 |
@felixfbecker Isn't it used only for testing? I don't see any sign of it in the bin file. |
Would an upgrade to Gulp 4 fix this issue? Especially in the 2.x.x version of /cc @sushantdhiman |
why use one thing old like Gulp, is not better webpack ? why sequelize tool don't generate ES6 js ? i am newbie with sequelize, but i don't understand why to write code like 5 years ago |
Because this project is around 7 years old, be patient we are working on fixing things. If you want things to accelerate send me a PR :) |
oh my God,; 7 years old :-) , must too look another ES6/ES7 Orm |
@webmobiles I suggest https://github.com/Vincit/objection.js/ , you are welcome to try Sequelize any time :). Its open source after all |
thanks susan , it was a joke, i am a dinosaur that comes from old php 4, in the new node world, i feel like i'm not working with modern tools so that gets me crazy, thanks , hope to learn to contribute to modernize all these old packages |
Be a XDG-friendly tool
There is no reason why this depends on Gulp. Gulp brings in a lot of dependencies like vinyl-fs and in turn graceful-fs, which we dont need at all. All Gulp is used for is task registration, which orchestrator (undertaker for gulp 4) are used for.
Using yargs would do the job much better.
The text was updated successfully, but these errors were encountered: