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

react-icons

Package Overview
Dependencies
Maintainers
4
Versions
82
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-icons - npm Package Compare versions

Comparing version 3.11.0 to 4.0.0

2

ai/index.d.ts

@@ -0,3 +1,3 @@

// THIS FILE IS AUTO GENERATED
import { IconTree, IconType } from '../lib'
// THIS FILE IS AUTO GENERATED
export declare const AiFillAccountBook: IconType;

@@ -4,0 +4,0 @@ export declare const AiFillAlert: IconType;

// THIS FILE IS AUTO GENERATED
export * from './fa';
export * from './fa';
export * from './io';

@@ -10,24 +9,10 @@ export * from './md';

export * from './gi';
export * from './gi';
export * from './gi';
export * from './gi';
export * from './gi';
export * from './gi';
export * from './gi';
export * from './gi';
export * from './gi';
export * from './wi';
export * from './di';
export * from './ai';
export * from './ai';
export * from './ai';
export * from './bs';
export * from './bs';
export * from './bs';
export * from './ri';
export * from './ri';
export * from './fc';
export * from './gr';
export * from './hi';
export * from './hi';
export * from './si';

@@ -34,0 +19,0 @@ export * from './im';

// THIS FILE IS AUTO GENERATED
export * from './fa';
export * from './fa';
export * from './io';

@@ -10,24 +9,10 @@ export * from './md';

export * from './gi';
export * from './gi';
export * from './gi';
export * from './gi';
export * from './gi';
export * from './gi';
export * from './gi';
export * from './gi';
export * from './gi';
export * from './wi';
export * from './di';
export * from './ai';
export * from './ai';
export * from './ai';
export * from './bs';
export * from './bs';
export * from './bs';
export * from './ri';
export * from './ri';
export * from './fc';
export * from './gr';
export * from './hi';
export * from './hi';
export * from './si';

@@ -34,0 +19,0 @@ export * from './im';

@@ -0,3 +1,3 @@

// THIS FILE IS AUTO GENERATED
import { IconTree, IconType } from '../lib'
// THIS FILE IS AUTO GENERATED
export declare const BiAbacus: IconType;

@@ -4,0 +4,0 @@ export declare const BiAccessibility: IconType;

@@ -0,3 +1,3 @@

// THIS FILE IS AUTO GENERATED
import { IconTree, IconType } from '../lib'
// THIS FILE IS AUTO GENERATED
export declare const BsFillAlarmFill: IconType;

@@ -4,0 +4,0 @@ export declare const BsFillArchiveFill: IconType;

@@ -0,3 +1,3 @@

// THIS FILE IS AUTO GENERATED
import { IconTree, IconType } from '../lib'
// THIS FILE IS AUTO GENERATED
export declare const CgAbstract: IconType;

@@ -4,0 +4,0 @@ export declare const CgAddR: IconType;

@@ -0,3 +1,3 @@

// THIS FILE IS AUTO GENERATED
import { IconTree, IconType } from '../lib'
// THIS FILE IS AUTO GENERATED
export declare const DiAndroid: IconType;

@@ -4,0 +4,0 @@ export declare const DiAngularSimple: IconType;

@@ -0,3 +1,3 @@

// THIS FILE IS AUTO GENERATED
import { IconTree, IconType } from '../lib'
// THIS FILE IS AUTO GENERATED
export declare const FcAbout: IconType;

@@ -4,0 +4,0 @@ export declare const FcAcceptDatabase: IconType;

@@ -0,3 +1,3 @@

// THIS FILE IS AUTO GENERATED
import { IconTree, IconType } from '../lib'
// THIS FILE IS AUTO GENERATED
export declare const FiActivity: IconType;

@@ -90,5 +90,9 @@ export declare const FiAirplay: IconType;

export declare const FiDisc: IconType;
export declare const FiDivideCircle: IconType;
export declare const FiDivideSquare: IconType;
export declare const FiDivide: IconType;
export declare const FiDollarSign: IconType;
export declare const FiDownloadCloud: IconType;
export declare const FiDownload: IconType;
export declare const FiDribbble: IconType;
export declare const FiDroplet: IconType;

@@ -115,2 +119,3 @@ export declare const FiEdit2: IconType;

export declare const FiFolder: IconType;
export declare const FiFramer: IconType;
export declare const FiFrown: IconType;

