jsx-compiler
Advanced tools
Comparing version 0.4.38-2 to 0.4.38-3
{ | ||
"name": "jsx-compiler", | ||
"version": "0.4.38-2", | ||
"version": "0.4.38-3", | ||
"license": "BSD-3-Clause", | ||
@@ -35,3 +35,10 @@ "description": "Parser for Rax JSX Statements.", | ||
"jest": "^24.5.0" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "git@github.com:raxjs/miniapp.git" | ||
}, | ||
"publishConfig": { | ||
"registry": "https://registry.npmjs.org" | ||
} | ||
} |
@@ -77,3 +77,3 @@ const t = require('@babel/types'); | ||
default: | ||
if (node.value === null && adapter.needPropsDefaultToTrue) { | ||
if (node.value === null && adapter.needPropsDefaultToTrue && !/:else|x-memo/.test(node.name.name)) { | ||
node.value = t.jsxExpressionContainer(t.booleanLiteral(true)); | ||
@@ -80,0 +80,0 @@ } |
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
284293
4