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

vap

Package Overview
Dependencies
Maintainers
2
Versions
568
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vap - npm Package Compare versions

Comparing version 3.8.176 to 3.8.177

4

_common/UTree/DTree.js

@@ -164,3 +164,5 @@ "use strict";

if (!!param.defaultExpandAll) return [3 /*break*/, 6];
if (!(tree.length == 1 && param.defaultExpandedKeys.length == 0)) return [3 /*break*/, 6];
if (!(tree.length == 1)) return [3 /*break*/, 6];
console.log(param);
if (!(param.defaultCheckedKeys && _.isArray(param.defaultCheckedKeys))) return [3 /*break*/, 6];
param.defaultExpandedKeys = [tree[0][this.fields.keyField]];

@@ -167,0 +169,0 @@ if (this.props.canAddRoot == undefined || this.props.canAddRoot == false) {

@@ -31,2 +31,3 @@ "use strict";

var React = require("react");
var _ = require("lodash");
var antd_1 = require("antd");

@@ -77,5 +78,7 @@ var _Utils_1 = require("./_Utils");

if (!param.defaultExpandAll) {
if (tree.length == 1 && param.defaultExpandedKeys.length == 0) {
param.defaultExpandedKeys = [tree[0][this.fields.keyField]];
param.className = param.className + ' utree-root';
if (tree.length == 1) {
if (param.defaultCheckedKeys && _.isArray(param.defaultCheckedKeys)) {
param.defaultExpandedKeys = [tree[0][this.fields.keyField]];
param.className = param.className + ' utree-root';
}
}

@@ -82,0 +85,0 @@ }

{
"name": "vap",
"version": "3.8.176",
"version": "3.8.177",
"description": "vap - framework for webapps, support micro-service(base on vap-base) and single-web-application(base on vap-base)",

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