@fortawesome/react-fontawesome
Advanced tools
Comparing version 0.1.5 to 0.1.6
@@ -9,2 +9,10 @@ # Change Log | ||
## [0.1.6](https://github.com/FortAwesome/react-fontawesome/releases/tag/0.1.6) - 2019-10-10 | ||
### Fixed | ||
- Ignore null values for pull, rotation, and size props #289 | ||
--- | ||
## [0.1.5](https://github.com/FortAwesome/react-fontawesome/releases/tag/0.1.5) - 2019-09-29 | ||
@@ -11,0 +19,0 @@ |
@@ -133,3 +133,3 @@ import { parse, icon } from '@fortawesome/fontawesome-svg-core'; | ||
'fa-flip-vertical': flip === 'vertical' || flip === 'both' | ||
}, _defineProperty(_classes, "fa-".concat(size), typeof size !== 'undefined'), _defineProperty(_classes, "fa-rotate-".concat(rotation), typeof rotation !== 'undefined'), _defineProperty(_classes, "fa-pull-".concat(pull), typeof pull !== 'undefined'), _defineProperty(_classes, 'fa-swap-opacity', props.swapOpacity), _classes); // map over all the keys in the classes object | ||
}, _defineProperty(_classes, "fa-".concat(size), typeof size !== 'undefined' && size !== null), _defineProperty(_classes, "fa-rotate-".concat(rotation), typeof rotation !== 'undefined' && rotation !== null), _defineProperty(_classes, "fa-pull-".concat(pull), typeof pull !== 'undefined' && pull !== null), _defineProperty(_classes, 'fa-swap-opacity', props.swapOpacity), _classes); // map over all the keys in the classes object | ||
// return an array of the keys where the value for the key is not null | ||
@@ -136,0 +136,0 @@ |
@@ -138,3 +138,3 @@ (function (global, factory) { | ||
'fa-flip-vertical': flip === 'vertical' || flip === 'both' | ||
}, _defineProperty(_classes, "fa-".concat(size), typeof size !== 'undefined'), _defineProperty(_classes, "fa-rotate-".concat(rotation), typeof rotation !== 'undefined'), _defineProperty(_classes, "fa-pull-".concat(pull), typeof pull !== 'undefined'), _defineProperty(_classes, 'fa-swap-opacity', props.swapOpacity), _classes); // map over all the keys in the classes object | ||
}, _defineProperty(_classes, "fa-".concat(size), typeof size !== 'undefined' && size !== null), _defineProperty(_classes, "fa-rotate-".concat(rotation), typeof rotation !== 'undefined' && rotation !== null), _defineProperty(_classes, "fa-pull-".concat(pull), typeof pull !== 'undefined' && pull !== null), _defineProperty(_classes, 'fa-swap-opacity', props.swapOpacity), _classes); // map over all the keys in the classes object | ||
// return an array of the keys where the value for the key is not null | ||
@@ -141,0 +141,0 @@ |
{ | ||
"name": "@fortawesome/react-fontawesome", | ||
"description": "Official React component for Font Awesome 5", | ||
"version": "0.1.5", | ||
"version": "0.1.6", | ||
"main": "index.js", | ||
@@ -23,3 +23,4 @@ "module": "index.es.js", | ||
"Matthew Hand <github.com/mmhand123>", | ||
"Calvin Freitas <github.com/calvinf>" | ||
"Calvin Freitas <github.com/calvinf>", | ||
"Bill Parrott <github.com/chimericdream>" | ||
], | ||
@@ -26,0 +27,0 @@ "license": "MIT", |
@@ -572,2 +572,3 @@ <a href="https://fontawesome.com"> | ||
| <img src="https://github.com/calvinf.png?size=72" /> | calvinf | [@calvinf](https://github.com/calvinf) | | ||
| <img src="https://github.com/chimericdream.png?size=72" /> | Bill Parrott | [@chimericdream](https://github.com/chimericdream) | | ||
@@ -574,0 +575,0 @@ If we've missed someone (which is quite likely) submit a Pull Request to us and we'll get it resolved. |
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
50963
588
2