-
Notifications
You must be signed in to change notification settings - Fork 64
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
Conversation
There was a problem hiding this 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.
@@ -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", |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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.
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.