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.7 to 1.5.8

2

dist/module.json

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

},
"version": "1.5.7",
"version": "1.5.8",
"builder": {

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

@@ -36,7 +36,9 @@ import { addIcon, getIcon as _getIcon } from "@iconify/vue";

};
for (const styleSheet of document.styleSheets) {
try {
const rules = styleSheet.cssRules || styleSheet.rules;
scanCssRules(rules);
} catch {
if (typeof document !== "undefined") {
for (const styleSheet of document.styleSheets) {
try {
const rules = styleSheet.cssRules || styleSheet.rules;
scanCssRules(rules);
} catch {
}
}

@@ -93,5 +95,6 @@ }

async function mountCSS(icon) {
if (selectors.has(selector.value)) {
if (selectors.has(selector.value))
return;
}
if (typeof document === "undefined")
return;
const style = document.createElement("style");

@@ -98,0 +101,0 @@ style.textContent = getCSS(icon);

{
"name": "@nuxt/icon",
"packageManager": "pnpm@9.12.2",
"version": "1.5.7",
"version": "1.5.8",
"license": "MIT",

@@ -6,0 +6,0 @@ "type": "module",

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