unplugin-icons
Advanced tools
Comparing version 0.12.7 to 0.12.8
"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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
69003
+ Addednanocolors@^0.2.12
+ Addedcaniuse-lite@1.0.30001680(transitive)
+ Addedelectron-to-chromium@1.5.57(transitive)
+ Addednanocolors@0.2.13(transitive)
+ Addedpostcss@8.4.49(transitive)
- Removedchalk@^4.1.2
- Removedansi-styles@4.3.0(transitive)
- Removedcaniuse-lite@1.0.30001679(transitive)
- Removedchalk@4.1.2(transitive)
- Removedcolor-convert@2.0.1(transitive)
- Removedcolor-name@1.1.4(transitive)
- Removedelectron-to-chromium@1.5.55(transitive)
- Removedhas-flag@4.0.0(transitive)
- Removedpostcss@8.4.47(transitive)
- Removedsupports-color@7.2.0(transitive)