Skip to content

Commit 4a0e06b

Browse files
Updated dependencies and fixed DOMPropertyConfig import path.
1 parent 3ab31b8 commit 4a0e06b

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@
55
"main": "src/htmltojsx.js",
66
"bin": "src/cli.js",
77
"dependencies": {
8-
"react": "~0.14.6",
8+
"react": "~15.4.1",
9+
"react-dom": "~15.4.1",
910
"yargs": "~4.6.0",
1011
"jsdom-no-contextify": "~3.1.0"
1112
},

src/htmltojsx.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ var ELEMENT_ATTRIBUTE_MAPPING = {
3535
}
3636
};
3737

38-
var HTMLDOMPropertyConfig = require('react/lib/HTMLDOMPropertyConfig');
38+
var HTMLDOMPropertyConfig = require('react-dom/lib/HTMLDOMPropertyConfig');
3939

4040
// Populate property map with ReactJS's attribute and property mappings
4141
// TODO handle/use .Properties value eg: MUST_USE_PROPERTY is not HTML attr

0 commit comments

Comments
 (0)