Socket
Socket
Sign inDemoInstall

mobx-input

Package Overview
Dependencies
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mobx-input - npm Package Compare versions

Comparing version 0.0.19 to 0.0.20

6

lib/mobx-input.js

@@ -57,5 +57,5 @@ "use strict";

var _a = this.props, name = _a.name, model = _a.model;
// Add current field to observable model (if not already observable, prefill unobservable value)
if (model.$mobx.values[name] === undefined)
mobx_1.extendObservable(model, (_b = {}, _b[name] = model[name], _b));
// Add current field to observable model
if (model[name] === undefined)
mobx_1.extendObservable(model, (_b = {}, _b[name] = undefined, _b));
// Create internal form data field

@@ -62,0 +62,0 @@ if (!model.$mobxInputForm) {

{
"name": "mobx-input",
"version": "0.0.19",
"version": "0.0.20",
"description": "Form library for MobX, with observable state and validations",

@@ -5,0 +5,0 @@ "main": "lib/mobx-input.js",

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