Skip to content
This repository was archived by the owner on Oct 9, 2023. It is now read-only.

Commit b645d05

Browse files
author
Wing Leung
committed
Merge branch 'separate-client-and-server-logic' of github.com:wingleung/hypernova-react into separate-client-and-server-logic
2 parents e681442 + 7e4a4a9 commit b645d05

File tree

2 files changed

+12
-12
lines changed

2 files changed

+12
-12
lines changed

package.json

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -52,25 +52,25 @@
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"

test/components/ExampleReactComponent.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
const React = require('react');
22
const 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

99
ExampleReactComponent.propTypes = {

0 commit comments

Comments
 (0)