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

@unocss/preset-icons

Package Overview
Dependencies
Maintainers
1
Versions
375
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@unocss/preset-icons - npm Package Compare versions

Comparing version 0.1.0-beta.2 to 0.1.0

3

dist/index.d.ts

@@ -10,5 +10,6 @@ import { Awaitable, Preset } from '@unocss/core';

collections?: Record<string, IconifyJSON | undefined | (() => Awaitable<IconifyJSON | undefined>)>;
extraProperties?: Record<string, string>;
}
declare const preset: ({ scale, mode, prefix, warn, collections, }?: Options) => Preset;
declare const preset: ({ scale, mode, prefix, warn, collections, extraProperties, }?: Options) => Preset;
export { Options, preset as default, preset };

@@ -37,3 +37,4 @@ "use strict";Object.defineProperty(exports, "__esModule", {value: true});

warn = false,
collections = {}
collections = {},
extraProperties = {}
} = {}) => {

@@ -78,3 +79,4 @@ return {

"height": `${scale}em`,
"width": `${scale}em`
"width": `${scale}em`,
...extraProperties
};

@@ -87,3 +89,4 @@ } else {

"height": `${scale}em`,
"width": `${scale}em`
"width": `${scale}em`,
...extraProperties
};

@@ -90,0 +93,0 @@ }

{
"name": "@unocss/preset-icons",
"version": "0.1.0-beta.2",
"version": "0.1.0",
"description": "",

@@ -37,3 +37,3 @@ "keywords": [],

"@iconify/utils": "^1.0.18",
"@unocss/core": "0.1.0-beta.2",
"@unocss/core": "0.1.0",
"local-pkg": "^0.4.0"

@@ -40,0 +40,0 @@ },

@@ -55,3 +55,3 @@ # @unocss/preset-icons

This preset is inspired from [this PR](https://github.com/antfu/unplugin-icons/issues/88) created by [@husayt](https://github.com/husayt).
This preset is inspired from [this issue](https://github.com/antfu/unplugin-icons/issues/88) created by [@husayt](https://github.com/husayt). Based on the work of [this PR](https://github.com/antfu/unplugin-icons/pull/90) by [@userquin](https://github.com/userquin).

@@ -58,0 +58,0 @@ ## License

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