Socket
Socket
Sign inDemoInstall

unplugin-icons

Package Overview
Dependencies
Maintainers
4
Versions
88
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

unplugin-icons - npm Package Compare versions

Comparing version 0.17.0 to 0.17.1

2

dist/rollup.d.ts

@@ -5,4 +5,4 @@ import * as rollup from 'rollup';

declare const _default: (options?: Options | undefined) => rollup.Plugin | rollup.Plugin[];
declare const _default: (options?: Options | undefined) => rollup.Plugin<any> | rollup.Plugin<any>[];
export { _default as default };
{
"name": "unplugin-icons",
"type": "module",
"version": "0.17.0",
"packageManager": "pnpm@8.7.1",
"version": "0.17.1",
"packageManager": "pnpm@8.9.2",
"description": "Access thousands of icons as components on-demand universally",

@@ -109,5 +109,5 @@ "author": "Anthony Fu <anthonyfu117@hotmail.com>",

"files": [
"*.d.ts",
"dist",
"types",
"*.d.ts"
"types"
],

@@ -153,11 +153,11 @@ "scripts": {

"@antfu/utils": "^0.7.6",
"@iconify/utils": "^2.1.9",
"@iconify/utils": "^2.1.11",
"debug": "^4.3.4",
"kolorist": "^1.8.0",
"local-pkg": "^0.4.3",
"unplugin": "^1.4.0"
"local-pkg": "^0.5.0",
"unplugin": "^1.5.0"
},
"devDependencies": {
"@antfu/eslint-config": "^0.41.0",
"@iconify/json": "^2.2.110",
"@antfu/eslint-config": "1.0.0-beta.27",
"@iconify/json": "^2.2.130",
"@iconify/types": "^2.0.0",

@@ -167,16 +167,16 @@ "@svgr/core": "^8.1.0",

"@svgx/core": "^1.0.1",
"@types/debug": "^4.1.8",
"@types/node": "^20.5.9",
"@types/debug": "^4.1.10",
"@types/node": "^20.8.7",
"@vue/compiler-sfc": "^3.3.4",
"bumpp": "^9.2.0",
"cross-env": "^7.0.3",
"eslint": "^8.48.0",
"eslint": "^8.51.0",
"esno": "^0.17.0",
"fast-glob": "^3.3.1",
"rollup": "^3.28.1",
"rollup": "^3.29.4",
"tsup": "^7.2.0",
"typescript": "^5.2.2",
"vite": "^4.4.9",
"vitest": "^0.34.3"
"vite": "^4.5.0",
"vitest": "1.0.0-beta.2"
}
}

@@ -12,3 +12,3 @@ # unplugin-icons

- 📦 **Major** build tools - Vite, Webpack, Rollup, Nuxt, etc. Powered by [unplugin](https://github.com/unjs/unplugin).
- 🪜 **Major** frameworks - Vanilla, Web Components, React, Vue 3, Vue 2, Solid, Svelte, and more. [Contribute](./src/core/compiles).
- 🪜 **Major** frameworks - Vanilla, Web Components, React, Vue 3, Vue 2, Solid, Svelte, and more. [Contribute](./src/core/compilers).
- 🍱 **Any** combinations of them!

@@ -45,3 +45,3 @@ - ☁️ On-demand - Only bundle the icons you really use, while having all the options.

<IconAccessibility />
<IconAccountBox style={{ fontSize: '2em', color: 'red' }}/>
<IconAccountBox style={{ fontSize: '2em', color: 'red' }} />
</div>

@@ -185,2 +185,4 @@ )

See [the Nuxt example](examples/nuxt3) for a working example project.
<br></details>

@@ -227,2 +229,4 @@

See [the SvelteKit example](examples/sveltekit) for a working example project.
<br></details>

@@ -258,2 +262,4 @@

See [the Svelte + Vite example](examples/vite-svelte) for a working example project.
<br></details>

@@ -297,3 +303,3 @@

See inside of `examples/next` for a working example project.
See [the Next.js example](examples/next) for a working example project.

@@ -342,2 +348,4 @@ <br></details>

See [the Astro example](examples/astro) for a working example project.
<br></details>

@@ -376,2 +384,4 @@

