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

sz-mx-cabin-yjb

Package Overview
Dependencies
Maintainers
1
Versions
71
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sz-mx-cabin-yjb - npm Package Compare versions

Comparing version 0.0.29 to 0.0.30

10

es/widgets/form/Form.js

@@ -158,2 +158,5 @@ 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; }

for (var key in values) {
console.log('let key in values)', values);
console.log('let key in values)', values[key].type, values[key].type === 'singleSelect');
if (isMobile() && values[key] && values[key].type === 'singleSelect') {

@@ -163,2 +166,4 @@ values[key] = values[key][0];

console.log('let key in values)', values[key].type, values[key].type === 'inputNumber');
if (isMobile() && values[key] && values[key].type === 'inputNumber') {

@@ -199,2 +204,3 @@ values[key] = Number(values[key]);

console.log('结束循环', values);
var newarr = JSON.parse(sessionStorage.getItem('data'));

@@ -217,2 +223,5 @@ var newData = {};

for (var formkey in newData[_key]) {
console.log('let formkey in newData[key] newarr', newarr, '--', newData[_key]);
console.log('let formkey in newData[key] newarr', attrs[_key][formkey].type === 'singleSelect', '-', attrs[_key][formkey].type === 'inputNumber');
if (isMobile() && attrs[_key][formkey] && attrs[_key][formkey].type === 'singleSelect') {

@@ -265,2 +274,3 @@ formdata[formkey] = newData[_key][formkey][0];

newdata[_key] = formdata;
console.log('结束循环22222', formdata);
}

@@ -267,0 +277,0 @@ }

@@ -179,2 +179,5 @@ "use strict";

for (var key in values) {
console.log('let key in values)', values);
console.log('let key in values)', values[key].type, values[key].type === 'singleSelect');
if ((0, _NumberUtil.isMobile)() && values[key] && values[key].type === 'singleSelect') {

@@ -184,2 +187,4 @@ values[key] = values[key][0];

console.log('let key in values)', values[key].type, values[key].type === 'inputNumber');
if ((0, _NumberUtil.isMobile)() && values[key] && values[key].type === 'inputNumber') {

@@ -220,2 +225,3 @@ values[key] = Number(values[key]);

console.log('结束循环', values);
var newarr = JSON.parse(sessionStorage.getItem('data'));

@@ -238,2 +244,5 @@ var newData = {};

for (var formkey in newData[_key]) {
console.log('let formkey in newData[key] newarr', newarr, '--', newData[_key]);
console.log('let formkey in newData[key] newarr', attrs[_key][formkey].type === 'singleSelect', '-', attrs[_key][formkey].type === 'inputNumber');
if ((0, _NumberUtil.isMobile)() && attrs[_key][formkey] && attrs[_key][formkey].type === 'singleSelect') {

@@ -286,2 +295,3 @@ formdata[formkey] = newData[_key][formkey][0];

newdata[_key] = formdata;
console.log('结束循环22222', formdata);
}

@@ -288,0 +298,0 @@ }

2

package.json
{
"name": "sz-mx-cabin-yjb",
"version": "0.0.29",
"version": "0.0.30",
"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