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

@antv/l7-core

Package Overview
Dependencies
Maintainers
64
Versions
540
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@antv/l7-core - npm Package Compare versions

Comparing version 2.21.2 to 2.21.3

11

es/services/layer/LayerService.js

@@ -98,12 +98,5 @@ import _asyncToGenerator from "@babel/runtime/helpers/esm/asyncToGenerator";

if (parentLayer) {
const layerChildren = parentLayer.layerChildren;
const layerIndex = layerChildren.indexOf(layer);
if (layerIndex > -1) {
parentLayer.layerChildren = layerChildren.slice().splice(layerIndex, 1);
}
parentLayer.layerChildren = parentLayer.layerChildren.filter(item => item !== layer);
} else {
const layerIndex = _this2.layers.indexOf(layer);
if (layerIndex > -1) {
_this2.layers = _this2.layers.slice().splice(layerIndex, 1);
}
_this2.layers = _this2.layers.filter(item => item !== layer);
}

@@ -110,0 +103,0 @@ layer.destroy();

@@ -105,12 +105,5 @@ "use strict";

if (parentLayer) {
const layerChildren = parentLayer.layerChildren;
const layerIndex = layerChildren.indexOf(layer);
if (layerIndex > -1) {
parentLayer.layerChildren = layerChildren.slice().splice(layerIndex, 1);
}
parentLayer.layerChildren = parentLayer.layerChildren.filter(item => item !== layer);
} else {
const layerIndex = _this2.layers.indexOf(layer);
if (layerIndex > -1) {
_this2.layers = _this2.layers.slice().splice(layerIndex, 1);
}
_this2.layers = _this2.layers.filter(item => item !== layer);
}

@@ -117,0 +110,0 @@ layer.destroy();

6

package.json
{
"name": "@antv/l7-core",
"version": "2.21.2",
"version": "2.21.3",
"description": "",

@@ -25,3 +25,3 @@ "license": "MIT",

"@antv/async-hook": "^2.2.9",
"@antv/l7-utils": "^2.21.2",
"@antv/l7-utils": "^2.21.3",
"@babel/runtime": "^7.7.7",

@@ -47,3 +47,3 @@ "@mapbox/tiny-sdf": "^1.2.5",

},
"gitHead": "5c2d29d2ac1d631bdecf741cb1725316c0d6f9b9"
"gitHead": "522dec125e1d49bfe3b7325239bb6c9103311b2d"
}
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