New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

platformicons

Package Overview
Dependencies
Maintainers
2
Versions
101
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

platformicons - npm Package Compare versions

Comparing version 3.4.0 to 3.5.0

svg_80x80/blazor.svg

2

build/index.esm.js

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

import a from"react";function t(){return(t=Object.assign||function(a){for(var t=1;t<arguments.length;t++){var e=arguments[t];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(a[r]=e[r])}return a}).apply(this,arguments)}var e={android:"android",apple:"apple",cocoa:"apple","cocoa-objc":"apple","cocoa-swift":"swift",cordova:"cordova",csharp:"csharp","csharp-aspnetcore":"dotnet",dart:"dart",default:"default",dotnet:"dotnet","dotnet-aspnetcore":"dotnet",electron:"electron",elixir:"elixir",flutter:"flutter",go:"go",java:"java","java-android":"android","java-appengine":"app-engine","java-log4j":"java","java-log4j2":"java","java-logback":"logback","java-logging":"java","java-spring":"spring","java-spring-boot":"springboot",javascript:"javascript","javascript-angular":"angularjs","javascript-angularjs":"angularjs","javascript-backbone":"backbone","javascript-browser":"javascript","javascript-cordova":"cordova","javascript-electron":"electron","javascript-ember":"ember","javascript-nextjs":"nextjs","javascript-react":"react","javascript-vue":"vue",native:"nativec",node:"nodejs","node-awslambda":"aws","node-azurefunctions":"azure","node-connect":"nodejs","node-express":"express","node-gcpfunctions":"gcp","node-koa":"koa","objective-c":"apple",perl:"perl",php:"php","php-laravel":"laravel","php-monolog":"php","php-symfony2":"symfony","php-symfony":"symfony",python:"python","python-aiohttp":"aiohttp","python-awslambda":"aws","python-azurefunctions":"azure","python-bottle":"bottle","python-celery":"celery","python-chalice":"chalice","python-django":"django","python-falcon":"falcon","python-flask":"flask","python-gcpfunctions":"gcp","python-pylons":"python","python-pyramid":"pyramid","python-pythonawslambda":"aws","python-rq":"redis","python-sanic":"python","python-serverless":"serverless","python-tornado":"tornado","python-tryton":"tryton","react-native":"react",ruby:"ruby","ruby-rack":"ruby","ruby-rails":"rails","ruby-sinatra":"sinatra",rust:"rust",scala:"scala",swift:"swift"};function r(a){return a.replace(".","-")}function o(a){var t=r(a);return e[t]||(t.includes("-")?n(t):"default")}function n(a){return o(r(a).split("-")[0])}export default function(e){var r=e.platform,s=e.size,p=void 0===s?20:s,i=e.format,c=void 0===i?"sm":i,l=e.radius,d=void 0===l?3:l,v=e.withLanguageIcon,u=e.languageIconStyles,y=void 0===u?{}:u,h=e.style,g=void 0===h?{}:h,j=function(a,t){if(null==a)return{};var e,r,o={},n=Object.keys(a);for(r=0;r<n.length;r++)t.indexOf(e=n[r])>=0||(o[e]=a[e]);return o}(e,["platform","size","format","radius","withLanguageIcon","languageIconStyles","style"]),f=o(r),b=require("../"+("lg"===c?"svg_80x80":"svg")+"/"+f+".svg"),m=n(r),w=require("../svg/"+m+".svg");return v&&m!==f&&"default"!==m?a.createElement("div",Object.assign({},j,{style:t({position:"relative"},g)}),a.createElement("img",{src:b,width:p,height:p,style:{borderRadius:d+"px"}}),a.createElement("img",{src:w,style:t({position:"absolute",bottom:"-1px",right:"-1px",height:"30%",width:"30%",borderRadius:"2px"},y)})):a.createElement("img",Object.assign({src:b,width:p,height:p},j,{style:t({borderRadius:d+"px"},g)}))}
import a from"react";function t(){return(t=Object.assign||function(a){for(var t=1;t<arguments.length;t++){var e=arguments[t];for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&(a[o]=e[o])}return a}).apply(this,arguments)}var e={android:"android",apple:"apple",cocoa:"apple","cocoa-objc":"apple","cocoa-swift":"swift",cordova:"cordova",cryengine:"cryengine",csharp:"csharp","csharp-aspnetcore":"csharp",dart:"dart","dart-flutter":"flutter",default:"default",dotnet:"dotnet","dotnet-awslambda":"aws","dotnet-aspnetcore":"dotnet","dotnet-aspnet":"dotnet","dotnet-csharp":"csharp","dotnet-blazor":"blazor","dotnet-uno":"uno","dotnet-xamarin":"xamarin",dotnetcore:"dotnetcore",dotnetfx:"dotnetfx",electron:"electron",elixir:"elixir",fsharp:"fsharp",go:"go",godot:"godot",java:"java","java-appengine":"app-engine","java-android":"android","java-log4j":"java","java-log4j2":"java","java-logback":"logback","java-logging":"java","java-spring":"spring","java-spring-boot":"springboot",javascript:"javascript","javascript-angular":"angularjs","javascript-angularjs":"angularjs","javascript-backbone":"backbone","javascript-browser":"javascript","javascript-cordova":"cordova","javascript-electron":"electron","javascript-ember":"ember","javascript-nextjs":"nextjs","javascript-react":"react","javascript-vue":"vue",kotlin:"kotlin","kotlin-android":"android",native:"nativec",node:"nodejs","node-awslambda":"aws","node-azurefunctions":"azure","node-connect":"nodejs","node-express":"express","node-gcpfunctions":"gcp","node-koa":"koa",perl:"perl",php:"php","php-laravel":"laravel","php-monolog":"php","php-symfony2":"symfony","php-symfony":"symfony",python:"python","python-aiohttp":"aiohttp","python-awslambda":"aws","python-azurefunctions":"azure","python-bottle":"bottle","python-celery":"celery","python-chalice":"chalice","python-django":"django","python-falcon":"falcon","python-flask":"flask","python-gcpfunctions":"gcp","python-pylons":"python","python-pyramid":"pyramid","python-pythonawslambda":"aws","python-rq":"redis","python-sanic":"python","python-serverless":"serverless","python-tornado":"tornado","python-tryton":"tryton",qt:"qt","react-native":"react",ruby:"ruby","ruby-rack":"ruby","ruby-rails":"rails","ruby-sinatra":"sinatra",rust:"rust","rust-actix":"actix",scala:"scala",stride3d:"stride3d",swift:"swift"};function o(a){return a.replace(".","-")}function r(a){var t=o(a);return e[t]||(t.includes("-")?n(t):"default")}function n(a){return r(o(a).split("-")[0])}export default function(e){var o=e.platform,s=e.size,i=void 0===s?20:s,p=e.format,c=void 0===p?"sm":p,l=e.radius,d=void 0===l?3:l,u=e.withLanguageIcon,h=e.languageIconStyles,v=void 0===h?{}:h,y=e.style,g=void 0===y?{}:y,f=function(a,t){if(null==a)return{};var e,o,r={},n=Object.keys(a);for(o=0;o<n.length;o++)t.indexOf(e=n[o])>=0||(r[e]=a[e]);return r}(e,["platform","size","format","radius","withLanguageIcon","languageIconStyles","style"]),j=r(o),b=require("../"+("lg"===c?"svg_80x80":"svg")+"/"+j+".svg"),m=n(o),x=require("../svg/"+m+".svg");return u&&m!==j&&"default"!==m?a.createElement("div",Object.assign({},f,{style:t({position:"relative"},g)}),a.createElement("img",{src:b,width:i,height:i,style:{borderRadius:d+"px"}}),a.createElement("img",{src:x,style:t({position:"absolute",bottom:"-1px",right:"-1px",height:"30%",width:"30%",borderRadius:"2px"},v)})):a.createElement("img",Object.assign({src:b,width:i,height:i},f,{style:t({borderRadius:d+"px"},g)}))}
//# sourceMappingURL=index.esm.js.map

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

