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

sz-mx-cabin

Package Overview
Dependencies
Maintainers
2
Versions
47
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sz-mx-cabin - npm Package Compare versions

Comparing version 0.0.9-beta to 0.0.9-beta1

18

es/widgets/form/Form.js

@@ -74,3 +74,10 @@ function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }

formInstance.setFieldsValue(_extends({}, data[name]));
sessionStorage.setItem('data', JSON.stringify(data));
var newdata = data.map(function (item) {
if (item._isAMomentObject()) {
return item.format('YYYY-MM-DD');
} else {
return item;
}
});
sessionStorage.setItem('data', JSON.stringify(newdata));
}, [data]);

@@ -81,5 +88,12 @@

var values = formInstance.getFieldsValue();
var newdata = values.map(function (item) {
if (item._isAMomentObject()) {
return item.format('YYYY-MM-DD');
} else {
return item;
}
});
var newData = {};
var _parseFileDataStructu = parseFileDataStructureByFormValues(values),
var _parseFileDataStructu = parseFileDataStructureByFormValues(newdata),
_parseFileDataStructu2 = _parseFileDataStructu.result,

@@ -86,0 +100,0 @@ result = _parseFileDataStructu2 === void 0 ? {} : _parseFileDataStructu2,

@@ -90,3 +90,10 @@ "use strict";

formInstance.setFieldsValue(_extends({}, data[name]));
sessionStorage.setItem('data', JSON.stringify(data));
var newdata = data.map(function (item) {
if (item._isAMomentObject()) {
return item.format('YYYY-MM-DD');
} else {
return item;
}
});
sessionStorage.setItem('data', JSON.stringify(newdata));
}, [data]);

@@ -97,5 +104,12 @@

var values = formInstance.getFieldsValue();
var newdata = values.map(function (item) {
if (item._isAMomentObject()) {
return item.format('YYYY-MM-DD');
} else {
return item;
}
});
var newData = {};
var _parseFileDataStructu = (0, _UIGeneratorUtils.parseFileDataStructureByFormValues)(values),
var _parseFileDataStructu = (0, _UIGeneratorUtils.parseFileDataStructureByFormValues)(newdata),
_parseFileDataStructu2 = _parseFileDataStructu.result,

@@ -102,0 +116,0 @@ result = _parseFileDataStructu2 === void 0 ? {} : _parseFileDataStructu2,

2

package.json
{
"name": "sz-mx-cabin",
"version": "0.0.9-beta",
"version": "0.0.9-beta1",
"description": "reactCabin",

@@ -5,0 +5,0 @@ "main": "lib/index.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