🚀 Socket Launch Week 🚀 Day 3: Socket Acquires Coana.Learn More

babel-plugin-tiny-import

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

babel-plugin-tiny-import - npm Package Compare versions

Comparing version

to
0.0.4

@@ -265,16 +265,11 @@ /**

t.identifier(obj.local),
!ret.ref
? //t.logicalExpression(
//'||',
// t.memberExpression(
callExpression
// t.identifier('default')
// )
// callExpression,
// )
: t.memberExpression(
callExpression,
t.identifier(ret.ref)
),
)
(
!ret.ref
? callExpression
: t.memberExpression(
callExpression,
t.identifier(ret.ref)
)
)
);
}))

@@ -281,0 +276,0 @@ }

{
"name": "babel-plugin-tiny-import",
"version": "0.0.3",
"version": "0.0.4",
"description": "split import from wrap package",

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