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

joywok-business-components

Package Overview
Dependencies
Maintainers
6
Versions
202
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

joywok-business-components - npm Package Compare versions

Comparing version 0.0.157 to 0.0.158

46

components/share/ShareObj.js

@@ -638,24 +638,28 @@ import React, { Component } from 'react';

.then(function (resp) {
let showId = self.props.data.nav && self.props.data.nav[0].id;
let resData;
if (showId == 'usergroup') {
resData = resp.data.JMUsergroups;
} else if (showId == 'selJssdk') {
let resD = resp.data.JMJssdks;
_.each(resD, i => i.type = 'jssdk');
resData = resD;
} else if(showId == 'groupApi'){
let resD = resp.data.JMAppsapis;
_.each(resD, i => i.type = 'groupApi');
resData = resD;
} else if(showId == 'nativeApi'){
let resD = resp.data.JMAppNativeapis;
_.each(resD, i => i.type = 'nativeApi');
resData = resD;
} else if(showId=='apps'||showId=='dictParent'){
resData = resp['data']['JMObjs']['list'];
} else {
resData = resp['data']['JMObjs'];
if(Array.isArray(resData)==false){
resData = resData['list'] || [];
if(resp.data.JMData){
resData = resp.data.JMData;
}else{
let showId = self.props.data.nav && self.props.data.nav[0].id;
if (showId == 'usergroup') {
resData = resp.data.JMUsergroups;
} else if (showId == 'selJssdk') {
let resD = resp.data.JMJssdks;
_.each(resD, i => i.type = 'jssdk');
resData = resD;
} else if(showId == 'groupApi'){
let resD = resp.data.JMAppsapis;
_.each(resD, i => i.type = 'groupApi');
resData = resD;
} else if(showId == 'nativeApi'){
let resD = resp.data.JMAppNativeapis;
_.each(resD, i => i.type = 'nativeApi');
resData = resD;
} else if(showId=='apps'||showId=='dictParent'){
resData = resp['data']['JMObjs']['list'];
} else {
resData = resp['data']['JMObjs'];
if(Array.isArray(resData)==false){
resData = resData['list'] || [];
}
}

@@ -662,0 +666,0 @@ }

{
"name": "joywok-business-components",
"version": "0.0.157",
"version": "0.0.158",
"description": "",

@@ -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