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

hoc-react-datgui

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hoc-react-datgui - npm Package Compare versions

Comparing version 0.0.4 to 0.0.5

2

build/mappers/model.js

@@ -54,3 +54,3 @@ 'use strict';

} else if (type === 'boolean') {
return propValue || true;
return propValue === false ? propValue : propValue || true;
} else if (type === 'function') {

@@ -57,0 +57,0 @@ return propValue || function () {};

{
"name": "hoc-react-datgui",
"version": "0.0.4",
"version": "0.0.5",
"description": "HOC adding a dat.GUI plugged to React.Component props",

@@ -5,0 +5,0 @@ "main": "build/index.js",

@@ -40,3 +40,3 @@ import mapValues from 'lodash/mapValues'

} else if (type === 'boolean') {
return propValue || true
return propValue === false ? propValue : (propValue || true)
} else if (type === 'function') {

@@ -43,0 +43,0 @@ return propValue || (() => {})

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