@svgr/babel-preset
Advanced tools
Comparing version 6.3.1 to 6.4.0
@@ -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)]; |
{ | ||
"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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
15789
146