Skip to content

Commit e9d4801

Browse files
committed
chore: update dependencies
1 parent 9eee86d commit e9d4801

File tree

4 files changed

+32
-28
lines changed

4 files changed

+32
-28
lines changed

.eslintrc

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
11
{
2-
"extends": "canonical"
2+
"extends": [
3+
"canonical",
4+
"canonical/mocha"
5+
]
36
}

package.json

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -12,37 +12,37 @@
1212
"css",
1313
"modules"
1414
],
15-
"version": "4.0.0",
15+
"version": "4.0.1",
1616
"author": {
1717
"name": "Gajus Kuizinas",
1818
"email": "gajus@gajus.com",
1919
"url": "http://gajus.com"
2020
},
2121
"license": "BSD-3-Clause",
2222
"dependencies": {
23-
"hoist-non-react-statics": "^1.0.5",
24-
"lodash": "^4.6.1",
25-
"object-unfreeze": "^1.0.2"
23+
"hoist-non-react-statics": "^1.2.0",
24+
"lodash": "^4.16.6",
25+
"object-unfreeze": "^1.1.0"
2626
},
2727
"devDependencies": {
28-
"babel-cli": "^6.10.1",
28+
"babel-cli": "^6.18.0",
2929
"babel-plugin-add-module-exports": "^0.2.1",
30-
"babel-plugin-lodash": "^3.2.5",
30+
"babel-plugin-lodash": "^3.2.9",
3131
"babel-plugin-transform-proto-to-assign": "^6.9.0",
32-
"babel-preset-es2015": "^6.9.0",
33-
"babel-preset-react": "^6.11.1",
34-
"babel-preset-stage-0": "^6.5.0",
35-
"babel-register": "^6.9.0",
36-
"chai": "^3.5.0",
37-
"eslint": "^3.0.0",
38-
"eslint-config-canonical": "^1.7.12",
39-
"husky": "^0.11.7",
40-
"jsdom": "^9.5.0",
41-
"mocha": "^3.0.2",
42-
"react": "^15.0.0-rc.1",
43-
"react-addons-shallow-compare": "^15.0.0-rc.1",
44-
"react-addons-test-utils": "^15.0.0-rc.1",
45-
"react-dom": "^15.0.0-rc.1"
32+
"babel-preset-es2015": "^6.18.0",
33+
"babel-preset-react": "^6.16.0",
34+
"babel-preset-stage-0": "^6.16.0",
35+
"babel-register": "^6.18.0",
36+
"chai": "^4.0.0-canary.1",
37+
"eslint": "^3.10.0",
38+
"eslint-config-canonical": "^5.5.0",
39+
"husky": "^0.11.9",
40+
"jsdom": "^9.8.3",
41+
"mocha": "^3.1.2",
42+
"react": "^15.4.0-rc.4",
43+
"react-addons-shallow-compare": "^15.4.0-rc.4",
44+
"react-addons-test-utils": "^15.4.0-rc.4",
45+
"react-dom": "^15.4.0-rc.4"
4646
},
4747
"scripts": {
4848
"lint": "eslint ./src ./tests",

tests/linkClass.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,7 @@ describe('linkClass', () => {
123123
0: <p key='1' styleName='foo' />,
124124
1: <p key='2' styleName='bar' />,
125125
length: 2,
126+
126127
// eslint-disable-next-line no-use-extend-native/no-use-extend-native
127128
[Symbol.iterator]: Array.prototype[Symbol.iterator]
128129
};

tests/wrapStatelessFunction.js

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,18 +13,18 @@ describe('wrapStatelessFunction', () => {
1313
foo: 'foo-1'
1414
};
1515

16-
const Component = function InnerComponent () {
16+
const InnerComponent = () => {
1717
return null;
1818
};
1919

20-
Component.propTypes = {};
21-
Component.defaultProps = {};
20+
InnerComponent.propTypes = {};
21+
InnerComponent.defaultProps = {};
2222

23-
const WrappedComponent = wrapStatelessFunction(Component, styles);
23+
const WrappedComponent = wrapStatelessFunction(InnerComponent, styles);
2424

25-
expect(WrappedComponent.propTypes).to.equal(Component.propTypes);
26-
expect(WrappedComponent.defaultProps).to.equal(Component.defaultProps);
27-
expect(WrappedComponent.name).not.to.equal(Component.name);
25+
expect(WrappedComponent.propTypes).to.equal(InnerComponent.propTypes);
26+
expect(WrappedComponent.defaultProps).to.equal(InnerComponent.defaultProps);
27+
expect(WrappedComponent.name).not.to.equal(InnerComponent.name);
2828
});
2929
context('using default styles', () => {
3030
it('exposes styles through styles property', (done) => {

0 commit comments

Comments
 (0)