Skip to content

Commit

Permalink
Release 2.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
robmadole committed Dec 17, 2020
1 parent 6298d18 commit db8a567
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 3 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Expand Up @@ -10,6 +10,13 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this p

---

## [2.0.2](https://github.com/FortAwesome/vue-fontawesome/releases/tag/2.0.2) - 2020-12-17

### Fixed
* Bumping version to fix a failed release for 2.0.1

---

## [2.0.1](https://github.com/FortAwesome/vue-fontawesome/releases/tag/2.0.1) - 2020-12-17

### Added
Expand Down
5 changes: 4 additions & 1 deletion index.es.js
Expand Up @@ -328,6 +328,10 @@ function addStaticClass(to, what) {
}

function normalizeIconArgs(icon$$1) {
if (parse.icon) {
return parse.icon(icon$$1);
}

if (icon$$1 === null) {
return null;
}
Expand Down Expand Up @@ -440,7 +444,6 @@ var FontAwesomeIcon = {
var classes = objectWithKey('classes', classList(props));
var transform = objectWithKey('transform', typeof props.transform === 'string' ? parse.transform(props.transform) : props.transform);
var mask = objectWithKey('mask', normalizeIconArgs(maskArgs));

var renderedIcon = icon(icon$$1, _extends({}, classes, transform, mask, { symbol: symbol, title: title }));

if (!renderedIcon) {
Expand Down
5 changes: 4 additions & 1 deletion index.js
Expand Up @@ -332,6 +332,10 @@
}

function normalizeIconArgs(icon) {
if (fontawesomeSvgCore.parse.icon) {
return fontawesomeSvgCore.parse.icon(icon);
}

if (icon === null) {
return null;
}
Expand Down Expand Up @@ -444,7 +448,6 @@
var classes = objectWithKey('classes', classList(props));
var transform = objectWithKey('transform', typeof props.transform === 'string' ? fontawesomeSvgCore.parse.transform(props.transform) : props.transform);
var mask = objectWithKey('mask', normalizeIconArgs(maskArgs));

var renderedIcon = fontawesomeSvgCore.icon(icon, _extends({}, classes, transform, mask, { symbol: symbol, title: title }));

if (!renderedIcon) {
Expand Down
2 changes: 1 addition & 1 deletion package.json
@@ -1,7 +1,7 @@
{
"name": "@fortawesome/vue-fontawesome",
"description": "Official Vue component for Font Awesome 5",
"version": "2.0.1",
"version": "2.0.2",
"main": "index.js",
"module": "index.es.js",
"jsnext:main": "index.es.js",
Expand Down

0 comments on commit db8a567

Please sign in to comment.