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

@antv/g6-core

Package Overview
Dependencies
Maintainers
57
Versions
122
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@antv/g6-core - npm Package Compare versions

Comparing version 0.6.2 to 0.6.3

2

es/global.js

@@ -50,3 +50,3 @@ var subjectColor = 'rgb(95, 149, 255)';

export default {
version: '0.6.2',
version: '0.6.3',
rootContainerClassName: 'root-container',

@@ -53,0 +53,0 @@ nodeContainerClassName: 'node-container',

@@ -14,5 +14,3 @@ import { __spreadArray } from "tslib";

export var dataValidation = function dataValidation(data) {
var _a; // 1. 必须传入数据
// 1. 必须传入数据
if (!data) {

@@ -26,4 +24,4 @@ console.error('G6 Error Tips: the data must be defined');

edges = data.edges,
_b = data.combos,
combos = _b === void 0 ? [] : _b;
_a = data.combos,
combos = _a === void 0 ? [] : _a;

@@ -57,3 +55,3 @@ if (!nodes && !edges) {

});
var comboIds = (_a = combos) === null || _a === void 0 ? void 0 : _a.map(function (combo) {
var comboIds = combos === null || combos === void 0 ? void 0 : combos.map(function (combo) {
return combo.id;

@@ -60,0 +58,0 @@ });

@@ -56,3 +56,3 @@ "use strict";

var _default = {
version: '0.6.2',
version: '0.6.3',
rootContainerClassName: 'root-container',

@@ -59,0 +59,0 @@ nodeContainerClassName: 'node-container',

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

var dataValidation = function dataValidation(data) {
var _a; // 1. 必须传入数据
// 1. 必须传入数据
if (!data) {

@@ -35,4 +33,4 @@ console.error('G6 Error Tips: the data must be defined');

edges = data.edges,
_b = data.combos,
combos = _b === void 0 ? [] : _b;
_a = data.combos,
combos = _a === void 0 ? [] : _a;

@@ -66,3 +64,3 @@ if (!nodes && !edges) {

});
var comboIds = (_a = combos) === null || _a === void 0 ? void 0 : _a.map(function (combo) {
var comboIds = combos === null || combos === void 0 ? void 0 : combos.map(function (combo) {
return combo.id;

@@ -69,0 +67,0 @@ });

{
"name": "@antv/g6-core",
"version": "0.6.2",
"version": "0.6.3",
"description": "A Graph Visualization Framework in JavaScript",

@@ -5,0 +5,0 @@ "keywords": [

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