prop-types
Advanced tools
Comparing version 15.8.0 to 15.8.1
@@ -393,3 +393,3 @@ /** | ||
} | ||
if (checkerResult.data.hasOwnProperty('expectedType')) { | ||
if (checkerResult.data && has(checkerResult.data, 'expectedType')) { | ||
expectedTypes.push(checkerResult.data.expectedType); | ||
@@ -396,0 +396,0 @@ } |
{ | ||
"name": "prop-types", | ||
"version": "15.8.0", | ||
"version": "15.8.1", | ||
"description": "Runtime type checking for React props and similar objects.", | ||
@@ -48,3 +48,3 @@ "sideEffects": false, | ||
"bundle-collapser": "^1.4.0", | ||
"eslint": "^8.5.0", | ||
"eslint": "^8.6.0", | ||
"in-publish": "^2.0.1", | ||
@@ -51,0 +51,0 @@ "jest": "^19.0.2", |
94537