var a,t=(a=require("react"))&&"object"==typeof a&&"default"in a?a.default:a;function e(){return(e=Object.assign||function(a){for(var t=1;t<arguments.length;t++){var e=arguments[t];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(a[r]=e[r])}return a}).apply(this,arguments)}var r={android:"android",apple:"apple",cocoa:"apple","cocoa-objc":"apple","cocoa-swift":"swift",cordova:"cordova",csharp:"csharp","csharp-aspnetcore":"dotnet",dart:"dart",default:"default",dotnet:"dotnet","dotnet-aspnetcore":"dotnet",electron:"electron",elixir:"elixir",flutter:"flutter",go:"go",java:"java","java-android":"android","java-appengine":"app-engine","java-log4j":"java","java-log4j2":"java","java-logback":"logback","java-logging":"java","java-spring":"spring","java-spring-boot":"springboot",javascript:"javascript","javascript-angular":"angularjs","javascript-angularjs":"angularjs","javascript-backbone":"backbone","javascript-browser":"javascript","javascript-cordova":"cordova","javascript-electron":"electron","javascript-ember":"ember","javascript-nextjs":"nextjs","javascript-react":"react","javascript-vue":"vue",native:"nativec",node:"nodejs","node-awslambda":"aws","node-azurefunctions":"azure","node-connect":"nodejs","node-express":"express","node-gcpfunctions":"gcp","node-koa":"koa","objective-c":"apple",perl:"perl",php:"php","php-laravel":"laravel","php-monolog":"php","php-symfony2":"symfony","php-symfony":"symfony",python:"python","python-aiohttp":"aiohttp","python-awslambda":"aws","python-azurefunctions":"azure","python-bottle":"bottle","python-celery":"celery","python-chalice":"chalice","python-django":"django","python-falcon":"falcon","python-flask":"flask","python-gcpfunctions":"gcp","python-pylons":"python","python-pyramid":"pyramid","python-pythonawslambda":"aws","python-rq":"redis","python-sanic":"python","python-serverless":"serverless","python-tornado":"tornado","python-tryton":"tryton","react-native":"react",ruby:"ruby","ruby-rack":"ruby","ruby-rails":"rails","ruby-sinatra":"sinatra",rust:"rust",scala:"scala",swift:"swift"};function o(a){return a.replace(".","-")}function n(a){var t=o(a);return r[t]||(t.includes("-")?s(t):"default")}function s(a){return n(o(a).split("-")[0])}module.exports=function(a){var r=a.platform,o=a.size,p=void 0===o?20:o,i=a.format,c=void 0===i?"sm":i,l=a.radius,d=void 0===l?3:l,u=a.withLanguageIcon,v=a.languageIconStyles,y=void 0===v?{}:v,h=a.style,g=void 0===h?{}:h,j=function(a,t){if(null==a)return{};var e,r,o={},n=Object.keys(a);for(r=0;r<n.length;r++)t.indexOf(e=n[r])>=0||(o[e]=a[e]);return o}(a,["platform","size","format","radius","withLanguageIcon","languageIconStyles","style"]),f=n(r),b=require("../"+("lg"===c?"svg_80x80":"svg")+"/"+f+".svg"),m=s(r),w=require("../svg/"+m+".svg");return u&&m!==f&&"default"!==m?t.createElement("div",Object.assign({},j,{style:e({position:"relative"},g)}),t.createElement("img",{src:b,width:p,height:p,style:{borderRadius:d+"px"}}),t.createElement("img",{src:w,style:e({position:"absolute",bottom:"-1px",right:"-1px",height:"30%",width:"30%",borderRadius:"2px"},y)})):t.createElement("img",Object.assign({src:b,width:p,height:p},j,{style:e({borderRadius:d+"px"},g)}))};
var a,t=(a=require("react"))&&"object"==typeof a&&"default"in a?a.default:a;function e(){return(e=Object.assign||function(a){for(var t=1;t<arguments.length;t++){var e=arguments[t];for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&(a[o]=e[o])}return a}).apply(this,arguments)}var o={android:"android",apple:"apple",cocoa:"apple","cocoa-objc":"apple","cocoa-swift":"swift",cordova:"cordova",cryengine:"cryengine",csharp:"csharp","csharp-aspnetcore":"csharp",dart:"dart","dart-flutter":"flutter",default:"default",dotnet:"dotnet","dotnet-awslambda":"aws","dotnet-aspnetcore":"dotnet","dotnet-aspnet":"dotnet","dotnet-csharp":"csharp","dotnet-blazor":"blazor","dotnet-uno":"uno","dotnet-xamarin":"xamarin",dotnetcore:"dotnetcore",dotnetfx:"dotnetfx",electron:"electron",elixir:"elixir",fsharp:"fsharp",go:"go",godot:"godot",java:"java","java-appengine":"app-engine","java-android":"android","java-log4j":"java","java-log4j2":"java","java-logback":"logback","java-logging":"java","java-spring":"spring","java-spring-boot":"springboot",javascript:"javascript","javascript-angular":"angularjs","javascript-angularjs":"angularjs","javascript-backbone":"backbone","javascript-browser":"javascript","javascript-cordova":"cordova","javascript-electron":"electron","javascript-ember":"ember","javascript-nextjs":"nextjs","javascript-react":"react","javascript-vue":"vue",kotlin:"kotlin","kotlin-android":"android",native:"nativec",node:"nodejs","node-awslambda":"aws","node-azurefunctions":"azure","node-connect":"nodejs","node-express":"express","node-gcpfunctions":"gcp","node-koa":"koa",perl:"perl",php:"php","php-laravel":"laravel","php-monolog":"php","php-symfony2":"symfony","php-symfony":"symfony",python:"python","python-aiohttp":"aiohttp","python-awslambda":"aws","python-azurefunctions":"azure","python-bottle":"bottle","python-celery":"celery","python-chalice":"chalice","python-django":"django","python-falcon":"falcon","python-flask":"flask","python-gcpfunctions":"gcp","python-pylons":"python","python-pyramid":"pyramid","python-pythonawslambda":"aws","python-rq":"redis","python-sanic":"python","python-serverless":"serverless","python-tornado":"tornado","python-tryton":"tryton",qt:"qt","react-native":"react",ruby:"ruby","ruby-rack":"ruby","ruby-rails":"rails","ruby-sinatra":"sinatra",rust:"rust","rust-actix":"actix",scala:"scala",stride3d:"stride3d",swift:"swift"};function r(a){return a.replace(".","-")}function n(a){var t=r(a);return o[t]||(t.includes("-")?s(t):"default")}function s(a){return n(r(a).split("-")[0])}module.exports=function(a){var o=a.platform,r=a.size,i=void 0===r?20:r,p=a.format,c=void 0===p?"sm":p,l=a.radius,d=void 0===l?3:l,u=a.withLanguageIcon,v=a.languageIconStyles,y=void 0===v?{}:v,h=a.style,g=void 0===h?{}:h,f=function(a,t){if(null==a)return{};var e,o,r={},n=Object.keys(a);for(o=0;o<n.length;o++)t.indexOf(e=n[o])>=0||(r[e]=a[e]);return r}(a,["platform","size","format","radius","withLanguageIcon","languageIconStyles","style"]),j=n(o),b=require("../"+("lg"===c?"svg_80x80":"svg")+"/"+j+".svg"),m=s(o),x=require("../svg/"+m+".svg");return u&&m!==j&&"default"!==m?t.createElement("div",Object.assign({},f,{style:e({position:"relative"},g)}),t.createElement("img",{src:b,width:i,height:i,style:{borderRadius:d+"px"}}),t.createElement("img",{src:x,style:e({position:"absolute",bottom:"-1px",right:"-1px",height:"30%",width:"30%",borderRadius:"2px"},y)})):t.createElement("img",Object.assign({src:b,width:i,height:i},f,{style:e({borderRadius:d+"px"},g)}))};
//# sourceMappingURL=index.js.map

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

