Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@fortawesome/react-fontawesome

Package Overview
Dependencies
Maintainers
7
Versions
52
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@fortawesome/react-fontawesome - npm Package Compare versions

Comparing version 0.2.1 to 0.2.2

2

index.es.js

@@ -371,3 +371,3 @@ import { parse, icon } from '@fortawesome/fontawesome-svg-core';

var iconLookup = normalizeIconArgs(iconArgs);
var classes = objectWithKey('classes', [].concat(_toConsumableArray(classList(allProps)), _toConsumableArray(className.split(' '))));
var classes = objectWithKey('classes', [].concat(_toConsumableArray(classList(allProps)), _toConsumableArray((className || '').split(' '))));
var transform = objectWithKey('transform', typeof allProps.transform === 'string' ? parse.transform(allProps.transform) : allProps.transform);

@@ -374,0 +374,0 @@ var mask = objectWithKey('mask', normalizeIconArgs(maskArgs));

@@ -378,3 +378,3 @@ (function (global, factory) {

var iconLookup = normalizeIconArgs(iconArgs);
var classes = objectWithKey('classes', [].concat(_toConsumableArray(classList(allProps)), _toConsumableArray(className.split(' '))));
var classes = objectWithKey('classes', [].concat(_toConsumableArray(classList(allProps)), _toConsumableArray((className || '').split(' '))));
var transform = objectWithKey('transform', typeof allProps.transform === 'string' ? fontawesomeSvgCore.parse.transform(allProps.transform) : allProps.transform);

@@ -381,0 +381,0 @@ var mask = objectWithKey('mask', normalizeIconArgs(maskArgs));

{
"name": "@fortawesome/react-fontawesome",
"description": "Official React component for Font Awesome",
"version": "0.2.1",
"version": "0.2.2",
"main": "index.js",

@@ -31,3 +31,4 @@ "module": "index.es.js",

"Calum Smith <github.com/cpmsmith>",
"squiaios <github.com/squiaios>"
"squiaios <github.com/squiaios>",
"WyvernDrexx <github.com/WyvernDrexx>"
],

@@ -34,0 +35,0 @@ "license": "MIT",

@@ -67,2 +67,3 @@ <a href="https://fontawesome.com">

| squiaios | [@squiaios](https://github.com/squiaios) |
| WyvernDrexx | [@WyvernDrexx](https://github.com/WyvernDrexx) |
| Font Awesome Team | [@FortAwesome](https://github.com/orgs/FortAwesome/people)|

@@ -69,0 +70,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc