🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
Sign In

babel-plugin-injectcomponentcode

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

babel-plugin-injectcomponentcode - npm Package Compare versions

Comparing version
2.0.2
to
3.0.0
+1
-1
lib/index.js

@@ -22,3 +22,3 @@ const pluginSyntaxJsx = require("@babel/plugin-syntax-jsx").default;

visitor: {
JSXElement(astPath, state) {
JSXOpeningElement(astPath, state) {
const filename = state.filename;

@@ -25,0 +25,0 @@ let matchFileFlag = false;

{
"name": "babel-plugin-injectcomponentcode",
"version": "2.0.2",
"version": "3.0.0",
"description": "babel plugin react nextjs inject code",

@@ -5,0 +5,0 @@ "private": false,