-
Notifications
You must be signed in to change notification settings - Fork 84
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
Upgrade deps #93
Upgrade deps #93
Conversation
@@ -9,7 +9,8 @@ | |||
"main": "build/index.js", | |||
"types": "build/index.d.ts", | |||
"dependencies": { | |||
"js-cookie": "^2.2.1" | |||
"js-cookie": "^2.2.1", | |||
"prop-types": "^15.7.2" |
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 added this as suggested in the official docs https://www.npmjs.com/package/prop-types#how-to-depend-on-this-package
@@ -1,32 +1,30 @@ | |||
var path = require('path'); | |||
var CopyWebpackPlugin = require('copy-webpack-plugin'); | |||
var path = require("path"); |
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.
All this formating comes from git hooks > prettier.
plugins: [ | ||
new CopyWebpackPlugin([{ from: 'src/index.d.ts', to: 'index.d.ts' }]) | ||
] | ||
plugins: [new CopyWebpackPlugin({ patterns: [{ from: "src/index.d.ts", to: "index.d.ts" }] })], |
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.
This is the new syntax according to the official docs
Pr looks good. I knew the files weren't up to date with prettier so no worries. I did not the prop-types thing as a dependency. Never used it like that. Guess I need to revisit a lot of projects 😄 Will merge this together with the other one after some tests etc. Thanks again for the work! |
I had to upgrade a lot of libraries in order to fix all the vulnerabilities. Sorry if the PR is too big
Fixes #91 #92