Socket
Socket
Sign inDemoInstall

@svgr/babel-plugin-transform-react-native-svg

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@svgr/babel-plugin-transform-react-native-svg - npm Package Compare versions

Comparing version 8.0.0 to 8.1.0

2

dist/index.js

@@ -65,3 +65,3 @@ 'use strict';

ImportDeclaration(path, state) {
if (path.get("source").isStringLiteral({ value: "react-native-svg" })) {
if (path.get("source").isStringLiteral({ value: "react-native-svg" }) && !path.get("importKind").hasNode()) {
state.replacedComponents.forEach((component) => {

@@ -68,0 +68,0 @@ if (path.get("specifiers").some(

{
"name": "@svgr/babel-plugin-transform-react-native-svg",
"description": "Transform DOM elements into react-native-svg components",
"version": "8.0.0",
"version": "8.1.0",
"main": "./dist/index.js",

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

},
"gitHead": "52a1079681477587ef0d842c0e78531adf2d2520"
"gitHead": "772592e042be5063e782bfb8711d024b2fefc6b8"
}

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