@svgr/babel-plugin-transform-svg-component
Advanced tools
Comparing version 5.5.0 to 6.0.0-alpha.0
@@ -205,3 +205,3 @@ "use strict"; | ||
result += `export default ${exportName}`; | ||
result += opts.exportType === 'named' ? `export { ${exportName} as ${opts.namedExport} }` : `export default ${exportName}`; | ||
return template.ast(result, { | ||
@@ -208,0 +208,0 @@ plugins |
{ | ||
"name": "@svgr/babel-plugin-transform-svg-component", | ||
"description": "Transform SVG into component", | ||
"version": "5.5.0", | ||
"version": "6.0.0-alpha.0", | ||
"main": "lib/index.js", | ||
@@ -28,3 +28,3 @@ "repository": "https://github.com/gregberge/svgr/tree/master/packages/babel-plugin-transform-svg-component", | ||
}, | ||
"gitHead": "b5920550bd966f876cb65c5e23af180461e5aa23" | ||
"gitHead": "4ab46a3a4f7b9aa589e991c98058473b8bd48af6" | ||
} |
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
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
13923
1