See [the Vue 3 example](examples/vite-vue3) for a working example project.
<br></details>

@@ -408,2 +418,4 @@

See [the Vue 2 example](examples/vite-vue2) for a working example project.
<br></details>

@@ -439,2 +451,4 @@

See [the React example](examples/vite-react) for a working example project.
<br></details>

@@ -471,2 +485,4 @@

See [the Preact example](examples/vite-preact) for a working example project.
<br></details>

@@ -498,2 +514,4 @@

See [the Solid example](examples/vite-solid) for a working example project.
<br></details>

@@ -532,2 +550,4 @@

See [the Svelte example](examples/vite-svelte) for a working example project.
<br></details>

@@ -553,2 +573,4 @@

See [the Astro example](examples/astro) for a working example project.
<br></details>

@@ -584,2 +606,4 @@

See [the Qwik example](examples/vite-qwik) for a working example project.
<br></details>

@@ -926,3 +950,3 @@

<IconCarbonApps />
<IconMdiAccountBox style="font-size: 2em; color: red"/>
<IconMdiAccountBox style="font-size: 2em; color: red" />
</div>

@@ -1009,2 +1033,2 @@ )

MIT License © 2020-PRESENT [Anthony Fu](https://github.com/antfu)
[MIT](./LICENSE) License © 2020-PRESENT [Anthony Fu](https://github.com/antfu)
declare module 'virtual:icons/*' {
import type { JSX } from 'preact'
const component: (props: JSX.SVGAttributes<SVGSVGElement>) => JSX.Element

@@ -8,4 +9,5 @@ export default component

import type { JSX } from 'preact'
const component: (props: JSX.SVGAttributes<SVGSVGElement>) => JSX.Element
export default component
}
declare module 'virtual:icons/*' {
import { FunctionComponent, QwikIntrinsicElements } from "@builder.io/qwik";
const Component: FunctionComponent<QwikIntrinsicElements["svg"]>;
export default Component;
import type { FunctionComponent, QwikIntrinsicElements } from '@builder.io/qwik'
const Component: FunctionComponent<QwikIntrinsicElements['svg']>
export default Component
}
declare module '~icons/*' {
import { FunctionComponent, QwikIntrinsicElements } from "@builder.io/qwik";
const Component: FunctionComponent<QwikIntrinsicElements["svg"]>;
export default Component;
import type { FunctionComponent, QwikIntrinsicElements } from '@builder.io/qwik'
const Component: FunctionComponent<QwikIntrinsicElements['svg']>
export default Component
}
declare module 'virtual:icons/*' {
import type { SVGProps } from 'react'
import type React from 'react'
const component: (props: SVGProps<SVGSVGElement>) => React.ReactElement

@@ -10,4 +11,5 @@ export default component

import type React from 'react'
const component: (props: SVGProps<SVGSVGElement>) => React.ReactElement
export default component
}
declare module 'virtual:icons/*' {
import type { ComponentProps, JSX } from 'solid-js'
const component: (props: ComponentProps<'svg'>) => JSX.Element

@@ -8,4 +9,5 @@ export default component

import type { ComponentProps, JSX } from 'solid-js'
const component: (props: ComponentProps<'svg'>) => JSX.Element
export default component
}

@@ -7,3 +7,4 @@ declare module 'virtual:icons/*' {

import { SvelteComponentTyped } from 'svelte'
export default class extends SvelteComponentTyped<svelte.JSX.IntrinsicElements['svg']> {}
}
declare module 'virtual:icons/*' {
import { SvelteComponent } from 'svelte'
import type { SvelteHTMLElements } from 'svelte/elements'
export default class extends SvelteComponent<SvelteHTMLElements['svg']> {}

@@ -10,3 +11,4 @@ }

import type { SvelteHTMLElements } from 'svelte/elements'
export default class extends SvelteComponent<SvelteHTMLElements['svg']> {}
}
declare module 'virtual:icons/*' {
import type { FunctionalComponent, SVGAttributes } from 'vue'
const component: FunctionalComponent<SVGAttributes>

@@ -8,4 +9,5 @@ export default component

import type { FunctionalComponent, SVGAttributes } from 'vue'
const component: FunctionalComponent<SVGAttributes>
export default component
}

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