@@ -243,2 +248,3 @@ export declare const FiGift: IconType;

export declare const FiToggleRight: IconType;
export declare const FiTool: IconType;
export declare const FiTrash2: IconType;

@@ -252,2 +258,3 @@ export declare const FiTrash: IconType;

export declare const FiTv: IconType;
export declare const FiTwitch: IconType;
export declare const FiTwitter: IconType;

@@ -254,0 +261,0 @@ export declare const FiType: IconType;

@@ -0,3 +1,3 @@

// THIS FILE IS AUTO GENERATED
import { IconTree, IconType } from '../lib'
// THIS FILE IS AUTO GENERATED
export declare const GoAlert: IconType;

@@ -4,0 +4,0 @@ export declare const GoArchive: IconType;

@@ -0,3 +1,3 @@

// THIS FILE IS AUTO GENERATED
import { IconTree, IconType } from '../lib'
// THIS FILE IS AUTO GENERATED
export declare const GrAccessibility: IconType;

@@ -4,0 +4,0 @@ export declare const GrAchievement: IconType;

@@ -0,3 +1,3 @@

// THIS FILE IS AUTO GENERATED
import { IconTree, IconType } from '../lib'
// THIS FILE IS AUTO GENERATED
export declare const HiAdjustments: IconType;

@@ -4,0 +4,0 @@ export declare const HiAnnotation: IconType;

@@ -0,3 +1,3 @@

// THIS FILE IS AUTO GENERATED
import { IconTree, IconType } from '../lib'
// THIS FILE IS AUTO GENERATED
export declare const ImHome: IconType;

@@ -4,0 +4,0 @@ export declare const ImHome2: IconType;

@@ -0,3 +1,3 @@

// THIS FILE IS AUTO GENERATED
import { IconTree, IconType } from '../lib'
// THIS FILE IS AUTO GENERATED
export declare const IoIosAddCircleOutline: IconType;

@@ -4,0 +4,0 @@ export declare const IoIosAddCircle: IconType;

@@ -18,7 +18,10 @@ "use strict";

if (s != null && typeof Object.getOwnPropertySymbols === "function")
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) if (e.indexOf(p[i]) < 0)
t[p[i]] = s[p[i]];
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
t[p[i]] = s[p[i]];
}
return t;
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.IconBase = exports.GenIcon = void 0;
var React = require("react");

@@ -42,3 +45,3 @@ var iconContext_1 = require("./iconContext");

var attr = props.attr, title = props.title, svgProps = __rest(props, ["attr", "title"]);
return (React.createElement("svg", __assign({ stroke: "currentColor", fill: "currentColor", strokeWidth: "0" }, conf.attr, attr, svgProps, { className: className, style: __assign({ color: props.color || conf.color }, conf.style, props.style), height: computedSize, width: computedSize, xmlns: "http://www.w3.org/2000/svg" }),
return (React.createElement("svg", __assign({ stroke: "currentColor", fill: "currentColor", strokeWidth: "0" }, conf.attr, attr, svgProps, { className: className, style: __assign(__assign({ color: props.color || conf.color }, conf.style), props.style), height: computedSize, width: computedSize, xmlns: "http://www.w3.org/2000/svg" }),
title && React.createElement("title", null, title),

@@ -45,0 +48,0 @@ props.children));

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.IconContext = exports.DefaultContext = void 0;
var React = require("react");

@@ -4,0 +5,0 @@ exports.DefaultContext = {

"use strict";
function __export(m) {
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
}
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
}) : (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
o[k2] = m[k];
}));
var __exportStar = (this && this.__exportStar) || function(m, exports) {
for (var p in m) if (p !== "default" && !exports.hasOwnProperty(p)) __createBinding(exports, m, p);
};
Object.defineProperty(exports, "__esModule", { value: true });
__export(require("./iconsManifest"));
__export(require("./iconBase"));
__export(require("./iconContext"));
__exportStar(require("./iconsManifest"), exports);
__exportStar(require("./iconBase"), exports);
__exportStar(require("./iconContext"), exports);

@@ -20,7 +20,9 @@ var __assign = this && this.__assign || function () {

if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) if (e.indexOf(p[i]) < 0) t[p[i]] = s[p[i]];
if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
}
return t;
};
import * as React from 'react';
import React from 'react';
import { IconContext, DefaultContext } from './iconContext';

