Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

uncontrollable

Package Overview
Dependencies
Maintainers
1
Versions
50
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

uncontrollable - npm Package Compare versions

Comparing version 3.1.4 to 3.2.0

10

createUncontrollable.js

@@ -112,2 +112,12 @@ 'use strict';

/**
* useful when wrapping a Component and you want to control
* everything
*/
component.deferControlTo = function (newComponent, additions, nextMethods) {
if (additions === undefined) additions = {};
return uncontrollable(newComponent, _extends({}, controlledValues, additions), nextMethods);
};
return component;

@@ -114,0 +124,0 @@

2

package.json
{
"name": "uncontrollable",
"version": "3.1.4",
"version": "3.2.0",
"description": "Wrap a controlled react component, to allow specific prop/handler pairs to be uncontrolled",

@@ -5,0 +5,0 @@ "author": {

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