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

@svgr/babel-preset

Package Overview
Dependencies
Maintainers
1
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@svgr/babel-preset - npm Package Compare versions

Comparing version 6.3.1 to 6.4.0

7

dist/index.js

@@ -41,3 +41,8 @@ 'use strict';

let toRemoveAttributes = ["version"];
let toAddAttributes = [];
let toAddAttributes = [
{
name: "role",
value: "img"
}
];
if (opts.svgProps) {

@@ -44,0 +49,0 @@ toAddAttributes = [...toAddAttributes, ...propsToAttributes(opts.svgProps)];

4

package.json
{
"name": "@svgr/babel-preset",
"description": "SVGR preset that apply transformations from config",
"version": "6.3.1",
"version": "6.4.0",
"main": "./dist/index.js",

@@ -50,3 +50,3 @@ "types": "./dist/index.d.ts",

},
"gitHead": "1dbc3e2c2027253b3b81b92fd4eb09a4aa8ae25e"
"gitHead": "fd423ae712087c34ba044ecb9016e862ca32eac1"
}

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