You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP โ†’
Socket
Book a DemoInstallSign in
Socket

unplugin-icons

Package Overview
Dependencies
Maintainers
1
Versions
95
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

to
0.12.8

dist/chunk-52VTSDJW.js

6

dist/index.js
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
var _chunkKDR5KSEVjs = require('./chunk-KDR5KSEV.js');
require('./chunk-NE57PDC2.js');
var _chunk52VTSDJWjs = require('./chunk-52VTSDJW.js');
require('./chunk-HJHBMC6R.js');
require('./chunk-GGNOJ77I.js');

@@ -9,2 +9,2 @@ require('./chunk-IZWKDL73.js');

exports.default = _chunkKDR5KSEVjs.src_default;
exports.default = _chunk52VTSDJWjs.src_default;
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
var _chunkNE57PDC2js = require('./chunk-NE57PDC2.js');
var _chunkHJHBMC6Rjs = require('./chunk-HJHBMC6R.js');
require('./chunk-IZWKDL73.js');

@@ -13,4 +13,4 @@

`${dir}/${name}.svg`,
`${dir}/${_chunkNE57PDC2js.camelize.call(void 0, name)}.svg`,
`${dir}/${_chunkNE57PDC2js.pascalize.call(void 0, name)}.svg`
`${dir}/${_chunkHJHBMC6Rjs.camelize.call(void 0, name)}.svg`,
`${dir}/${_chunkHJHBMC6Rjs.pascalize.call(void 0, name)}.svg`
];

@@ -17,0 +17,0 @@ for (const path of pathes) {

"use strict";Object.defineProperty(exports, "__esModule", {value: true});
var _chunkKDR5KSEVjs = require('./chunk-KDR5KSEV.js');
require('./chunk-NE57PDC2.js');
var _chunk52VTSDJWjs = require('./chunk-52VTSDJW.js');
require('./chunk-HJHBMC6R.js');
require('./chunk-GGNOJ77I.js');

@@ -12,7 +12,7 @@ require('./chunk-IZWKDL73.js');

config.plugins = config.plugins || [];
config.plugins.unshift(_chunkKDR5KSEVjs.src_default.webpack(options));
config.plugins.unshift(_chunk52VTSDJWjs.src_default.webpack(options));
});
this.nuxt.hook("vite:extend", async (vite) => {
vite.config.plugins = vite.config.plugins || [];
vite.config.plugins.push(_chunkKDR5KSEVjs.src_default.vite(options));
vite.config.plugins.push(_chunk52VTSDJWjs.src_default.vite(options));
});

@@ -19,0 +19,0 @@ }

"use strict";Object.defineProperty(exports, "__esModule", {value: true});
var _chunkNE57PDC2js = require('./chunk-NE57PDC2.js');
var _chunkHJHBMC6Rjs = require('./chunk-HJHBMC6R.js');
require('./chunk-IZWKDL73.js');

@@ -22,3 +22,3 @@

} = options;
const prefix = rawPrefix ? `${_chunkNE57PDC2js.camelToKebab.call(void 0, rawPrefix)}-` : "";
const prefix = rawPrefix ? `${_chunkHJHBMC6Rjs.camelToKebab.call(void 0, rawPrefix)}-` : "";
const ext = extension ? extension.startsWith(".") ? extension : `.${extension}` : "";

@@ -32,3 +32,3 @@ const collections2 = _utils.uniq.call(void 0, [

return (name) => {
const kebab = _chunkNE57PDC2js.camelToKebab.call(void 0, name);
const kebab = _chunkHJHBMC6Rjs.camelToKebab.call(void 0, name);
if (!kebab.startsWith(prefix))

@@ -35,0 +35,0 @@ return;

"use strict";Object.defineProperty(exports, "__esModule", {value: true});
var _chunkKDR5KSEVjs = require('./chunk-KDR5KSEV.js');
require('./chunk-NE57PDC2.js');
var _chunk52VTSDJWjs = require('./chunk-52VTSDJW.js');
require('./chunk-HJHBMC6R.js');
require('./chunk-GGNOJ77I.js');

@@ -9,3 +9,3 @@ require('./chunk-IZWKDL73.js');

// src/rollup.ts
var rollup_default = _chunkKDR5KSEVjs.src_default.rollup;
var rollup_default = _chunk52VTSDJWjs.src_default.rollup;

@@ -12,0 +12,0 @@

"use strict";Object.defineProperty(exports, "__esModule", {value: true});
var _chunkKDR5KSEVjs = require('./chunk-KDR5KSEV.js');
require('./chunk-NE57PDC2.js');
var _chunk52VTSDJWjs = require('./chunk-52VTSDJW.js');
require('./chunk-HJHBMC6R.js');
require('./chunk-GGNOJ77I.js');

@@ -9,3 +9,3 @@ require('./chunk-IZWKDL73.js');

// src/vite.ts
var vite_default = _chunkKDR5KSEVjs.src_default.vite;
var vite_default = _chunk52VTSDJWjs.src_default.vite;

@@ -12,0 +12,0 @@

"use strict";Object.defineProperty(exports, "__esModule", {value: true});
var _chunkKDR5KSEVjs = require('./chunk-KDR5KSEV.js');
require('./chunk-NE57PDC2.js');
var _chunk52VTSDJWjs = require('./chunk-52VTSDJW.js');
require('./chunk-HJHBMC6R.js');
require('./chunk-GGNOJ77I.js');

@@ -9,3 +9,3 @@ require('./chunk-IZWKDL73.js');

// src/webpack.ts
var webpack_default = _chunkKDR5KSEVjs.src_default.webpack;
var webpack_default = _chunk52VTSDJWjs.src_default.webpack;

@@ -12,0 +12,0 @@

{
"name": "unplugin-icons",
"version": "0.12.7",
"version": "0.12.8",
"description": "Access thousands of icons as components on-demand universally",

@@ -71,5 +71,5 @@ "homepage": "https://github.com/antfu/unplugin-icons",

"@iconify/utils": "^1.0.10",
"chalk": "^4.1.2",
"debug": "^4.3.2",
"local-pkg": "^0.3.0",
"nanocolors": "^0.2.12",
"unplugin": "^0.2.16"

@@ -76,0 +76,0 @@ },

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

- ๐Ÿฑ **Any** combinations of them!
- โ˜๏ธ On-demand - Only bundle the icons you really uses, while having all the options.
- โ˜๏ธ On-demand - Only bundle the icons you really use, while having all the options.
- ๐Ÿ–จ SSR / SSG friendly - Ship the icons with your page, no more FOUC.

@@ -17,0 +17,0 @@ - ๐ŸŒˆ Stylable - Change size, color, or even add animations as you would with styles and classes.

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

@@ -1,7 +0,7 @@

declare module "virtual:icons/*" {
export { SvelteComponentDev as default } from "svelte/internal";
declare module 'virtual:icons/*' {
export { SvelteComponentDev as default } from 'svelte/internal'
}
declare module "~icons/*" {
export { SvelteComponentDev as default } from "svelte/internal";
declare module '~icons/*' {
export { SvelteComponentDev as default } from 'svelte/internal'
}

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