This repository was archived by the owner on Oct 9, 2023. It is now read-only.
  
  
  
  
    
    
    
      
    
  
  
    
File tree Expand file tree Collapse file tree 2 files changed +12
-12
lines changed Expand file tree Collapse file tree 2 files changed +12
-12
lines changed Original file line number Diff line number Diff line change 5252  },
5353  "devDependencies" : {
5454    "babel-cli" : " ^6.26.0"  ,
55-     "babel-preset-airbnb" : " ^2.4.0 "  ,
55+     "babel-preset-airbnb" : " ^2.5.2 "  ,
5656    "chai" : " ^4.1.2"  ,
5757    "enzyme" : " ^3.3.0"  ,
5858    "enzyme-adapter-react-helper" : " ^1.2.3"  ,
5959    "eslint" : " ^4.19.1"  ,
60-     "eslint-config-airbnb" : " ^16.1 .0"  ,
61-     "eslint-plugin-import" : " ^2.11 .0"  ,
62-     "eslint-plugin-jsx-a11y" : " ^6.0.3 "  ,
63-     "eslint-plugin-react" : " ^7.7 .0"  ,
64-     "hypernova" : " ^2.2.5 "  ,
60+     "eslint-config-airbnb" : " ^17.0 .0"  ,
61+     "eslint-plugin-import" : " ^2.13 .0"  ,
62+     "eslint-plugin-jsx-a11y" : " ^6.1.1 "  ,
63+     "eslint-plugin-react" : " ^7.10 .0"  ,
64+     "hypernova" : " ^2.2.6 "  ,
6565    "istanbul" : " ^0.4.5"  ,
6666    "jsdom" : " ^9.12.0"  ,
6767    "mocha" : " ^4.1.0"  ,
68-     "prop-types" : " ^15.6.1 "  ,
68+     "prop-types" : " ^15.6.2 "  ,
6969    "react" : " ^0.14 || ^15 || ^16"  ,
7070    "react-dom" : " ^0.14 || ^15 || ^16"  ,
7171    "rimraf" : " ^2.6.2"  ,
72-     "sinon" : " ^5.0 .1"  ,
73-     "sinon-sandbox" : " ^1 .0.2 " 
72+     "sinon" : " ^5.1 .1"  ,
73+     "sinon-sandbox" : " ^2 .0.0 " 
7474  },
7575  "engines" : {
7676    "node" : " >= 4.0" 
Original file line number Diff line number Diff line change 11const  React  =  require ( 'react' ) ; 
22const  PropTypes  =  require ( 'prop-types' ) ; 
33
4- function  ExampleReactComponent ( props )  { 
5-   const  name  =  [ 'Hello' ,  props . name ] ; 
6-   return  React . createElement ( 'div' ,  {  id : 'example'  } ,  name . join ( ' ' ) ) ; 
4+ function  ExampleReactComponent ( {  name  } )  { 
5+   const  hi  =  [ 'Hello' ,  name ] ; 
6+   return  React . createElement ( 'div' ,  {  id : 'example'  } ,  hi . join ( ' ' ) ) ; 
77} 
88
99ExampleReactComponent . propTypes  =  { 
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments