File tree Expand file tree Collapse file tree 4 files changed +8
-9
lines changed
supports/create-react-app Expand file tree Collapse file tree 4 files changed +8
-9
lines changed Original file line number Diff line number Diff line change 11{
22 "name" : " next-share" ,
3- "version" : " 0.18.1 " ,
3+ "version" : " 0.18.2 " ,
44 "description" : " Social media share buttons for your next React apps." ,
55 "author" :
" Bunlong <[email protected] >" ,
66 "license" : " MIT" ,
6363 "prettier" : " ^2.3.2" ,
6464 "react" : " ^17.0.2" ,
6565 "react-dom" : " ^17.0.2" ,
66- "react-scripts" : " ^4 .0.3 " ,
66+ "react-scripts" : " ^5 .0.1 " ,
6767 "react-test-renderer" : " ^17.0.2" ,
6868 "rollup" : " ^2.56.3" ,
6969 "rollup-plugin-terser" : " ^7.0.2" ,
9494 }
9595 ],
9696 "peerDependencies" : {
97- "react" : " >=17.0.0" ,
98- "react-dom" : " >=17.0.0" ,
99- "react-scripts" : " >=4.0.0"
97+ "react" : " >=17.0.2"
10098 },
10199 "dependencies" : {
102100 "jsonp" : " ^0.2.1"
Original file line number Diff line number Diff line change @@ -20,12 +20,12 @@ function createShareButton<
2020 OptionProps ;
2121
2222 function CreatedButton ( props : Props , ref : Ref < HTMLButtonElement > ) {
23- const opts = optsMap ( props ) ;
24- const passedProps = { ...props } ;
23+ const opts : any = optsMap ( props ) ;
24+ const passedProps : any = { ...props } ;
2525
2626 const optsKeys = Object . keys ( opts ) ;
2727 optsKeys . forEach ( ( key ) => {
28- delete ( passedProps as any ) [ key ] ;
28+ delete passedProps [ key ] ;
2929 } ) ;
3030
3131 return (
Original file line number Diff line number Diff line change @@ -71,6 +71,7 @@ class SocialMediaShareCount extends Component<
7171
7272 const {
7373 children = defaultChildren ,
74+ // eslint-disable-next-line react/prop-types
7475 className,
7576 // eslint-disable-next-line @typescript-eslint/no-unused-vars
7677 getCount : _ ,
Original file line number Diff line number Diff line change 66 "@testing-library/jest-dom" : " ^5.16.4" ,
77 "@testing-library/react" : " ^13.3.0" ,
88 "@testing-library/user-event" : " ^13.5.0" ,
9- "next-share" : " ^0.16.0 " ,
9+ "next-share" : " ^0.18.1 " ,
1010 "react" : " ^18.1.0" ,
1111 "react-dom" : " ^18.1.0" ,
1212 "react-scripts" : " 5.0.1" ,
You can’t perform that action at this time.
0 commit comments