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

@nuxt/icon

Package Overview
Dependencies
Maintainers
6
Versions
40
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nuxt/icon - npm Package Compare versions

Comparing version 1.5.0 to 1.5.1

7

dist/module.d.ts

@@ -231,7 +231,8 @@ import * as _nuxt_schema from '@nuxt/schema';

/**
* Glob patterns or paths to include files for scanning
* Relative to the project root
* Glob patterns or paths to include files for scanning, relative to the project root.
* Plain JavaScript and TypeScript files are not included by default to improve performance.
*
* When specified, the default will be overridden
*
* @default ['**\/*.{vue,js,ts,jsx,tsx,md,mdc,mdx}']
* @default ['**\/*.{vue,jsx,tsx,md,mdc,mdx}']
*/

@@ -238,0 +239,0 @@ globInclude?: string[];

@@ -7,3 +7,3 @@ {

},
"version": "1.5.0",
"version": "1.5.1",
"builder": {

@@ -10,0 +10,0 @@ "@nuxt/module-builder": "0.8.3",

@@ -1,2 +0,2 @@

declare const _default: import("h3").EventHandler<Omit<import("h3").EventHandlerRequest, "body">, Promise<unknown>>;
declare const _default: any;
export default _default;
import { basename } from "pathe";
import { getIcons } from "@iconify/utils";
import { consola } from "consola";
import { useAppConfig, defineCachedEventHandler } from "nitropack/runtime";
import { createError, getQuery } from "h3";
import { useAppConfig, defineCachedEventHandler } from "#imports";
import { collections } from "#nuxt-icon-server-bundle";

@@ -7,0 +7,0 @@ const warnOnceSet = /* @__PURE__ */ new Set();

{
"name": "@nuxt/icon",
"packageManager": "pnpm@9.9.0",
"version": "1.5.0",
"version": "1.5.1",
"license": "MIT",

@@ -42,3 +42,3 @@ "type": "module",

"dependencies": {
"@iconify/collections": "^1.0.453",
"@iconify/collections": "^1.0.455",
"@iconify/types": "^2.0.0",

@@ -57,17 +57,17 @@ "@iconify/utils": "^2.1.32",

"devDependencies": {
"@iconify-json/fluent-emoji-high-contrast": "^1.1.16",
"@iconify-json/logos": "^1.1.44",
"@iconify-json/ph": "^1.1.14",
"@iconify-json/simple-icons": "^1.1.114",
"@iconify-json/solar": "^1.1.10",
"@iconify-json/uil": "^1.1.9",
"@iconify-json/fluent-emoji-high-contrast": "^1.2.0",
"@iconify-json/logos": "^1.2.0",
"@iconify-json/ph": "^1.2.0",
"@iconify-json/simple-icons": "^1.2.1",
"@iconify-json/solar": "^1.2.0",
"@iconify-json/uil": "^1.2.0",
"@nuxt/devtools": "^1.4.1",
"@nuxt/eslint-config": "^0.5.3",
"@nuxt/eslint-config": "^0.5.5",
"@nuxt/module-builder": "^0.8.3",
"@nuxt/schema": "^3.13.0",
"@nuxt/test-utils": "^3.14.1",
"@types/node": "^22.5.0",
"@types/node": "^22.5.2",
"@unocss/nuxt": "^0.62.3",
"changelogen": "^0.5.5",
"eslint": "9.0.0",
"eslint": "^9.9.1",
"nuxt": "^3.13.0",

@@ -78,4 +78,4 @@ "prettier": "^3.3.3",

"untyped": "^1.4.2",
"vite": "^5.4.2",
"vue-tsc": "^2.0.29"
"vite": "^5.4.3",
"vue-tsc": "^2.1.4"
},

@@ -82,0 +82,0 @@ "release-it": {

@@ -275,3 +275,3 @@ ![nuxt-icon](https://github.com/nuxt-modules/icon/assets/904724/ae673805-06ad-4c05-820e-a8445c7224ce)

Since `@nuxt/icon` v1.0, we have introduced the server bundle concept to serve the icons from Nuxt server endpoints. This keeps the client bundle lean and able to load icons on-demand, while having all the dynamic features to use icons that might now be known at build time.
Since `@nuxt/icon` v1.0, we have introduced the server bundle concept to serve the icons from Nuxt server endpoints. This keeps the client bundle lean and able to load icons on-demand, while having all the dynamic features to use icons that might not be known at build time.

@@ -320,3 +320,3 @@ #### Server Bundle Mode: `local`

This is the default option, where the module will pick between `local` and `remote` based your deployment environment. `local` will be proffered unless you are deploying to a serverless or worker environment, like Vercel Edge or Cloudflare Workers.
This is the default option, where the module will pick between `local` and `remote` based your deployment environment. `local` will be preffered unless you are deploying to a serverless or worker environment, like Vercel Edge or Cloudflare Workers.

@@ -323,0 +323,0 @@ #### Externalize Icons JSON

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