Skip to content

Commit ee4bbbf

Browse files
committed
chore: fix compatibility errors
1 parent c066637 commit ee4bbbf

File tree

3 files changed

+792
-903
lines changed

3 files changed

+792
-903
lines changed

package.json

Lines changed: 21 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
{
22
"name": "react-usage-bar",
3-
"version": "1.2.0",
3+
"version": "1.2.1",
44
"description": "Usage bar, graphic component for React",
5-
"type": "module",
65
"main": "build/index.js",
76
"typings": "build/index.d.ts",
87
"files": [
@@ -38,30 +37,30 @@
3837
"homepage": "http://ChrisUser.github.io/react-usage-bar",
3938
"license": "MIT",
4039
"devDependencies": {
41-
"@babel/core": "^7.23.3",
42-
"@babel/preset-env": "^7.23.3",
40+
"@babel/core": "^7.23.5",
41+
"@babel/preset-env": "^7.23.5",
4342
"@babel/preset-react": "^7.23.3",
4443
"@babel/preset-typescript": "^7.23.3",
45-
"@storybook/addon-a11y": "^7.5.3",
46-
"@storybook/addon-docs": "^7.5.3",
47-
"@storybook/addon-viewport": "^7.5.3",
48-
"@storybook/react": "^7.5.3",
49-
"@storybook/react-webpack5": "^7.5.3",
50-
"@testing-library/jest-dom": "^6.1.4",
44+
"@storybook/addon-a11y": "^7.6.2",
45+
"@storybook/addon-docs": "^7.6.2",
46+
"@storybook/addon-viewport": "^7.6.2",
47+
"@storybook/react": "^7.6.2",
48+
"@storybook/react-webpack5": "^7.6.2",
49+
"@testing-library/jest-dom": "^6.1.5",
5150
"@testing-library/react": "^14.1.2",
5251
"@types/jest": "^29.5.10",
53-
"@types/react": "^18.2.38",
52+
"@types/react": "^18.2.39",
5453
"@types/react-dom": "^18.2.17",
5554
"awesome-typescript-loader": "^5.2.1",
5655
"babel-loader": "^9.1.3",
57-
"esbuild": "^0.19.7",
56+
"esbuild": "^0.19.8",
5857
"jest": "^29.7.0",
5958
"postcss": "^8.4.24",
6059
"prettier-standard": "^16.3.0",
6160
"react": "^18.2.0",
6261
"react-docgen-typescript-loader": "^3.7.2",
6362
"react-dom": "^18.2.0",
64-
"rollup": "^4.5.2",
63+
"rollup": "^4.6.1",
6564
"rollup-plugin-commonjs": "^10.1.0",
6665
"rollup-plugin-dts": "^6.1.0",
6766
"rollup-plugin-esbuild": "^6.1.0",
@@ -72,18 +71,18 @@
7271
"rollup-plugin-typescript2": "^0.36.0",
7372
"standard": "^17.1.0",
7473
"standard-prettier": "^1.0.1",
75-
"storybook": "7.5.3",
74+
"storybook": "7.6.2",
7675
"ts-jest": "^29.1.1",
7776
"ts-loader": "^9.5.1",
7877
"typescript": "^5.3.2"
7978
},
8079
"peerDependencies": {
81-
"react": "^17",
82-
"react-dom": "^17"
80+
"react": "^16",
81+
"react-dom": "^16"
8382
},
8483
"resolutions": {
85-
"minimist": "1.2.8",
86-
"semver": "7.5.4"
84+
"minimist": "1.2.6",
85+
"semver": "7.5.2"
8786
},
8887
"jest": {
8988
"preset": "ts-jest",
@@ -105,5 +104,9 @@
105104
"afterAll",
106105
"jest"
107106
]
107+
},
108+
"dependencies": {
109+
"minimist": "1.2.8",
110+
"semver": "7.5.4"
108111
}
109112
}

src/UsageBar.stories.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ const items = [
3232
]
3333

3434
const compactContainerStyle = { maxWidth: 500, margin: "0 auto" }
35-
const normalContainerStyle = { margin: 16 }
35+
const normalContainerStyle = { margin: 24 }
3636

3737
export const lightMode = () => (
3838
<div style={normalContainerStyle}>

0 commit comments

Comments
 (0)