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

@iconify/vue

Package Overview
Dependencies
Maintainers
1
Versions
39
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@iconify/vue - npm Package Compare versions

Comparing version 4.0.2 to 4.1.0

rollup.config.mjs

4

dist/iconify.d.ts

@@ -223,4 +223,4 @@ import type { AllowedComponentProps } from 'vue';

attributes: {
width: string;
height: string;
width?: string;
height?: string;
viewBox: string;

@@ -227,0 +227,0 @@ };

@@ -382,2 +382,3 @@ (function (global, factory) {

const isUnsetKeyword = (value) => value === "unset" || value === "undefined" || value === "none";
function iconToSVG(icon, customisations) {

@@ -474,11 +475,15 @@ const fullIcon = {

}
const result = {
attributes: {
width: width.toString(),
height: height.toString(),
viewBox: box.left.toString() + " " + box.top.toString() + " " + boxWidth.toString() + " " + boxHeight.toString()
},
const attributes = {};
const setAttr = (prop, value) => {
if (!isUnsetKeyword(value)) {
attributes[prop] = value.toString();
}
};
setAttr("width", width);
setAttr("height", height);
attributes.viewBox = box.left.toString() + " " + box.top.toString() + " " + boxWidth.toString() + " " + boxHeight.toString();
return {
attributes,
body
};
return result;
}

@@ -498,2 +503,3 @@

}
const suffix = "suffix" + (Math.random() * 16777216 | Date.now()).toString(16);
ids.forEach((id) => {

@@ -504,5 +510,6 @@ const newID = typeof prefix === "function" ? prefix(id) : prefix + (counter++).toString();

new RegExp('([#;"])(' + escapedID + ')([")]|\\.[a-z])', "g"),
"$1" + newID + "$3"
"$1" + newID + suffix + "$3"
);
});
body = body.replace(new RegExp(suffix, "g"), "");
return body;

@@ -1957,4 +1964,2 @@ }

Object.defineProperty(exports, '__esModule', { value: true });
}));

@@ -284,2 +284,3 @@ (function (global, factory) {

const isUnsetKeyword = (value) => value === "unset" || value === "undefined" || value === "none";
function iconToSVG(icon, customisations) {

@@ -376,11 +377,15 @@ const fullIcon = {

}
const result = {
attributes: {
width: width.toString(),
height: height.toString(),
viewBox: box.left.toString() + " " + box.top.toString() + " " + boxWidth.toString() + " " + boxHeight.toString()
},
const attributes = {};
const setAttr = (prop, value) => {
if (!isUnsetKeyword(value)) {
attributes[prop] = value.toString();
}
};
setAttr("width", width);
setAttr("height", height);
attributes.viewBox = box.left.toString() + " " + box.top.toString() + " " + boxWidth.toString() + " " + boxHeight.toString();
return {
attributes,
body
};
return result;
}

@@ -400,2 +405,3 @@

}
const suffix = "suffix" + (Math.random() * 16777216 | Date.now()).toString(16);
ids.forEach((id) => {

@@ -406,5 +412,6 @@ const newID = typeof prefix === "function" ? prefix(id) : prefix + (counter++).toString();

new RegExp('([#;"])(' + escapedID + ')([")]|\\.[a-z])', "g"),
"$1" + newID + "$3"
"$1" + newID + suffix + "$3"
);
});
body = body.replace(new RegExp(suffix, "g"), "");
return body;

@@ -688,4 +695,2 @@ }

Object.defineProperty(exports, '__esModule', { value: true });
}));

@@ -5,3 +5,3 @@ {

"author": "Vjacheslav Trushkin",
"version": "4.0.2",
"version": "4.1.0",
"license": "MIT",

@@ -41,15 +41,15 @@ "bugs": "https://github.com/iconify/iconify/issues",

"devDependencies": {
"@babel/preset-env": "^7.19.0",
"@babel/preset-env": "^7.20.2",
"@microsoft/api-extractor": "^7.33.7",
"@rollup/plugin-node-resolve": "^15.0.1",
"@types/jest": "^29.2.4",
"@vitejs/plugin-vue": "^4.0.0",
"@vue/test-utils": "^2.2.6",
"jsdom": "^20.0.3",
"rollup": "^3.8.1",
"typescript": "^4.9.4",
"vitest": "^0.26.2",
"vue": "^3.2.45",
"@iconify/core": "^2.0.1",
"@iconify/utils": "^2.0.3",
"@microsoft/api-extractor": "^7.30.0",
"@rollup/plugin-node-resolve": "^14.0.0",
"@types/jest": "^29.0.0",
"@vitejs/plugin-vue": "^3.1.0",
"@vue/test-utils": "^2.0.2",
"jsdom": "^20.0.0",
"rollup": "^2.79.0",
"typescript": "^4.8.2",
"vitest": "^0.23.1",
"vue": "^3.2.38"
"@iconify/utils": "^2.1.0"
},

@@ -62,3 +62,3 @@ "peerDependencies": {

"build:lib": "tsc -b",
"build:dist": "rollup -c rollup.config.js",
"build:dist": "rollup -c rollup.config.mjs",
"prebuild:api": "api-extractor run --local --verbose --config api-extractor.offline.json",

@@ -65,0 +65,0 @@ "build:api": "api-extractor run --local --verbose --config api-extractor.iconify.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