@@ -60,5 +62,5 @@

className: className,
style: __assign({
style: __assign(__assign({
color: props.color || conf.color
}, conf.style, props.style),
}, conf.style), props.style),
height: computedSize,

@@ -65,0 +67,0 @@ width: computedSize,

@@ -1,2 +0,2 @@

import * as React from 'react';
import React from 'react';
export var DefaultContext = {

@@ -3,0 +3,0 @@ color: undefined,

@@ -1,119 +0,140 @@

export var IconsManifest = [{
"id": "fa",
"name": "Font Awesome",
"projectUrl": "https://fontawesome.com/",
"license": "CC BY 4.0 License",
"licenseUrl": "https://creativecommons.org/licenses/by/4.0/"
}, {
"id": "io",
"name": "Ionicons",
"projectUrl": "https://ionicons.com/",
"license": "MIT",
"licenseUrl": "https://github.com/ionic-team/ionicons/blob/master/LICENSE"
}, {
"id": "md",
"name": "Material Design icons",
"projectUrl": "http://google.github.io/material-design-icons/",
"license": "Apache License Version 2.0",
"licenseUrl": "https://github.com/google/material-design-icons/blob/master/LICENSE"
}, {
"id": "ti",
"name": "Typicons",
"projectUrl": "http://s-ings.com/typicons/",
"license": "CC BY-SA 3.0",
"licenseUrl": "https://creativecommons.org/licenses/by-sa/3.0/"
}, {
"id": "go",
"name": "Github Octicons icons",
"projectUrl": "https://octicons.github.com/",
"license": "MIT",
"licenseUrl": "https://github.com/primer/octicons/blob/master/LICENSE"
}, {
"id": "fi",
"name": "Feather",
"projectUrl": "https://feathericons.com/",
"license": "MIT",
"licenseUrl": "https://github.com/feathericons/feather/blob/master/LICENSE"
}, {
"id": "gi",
"name": "Game Icons",
"projectUrl": "https://game-icons.net/",
"license": "CC BY 3.0",
"licenseUrl": "https://creativecommons.org/licenses/by/3.0/"
}, {
"id": "wi",
"name": "Weather Icons",
"projectUrl": "https://erikflowers.github.io/weather-icons/",
"license": "SIL OFL 1.1",
"licenseUrl": "http://scripts.sil.org/OFL"
}, {
"id": "di",
"name": "Devicons",
"projectUrl": "https://vorillaz.github.io/devicons/",
"license": "MIT",
"licenseUrl": "https://opensource.org/licenses/MIT"
}, {
"id": "ai",
"name": "Ant Design Icons",
"projectUrl": "https://github.com/ant-design/ant-design-icons",
"license": "MIT",
"licenseUrl": "https://opensource.org/licenses/MIT"
}, {
"id": "bs",
"name": "Bootstrap Icons",
"projectUrl": "https://github.com/twbs/icons",
"license": "MIT",
"licenseUrl": "https://opensource.org/licenses/MIT"
}, {
"id": "ri",
"name": "Remix Icon",
"projectUrl": "https://github.com/Remix-Design/RemixIcon",
"license": "Apache License Version 2.0",
"licenseUrl": "http://www.apache.org/licenses/"
}, {
"id": "fc",
"name": "Flat Color Icons",
"projectUrl": "https://github.com/icons8/flat-color-icons",
"license": "MIT",
"licenseUrl": "https://opensource.org/licenses/MIT"
}, {
"id": "gr",
"name": "Grommet-Icons",
"projectUrl": "https://github.com/grommet/grommet-icons",
"license": "Apache License Version 2.0",
"licenseUrl": "http://www.apache.org/licenses/"
}, {
"id": "hi",
"name": "Heroicons",
"projectUrl": "https://github.com/refactoringui/heroicons",
"license": "MIT",
"licenseUrl": "https://opensource.org/licenses/MIT"
}, {
"id": "si",
"name": "Simple Icons",
"projectUrl": "https://simpleicons.org/",
"license": "CC0 1.0 Universal",
"licenseUrl": "https://creativecommons.org/publicdomain/zero/1.0/"
}, {
"id": "im",
"name": "IcoMoon Free",
"projectUrl": "https://github.com/Keyamoon/IcoMoon-Free",
"license": "CC BY 4.0 License"
}, {
"id": "bi",
"name": "BoxIcons",
"projectUrl": "https://github.com/atisawd/boxicons",
"license": "CC BY 4.0 License"
}, {
"id": "cg",
"name": "css.gg",
"projectUrl": "https://github.com/astrit/css.gg",
"license": "MIT",
"licenseUrl": "https://opensource.org/licenses/MIT"
}, {
"id": "vsc",
"name": "VS Code Icons",
"projectUrl": "https://github.com/microsoft/vscode-codicons",
"license": "CC BY 4.0",
"licenseUrl": "https://creativecommons.org/licenses/by/4.0/"
}];
export var IconsManifest = [
{
"id": "fa",
"name": "Font Awesome",
"projectUrl": "https://fontawesome.com/",
"license": "CC BY 4.0 License",
"licenseUrl": "https://creativecommons.org/licenses/by/4.0/"
},
{
"id": "io",
"name": "Ionicons",
"projectUrl": "https://ionicons.com/",
"license": "MIT",
"licenseUrl": "https://github.com/ionic-team/ionicons/blob/master/LICENSE"
},
{
"id": "md",
"name": "Material Design icons",
"projectUrl": "http://google.github.io/material-design-icons/",
"license": "Apache License Version 2.0",
"licenseUrl": "https://github.com/google/material-design-icons/blob/master/LICENSE"
},
{
"id": "ti",
"name": "Typicons",
"projectUrl": "http://s-ings.com/typicons/",
"license": "CC BY-SA 3.0",
"licenseUrl": "https://creativecommons.org/licenses/by-sa/3.0/"
},
{
"id": "go",
"name": "Github Octicons icons",
"projectUrl": "https://octicons.github.com/",
"license": "MIT",
"licenseUrl": "https://github.com/primer/octicons/blob/master/LICENSE"
},
{
"id": "fi",
"name": "Feather",
"projectUrl": "https://feathericons.com/",
"license": "MIT",
"licenseUrl": "https://github.com/feathericons/feather/blob/master/LICENSE"
},
{
"id": "gi",
"name": "Game Icons",
"projectUrl": "https://game-icons.net/",
"license": "CC BY 3.0",
"licenseUrl": "https://creativecommons.org/licenses/by/3.0/"
},
{
"id": "wi",
"name": "Weather Icons",
"projectUrl": "https://erikflowers.github.io/weather-icons/",
"license": "SIL OFL 1.1",
"licenseUrl": "http://scripts.sil.org/OFL"
},
{
"id": "di",
"name": "Devicons",
"projectUrl": "https://vorillaz.github.io/devicons/",
"license": "MIT",
"licenseUrl": "https://opensource.org/licenses/MIT"
},
{
"id": "ai",
"name": "Ant Design Icons",
"projectUrl": "https://github.com/ant-design/ant-design-icons",
"license": "MIT",
"licenseUrl": "https://opensource.org/licenses/MIT"
},
{
"id": "bs",
"name": "Bootstrap Icons",
"projectUrl": "https://github.com/twbs/icons",
"license": "MIT",
"licenseUrl": "https://opensource.org/licenses/MIT"
},
{
"id": "ri",
"name": "Remix Icon",
"projectUrl": "https://github.com/Remix-Design/RemixIcon",
"license": "Apache License Version 2.0",
"licenseUrl": "http://www.apache.org/licenses/"
},
{
"id": "fc",
"name": "Flat Color Icons",
"projectUrl": "https://github.com/icons8/flat-color-icons",
"license": "MIT",
"licenseUrl": "https://opensource.org/licenses/MIT"
},
{
"id": "gr",
"name": "Grommet-Icons",
"projectUrl": "https://github.com/grommet/grommet-icons",
"license": "Apache License Version 2.0",
"licenseUrl": "http://www.apache.org/licenses/"
},
{
"id": "hi",
"name": "Heroicons",
"projectUrl": "https://github.com/refactoringui/heroicons",
"license": "MIT",
"licenseUrl": "https://opensource.org/licenses/MIT"
},
{
"id": "si",
"name": "Simple Icons",
"projectUrl": "https://simpleicons.org/",
"license": "CC0 1.0 Universal",
"licenseUrl": "https://creativecommons.org/publicdomain/zero/1.0/"
},
{
"id": "im",
"name": "IcoMoon Free",
"projectUrl": "https://github.com/Keyamoon/IcoMoon-Free",
"license": "CC BY 4.0 License"
},
{
"id": "bi",
"name": "BoxIcons",
"projectUrl": "https://github.com/atisawd/boxicons",
"license": "CC BY 4.0 License"
},
{
"id": "cg",
"name": "css.gg",
"projectUrl": "https://github.com/astrit/css.gg",
"license": "MIT",
"licenseUrl": "https://opensource.org/licenses/MIT"
},
{
"id": "vsc",
"name": "VS Code Icons",
"projectUrl": "https://github.com/microsoft/vscode-codicons",
"license": "CC BY 4.0",
"licenseUrl": "https://creativecommons.org/licenses/by/4.0/"
}
]

@@ -0,3 +1,3 @@

// THIS FILE IS AUTO GENERATED
import { IconTree, IconType } from '../lib'
// THIS FILE IS AUTO GENERATED
export declare const Md3DRotation: IconType;

@@ -4,0 +4,0 @@ export declare const MdAccessibility: IconType;

{
"name": "react-icons",
"version": "3.11.0",
"version": "4.0.0",
"description": "SVG React icons of popular icon packs using ES6 imports",

@@ -23,41 +23,3 @@ "author": "Goran Gajic",

"react": "*"
},
"devDependencies": {
"@babel/cli": "^7.8.3",
"@babel/core": "^7.8.3",
"@types/react": "^16.9.19",
"babel-eslint": "^10.0.3",
"camelcase": "^5.0.0",
"cheerio": "^1.0.0-rc.2",
"copy": "^0.3.2",
"eslint": "^5.6.1",
"eslint-config-google": "^0.12.0",
"eslint-config-prettier": "^4.2.0",
"eslint-config-standard": "^12.0.0",
"eslint-plugin-import": "^2.17.2",
"eslint-plugin-node": "^9.0.1",
"eslint-plugin-prettier": "^3.0.0",
"eslint-plugin-promise": "^4.0.1",
"eslint-plugin-standard": "^4.0.0",
"feather-icons": "^4.7.3",
"find-package": "^1.0.0",
"glob-promise": "^3.4.0",
"ionicons": "^4.4.4",
"lerna": "^3.20.2",
"netlify-cli": "^2.30.0",
"octicons": "^8.1.0",
"prettier": "^1.19.1",
"renamer": "^1.0.0",
"rimraf": "^2.6.2",
"typescript": "^3.4.5"
},
"scripts": {
"build": "node scripts/build.js && yarn build-mjs && yarn build-cjs",
"prebuild": "node ../../node_modules/copy/bin/cli.js ../../README.md ./packages/react-icons && rimraf ./lib",
"build-mjs": "tsc && babel ./lib/esm -d ./lib/esm",
"build-cjs": "tsc -p ./tsconfig.commonjs.json"
},
"dependencies": {
"camelcase": "^5.0.0"
}
}
}

@@ -0,3 +1,3 @@

// THIS FILE IS AUTO GENERATED
import { IconTree, IconType } from '../lib'
// THIS FILE IS AUTO GENERATED
export declare const Si1001Tracklists: IconType;

@@ -4,0 +4,0 @@ export declare const Si1Password: IconType;

@@ -0,3 +1,3 @@

// THIS FILE IS AUTO GENERATED
import { IconTree, IconType } from '../lib'
// THIS FILE IS AUTO GENERATED
export declare const TiAdjustBrightness: IconType;

@@ -4,0 +4,0 @@ export declare const TiAdjustContrast: IconType;

@@ -0,3 +1,3 @@

// THIS FILE IS AUTO GENERATED
import { IconTree, IconType } from '../lib'
// THIS FILE IS AUTO GENERATED
export declare const VscAccount: IconType;

@@ -4,0 +4,0 @@ export declare const VscActivateBreakpoints: IconType;

@@ -0,3 +1,3 @@

// THIS FILE IS AUTO GENERATED
import { IconTree, IconType } from '../lib'
// THIS FILE IS AUTO GENERATED
export declare const WiAlien: IconType;

@@ -4,0 +4,0 @@ export declare const WiBarometer: IconType;

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

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