import a from"react";function t(){return(t=Object.assign||function(a){for(var t=1;t<arguments.length;t++){var e=arguments[t];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(a[r]=e[r])}return a}).apply(this,arguments)}const e={android:"android",apple:"apple",cocoa:"apple","cocoa-objc":"apple","cocoa-swift":"swift",cordova:"cordova",csharp:"csharp","csharp-aspnetcore":"dotnet",dart:"dart",default:"default",dotnet:"dotnet","dotnet-aspnetcore":"dotnet",electron:"electron",elixir:"elixir",flutter:"flutter",go:"go",java:"java","java-android":"android","java-appengine":"app-engine","java-log4j":"java","java-log4j2":"java","java-logback":"logback","java-logging":"java","java-spring":"spring","java-spring-boot":"springboot",javascript:"javascript","javascript-angular":"angularjs","javascript-angularjs":"angularjs","javascript-backbone":"backbone","javascript-browser":"javascript","javascript-cordova":"cordova","javascript-electron":"electron","javascript-ember":"ember","javascript-nextjs":"nextjs","javascript-react":"react","javascript-vue":"vue",native:"nativec",node:"nodejs","node-awslambda":"aws","node-azurefunctions":"azure","node-connect":"nodejs","node-express":"express","node-gcpfunctions":"gcp","node-koa":"koa","objective-c":"apple",perl:"perl",php:"php","php-laravel":"laravel","php-monolog":"php","php-symfony2":"symfony","php-symfony":"symfony",python:"python","python-aiohttp":"aiohttp","python-awslambda":"aws","python-azurefunctions":"azure","python-bottle":"bottle","python-celery":"celery","python-chalice":"chalice","python-django":"django","python-falcon":"falcon","python-flask":"flask","python-gcpfunctions":"gcp","python-pylons":"python","python-pyramid":"pyramid","python-pythonawslambda":"aws","python-rq":"redis","python-sanic":"python","python-serverless":"serverless","python-tornado":"tornado","python-tryton":"tryton","react-native":"react",ruby:"ruby","ruby-rack":"ruby","ruby-rails":"rails","ruby-sinatra":"sinatra",rust:"rust",scala:"scala",swift:"swift"};function r(a){return a.replace(".","-")}function o(a){const t=r(a);return e[t]||(t.includes("-")?n(t):"default")}function n(a){const[t]=r(a).split("-");return o(t)}export default e=>{let{platform:r,size:s=20,format:p="sm",radius:c=3,withLanguageIcon:i,languageIconStyles:l={},style:d={}}=e,u=function(a,t){if(null==a)return{};var e,r,o={},n=Object.keys(a);for(r=0;r<n.length;r++)t.indexOf(e=n[r])>=0||(o[e]=a[e]);return o}(e,["platform","size","format","radius","withLanguageIcon","languageIconStyles","style"]);const y=o(r),h=require(`../${"lg"===p?"svg_80x80":"svg"}/${y}.svg`),g=n(r),v=require(`../svg/${g}.svg`);return i&&g!==y&&"default"!==g?a.createElement("div",Object.assign({},u,{style:t({position:"relative"},d)}),a.createElement("img",{src:h,width:s,height:s,style:{borderRadius:c+"px"}}),a.createElement("img",{src:v,style:t({position:"absolute",bottom:"-1px",right:"-1px",height:"30%",width:"30%",borderRadius:"2px"},l)})):a.createElement("img",Object.assign({src:h,width:s,height:s},u,{style:t({borderRadius:c+"px"},d)}))};
import a from"react";function t(){return(t=Object.assign||function(a){for(var t=1;t<arguments.length;t++){var e=arguments[t];for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&(a[o]=e[o])}return a}).apply(this,arguments)}const e={android:"android",apple:"apple",cocoa:"apple","cocoa-objc":"apple","cocoa-swift":"swift",cordova:"cordova",cryengine:"cryengine",csharp:"csharp","csharp-aspnetcore":"csharp",dart:"dart","dart-flutter":"flutter",default:"default",dotnet:"dotnet","dotnet-awslambda":"aws","dotnet-aspnetcore":"dotnet","dotnet-aspnet":"dotnet","dotnet-csharp":"csharp","dotnet-blazor":"blazor","dotnet-uno":"uno","dotnet-xamarin":"xamarin",dotnetcore:"dotnetcore",dotnetfx:"dotnetfx",electron:"electron",elixir:"elixir",fsharp:"fsharp",go:"go",godot:"godot",java:"java","java-appengine":"app-engine","java-android":"android","java-log4j":"java","java-log4j2":"java","java-logback":"logback","java-logging":"java","java-spring":"spring","java-spring-boot":"springboot",javascript:"javascript","javascript-angular":"angularjs","javascript-angularjs":"angularjs","javascript-backbone":"backbone","javascript-browser":"javascript","javascript-cordova":"cordova","javascript-electron":"electron","javascript-ember":"ember","javascript-nextjs":"nextjs","javascript-react":"react","javascript-vue":"vue",kotlin:"kotlin","kotlin-android":"android",native:"nativec",node:"nodejs","node-awslambda":"aws","node-azurefunctions":"azure","node-connect":"nodejs","node-express":"express","node-gcpfunctions":"gcp","node-koa":"koa",perl:"perl",php:"php","php-laravel":"laravel","php-monolog":"php","php-symfony2":"symfony","php-symfony":"symfony",python:"python","python-aiohttp":"aiohttp","python-awslambda":"aws","python-azurefunctions":"azure","python-bottle":"bottle","python-celery":"celery","python-chalice":"chalice","python-django":"django","python-falcon":"falcon","python-flask":"flask","python-gcpfunctions":"gcp","python-pylons":"python","python-pyramid":"pyramid","python-pythonawslambda":"aws","python-rq":"redis","python-sanic":"python","python-serverless":"serverless","python-tornado":"tornado","python-tryton":"tryton",qt:"qt","react-native":"react",ruby:"ruby","ruby-rack":"ruby","ruby-rails":"rails","ruby-sinatra":"sinatra",rust:"rust","rust-actix":"actix",scala:"scala",stride3d:"stride3d",swift:"swift"};function o(a){return a.replace(".","-")}function n(a){const t=o(a);return e[t]||(t.includes("-")?r(t):"default")}function r(a){const[t]=o(a).split("-");return n(t)}export default e=>{let{platform:o,size:s=20,format:p="sm",radius:i=3,withLanguageIcon:c,languageIconStyles:l={},style:d={}}=e,u=function(a,t){if(null==a)return{};var e,o,n={},r=Object.keys(a);for(o=0;o<r.length;o++)t.indexOf(e=r[o])>=0||(n[e]=a[e]);return n}(e,["platform","size","format","radius","withLanguageIcon","languageIconStyles","style"]);const h=n(o),y=require(`../${"lg"===p?"svg_80x80":"svg"}/${h}.svg`),g=r(o),v=require(`../svg/${g}.svg`);return c&&g!==h&&"default"!==g?a.createElement("div",Object.assign({},u,{style:t({position:"relative"},d)}),a.createElement("img",{src:y,width:s,height:s,style:{borderRadius:i+"px"}}),a.createElement("img",{src:v,style:t({position:"absolute",bottom:"-1px",right:"-1px",height:"30%",width:"30%",borderRadius:"2px"},l)})):a.createElement("img",Object.assign({src:y,width:s,height:s},u,{style:t({borderRadius:i+"px"},d)}))};
//# sourceMappingURL=index.modern.js.map

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

