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

DASH-1618 - Fix vulnerability alerts #106

Merged
merged 6 commits into from
Mar 31, 2019

Conversation

vernondegoede
Copy link
Contributor

@vernondegoede vernondegoede commented Mar 25, 2019

There are currently 10 vulnerability alerts for the Node API module. I've upgraded most of our dependencies (they were quite outdated) and now most of them are gone.

Unfortunately, we need to drop support for Node 4.8 since we have updated ESLint. However, as we already discussed in our TypeScript migration PR (#97), this doesn't have to be a breaking change as it's not used that much.

Last week another advisory was published, but I need to wait for my ESLint PR to be approved & released before we can fix that alert as well.

Release strategy
Before actually releasing this, I'd like to release a beta version of the API client to test it in some example projects.

Copy link
Contributor

@lvgunst lvgunst left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have some questions about some changes you've made.

package.json Show resolved Hide resolved
@@ -32,39 +32,38 @@
"test:unit:cov": "jest ./tests/unit --coverage",
"build": "rollup -c",
"lint:prettier": "prettier --write \"{src,tests,examples}/**/*.js\"",
"lint:eslint": "eslint {src,test,examples}/**/*.js",
"lint:eslint": "eslint {src,tests}/**/*.js",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why did you remove the examples directory? Shouldn't we run Eslint on the examples?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The examples have a lot of unused constants, which are only there for example purposes. I believe running Prettier on the examples will be sufficient.

@vernondegoede vernondegoede merged commit 9ef5046 into master Mar 31, 2019
@vernondegoede vernondegoede deleted the vernon/fix-vulnerability-alerts branch March 31, 2019 17:58
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 this pull request may close these issues.

3 participants