Skip to content
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

Dependabot updates #924

Closed
7 tasks done
pdpinch opened this issue Sep 1, 2022 · 13 comments
Closed
7 tasks done

Dependabot updates #924

pdpinch opened this issue Sep 1, 2022 · 13 comments
Assignees

Comments

@pdpinch
Copy link
Member

pdpinch commented Sep 1, 2022

Dependabot is recommending a number of updates, but it can't open PRs right now.

Acceptance Criteria:

  • ejs 3.17
  • terser 5.14.2
  • moment 2.29.4
  • merge 2.1.1
  • node-fetch
  • shelljs 0.8.5
  • nth-check 2.0.1

related issues

@rhysyngsun rhysyngsun changed the title Dependabout updates Dependabot updates Sep 2, 2022
@asadali145 asadali145 self-assigned this Sep 29, 2022
@asadali145
Copy link
Contributor

Hey @pdpinch @rhysyngsun,

  • I was having a look into this ticket and it seems like dependabot is disabled for version updates. Should I enable it and add a config for it? Please have a look at the feature in settings available at https://github.com/mitodl/mitxonline/settings/security_analysis.
  • Also, I remember we were about to use renovate. Is there any update on that or should I enable dependabot.

@rhysyngsun
Copy link
Collaborator

If we're going to enable something like dependabot I'd rather go with renovate, although it requires some more configuration tweaks.

In the meantime, can you manually open some PRs to bump the versions for what dependabot is alerting on?

@asadali145
Copy link
Contributor

Putting it here for reference:

ejs cannot be upgraded as it is a dependency of https://github.com/surma/rollup-plugin-off-main-thread and ejs version is not updated in it. There is an Open PR for ejs version bump but it seems like there is no activity on it from the maintainers surma/rollup-plugin-off-main-thread#53.

@asadali145
Copy link
Contributor

Terser is a dependency of the following Packages:

https://github.com/TrySound/rollup-plugin-terser has not yet bumped the version specified by the dependabot is the reason we cannot update terser. We can pin the version as we do in MITxPro https://github.com/mitodl/mitxpro/blob/5a4bde552c2bdc89702740eef78146c4012a6012/package.json#L136

@asadali145
Copy link
Contributor

Merge is the dependency of https://github.com/sasstools/sass-lint. A PR for Version bump is created but there is no response on that sasstools/sass-lint#1321.

@asadali145
Copy link
Contributor

node-fetch also has a few dependencies that have open PRs for version bumps.

@asadali145
Copy link
Contributor

shelljs is a dependency of eslint and flowgen. Flowgen has a open PR joarwilk/flowgen#169 for version bump but eslint is still using 0.8.2 and no issue or PR if open for version bump.

@asadali145
Copy link
Contributor

asadali145 commented Oct 4, 2022

nth-select is a dependency of react-scripts and we are using the latest version of react-scripts. Maybe we can pin the version specified by dependabot if required.

@asadali145
Copy link
Contributor

Hey, @rhysyngsun @pdpinch just FYI;
Almost all the packages are required by either react-scripts or a dependency of react-scripts. Some packages have had no activity for the last year or two. I have had a few discussions with @arslanashraf7 as well. We have 2 options:

Please let me know your opinion. Thanks

@rhysyngsun
Copy link
Collaborator

@asadali145 I think we should try the resolutions pinning, since react-scripts is used at build time as long as we get a valid and functional build out of it we should be good. Although that said I think that library is only really required by create-react-app which I don't think we're using so this really shouldn't do anything.

@pdpinch
Copy link
Member Author

pdpinch commented Dec 16, 2022

I'd like to close this generic issue. Can someone open a specific issue about pinning the version of resolutions -- and/or removing create-react-app?

@asadali145
Copy link
Contributor

Recently, Depeandabot opened a couple of PRs for the related dependencies. I will be having a look into those when I get some time. Hopefully, We won't need the resolutions.

@asadali145
Copy link
Contributor

Closing this one. Dependabot opened PRs that we need to review now. This one is invalid.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants