Skip to content

Commit 0ad520e

Browse files
committed
upgrade packages, fix warnings
1 parent e961c54 commit 0ad520e

File tree

4 files changed

+3247
-2663
lines changed

4 files changed

+3247
-2663
lines changed

.eslintrc.js

+8-7
Original file line numberDiff line numberDiff line change
@@ -4,23 +4,24 @@ module.exports = {
44
'plugin:@typescript-eslint/recommended',
55
'prettier/@typescript-eslint',
66
'plugin:prettier/recommended',
7-
'plugin:react/recommended'
7+
'plugin:react/recommended',
88
],
99
parserOptions: {
1010
ecmaVersion: 2020,
1111
sourceType: 'module',
1212
ecmaFeatures: {
13-
jsx: true
14-
}
13+
jsx: true,
14+
},
1515
},
1616
plugins: ['@typescript-eslint', 'react'],
1717
settings: {
1818
react: {
19-
version: 'detect'
20-
}
19+
version: 'detect',
20+
},
2121
},
2222
rules: {
2323
'@typescript-eslint/explicit-function-return-type': 'off',
24-
'@typescript-eslint/no-non-null-assertion': 'off'
25-
}
24+
'@typescript-eslint/no-non-null-assertion': 'off',
25+
'@typescript-eslint/explicit-module-boundary-types': 'off',
26+
},
2627
};

package.json

+27-27
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-popper-tooltip",
3-
"version": "3.1.0",
3+
"version": "3.1.1",
44
"description": "React tooltip library built around react-popper",
55
"homepage": "https://react-popper-tooltip.netlify.app",
66
"repository": {
@@ -53,39 +53,39 @@
5353
"react-dom": "^16.6.0 || ^17.0.0"
5454
},
5555
"dependencies": {
56-
"@babel/runtime": "^7.10.4",
57-
"@popperjs/core": "^2.4.4",
56+
"@babel/runtime": "^7.12.5",
57+
"@popperjs/core": "^2.5.4",
5858
"react-popper": "^2.2.4"
5959
},
6060
"devDependencies": {
61-
"@babel/cli": "^7.10.4",
62-
"@babel/core": "^7.10.4",
63-
"@babel/plugin-proposal-class-properties": "^7.10.4",
64-
"@babel/plugin-transform-runtime": "^7.10.4",
65-
"@babel/preset-env": "^7.10.4",
66-
"@babel/preset-react": "^7.10.4",
67-
"@babel/preset-typescript": "^7.10.4",
68-
"@testing-library/react": "^10.4.5",
69-
"@types/jest": "^26.0.4",
70-
"@types/react": "^16.9.43",
71-
"@types/react-dom": "^16.9.8",
72-
"@typescript-eslint/eslint-plugin": "^3.6.0",
73-
"@typescript-eslint/parser": "^3.6.0",
61+
"@babel/cli": "^7.12.1",
62+
"@babel/core": "^7.12.3",
63+
"@babel/plugin-proposal-class-properties": "^7.12.1",
64+
"@babel/plugin-transform-runtime": "^7.12.1",
65+
"@babel/preset-env": "^7.12.1",
66+
"@babel/preset-react": "^7.12.5",
67+
"@babel/preset-typescript": "^7.12.1",
68+
"@testing-library/react": "^11.1.1",
69+
"@types/jest": "^26.0.15",
70+
"@types/react": "^16.9.55",
71+
"@types/react-dom": "^16.9.9",
72+
"@typescript-eslint/eslint-plugin": "^4.6.1",
73+
"@typescript-eslint/parser": "^4.6.1",
7474
"docz": "^2.3.1",
75-
"eslint": "^7.4.0",
76-
"eslint-config-prettier": "^6.11.0",
75+
"eslint": "^7.12.1",
76+
"eslint-config-prettier": "^6.15.0",
7777
"eslint-plugin-prettier": "^3.1.4",
78-
"eslint-plugin-react": "^7.20.3",
79-
"husky": "^4.2.5",
80-
"jest": "^26.1.0",
81-
"lint-staged": "^10.2.11",
82-
"prettier": "^2.0.5",
83-
"react": "^16.12.0",
84-
"react-dom": "^16.12.0",
85-
"rollup": "^2.21.0",
78+
"eslint-plugin-react": "^7.21.5",
79+
"husky": "^4.3.0",
80+
"jest": "^26.6.3",
81+
"lint-staged": "^10.5.1",
82+
"prettier": "^2.1.2",
83+
"react": "^17.0.1",
84+
"react-dom": "^17.0.1",
85+
"rollup": "^2.33.1",
8686
"rollup-plugin-babel": "^4.4.0",
8787
"rollup-plugin-node-resolve": "^5.2.0",
8888
"rollup-plugin-size-snapshot": "^0.12.0",
89-
"typescript": "^3.9.6"
89+
"typescript": "^4.0.5"
9090
}
9191
}

rollup.config.js

+1
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ export default [
1616
input,
1717
output: {
1818
file: pkg.main,
19+
exports: 'auto',
1920
format: 'cjs',
2021
interop: false,
2122
sourcemap: true,

0 commit comments

Comments
 (0)