fela-bindings
Advanced tools
Comparing version 2.3.0 to 2.3.1
@@ -16,3 +16,7 @@ var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; | ||
var mergableStatics = ['contextTypes', 'defaultProps']; | ||
var blockedStatics = { childContextTypes: true, propTypes: true }; | ||
var blockedStatics = { | ||
childContextTypes: true, | ||
propTypes: true, | ||
getDerivedStateFromProps: true | ||
}; | ||
@@ -19,0 +23,0 @@ export default function hoistStatics(target, source) { |
@@ -13,3 +13,3 @@ var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); | ||
function hasDOM(renderer) { | ||
return !renderer.isNativeRenderer && typeof window !== 'undefined' && window.document && window.document.createElement; | ||
return renderer && !renderer.isNativeRenderer && typeof window !== 'undefined' && window.document && window.document.createElement; | ||
} | ||
@@ -16,0 +16,0 @@ |
@@ -28,3 +28,7 @@ 'use strict'; | ||
var mergableStatics = ['contextTypes', 'defaultProps']; | ||
var blockedStatics = { childContextTypes: true, propTypes: true }; | ||
var blockedStatics = { | ||
childContextTypes: true, | ||
propTypes: true, | ||
getDerivedStateFromProps: true | ||
}; | ||
@@ -31,0 +35,0 @@ function hoistStatics(target, source) { |
@@ -26,3 +26,3 @@ 'use strict'; | ||
function hasDOM(renderer) { | ||
return !renderer.isNativeRenderer && typeof window !== 'undefined' && window.document && window.document.createElement; | ||
return renderer && !renderer.isNativeRenderer && typeof window !== 'undefined' && window.document && window.document.createElement; | ||
} | ||
@@ -29,0 +29,0 @@ |
{ | ||
"name": "fela-bindings", | ||
"version": "2.3.0", | ||
"version": "2.3.1", | ||
"description": "Abstract binding factories for Fela", | ||
@@ -26,4 +26,4 @@ "main": "lib/index.js", | ||
"fast-loops": "^1.0.0", | ||
"fela-dom": "^7.0.8", | ||
"fela-tools": "^5.1.6", | ||
"fela-dom": "^7.0.9", | ||
"fela-tools": "^5.1.7", | ||
"react-addons-shallow-compare": "^15.6.2", | ||
@@ -33,5 +33,5 @@ "shallow-equal": "^1.0.0" | ||
"devDependencies": { | ||
"fela": "^6.1.8", | ||
"fela-monolithic": "^5.0.22" | ||
"fela": "^6.1.9", | ||
"fela-monolithic": "^5.0.23" | ||
} | ||
} |
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
74893
1348
Updatedfela-dom@^7.0.9
Updatedfela-tools@^5.1.7