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

QoL updates #48

Merged
merged 4 commits into from
Oct 25, 2018
Merged

QoL updates #48

merged 4 commits into from
Oct 25, 2018

Conversation

karnthis
Copy link
Contributor

forked to work on issues, addresses a number of small things before starting work. includes typo fixes, updating vars to const/let, updated version to 1.8.5, and addresses dependency issues.

added webpack peer dependency so it loads automatically, critical vulnerability found in deep dependency of css-loader 0.28.11, updated to next (latest) version.
https://www.npmjs.com/advisories?search=macaddress&version=0.2.8
@js2me
Copy link
Member

js2me commented Oct 25, 2018

Hi @karnthis !
Thanks for your contributing

@@ -67,13 +67,14 @@
"prettier": "1.10.2",
"style-loader": "0.21.0",
"webpack": "4.8.2",
"webpack-cli": "2.1.3"
"webpack-cli": "2.1.3",
"ajv": "^6.0.0"
Copy link
Member

Choose a reason for hiding this comment

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

@karnthis You added this dependency but not use it
It's for the future? validating package.json yep?

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 ajv ^6.0.0 dependency was added because webpack throws a peer dependency error for ajv-keywords, even though ajv is included by webpack by default. functionally there should be little change other than perhaps duplication of the ajv module files, but this silences the error and reduces user confusion.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

this is the error delivered without the dependency added

npm WARN [email protected] requires a peer of ajv@^6.0.0 but none is installed. You must install peer dependencies yourself.

note: I do not have webpack pre-installed globally, but I suspect that users with it already installed would be unlikely to see this warning

Copy link
Member

@js2me js2me left a comment

Choose a reason for hiding this comment

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

Have one question.
Other looks good!

@js2me js2me merged commit aea66cc into acacode:master Oct 25, 2018
@@ -54,7 +54,7 @@
},
"devDependencies": {
"babel-eslint": "8.2.1",
"css-loader": "0.28.11",
"css-loader": "1.0.0",
Copy link
Member

Choose a reason for hiding this comment

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

@karnthis I couldn't test it , with this version css-loader is not support minimize option
And after this css files are not minified.
I'll find something how to fix that

Has been created a ticket for that #52

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.

2 participants