Socket
Socket
Sign inDemoInstall

unplugin-icons

Package Overview
Dependencies
Maintainers
2
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.16.2 to 0.16.3

10

dist/nuxt.js

@@ -9,6 +9,12 @@ "use strict";Object.defineProperty(exports, "__esModule", {value: true});

function nuxt_default(options = {}, nuxt) {
var _a;
var _a, _b, _c, _d, _e;
const nuxtApp = (this == null ? void 0 : this.nuxt) || nuxt;
if ((_a = nuxtApp == null ? void 0 : nuxtApp._version) == null ? void 0 : _a.startsWith("3."))
if ((_a = nuxtApp == null ? void 0 : nuxtApp._version) == null ? void 0 : _a.startsWith("3.")) {
options.compiler = "vue3";
(_b = nuxtApp.options).typescript || (_b.typescript = {});
(_c = nuxtApp.options.typescript).tsConfig || (_c.tsConfig = {});
(_d = nuxtApp.options.typescript.tsConfig).compilerOptions || (_d.compilerOptions = {});
(_e = nuxtApp.options.typescript.tsConfig.compilerOptions).types || (_e.types = []);
nuxtApp.options.typescript.tsConfig.compilerOptions.types.push("unplugin-icons/types/vue");
}
nuxtApp.hook("webpack:config", (configs) => {

@@ -15,0 +21,0 @@ configs.forEach((config) => {

22

package.json
{
"name": "unplugin-icons",
"version": "0.16.2",
"packageManager": "pnpm@8.6.0",
"version": "0.16.3",
"packageManager": "pnpm@8.6.1",
"description": "Access thousands of icons as components on-demand universally",

@@ -140,3 +140,3 @@ "author": "Anthony Fu <anthonyfu117@hotmail.com>",

"@antfu/utils": "^0.7.4",
"@iconify/utils": "^2.1.5",
"@iconify/utils": "^2.1.6",
"debug": "^4.3.4",

@@ -148,4 +148,4 @@ "kolorist": "^1.8.0",

"devDependencies": {
"@antfu/eslint-config": "^0.39.4",
"@iconify/json": "^2.2.72",
"@antfu/eslint-config": "^0.39.5",
"@iconify/json": "^2.2.75",
"@iconify/types": "^2.0.0",

@@ -158,12 +158,12 @@ "@svgr/core": "^8.0.0",

"@vue/compiler-sfc": "^3.3.4",
"bumpp": "^9.1.0",
"bumpp": "^9.1.1",
"cross-env": "^7.0.3",
"eslint": "^8.41.0",
"eslint": "^8.42.0",
"esno": "^0.16.3",
"rollup": "^3.23.0",
"rollup": "^3.24.0",
"tsup": "^6.7.0",
"typescript": "^5.0.4",
"vite": "^4.2.3",
"vitest": "^0.31.4"
"typescript": "^5.1.3",
"vite": "^4.3.9",
"vitest": "^0.32.0"
}
}

@@ -405,6 +405,6 @@ # unplugin-icons

JSX support requires peer dependency `@svgr/core`:
JSX support requires peer dependency `@svgr/core` and its plugin `@svgr/plugin-jsx`:
```bash
npm i -D @svgr/core
npm i -D @svgr/core @svgr/plugin-jsx
```

@@ -437,6 +437,6 @@

JSX support requires peer dependency `@svgr/core`:
JSX support requires peer dependency `@svgr/core` and its plugin `@svgr/plugin-jsx`:
```bash
npm i -D @svgr/core
npm i -D @svgr/core @svgr/plugin-jsx
```

@@ -443,0 +443,0 @@

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