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

@antv/g-canvas

Package Overview
Dependencies
Maintainers
26
Versions
360
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@antv/g-canvas - npm Package Compare versions

Comparing version 0.5.0-beta.3 to 0.5.0-beta.4

7

esm/util/draw.js

@@ -91,3 +91,8 @@ import { each, isArray } from '@antv/util';

// 这个分支说明此次局部刷新,所有的节点和父元素没有发生变化,仅需要检查包围盒(缓存)是否相交即可
child.cfg.refresh = checkElementRefresh(child, region);
var refresh = checkElementRefresh(child, region);
child.cfg.refresh = refresh;
if (refresh && child.isGroup()) {
// 如果需要刷新,说明子元素也需要刷新,继续进行判定
checkChildrenRefresh(child.cfg.children, region);
}
}

@@ -94,0 +99,0 @@ }

@@ -97,3 +97,8 @@ "use strict";

// 这个分支说明此次局部刷新,所有的节点和父元素没有发生变化,仅需要检查包围盒(缓存)是否相交即可
child.cfg.refresh = checkElementRefresh(child, region);
var refresh = checkElementRefresh(child, region);
child.cfg.refresh = refresh;
if (refresh && child.isGroup()) {
// 如果需要刷新,说明子元素也需要刷新,继续进行判定
checkChildrenRefresh(child.cfg.children, region);
}
}

@@ -100,0 +105,0 @@ }

4

package.json
{
"name": "@antv/g-canvas",
"version": "0.5.0-beta.3",
"version": "0.5.0-beta.4",
"description": "A canvas library which providing 2d",

@@ -27,3 +27,3 @@ "main": "lib/index.js",

"test": "torch --renderer --compile --opts tests/mocha.opts",
"test-live": "torch --compile --interactive tests/unit/",
"test-live": "torch --compile --interactive tests/unit",
"tsc": "tsc --noEmit",

@@ -30,0 +30,0 @@ "typecheck": "tsc --noEmit",

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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