Skip to content

Commit

Permalink
chore: Drop prop-types-extra (#275)
Browse files Browse the repository at this point in the history
  • Loading branch information
taion committed Mar 18, 2019
1 parent 98a8ac2 commit 85615e6
Show file tree
Hide file tree
Showing 3 changed files with 200 additions and 185 deletions.
49 changes: 24 additions & 25 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -73,23 +73,22 @@
"homepage": "https://github.com/4Catalyzer/found#readme",
"dependencies": {
"babel-runtime": "^6.26.0",
"farce": "^0.2.6",
"farce": "^0.2.7",
"is-promise": "^2.1.0",
"lodash": "^4.17.11",
"path-to-regexp": "^1.7.0",
"prop-types": "^15.6.2",
"prop-types-extra": "^1.1.0",
"react-redux": "^6.0.0",
"prop-types": "^15.7.2",
"react-redux": "^6.0.1",
"react-static-container": "^1.0.2",
"redux": "^4.0.1",
"warning": "^4.0.2"
"warning": "^4.0.3"
},
"peerDependencies": {
"react": ">=16.4.0"
},
"devDependencies": {
"@types/react": "^16.7.17",
"@types/react-dom": "^16.0.11",
"@types/react": "^16.8.8",
"@types/react-dom": "^16.8.2",
"babel-cli": "^6.26.0",
"babel-core": "^6.26.3",
"babel-eslint": "^10.0.1",
Expand All @@ -100,31 +99,31 @@
"babel-preset-env": "^1.7.0",
"babel-preset-react": "^6.24.1",
"babel-preset-stage-1": "^6.24.1",
"codecov": "^3.1.0",
"codecov": "^3.2.0",
"cpy-cli": "^2.0.0",
"delay": "^4.1.0",
"doctoc": "^1.4.0",
"dtslint": "^0.5.0",
"enzyme": "^3.8.0",
"enzyme-adapter-react-16": "^1.7.1",
"eslint": "^5.10.0",
"dtslint": "^0.5.5",
"enzyme": "^3.9.0",
"enzyme-adapter-react-16": "^1.11.2",
"eslint": "^5.15.2",
"eslint-config-4catalyzer-react": "^0.9.0",
"eslint-config-prettier": "^4.0.0",
"eslint-plugin-import": "^2.14.0",
"eslint-plugin-jsx-a11y": "^6.1.2",
"eslint-plugin-prettier": "^3.0.0",
"eslint-plugin-react": "^7.11.1",
"husky": "^1.2.1",
"eslint-config-prettier": "^4.1.0",
"eslint-plugin-import": "^2.16.0",
"eslint-plugin-jsx-a11y": "^6.2.1",
"eslint-plugin-prettier": "^3.0.1",
"eslint-plugin-react": "^7.12.4",
"husky": "^1.3.1",
"jest": "^23.6.0",
"lint-staged": "^8.1.0",
"lint-staged": "^8.1.5",
"p-defer": "^2.0.0",
"prettier": "^1.15.3",
"react": "^16.6.3",
"react-dom": "^16.6.3",
"prettier": "^1.16.4",
"react": "^16.8.4",
"react-dom": "^16.8.4",
"react-proxy": "^3.0.0-alpha.1",
"react-stand-in": "^4.0.0-beta.14",
"react-test-renderer": "^16.6.3",
"rimraf": "^2.6.2",
"typescript": "^3.2.2"
"react-test-renderer": "^16.8.4",
"rimraf": "^2.6.3",
"typescript": "^3.3.3333"
}
}
3 changes: 1 addition & 2 deletions src/BaseLink.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
import PropTypes from 'prop-types';
import elementType from 'prop-types-extra/lib/elementType';
import React from 'react';
import warning from 'warning';

import { routerShape } from './PropTypes';

const propTypes = {
Component: elementType,
Component: PropTypes.elementType,
to: PropTypes.oneOfType([PropTypes.string, PropTypes.object]).isRequired,
match: PropTypes.object.isRequired,
activeClassName: PropTypes.string,
Expand Down

0 comments on commit 85615e6

Please sign in to comment.