New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@unocss/preset-icons

Package Overview
Dependencies
Maintainers
1
Versions
392
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@unocss/preset-icons - npm Package Compare versions

Comparing version 0.12.6 to 0.12.7

dist/chunk-BS7EEF5T.js

10

dist/index.js
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
var _chunkBS7EEF5Tjs = require('./chunk-BS7EEF5T.js');
var _chunkRYT3GRM7js = require('./chunk-RYT3GRM7.js');
// src/index.ts
var _core = require('@unocss/core');
var _build = require('@iconify/utils/lib/svg/build');

@@ -16,3 +16,3 @@ var _customisations = require('@iconify/utils/lib/customisations');

iconSet = await iconSet();
if (!iconSet && _chunkRYT3GRM7js.isNode) {
if (!iconSet && _chunkBS7EEF5Tjs.isNode) {
const { loadCollectionFromFS } = await Promise.resolve().then(() => require("./fs.js"));

@@ -69,3 +69,3 @@ iconSet = await loadCollectionFromFS(collection);

if (warn)
_chunkRYT3GRM7js.warnOnce.call(void 0, `[unocss] failed to load icon "${full}"`);
_core.warnOnce.call(void 0, `failed to load icon "${full}"`);
return;

@@ -76,3 +76,3 @@ }

_mode = svg.includes("currentColor") ? "mask" : "background-img";
const url = `url("data:image/svg+xml;utf8,${_chunkRYT3GRM7js.encodeSvg.call(void 0, svg)}")`;
const url = `url("data:image/svg+xml;utf8,${_chunkBS7EEF5Tjs.encodeSvg.call(void 0, svg)}")`;
if (_mode === "mask") {

@@ -79,0 +79,0 @@ return {

declare const isNode: boolean;
declare function warnOnce(msg: string): void;
declare function encodeSvg(svg: string): string;
export { encodeSvg, isNode, warnOnce };
export { encodeSvg, isNode };
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
var _chunkBS7EEF5Tjs = require('./chunk-BS7EEF5T.js');
var _chunkRYT3GRM7js = require('./chunk-RYT3GRM7.js');
exports.encodeSvg = _chunkRYT3GRM7js.encodeSvg; exports.isNode = _chunkRYT3GRM7js.isNode; exports.warnOnce = _chunkRYT3GRM7js.warnOnce;
exports.encodeSvg = _chunkBS7EEF5Tjs.encodeSvg; exports.isNode = _chunkBS7EEF5Tjs.isNode;
{
"name": "@unocss/preset-icons",
"version": "0.12.6",
"version": "0.12.7",
"description": "Pure CSS Icons for UnoCSS",

@@ -46,3 +46,3 @@ "keywords": [

"@iconify/utils": "^1.0.19",
"@unocss/core": "0.12.6",
"@unocss/core": "0.12.7",
"local-pkg": "^0.4.0"

@@ -49,0 +49,0 @@ },

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