!function(a,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e(require("react")):"function"==typeof define&&define.amd?define(["react"],e):(a=a||self).platformicons=e(a.react)}(this,function(a){function e(){return(e=Object.assign||function(a){for(var e=1;e<arguments.length;e++){var t=arguments[e];for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(a[o]=t[o])}return a}).apply(this,arguments)}a=a&&Object.prototype.hasOwnProperty.call(a,"default")?a.default:a;var t={android:"android",apple:"apple",cocoa:"apple","cocoa-objc":"apple","cocoa-swift":"swift",cordova:"cordova",csharp:"csharp","csharp-aspnetcore":"dotnet",dart:"dart",default:"default",dotnet:"dotnet","dotnet-aspnetcore":"dotnet",electron:"electron",elixir:"elixir",flutter:"flutter",go:"go",java:"java","java-android":"android","java-appengine":"app-engine","java-log4j":"java","java-log4j2":"java","java-logback":"logback","java-logging":"java","java-spring":"spring","java-spring-boot":"springboot",javascript:"javascript","javascript-angular":"angularjs","javascript-angularjs":"angularjs","javascript-backbone":"backbone","javascript-browser":"javascript","javascript-cordova":"cordova","javascript-electron":"electron","javascript-ember":"ember","javascript-nextjs":"nextjs","javascript-react":"react","javascript-vue":"vue",native:"nativec",node:"nodejs","node-awslambda":"aws","node-azurefunctions":"azure","node-connect":"nodejs","node-express":"express","node-gcpfunctions":"gcp","node-koa":"koa","objective-c":"apple",perl:"perl",php:"php","php-laravel":"laravel","php-monolog":"php","php-symfony2":"symfony","php-symfony":"symfony",python:"python","python-aiohttp":"aiohttp","python-awslambda":"aws","python-azurefunctions":"azure","python-bottle":"bottle","python-celery":"celery","python-chalice":"chalice","python-django":"django","python-falcon":"falcon","python-flask":"flask","python-gcpfunctions":"gcp","python-pylons":"python","python-pyramid":"pyramid","python-pythonawslambda":"aws","python-rq":"redis","python-sanic":"python","python-serverless":"serverless","python-tornado":"tornado","python-tryton":"tryton","react-native":"react",ruby:"ruby","ruby-rack":"ruby","ruby-rails":"rails","ruby-sinatra":"sinatra",rust:"rust",scala:"scala",swift:"swift"};function o(a){return a.replace(".","-")}function r(a){var e=o(a);return t[e]||(e.includes("-")?n(e):"default")}function n(a){return r(o(a).split("-")[0])}return function(t){var o=t.platform,s=t.size,p=void 0===s?20:s,i=t.format,c=void 0===i?"sm":i,l=t.radius,d=void 0===l?3:l,u=t.withLanguageIcon,y=t.languageIconStyles,v=void 0===y?{}:y,h=t.style,f=void 0===h?{}:h,g=function(a,e){if(null==a)return{};var t,o,r={},n=Object.keys(a);for(o=0;o<n.length;o++)e.indexOf(t=n[o])>=0||(r[t]=a[t]);return r}(t,["platform","size","format","radius","withLanguageIcon","languageIconStyles","style"]),j=r(o),b=require("../"+("lg"===c?"svg_80x80":"svg")+"/"+j+".svg"),m=n(o),w=require("../svg/"+m+".svg");return u&&m!==j&&"default"!==m?a.createElement("div",Object.assign({},g,{style:e({position:"relative"},f)}),a.createElement("img",{src:b,width:p,height:p,style:{borderRadius:d+"px"}}),a.createElement("img",{src:w,style:e({position:"absolute",bottom:"-1px",right:"-1px",height:"30%",width:"30%",borderRadius:"2px"},v)})):a.createElement("img",Object.assign({src:b,width:p,height:p},g,{style:e({borderRadius:d+"px"},f)}))}});
!function(t,a){"object"==typeof exports&&"undefined"!=typeof module?module.exports=a(require("react")):"function"==typeof define&&define.amd?define(["react"],a):(t=t||self).platformicons=a(t.react)}(this,function(t){function a(){return(a=Object.assign||function(t){for(var a=1;a<arguments.length;a++){var e=arguments[a];for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o])}return t}).apply(this,arguments)}t=t&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t;var e={android:"android",apple:"apple",cocoa:"apple","cocoa-objc":"apple","cocoa-swift":"swift",cordova:"cordova",cryengine:"cryengine",csharp:"csharp","csharp-aspnetcore":"csharp",dart:"dart","dart-flutter":"flutter",default:"default",dotnet:"dotnet","dotnet-awslambda":"aws","dotnet-aspnetcore":"dotnet","dotnet-aspnet":"dotnet","dotnet-csharp":"csharp","dotnet-blazor":"blazor","dotnet-uno":"uno","dotnet-xamarin":"xamarin",dotnetcore:"dotnetcore",dotnetfx:"dotnetfx",electron:"electron",elixir:"elixir",fsharp:"fsharp",go:"go",godot:"godot",java:"java","java-appengine":"app-engine","java-android":"android","java-log4j":"java","java-log4j2":"java","java-logback":"logback","java-logging":"java","java-spring":"spring","java-spring-boot":"springboot",javascript:"javascript","javascript-angular":"angularjs","javascript-angularjs":"angularjs","javascript-backbone":"backbone","javascript-browser":"javascript","javascript-cordova":"cordova","javascript-electron":"electron","javascript-ember":"ember","javascript-nextjs":"nextjs","javascript-react":"react","javascript-vue":"vue",kotlin:"kotlin","kotlin-android":"android",native:"nativec",node:"nodejs","node-awslambda":"aws","node-azurefunctions":"azure","node-connect":"nodejs","node-express":"express","node-gcpfunctions":"gcp","node-koa":"koa",perl:"perl",php:"php","php-laravel":"laravel","php-monolog":"php","php-symfony2":"symfony","php-symfony":"symfony",python:"python","python-aiohttp":"aiohttp","python-awslambda":"aws","python-azurefunctions":"azure","python-bottle":"bottle","python-celery":"celery","python-chalice":"chalice","python-django":"django","python-falcon":"falcon","python-flask":"flask","python-gcpfunctions":"gcp","python-pylons":"python","python-pyramid":"pyramid","python-pythonawslambda":"aws","python-rq":"redis","python-sanic":"python","python-serverless":"serverless","python-tornado":"tornado","python-tryton":"tryton",qt:"qt","react-native":"react",ruby:"ruby","ruby-rack":"ruby","ruby-rails":"rails","ruby-sinatra":"sinatra",rust:"rust","rust-actix":"actix",scala:"scala",stride3d:"stride3d",swift:"swift"};function o(t){return t.replace(".","-")}function n(t){var a=o(t);return e[a]||(a.includes("-")?r(a):"default")}function r(t){return n(o(t).split("-")[0])}return function(e){var o=e.platform,s=e.size,i=void 0===s?20:s,p=e.format,c=void 0===p?"sm":p,l=e.radius,d=void 0===l?3:l,u=e.withLanguageIcon,y=e.languageIconStyles,h=void 0===y?{}:y,v=e.style,f=void 0===v?{}:v,g=function(t,a){if(null==t)return{};var e,o,n={},r=Object.keys(t);for(o=0;o<r.length;o++)a.indexOf(e=r[o])>=0||(n[e]=t[e]);return n}(e,["platform","size","format","radius","withLanguageIcon","languageIconStyles","style"]),j=n(o),b=require("../"+("lg"===c?"svg_80x80":"svg")+"/"+j+".svg"),m=r(o),x=require("../svg/"+m+".svg");return u&&m!==j&&"default"!==m?t.createElement("div",Object.assign({},g,{style:a({position:"relative"},f)}),t.createElement("img",{src:b,width:i,height:i,style:{borderRadius:d+"px"}}),t.createElement("img",{src:x,style:a({position:"absolute",bottom:"-1px",right:"-1px",height:"30%",width:"30%",borderRadius:"2px"},h)})):t.createElement("img",Object.assign({src:b,width:i,height:i},g,{style:a({borderRadius:d+"px"},f)}))}});
//# sourceMappingURL=index.umd.js.map
{
"name": "platformicons",
"version": "3.4.0",
"version": "3.5.0",
"description": "Web platform and framework icon set.",

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

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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