Socket
Socket
Sign inDemoInstall

react-native-vector-icons

Package Overview
Dependencies
Maintainers
1
Versions
86
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-native-vector-icons - npm Package Compare versions

Comparing version 2.0.1 to 2.0.2

6

lib/create-icon-set-from-fontello.js
import createIconSet from './create-icon-set';
export default function createIconSetFromFontello(config, fontFamily, fontFile) {
export default function createIconSetFromFontello(config, fontFamilyArg, fontFile) {
let glyphMap = {};

@@ -9,7 +9,9 @@ config.glyphs.forEach(glyph => {

const fontFamily = fontFamilyArg || config.name || 'fontello';
return createIconSet(
glyphMap,
fontFamily || config.name || 'fontello',
fontFamily,
fontFile || fontFamily + '.ttf'
);
}
import createIconSet from './create-icon-set';
export default function createIconSetFromIcoMoon(config, fontFamily, fontFile) {
export default function createIconSetFromIcoMoon(config, fontFamilyArg, fontFile) {
let glyphMap = {};

@@ -9,7 +9,9 @@ config.icons.forEach(icon => {

const fontFamily = fontFamilyArg || config.preferences.fontPref.metadata.fontFamily;
return createIconSet(
glyphMap,
fontFamily || config.preferences.fontPref.metadata.fontFamily,
fontFamily,
fontFile || fontFamily + '.ttf'
);
}
{
"name": "react-native-vector-icons",
"version": "2.0.1",
"version": "2.0.2",
"description": "Customizable Icons for React Native with support for NavBar/TabBar, image source and full styling. Choose from 3000+ bundled icons or use your own.",

@@ -5,0 +5,0 @@ "main": "index.js",

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