Skip to content

Commit

Permalink
Add support for React 17
Browse files Browse the repository at this point in the history
  • Loading branch information
rexxars committed Oct 24, 2020
1 parent 6e38dd3 commit 984c9bb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
},
"peerDependencies": {
"@types/react": "^15.0.0 || ^16.0.0",
"react": "^15.0.0 || ^16.0.0"
"react": "^15.0.0 || ^16.0.0 || ^17.0.0"
},
"devDependencies": {
"@babel/cli": "^7.0.0",
Expand All @@ -64,19 +64,19 @@
"@rollup/plugin-replace": "^2.0.0",
"@types/react": "^16.0.0",
"@types/react-dom": "^16.0.0",
"@wojtekmaj/enzyme-adapter-react-17": "^0.1.1",
"babel-plugin-transform-react-remove-prop-types": "^0.4.24",
"dtslint": "^4.0.0",
"enzyme": "^3.10.0",
"enzyme-adapter-react-16": "^1.0.0",
"eslint": "^7.0.0",
"eslint-config-prettier": "^6.0.0",
"eslint-config-sanity": "^4.0.0",
"eslint-plugin-react": "^7.0.0",
"jest": "^26.0.0",
"npm-run-all": "^4.0.0",
"prettier": "^2.0.0",
"react": "^16.0.0",
"react-dom": "^16.0.0",
"react": "^17.0.0",
"react-dom": "^17.0.0",
"react-katex": "^2.0.0",
"react-test-renderer": "^16.0.0",
"remark-cli": "^9.0.0",
Expand Down
2 changes: 1 addition & 1 deletion test/react-markdown.test.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/* eslint-env jest */
/* eslint-disable react/prop-types */
const Enzyme = require('enzyme')
const Adapter = require('enzyme-adapter-react-16')
const Adapter = require('@wojtekmaj/enzyme-adapter-react-17')
const fs = require('fs')
const path = require('path')
const React = require('react')
Expand Down

0 comments on commit 984c9bb

Please sign in to comment.