New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

jsx-compiler

Package Overview
Dependencies
Maintainers
0
Versions
152
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jsx-compiler - npm Package Compare versions

Comparing version 0.4.38-2 to 0.4.38-3

9

package.json
{
"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"
}
}

2

src/modules/attribute.js

@@ -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 @@ }

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