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

babel-plugin-react-defaultprops

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-react-defaultprops - npm Package Compare versions

Comparing version 1.0.5 to 1.0.6

3

lib/utils/is-valid-value.js

@@ -12,3 +12,4 @@ "use strict";

}
if (core_1.types.isMemberExpression(node) ||
if (core_1.types.isConditionalExpression(node) ||
core_1.types.isMemberExpression(node) ||
core_1.types.isCallExpression(node) ||

@@ -15,0 +16,0 @@ core_1.types.isIdentifier(node) ||

{
"name": "babel-plugin-react-defaultprops",
"version": "1.0.5",
"version": "1.0.6",
"description": "A plugin to extract es6 default parameters",

@@ -5,0 +5,0 @@ "source": "src/plugin.ts",

@@ -13,2 +13,3 @@ import { types as t } from '@babel/core';

if (
t.isConditionalExpression(node) ||
t.isMemberExpression(node) ||

@@ -15,0 +16,0 @@ t.isCallExpression(node) ||

Sorry, the diff of this file is not supported yet

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