react-inlinesvg
Advanced tools
Comparing version 0.6.0 to 0.6.1
@@ -9,2 +9,6 @@ 'use strict'; | ||
var _react = require('react'); | ||
var _react2 = _interopRequireDefault(_react); | ||
var _propTypes = require('prop-types'); | ||
@@ -14,5 +18,5 @@ | ||
var _react = require('react'); | ||
var _reactDomFactories = require('react-dom-factories'); | ||
var _react2 = _interopRequireDefault(_react); | ||
var _reactDomFactories2 = _interopRequireDefault(_reactDomFactories); | ||
@@ -31,4 +35,2 @@ var _once = require('once'); | ||
var _shouldComponentUpdate = require('./shouldComponentUpdate'); | ||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
@@ -188,4 +190,4 @@ | ||
var InlineSVG = function (_React$Component) { | ||
_inherits(InlineSVG, _React$Component); | ||
var InlineSVG = function (_React$PureComponent) { | ||
_inherits(InlineSVG, _React$PureComponent); | ||
@@ -197,5 +199,2 @@ function InlineSVG(props) { | ||
_this2.shouldComponentUpdate = _shouldComponentUpdate.shouldComponentUpdate; | ||
_this2.state = { | ||
@@ -338,3 +337,3 @@ status: Status.PENDING | ||
return InlineSVG; | ||
}(_react2.default.Component); | ||
}(_react2.default.PureComponent); | ||
@@ -355,3 +354,3 @@ InlineSVG.propTypes = { | ||
InlineSVG.defaultProps = { | ||
wrapper: _react2.default.DOM.span, | ||
wrapper: _reactDomFactories2.default.span, | ||
supportTest: isSupportedEnvironment, | ||
@@ -358,0 +357,0 @@ uniquifyIDs: true, |
{ | ||
"name": "react-inlinesvg", | ||
"version": "0.6.0", | ||
"version": "0.6.1", | ||
"description": "An SVG loader for React", | ||
@@ -23,25 +23,22 @@ "repository": { | ||
"httpplease": "^0.16", | ||
"once": "^1.4", | ||
"fbjs": "^0.8" | ||
"once": "^1.4" | ||
}, | ||
"devDependencies": { | ||
"babel-core": "^6.24", | ||
"babel-eslint": "^7.2", | ||
"babel-plugin-add-module-exports": "^0.2", | ||
"babel-core": "^6.25.0", | ||
"babel-eslint": "^7.2.3", | ||
"babel-plugin-add-module-exports": "^0.2.1", | ||
"babel-plugin-rewire": "1.1.0", | ||
"babel-preset-es2015": "^6.24", | ||
"babel-preset-react": "^6.24", | ||
"babel-preset-stage-1": "^6.24", | ||
"babel-preset-env": "^1.6.0", | ||
"babel-register": "^6.24", | ||
"babelify": "^7.3", | ||
"browserify": "^14.3", | ||
"browserify": "^14.4", | ||
"browserify-shim": "^3.8", | ||
"cors": "^2.8", | ||
"enzyme": "^2.8", | ||
"eslint": "^3.19", | ||
"eslint-config-airbnb": "^14.1", | ||
"eslint-plugin-import": "^2.2", | ||
"eslint-plugin-jsx-a11y": "^4.0", | ||
"eslint-plugin-react": "^6.10", | ||
"expect": "^1.20", | ||
"enzyme": "^2.9", | ||
"eslint": "^3.19.0", | ||
"eslint-config-airbnb": "^15.0.2", | ||
"eslint-plugin-import": "^2.7.0", | ||
"eslint-plugin-jsx-a11y": "^5.1.1", | ||
"eslint-plugin-react": "^7.1.0", | ||
"expect": "^1.20.2", | ||
"gulp": "^3.9", | ||
@@ -54,8 +51,9 @@ "gulp-babel": "^6.1", | ||
"gulp-util": "^3.0", | ||
"jsdom": "^10.1", | ||
"mocha": "^3.3", | ||
"prop-types": "^15.5", | ||
"react": "^15.5", | ||
"react-addons-test-utils": "^15.5", | ||
"react-dom": "^15.5", | ||
"jsdom": "^11.1.0", | ||
"mocha": "^3.4", | ||
"prop-types": "^15.5.10", | ||
"react": "^15.6", | ||
"react-addons-test-utils": "^15.6", | ||
"react-dom": "^15.6", | ||
"react-dom-factories": "^1.0.0", | ||
"vinyl-source-stream": "^1.1" | ||
@@ -62,0 +60,0 @@ }, |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
61546
4
32
- Removedfbjs@^0.8