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

@vkontakte/icons-sprite

Package Overview
Dependencies
Maintainers
0
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vkontakte/icons-sprite - npm Package Compare versions

Comparing version 2.2.0 to 2.3.0

4

dist/cjs/SvgIcon.js

@@ -64,3 +64,3 @@ "use strict";

};
function makeIcon(componentName, id, viewBox, content, width, height, deprecated, replacement) {
function makeIcon(componentName, id, viewBox, content, width, height, deprecated, replacement, attrs) {
var isMounted = false;

@@ -82,3 +82,3 @@ function mountIcon() {

}
return /*#__PURE__*/ _react.default.createElement(SvgIcon, _object_spread_props._(_object_spread._({}, props), {
return /*#__PURE__*/ _react.default.createElement(SvgIcon, _object_spread_props._(_object_spread._({}, attrs, props), {
viewBox: viewBox,

@@ -85,0 +85,0 @@ id: id,

@@ -8,2 +8,2 @@ import React from 'react';

}
export declare function makeIcon<Props extends SvgIconProps = SvgIconProps, Subcomponents = {}>(componentName: string, id: string, viewBox: string, content: string, width: number, height: number, deprecated?: boolean, replacement?: string): React.FC<Props> & Subcomponents;
export declare function makeIcon<Props extends SvgIconProps = SvgIconProps, Subcomponents = {}>(componentName: string, id: string, viewBox: string, content: string, width: number, height: number, deprecated?: boolean, replacement?: string, attrs?: Record<string, string>): React.FC<Props> & Subcomponents;

@@ -53,3 +53,3 @@ import { _ as _object_spread } from "@swc/helpers/_/_object_spread";

};
export function makeIcon(componentName, id, viewBox, content, width, height, deprecated, replacement) {
export function makeIcon(componentName, id, viewBox, content, width, height, deprecated, replacement, attrs) {
var isMounted = false;

@@ -71,3 +71,3 @@ function mountIcon() {

}
return /*#__PURE__*/ React.createElement(SvgIcon, _object_spread_props(_object_spread({}, props), {
return /*#__PURE__*/ React.createElement(SvgIcon, _object_spread_props(_object_spread({}, attrs, props), {
viewBox: viewBox,

@@ -74,0 +74,0 @@ id: id,

{
"name": "@vkontakte/icons-sprite",
"version": "2.2.0",
"version": "2.3.0",
"homepage": "https://vkcom.github.io/icons/",

@@ -25,3 +25,3 @@ "repository": {

"dependencies": {
"@swc/helpers": "^0.5.11"
"@swc/helpers": "^0.5.12"
},

@@ -31,6 +31,6 @@ "devDependencies": {

"@size-limit/webpack": "^11.1.4",
"@swc/cli": "^0.3.12",
"@swc/core": "^1.5.7",
"@swc/cli": "^0.4.0",
"@swc/core": "^1.7.3",
"@swc/jest": "^0.2.36",
"@types/node": "^20.12.12",
"@types/node": "^22.0.0",
"@types/react": "16.14.34",

@@ -43,3 +43,3 @@ "concurrently": "^8.2.2",

"ts-node": "^10.9.2",
"typescript": "^5.4.5"
"typescript": "^5.5.4"
},

@@ -46,0 +46,0 @@ "peerDependencies": {

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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