Skip to content

Commit 56f279c

Browse files
Require DOM property configs from react-dom/lib/ in react >=15.4
Update devDependencies and peerDependencies in package.json
1 parent 51f6644 commit 56f279c

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

lib/property-config.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
var utilities = require('./utilities');
77

88
// HTML and SVG DOM Property Configs
9-
var HTMLDOMPropertyConfig = require('react/lib/HTMLDOMPropertyConfig');
10-
var SVGDOMPropertyConfig = require('react/lib/SVGDOMPropertyConfig');
9+
var HTMLDOMPropertyConfig = require('react-dom/lib/HTMLDOMPropertyConfig');
10+
var SVGDOMPropertyConfig = require('react-dom/lib/SVGDOMPropertyConfig');
1111

1212
var config = {
1313
html: {},

package.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,12 +37,13 @@
3737
"istanbul": "^0.4.5",
3838
"jsdomify": "^2.1.0",
3939
"mocha": "^3.0.2",
40-
"react": "15.3",
41-
"react-dom": "15.3",
40+
"react": ">=15.4",
41+
"react-dom": ">=15.4",
4242
"webpack": "^1.13.2"
4343
},
4444
"peerDependencies": {
45-
"react": "<=15.3"
45+
"react": ">=15.4",
46+
"react-dom": ">=15.4"
4647
},
4748
"browser": {
4849
"htmlparser2/lib/Parser": false,

0 commit comments

Comments
 (0)