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

platformicons

Package Overview
Dependencies
Maintainers
14
Versions
99
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 5.6.4 to 5.6.5

svg_80x80/apache-airflow.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 n in e)Object.prototype.hasOwnProperty.call(e,n)&&(a[n]=e[n])}return a}).apply(this,arguments)}var e={android:"android",apple:"apple",bun:"bun",capacitor:"capacitor",clojure:"clojure",cocoa:"apple","cocoa-objc":"apple","cocoa-swift":"swift",cordova:"cordova",cpp:"cpp",cryengine:"cryengine",csharp:"csharp","csharp-aspnetcore":"csharp",dart:"dart",default:"default",dotnet:"dotnet","dotnet-aspnetcore":"dotnet","dotnet-aspnet":"dotnet","dotnet-awslambda":"aws","dotnet-blazor":"blazor","dotnet-csharp":"csharp","dotnet-gcpfunctions":"gcp","dotnet-maui":"maui","dotnet-uno":"uno","dotnet-xamarin":"xamarin",dotnetcore:"dotnetcore",dotnetfx:"dotnetfx",electron:"electron",elixir:"elixir",flutter:"flutter",fsharp:"fsharp",git:"git",go:"go","go-echo":"echo",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-capacitor":"capacitor","javascript-cordova":"cordova","javascript-electron":"electron","javascript-ember":"ember","javascript-gatsby":"gatsby","javascript-ionic":"ionic","javascript-nextjs":"nextjs","javascript-react":"react","javascript-remix":"remix","javascript-svelte":"svelte","javascript-sveltekit":"svelte","javascript-vue":"vue","javascript-wasm":"wasm",ionic:"ionic",kotlin:"kotlin","kotlin-android":"android",linux:"linux",native:"nativec","native-qt":"qt",node:"nodejs","node-awslambda":"aws","node-azurefunctions":"azure","node-connect":"nodejs","node-express":"express","node-gcpfunctions":"gcp","node-koa":"koa","node-serverlesscloud":"serverless",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-fastapi":"fastapi","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-starlette":"starlette","python-tornado":"tornado","python-tryton":"tryton",qt:"qt","react-native":"react-native",ruby:"ruby","ruby-rack":"ruby","ruby-rails":"rails","ruby-sinatra":"sinatra",rust:"rust","rust-actix":"actix",scala:"scala",stride3d:"stride3d",swift:"swift",unity:"unity",ue4:"unreal",unreal:"unreal",unrealengine:"unreal",visualbasic:"visual-basic",windows:"windows"};function n(a){return a.replace(".","-")}function r(a){var t=n(a);return e[t]||(t.includes("-")?o(t):"default")}function o(a){return r(n(a).split("-")[0])}var i=function(e){var n,i,s=e.platform,c=e.size,p=void 0===c?20:c,l=e.format,u=void 0===l?"sm":l,d=e.radius,v=void 0===d?3:d,g=e.withLanguageIcon,y=e.languageIconStyles,h=void 0===y?{}:y,f=e.style,j=void 0===f?{}:f,m=function(a,t){if(null==a)return{};var e,n,r={},o=Object.keys(a);for(n=0;n<o.length;n++)t.indexOf(e=o[n])>=0||(r[e]=a[e]);return r}(e,["platform","size","format","radius","withLanguageIcon","languageIconStyles","style"]),b=r(s),w=require("../"+("lg"===u?"svg_80x80":"svg")+"/"+b+".svg"),x=null!=(n=null==w?void 0:w.default)?n:w,k=o(s),q=require("../svg/"+k+".svg"),z=null!=(i=null==q?void 0:q.default)?i:q;return g&&k!==b&&"default"!==k?a.createElement("div",Object.assign({},m,{style:t({position:"relative"},j)}),a.createElement("img",{src:x,width:p,height:p,style:{borderRadius:v+"px"}}),a.createElement("img",{src:z,style:t({position:"absolute",bottom:"-1px",right:"-1px",height:"30%",width:"30%",borderRadius:"2px"},h)})):a.createElement("img",Object.assign({src:x,width:p,height:p},m,{style:t({borderRadius:v+"px"},j)}))};function s(a){var t,n=(a?[a]:["lg","sm"]).map(function(a){return Object.values(e).map(function(t){return require("../"+("lg"===a?"svg_80x80":"svg")+"/"+t+".svg")})}).flat();null==(t=document.querySelector("head"))||t.append.apply(t,n.map(function(a){var t=document.createElement("link");return t.rel="preload",t.as="image",t.href=a,t}))}export{i as PlatformIcon,s as preloadIcons};
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 n in e)Object.prototype.hasOwnProperty.call(e,n)&&(a[n]=e[n])}return a}).apply(this,arguments)}var e={android:"android",apple:"apple",bun:"bun",capacitor:"capacitor",clojure:"clojure",cocoa:"apple","cocoa-objc":"apple","cocoa-swift":"swift",cordova:"cordova",cpp:"cpp",cryengine:"cryengine",csharp:"csharp","csharp-aspnetcore":"csharp",dart:"dart",default:"default",dotnet:"dotnet","dotnet-aspnetcore":"dotnet","dotnet-aspnet":"dotnet","dotnet-awslambda":"aws","dotnet-blazor":"blazor","dotnet-csharp":"csharp","dotnet-gcpfunctions":"gcp","dotnet-maui":"maui","dotnet-uno":"uno","dotnet-xamarin":"xamarin",dotnetcore:"dotnetcore",dotnetfx:"dotnetfx",electron:"electron",elixir:"elixir",flutter:"flutter",fsharp:"fsharp",git:"git",go:"go","go-echo":"echo",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-capacitor":"capacitor","javascript-cordova":"cordova","javascript-electron":"electron","javascript-ember":"ember","javascript-gatsby":"gatsby","javascript-ionic":"ionic","javascript-nextjs":"nextjs","javascript-react":"react","javascript-remix":"remix","javascript-svelte":"svelte","javascript-sveltekit":"svelte","javascript-vue":"vue","javascript-wasm":"wasm",ionic:"ionic",kotlin:"kotlin","kotlin-android":"android",linux:"linux",native:"nativec","native-qt":"qt",node:"nodejs","node-awslambda":"aws","node-azurefunctions":"azure","node-connect":"nodejs","node-express":"express","node-gcpfunctions":"gcp","node-koa":"koa","node-serverlesscloud":"serverless",perl:"perl",php:"php","php-laravel":"laravel","php-monolog":"php","php-symfony2":"symfony","php-symfony":"symfony",python:"python","python-aiohttp":"aiohttp","python-airflow":"apache-airflow","python-awslambda":"aws","python-azurefunctions":"azure","python-beam":"apache-beam","python-bottle":"bottle","python-celery":"celery","python-chalice":"chalice","python-django":"django","python-falcon":"falcon","python-fastapi":"fastapi","python-flask":"flask","python-gcpfunctions":"gcp","python-pylons":"python","python-pyramid":"pyramid","python-pythonawslambda":"aws","python-quart":"quart","python-rq":"redis","python-sanic":"sanic","python-serverless":"serverless","python-starlette":"starlette","python-spark":"apache-spark","python-tornado":"tornado","python-tryton":"tryton",qt:"qt","react-native":"react-native",ruby:"ruby","ruby-rack":"ruby","ruby-rails":"rails","ruby-sinatra":"sinatra",rust:"rust","rust-actix":"actix",scala:"scala",stride3d:"stride3d",swift:"swift",unity:"unity",ue4:"unreal",unreal:"unreal",unrealengine:"unreal",visualbasic:"visual-basic",windows:"windows"};function n(a){return a.replace(".","-")}function r(a){var t=n(a);return e[t]||(t.includes("-")?o(t):"default")}function o(a){return r(n(a).split("-")[0])}var i=function(e){var n,i,s=e.platform,p=e.size,c=void 0===p?20:p,l=e.format,u=void 0===l?"sm":l,d=e.radius,v=void 0===d?3:d,g=e.withLanguageIcon,h=e.languageIconStyles,y=void 0===h?{}:h,f=e.style,j=void 0===f?{}:f,m=function(a,t){if(null==a)return{};var e,n,r={},o=Object.keys(a);for(n=0;n<o.length;n++)t.indexOf(e=o[n])>=0||(r[e]=a[e]);return r}(e,["platform","size","format","radius","withLanguageIcon","languageIconStyles","style"]),b=r(s),w=require("../"+("lg"===u?"svg_80x80":"svg")+"/"+b+".svg"),x=null!=(n=null==w?void 0:w.default)?n:w,k=o(s),q=require("../svg/"+k+".svg"),z=null!=(i=null==q?void 0:q.default)?i:q;return g&&k!==b&&"default"!==k?a.createElement("div",Object.assign({},m,{style:t({position:"relative"},j)}),a.createElement("img",{src:x,width:c,height:c,style:{borderRadius:v+"px"}}),a.createElement("img",{src:z,style:t({position:"absolute",bottom:"-1px",right:"-1px",height:"30%",width:"30%",borderRadius:"2px"},y)})):a.createElement("img",Object.assign({src:x,width:c,height:c},m,{style:t({borderRadius:v+"px"},j)}))};function s(a){var t,n=(a?[a]:["lg","sm"]).map(function(a){return Object.values(e).map(function(t){return require("../"+("lg"===a?"svg_80x80":"svg")+"/"+t+".svg")})}).flat();null==(t=document.querySelector("head"))||t.append.apply(t,n.map(function(a){var t=document.createElement("link");return t.rel="preload",t.as="image",t.href=a,t}))}export{i as PlatformIcon,s as preloadIcons};
//# 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 n in e)Object.prototype.hasOwnProperty.call(e,n)&&(a[n]=e[n])}return a}).apply(this,arguments)}var n={android:"android",apple:"apple",bun:"bun",capacitor:"capacitor",clojure:"clojure",cocoa:"apple","cocoa-objc":"apple","cocoa-swift":"swift",cordova:"cordova",cpp:"cpp",cryengine:"cryengine",csharp:"csharp","csharp-aspnetcore":"csharp",dart:"dart",default:"default",dotnet:"dotnet","dotnet-aspnetcore":"dotnet","dotnet-aspnet":"dotnet","dotnet-awslambda":"aws","dotnet-blazor":"blazor","dotnet-csharp":"csharp","dotnet-gcpfunctions":"gcp","dotnet-maui":"maui","dotnet-uno":"uno","dotnet-xamarin":"xamarin",dotnetcore:"dotnetcore",dotnetfx:"dotnetfx",electron:"electron",elixir:"elixir",flutter:"flutter",fsharp:"fsharp",git:"git",go:"go","go-echo":"echo",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-capacitor":"capacitor","javascript-cordova":"cordova","javascript-electron":"electron","javascript-ember":"ember","javascript-gatsby":"gatsby","javascript-ionic":"ionic","javascript-nextjs":"nextjs","javascript-react":"react","javascript-remix":"remix","javascript-svelte":"svelte","javascript-sveltekit":"svelte","javascript-vue":"vue","javascript-wasm":"wasm",ionic:"ionic",kotlin:"kotlin","kotlin-android":"android",linux:"linux",native:"nativec","native-qt":"qt",node:"nodejs","node-awslambda":"aws","node-azurefunctions":"azure","node-connect":"nodejs","node-express":"express","node-gcpfunctions":"gcp","node-koa":"koa","node-serverlesscloud":"serverless",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-fastapi":"fastapi","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-starlette":"starlette","python-tornado":"tornado","python-tryton":"tryton",qt:"qt","react-native":"react-native",ruby:"ruby","ruby-rack":"ruby","ruby-rails":"rails","ruby-sinatra":"sinatra",rust:"rust","rust-actix":"actix",scala:"scala",stride3d:"stride3d",swift:"swift",unity:"unity",ue4:"unreal",unreal:"unreal",unrealengine:"unreal",visualbasic:"visual-basic",windows:"windows"};function r(a){return a.replace(".","-")}function o(a){var t=r(a);return n[t]||(t.includes("-")?i(t):"default")}function i(a){return o(r(a).split("-")[0])}exports.PlatformIcon=function(a){var n,r,s=a.platform,c=a.size,p=void 0===c?20:c,l=a.format,u=void 0===l?"sm":l,d=a.radius,v=void 0===d?3:d,g=a.withLanguageIcon,y=a.languageIconStyles,h=void 0===y?{}:y,f=a.style,j=void 0===f?{}:f,b=function(a,t){if(null==a)return{};var e,n,r={},o=Object.keys(a);for(n=0;n<o.length;n++)t.indexOf(e=o[n])>=0||(r[e]=a[e]);return r}(a,["platform","size","format","radius","withLanguageIcon","languageIconStyles","style"]),m=o(s),x=require("../"+("lg"===u?"svg_80x80":"svg")+"/"+m+".svg"),w=null!=(n=null==x?void 0:x.default)?n:x,k=i(s),q=require("../svg/"+k+".svg"),z=null!=(r=null==q?void 0:q.default)?r:q;return g&&k!==m&&"default"!==k?t.createElement("div",Object.assign({},b,{style:e({position:"relative"},j)}),t.createElement("img",{src:w,width:p,height:p,style:{borderRadius:v+"px"}}),t.createElement("img",{src:z,style:e({position:"absolute",bottom:"-1px",right:"-1px",height:"30%",width:"30%",borderRadius:"2px"},h)})):t.createElement("img",Object.assign({src:w,width:p,height:p},b,{style:e({borderRadius:v+"px"},j)}))},exports.preloadIcons=function(a){var t,e=(a?[a]:["lg","sm"]).map(function(a){return Object.values(n).map(function(t){return require("../"+("lg"===a?"svg_80x80":"svg")+"/"+t+".svg")})}).flat();null==(t=document.querySelector("head"))||t.append.apply(t,e.map(function(a){var t=document.createElement("link");return t.rel="preload",t.as="image",t.href=a,t}))};
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 n in e)Object.prototype.hasOwnProperty.call(e,n)&&(a[n]=e[n])}return a}).apply(this,arguments)}var n={android:"android",apple:"apple",bun:"bun",capacitor:"capacitor",clojure:"clojure",cocoa:"apple","cocoa-objc":"apple","cocoa-swift":"swift",cordova:"cordova",cpp:"cpp",cryengine:"cryengine",csharp:"csharp","csharp-aspnetcore":"csharp",dart:"dart",default:"default",dotnet:"dotnet","dotnet-aspnetcore":"dotnet","dotnet-aspnet":"dotnet","dotnet-awslambda":"aws","dotnet-blazor":"blazor","dotnet-csharp":"csharp","dotnet-gcpfunctions":"gcp","dotnet-maui":"maui","dotnet-uno":"uno","dotnet-xamarin":"xamarin",dotnetcore:"dotnetcore",dotnetfx:"dotnetfx",electron:"electron",elixir:"elixir",flutter:"flutter",fsharp:"fsharp",git:"git",go:"go","go-echo":"echo",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-capacitor":"capacitor","javascript-cordova":"cordova","javascript-electron":"electron","javascript-ember":"ember","javascript-gatsby":"gatsby","javascript-ionic":"ionic","javascript-nextjs":"nextjs","javascript-react":"react","javascript-remix":"remix","javascript-svelte":"svelte","javascript-sveltekit":"svelte","javascript-vue":"vue","javascript-wasm":"wasm",ionic:"ionic",kotlin:"kotlin","kotlin-android":"android",linux:"linux",native:"nativec","native-qt":"qt",node:"nodejs","node-awslambda":"aws","node-azurefunctions":"azure","node-connect":"nodejs","node-express":"express","node-gcpfunctions":"gcp","node-koa":"koa","node-serverlesscloud":"serverless",perl:"perl",php:"php","php-laravel":"laravel","php-monolog":"php","php-symfony2":"symfony","php-symfony":"symfony",python:"python","python-aiohttp":"aiohttp","python-airflow":"apache-airflow","python-awslambda":"aws","python-azurefunctions":"azure","python-beam":"apache-beam","python-bottle":"bottle","python-celery":"celery","python-chalice":"chalice","python-django":"django","python-falcon":"falcon","python-fastapi":"fastapi","python-flask":"flask","python-gcpfunctions":"gcp","python-pylons":"python","python-pyramid":"pyramid","python-pythonawslambda":"aws","python-quart":"quart","python-rq":"redis","python-sanic":"sanic","python-serverless":"serverless","python-starlette":"starlette","python-spark":"apache-spark","python-tornado":"tornado","python-tryton":"tryton",qt:"qt","react-native":"react-native",ruby:"ruby","ruby-rack":"ruby","ruby-rails":"rails","ruby-sinatra":"sinatra",rust:"rust","rust-actix":"actix",scala:"scala",stride3d:"stride3d",swift:"swift",unity:"unity",ue4:"unreal",unreal:"unreal",unrealengine:"unreal",visualbasic:"visual-basic",windows:"windows"};function r(a){return a.replace(".","-")}function o(a){var t=r(a);return n[t]||(t.includes("-")?i(t):"default")}function i(a){return o(r(a).split("-")[0])}exports.PlatformIcon=function(a){var n,r,s=a.platform,c=a.size,p=void 0===c?20:c,l=a.format,u=void 0===l?"sm":l,d=a.radius,v=void 0===d?3:d,g=a.withLanguageIcon,h=a.languageIconStyles,y=void 0===h?{}:h,f=a.style,j=void 0===f?{}:f,b=function(a,t){if(null==a)return{};var e,n,r={},o=Object.keys(a);for(n=0;n<o.length;n++)t.indexOf(e=o[n])>=0||(r[e]=a[e]);return r}(a,["platform","size","format","radius","withLanguageIcon","languageIconStyles","style"]),m=o(s),w=require("../"+("lg"===u?"svg_80x80":"svg")+"/"+m+".svg"),x=null!=(n=null==w?void 0:w.default)?n:w,k=i(s),q=require("../svg/"+k+".svg"),z=null!=(r=null==q?void 0:q.default)?r:q;return g&&k!==m&&"default"!==k?t.createElement("div",Object.assign({},b,{style:e({position:"relative"},j)}),t.createElement("img",{src:x,width:p,height:p,style:{borderRadius:v+"px"}}),t.createElement("img",{src:z,style:e({position:"absolute",bottom:"-1px",right:"-1px",height:"30%",width:"30%",borderRadius:"2px"},y)})):t.createElement("img",Object.assign({src:x,width:p,height:p},b,{style:e({borderRadius:v+"px"},j)}))},exports.preloadIcons=function(a){var t,e=(a?[a]:["lg","sm"]).map(function(a){return Object.values(n).map(function(t){return require("../"+("lg"===a?"svg_80x80":"svg")+"/"+t+".svg")})}).flat();null==(t=document.querySelector("head"))||t.append.apply(t,e.map(function(a){var t=document.createElement("link");return t.rel="preload",t.as="image",t.href=a,t}))};
//# 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 n in e)Object.prototype.hasOwnProperty.call(e,n)&&(a[n]=e[n])}return a}).apply(this,arguments)}const e={android:"android",apple:"apple",bun:"bun",capacitor:"capacitor",clojure:"clojure",cocoa:"apple","cocoa-objc":"apple","cocoa-swift":"swift",cordova:"cordova",cpp:"cpp",cryengine:"cryengine",csharp:"csharp","csharp-aspnetcore":"csharp",dart:"dart",default:"default",dotnet:"dotnet","dotnet-aspnetcore":"dotnet","dotnet-aspnet":"dotnet","dotnet-awslambda":"aws","dotnet-blazor":"blazor","dotnet-csharp":"csharp","dotnet-gcpfunctions":"gcp","dotnet-maui":"maui","dotnet-uno":"uno","dotnet-xamarin":"xamarin",dotnetcore:"dotnetcore",dotnetfx:"dotnetfx",electron:"electron",elixir:"elixir",flutter:"flutter",fsharp:"fsharp",git:"git",go:"go","go-echo":"echo",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-capacitor":"capacitor","javascript-cordova":"cordova","javascript-electron":"electron","javascript-ember":"ember","javascript-gatsby":"gatsby","javascript-ionic":"ionic","javascript-nextjs":"nextjs","javascript-react":"react","javascript-remix":"remix","javascript-svelte":"svelte","javascript-sveltekit":"svelte","javascript-vue":"vue","javascript-wasm":"wasm",ionic:"ionic",kotlin:"kotlin","kotlin-android":"android",linux:"linux",native:"nativec","native-qt":"qt",node:"nodejs","node-awslambda":"aws","node-azurefunctions":"azure","node-connect":"nodejs","node-express":"express","node-gcpfunctions":"gcp","node-koa":"koa","node-serverlesscloud":"serverless",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-fastapi":"fastapi","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-starlette":"starlette","python-tornado":"tornado","python-tryton":"tryton",qt:"qt","react-native":"react-native",ruby:"ruby","ruby-rack":"ruby","ruby-rails":"rails","ruby-sinatra":"sinatra",rust:"rust","rust-actix":"actix",scala:"scala",stride3d:"stride3d",swift:"swift",unity:"unity",ue4:"unreal",unreal:"unreal",unrealengine:"unreal",visualbasic:"visual-basic",windows:"windows"};function n(a){return a.replace(".","-")}function r(a){const t=n(a);return e[t]||(t.includes("-")?o(t):"default")}function o(a){const[t]=n(a).split("-");return r(t)}const s=e=>{var n,s;let{platform:i,size:c=20,format:p="sm",radius:l=3,withLanguageIcon:u,languageIconStyles:d={},style:v={}}=e,g=function(a,t){if(null==a)return{};var e,n,r={},o=Object.keys(a);for(n=0;n<o.length;n++)t.indexOf(e=o[n])>=0||(r[e]=a[e]);return r}(e,["platform","size","format","radius","withLanguageIcon","languageIconStyles","style"]);const y=r(i),h=require(`../${"lg"===p?"svg_80x80":"svg"}/${y}.svg`),j=null!=(n=null==h?void 0:h.default)?n:h,f=o(i),m=require(`../svg/${f}.svg`),b=null!=(s=null==m?void 0:m.default)?s:m;return u&&f!==y&&"default"!==f?a.createElement("div",Object.assign({},g,{style:t({position:"relative"},v)}),a.createElement("img",{src:j,width:c,height:c,style:{borderRadius:l+"px"}}),a.createElement("img",{src:b,style:t({position:"absolute",bottom:"-1px",right:"-1px",height:"30%",width:"30%",borderRadius:"2px"},d)})):a.createElement("img",Object.assign({src:j,width:c,height:c},g,{style:t({borderRadius:l+"px"},v)}))};function i(a){var t;const n=(a?[a]:["lg","sm"]).map(a=>Object.values(e).map(t=>require(`../${"lg"===a?"svg_80x80":"svg"}/${t}.svg`))).flat();null==(t=document.querySelector("head"))||t.append(...n.map(a=>{const t=document.createElement("link");return t.rel="preload",t.as="image",t.href=a,t}))}export{s as PlatformIcon,i as preloadIcons};
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 n in e)Object.prototype.hasOwnProperty.call(e,n)&&(a[n]=e[n])}return a}).apply(this,arguments)}const e={android:"android",apple:"apple",bun:"bun",capacitor:"capacitor",clojure:"clojure",cocoa:"apple","cocoa-objc":"apple","cocoa-swift":"swift",cordova:"cordova",cpp:"cpp",cryengine:"cryengine",csharp:"csharp","csharp-aspnetcore":"csharp",dart:"dart",default:"default",dotnet:"dotnet","dotnet-aspnetcore":"dotnet","dotnet-aspnet":"dotnet","dotnet-awslambda":"aws","dotnet-blazor":"blazor","dotnet-csharp":"csharp","dotnet-gcpfunctions":"gcp","dotnet-maui":"maui","dotnet-uno":"uno","dotnet-xamarin":"xamarin",dotnetcore:"dotnetcore",dotnetfx:"dotnetfx",electron:"electron",elixir:"elixir",flutter:"flutter",fsharp:"fsharp",git:"git",go:"go","go-echo":"echo",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-capacitor":"capacitor","javascript-cordova":"cordova","javascript-electron":"electron","javascript-ember":"ember","javascript-gatsby":"gatsby","javascript-ionic":"ionic","javascript-nextjs":"nextjs","javascript-react":"react","javascript-remix":"remix","javascript-svelte":"svelte","javascript-sveltekit":"svelte","javascript-vue":"vue","javascript-wasm":"wasm",ionic:"ionic",kotlin:"kotlin","kotlin-android":"android",linux:"linux",native:"nativec","native-qt":"qt",node:"nodejs","node-awslambda":"aws","node-azurefunctions":"azure","node-connect":"nodejs","node-express":"express","node-gcpfunctions":"gcp","node-koa":"koa","node-serverlesscloud":"serverless",perl:"perl",php:"php","php-laravel":"laravel","php-monolog":"php","php-symfony2":"symfony","php-symfony":"symfony",python:"python","python-aiohttp":"aiohttp","python-airflow":"apache-airflow","python-awslambda":"aws","python-azurefunctions":"azure","python-beam":"apache-beam","python-bottle":"bottle","python-celery":"celery","python-chalice":"chalice","python-django":"django","python-falcon":"falcon","python-fastapi":"fastapi","python-flask":"flask","python-gcpfunctions":"gcp","python-pylons":"python","python-pyramid":"pyramid","python-pythonawslambda":"aws","python-quart":"quart","python-rq":"redis","python-sanic":"sanic","python-serverless":"serverless","python-starlette":"starlette","python-spark":"apache-spark","python-tornado":"tornado","python-tryton":"tryton",qt:"qt","react-native":"react-native",ruby:"ruby","ruby-rack":"ruby","ruby-rails":"rails","ruby-sinatra":"sinatra",rust:"rust","rust-actix":"actix",scala:"scala",stride3d:"stride3d",swift:"swift",unity:"unity",ue4:"unreal",unreal:"unreal",unrealengine:"unreal",visualbasic:"visual-basic",windows:"windows"};function n(a){return a.replace(".","-")}function r(a){const t=n(a);return e[t]||(t.includes("-")?o(t):"default")}function o(a){const[t]=n(a).split("-");return r(t)}const s=e=>{var n,s;let{platform:i,size:c=20,format:p="sm",radius:l=3,withLanguageIcon:u,languageIconStyles:d={},style:v={}}=e,g=function(a,t){if(null==a)return{};var e,n,r={},o=Object.keys(a);for(n=0;n<o.length;n++)t.indexOf(e=o[n])>=0||(r[e]=a[e]);return r}(e,["platform","size","format","radius","withLanguageIcon","languageIconStyles","style"]);const h=r(i),y=require(`../${"lg"===p?"svg_80x80":"svg"}/${h}.svg`),j=null!=(n=null==y?void 0:y.default)?n:y,f=o(i),m=require(`../svg/${f}.svg`),b=null!=(s=null==m?void 0:m.default)?s:m;return u&&f!==h&&"default"!==f?a.createElement("div",Object.assign({},g,{style:t({position:"relative"},v)}),a.createElement("img",{src:j,width:c,height:c,style:{borderRadius:l+"px"}}),a.createElement("img",{src:b,style:t({position:"absolute",bottom:"-1px",right:"-1px",height:"30%",width:"30%",borderRadius:"2px"},d)})):a.createElement("img",Object.assign({src:j,width:c,height:c},g,{style:t({borderRadius:l+"px"},v)}))};function i(a){var t;const n=(a?[a]:["lg","sm"]).map(a=>Object.values(e).map(t=>require(`../${"lg"===a?"svg_80x80":"svg"}/${t}.svg`))).flat();null==(t=document.querySelector("head"))||t.append(...n.map(a=>{const t=document.createElement("link");return t.rel="preload",t.as="image",t.href=a,t}))}export{s as PlatformIcon,i as preloadIcons};
//# sourceMappingURL=index.modern.js.map

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

!function(a,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("react")):"function"==typeof define&&define.amd?define(["exports","react"],t):t((a=a||self).platformicons={},a.react)}(this,function(a,t){function e(){return(e=Object.assign||function(a){for(var t=1;t<arguments.length;t++){var e=arguments[t];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(a[n]=e[n])}return a}).apply(this,arguments)}t=t&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t;var n={android:"android",apple:"apple",bun:"bun",capacitor:"capacitor",clojure:"clojure",cocoa:"apple","cocoa-objc":"apple","cocoa-swift":"swift",cordova:"cordova",cpp:"cpp",cryengine:"cryengine",csharp:"csharp","csharp-aspnetcore":"csharp",dart:"dart",default:"default",dotnet:"dotnet","dotnet-aspnetcore":"dotnet","dotnet-aspnet":"dotnet","dotnet-awslambda":"aws","dotnet-blazor":"blazor","dotnet-csharp":"csharp","dotnet-gcpfunctions":"gcp","dotnet-maui":"maui","dotnet-uno":"uno","dotnet-xamarin":"xamarin",dotnetcore:"dotnetcore",dotnetfx:"dotnetfx",electron:"electron",elixir:"elixir",flutter:"flutter",fsharp:"fsharp",git:"git",go:"go","go-echo":"echo",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-capacitor":"capacitor","javascript-cordova":"cordova","javascript-electron":"electron","javascript-ember":"ember","javascript-gatsby":"gatsby","javascript-ionic":"ionic","javascript-nextjs":"nextjs","javascript-react":"react","javascript-remix":"remix","javascript-svelte":"svelte","javascript-sveltekit":"svelte","javascript-vue":"vue","javascript-wasm":"wasm",ionic:"ionic",kotlin:"kotlin","kotlin-android":"android",linux:"linux",native:"nativec","native-qt":"qt",node:"nodejs","node-awslambda":"aws","node-azurefunctions":"azure","node-connect":"nodejs","node-express":"express","node-gcpfunctions":"gcp","node-koa":"koa","node-serverlesscloud":"serverless",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-fastapi":"fastapi","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-starlette":"starlette","python-tornado":"tornado","python-tryton":"tryton",qt:"qt","react-native":"react-native",ruby:"ruby","ruby-rack":"ruby","ruby-rails":"rails","ruby-sinatra":"sinatra",rust:"rust","rust-actix":"actix",scala:"scala",stride3d:"stride3d",swift:"swift",unity:"unity",ue4:"unreal",unreal:"unreal",unrealengine:"unreal",visualbasic:"visual-basic",windows:"windows"};function o(a){return a.replace(".","-")}function r(a){var t=o(a);return n[t]||(t.includes("-")?i(t):"default")}function i(a){return r(o(a).split("-")[0])}a.PlatformIcon=function(a){var n,o,s=a.platform,c=a.size,p=void 0===c?20:c,l=a.format,d=void 0===l?"sm":l,u=a.radius,v=void 0===u?3:u,y=a.withLanguageIcon,g=a.languageIconStyles,f=void 0===g?{}:g,h=a.style,j=void 0===h?{}:h,m=function(a,t){if(null==a)return{};var e,n,o={},r=Object.keys(a);for(n=0;n<r.length;n++)t.indexOf(e=r[n])>=0||(o[e]=a[e]);return o}(a,["platform","size","format","radius","withLanguageIcon","languageIconStyles","style"]),b=r(s),x=require("../"+("lg"===d?"svg_80x80":"svg")+"/"+b+".svg"),w=null!=(n=null==x?void 0:x.default)?n:x,k=i(s),q=require("../svg/"+k+".svg"),O=null!=(o=null==q?void 0:q.default)?o:q;return y&&k!==b&&"default"!==k?t.createElement("div",Object.assign({},m,{style:e({position:"relative"},j)}),t.createElement("img",{src:w,width:p,height:p,style:{borderRadius:v+"px"}}),t.createElement("img",{src:O,style:e({position:"absolute",bottom:"-1px",right:"-1px",height:"30%",width:"30%",borderRadius:"2px"},f)})):t.createElement("img",Object.assign({src:w,width:p,height:p},m,{style:e({borderRadius:v+"px"},j)}))},a.preloadIcons=function(a){var t,e=(a?[a]:["lg","sm"]).map(function(a){return Object.values(n).map(function(t){return require("../"+("lg"===a?"svg_80x80":"svg")+"/"+t+".svg")})}).flat();null==(t=document.querySelector("head"))||t.append.apply(t,e.map(function(a){var t=document.createElement("link");return t.rel="preload",t.as="image",t.href=a,t}))}});
!function(a,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("react")):"function"==typeof define&&define.amd?define(["exports","react"],t):t((a=a||self).platformicons={},a.react)}(this,function(a,t){function e(){return(e=Object.assign||function(a){for(var t=1;t<arguments.length;t++){var e=arguments[t];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(a[n]=e[n])}return a}).apply(this,arguments)}t=t&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t;var n={android:"android",apple:"apple",bun:"bun",capacitor:"capacitor",clojure:"clojure",cocoa:"apple","cocoa-objc":"apple","cocoa-swift":"swift",cordova:"cordova",cpp:"cpp",cryengine:"cryengine",csharp:"csharp","csharp-aspnetcore":"csharp",dart:"dart",default:"default",dotnet:"dotnet","dotnet-aspnetcore":"dotnet","dotnet-aspnet":"dotnet","dotnet-awslambda":"aws","dotnet-blazor":"blazor","dotnet-csharp":"csharp","dotnet-gcpfunctions":"gcp","dotnet-maui":"maui","dotnet-uno":"uno","dotnet-xamarin":"xamarin",dotnetcore:"dotnetcore",dotnetfx:"dotnetfx",electron:"electron",elixir:"elixir",flutter:"flutter",fsharp:"fsharp",git:"git",go:"go","go-echo":"echo",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-capacitor":"capacitor","javascript-cordova":"cordova","javascript-electron":"electron","javascript-ember":"ember","javascript-gatsby":"gatsby","javascript-ionic":"ionic","javascript-nextjs":"nextjs","javascript-react":"react","javascript-remix":"remix","javascript-svelte":"svelte","javascript-sveltekit":"svelte","javascript-vue":"vue","javascript-wasm":"wasm",ionic:"ionic",kotlin:"kotlin","kotlin-android":"android",linux:"linux",native:"nativec","native-qt":"qt",node:"nodejs","node-awslambda":"aws","node-azurefunctions":"azure","node-connect":"nodejs","node-express":"express","node-gcpfunctions":"gcp","node-koa":"koa","node-serverlesscloud":"serverless",perl:"perl",php:"php","php-laravel":"laravel","php-monolog":"php","php-symfony2":"symfony","php-symfony":"symfony",python:"python","python-aiohttp":"aiohttp","python-airflow":"apache-airflow","python-awslambda":"aws","python-azurefunctions":"azure","python-beam":"apache-beam","python-bottle":"bottle","python-celery":"celery","python-chalice":"chalice","python-django":"django","python-falcon":"falcon","python-fastapi":"fastapi","python-flask":"flask","python-gcpfunctions":"gcp","python-pylons":"python","python-pyramid":"pyramid","python-pythonawslambda":"aws","python-quart":"quart","python-rq":"redis","python-sanic":"sanic","python-serverless":"serverless","python-starlette":"starlette","python-spark":"apache-spark","python-tornado":"tornado","python-tryton":"tryton",qt:"qt","react-native":"react-native",ruby:"ruby","ruby-rack":"ruby","ruby-rails":"rails","ruby-sinatra":"sinatra",rust:"rust","rust-actix":"actix",scala:"scala",stride3d:"stride3d",swift:"swift",unity:"unity",ue4:"unreal",unreal:"unreal",unrealengine:"unreal",visualbasic:"visual-basic",windows:"windows"};function r(a){return a.replace(".","-")}function o(a){var t=r(a);return n[t]||(t.includes("-")?i(t):"default")}function i(a){return o(r(a).split("-")[0])}a.PlatformIcon=function(a){var n,r,s=a.platform,c=a.size,p=void 0===c?20:c,l=a.format,u=void 0===l?"sm":l,d=a.radius,v=void 0===d?3:d,y=a.withLanguageIcon,h=a.languageIconStyles,f=void 0===h?{}:h,g=a.style,j=void 0===g?{}:g,m=function(a,t){if(null==a)return{};var e,n,r={},o=Object.keys(a);for(n=0;n<o.length;n++)t.indexOf(e=o[n])>=0||(r[e]=a[e]);return r}(a,["platform","size","format","radius","withLanguageIcon","languageIconStyles","style"]),b=o(s),w=require("../"+("lg"===u?"svg_80x80":"svg")+"/"+b+".svg"),x=null!=(n=null==w?void 0:w.default)?n:w,k=i(s),q=require("../svg/"+k+".svg"),O=null!=(r=null==q?void 0:q.default)?r:q;return y&&k!==b&&"default"!==k?t.createElement("div",Object.assign({},m,{style:e({position:"relative"},j)}),t.createElement("img",{src:x,width:p,height:p,style:{borderRadius:v+"px"}}),t.createElement("img",{src:O,style:e({position:"absolute",bottom:"-1px",right:"-1px",height:"30%",width:"30%",borderRadius:"2px"},f)})):t.createElement("img",Object.assign({src:x,width:p,height:p},m,{style:e({borderRadius:v+"px"},j)}))},a.preloadIcons=function(a){var t,e=(a?[a]:["lg","sm"]).map(function(a){return Object.values(n).map(function(t){return require("../"+("lg"===a?"svg_80x80":"svg")+"/"+t+".svg")})}).flat();null==(t=document.querySelector("head"))||t.append.apply(t,e.map(function(a){var t=document.createElement("link");return t.rel="preload",t.as="image",t.href=a,t}))}});
//# sourceMappingURL=index.umd.js.map

@@ -87,4 +87,6 @@ import React from "react";

readonly "python-aiohttp": "aiohttp";
readonly "python-airflow": "apache-airflow";
readonly "python-awslambda": "aws";
readonly "python-azurefunctions": "azure";
readonly "python-beam": "apache-beam";
readonly "python-bottle": "bottle";

@@ -101,6 +103,8 @@ readonly "python-celery": "celery";

readonly "python-pythonawslambda": "aws";
readonly "python-quart": "quart";
readonly "python-rq": "redis";
readonly "python-sanic": "python";
readonly "python-sanic": "sanic";
readonly "python-serverless": "serverless";
readonly "python-starlette": "starlette";
readonly "python-spark": "apache-spark";
readonly "python-tornado": "tornado";

@@ -107,0 +111,0 @@ readonly "python-tryton": "tryton";

{
"name": "platformicons",
"version": "5.6.4",
"version": "5.6.5",
"description": "Web Platform and Framework Logo 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

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