victory-core
Advanced tools
Comparing version 34.3.0 to 34.3.5
@@ -196,5 +196,7 @@ import _isEmpty from "lodash/isEmpty"; | ||
})); | ||
var id = Helpers.evaluateProp(props.id, props); | ||
return _assign({}, props, { | ||
style: style, | ||
text: text | ||
text: text, | ||
id: id | ||
}); | ||
@@ -229,3 +231,3 @@ }; | ||
events: PropTypes.object, | ||
id: PropTypes.oneOfType([PropTypes.number, PropTypes.string]), | ||
id: PropTypes.oneOfType([PropTypes.number, PropTypes.string, PropTypes.func]), | ||
index: PropTypes.oneOfType([PropTypes.number, PropTypes.string]), | ||
@@ -232,0 +234,0 @@ inline: PropTypes.bool, |
@@ -223,5 +223,9 @@ "use strict"; | ||
})); | ||
var id = _helpers.default.evaluateProp(props.id, props); | ||
return (0, _assign2.default)({}, props, { | ||
style: style, | ||
text: text | ||
text: text, | ||
id: id | ||
}); | ||
@@ -256,3 +260,3 @@ }; | ||
events: _propTypes.default.object, | ||
id: _propTypes.default.oneOfType([_propTypes.default.number, _propTypes.default.string]), | ||
id: _propTypes.default.oneOfType([_propTypes.default.number, _propTypes.default.string, _propTypes.default.func]), | ||
index: _propTypes.default.oneOfType([_propTypes.default.number, _propTypes.default.string]), | ||
@@ -259,0 +263,0 @@ inline: _propTypes.default.bool, |
{ | ||
"name": "victory-core", | ||
"version": "34.3.0", | ||
"version": "34.3.5", | ||
"description": "Victory Core", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -171,3 +171,4 @@ import React from "react"; | ||
const style = getStyles(props.style, assign({}, props, { text })); | ||
return assign({}, props, { style, text }); | ||
const id = Helpers.evaluateProp(props.id, props); | ||
return assign({}, props, { style, text, id }); | ||
}; | ||
@@ -199,3 +200,3 @@ | ||
events: PropTypes.object, | ||
id: PropTypes.oneOfType([PropTypes.number, PropTypes.string]), | ||
id: PropTypes.oneOfType([PropTypes.number, PropTypes.string, PropTypes.func]), | ||
index: PropTypes.oneOfType([PropTypes.number, PropTypes.string]), | ||
@@ -202,0 +203,0 @@ inline: PropTypes.bool, |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
2067885
28165