Comparing version 0.11.0-rc1 to 0.11.0
@@ -48,2 +48,3 @@ /** | ||
forEach: ReactChildren.forEach, | ||
count: ReactChildren.count, | ||
only: onlyChild | ||
@@ -129,4 +130,4 @@ }, | ||
// internal version. | ||
React.version = '0.11.0-rc1'; | ||
React.version = '0.11.0'; | ||
module.exports = React; |
@@ -96,3 +96,11 @@ /** | ||
if (typeof value === 'function') { | ||
target[key] = value.bind(source); | ||
var bound = value.bind(source); | ||
// Copy any properties defined on the function, such as `isRequired` on | ||
// a PropTypes validator. (mergeInto refuses to work on functions.) | ||
for (var k in value) { | ||
if (value.hasOwnProperty(k)) { | ||
bound[k] = value[k]; | ||
} | ||
} | ||
target[key] = bound; | ||
} else { | ||
@@ -99,0 +107,0 @@ target[key] = value; |
{ | ||
"name": "react", | ||
"description": "React is a JavaScript library for building user interfaces.", | ||
"version": "0.11.0-rc1", | ||
"version": "0.11.0", | ||
"keywords": [ | ||
@@ -6,0 +6,0 @@ "react" |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
2558031
65016
1