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

babel-plugin-react-turbo

Package Overview
Dependencies
Maintainers
1
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

babel-plugin-react-turbo - npm Package Compare versions

Comparing version 0.1.15 to 0.1.16

4

build/src/plugin/alternate/genIm.js

@@ -25,5 +25,7 @@ import * as t from '@babel/types';

t.returnStatement(t.callExpression(t.identifier(returnedId), [
t.arrowFunctionExpression([renderReturnName], t.callExpression(t.identifier(renderId), [renderReturnName])),
t.arrowFunctionExpression([renderReturnName], hasReturn
? t.callExpression(t.identifier(renderId), [renderReturnName])
: t.blockStatement([])),
])),
];
}
{
"name": "babel-plugin-react-turbo",
"version": "0.1.15",
"version": "0.1.16",
"description": "Babel plugin for react-turbo",

@@ -5,0 +5,0 @@ "type": "module",

@@ -53,3 +53,5 @@ import type { NodePath } from '@babel/traverse';

[renderReturnName],
t.callExpression(t.identifier(renderId), [renderReturnName]),
hasReturn
? t.callExpression(t.identifier(renderId), [renderReturnName])
: t.blockStatement([]),
),

@@ -56,0 +58,0 @@ ]),

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