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

@antv/g-plugin-canvas-renderer

Package Overview
Dependencies
Maintainers
55
Versions
262
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@antv/g-plugin-canvas-renderer - npm Package Compare versions

Comparing version 1.0.0-alpha.28 to 1.0.0-alpha.29

es/CanvasRendererPlugin.d.ts

53

lib/index.js

@@ -6,24 +6,25 @@ "use strict";

});
Object.defineProperty(exports, "RBush", {
Object.defineProperty(exports, "PathGenerator", {
enumerable: true,
get: function get() {
return _rbush.default;
return _paths.PathGenerator;
}
});
Object.defineProperty(exports, "StyleRenderer", {
Object.defineProperty(exports, "PathGeneratorFactory", {
enumerable: true,
get: function get() {
return _styles.StyleRenderer;
return _paths.PathGeneratorFactory;
}
});
Object.defineProperty(exports, "PathGeneratorFactory", {
exports.Plugin = void 0;
Object.defineProperty(exports, "RBush", {
enumerable: true,
get: function get() {
return _paths.PathGeneratorFactory;
return _rbush.default;
}
});
Object.defineProperty(exports, "PathGenerator", {
Object.defineProperty(exports, "RBushNode", {
enumerable: true,
get: function get() {
return _paths.PathGenerator;
return _RBushNode.RBushNode;
}

@@ -37,9 +38,8 @@ });

});
Object.defineProperty(exports, "RBushNode", {
Object.defineProperty(exports, "StyleRenderer", {
enumerable: true,
get: function get() {
return _RBushNode.RBushNode;
return _styles.StyleRenderer;
}
});
exports.Plugin = void 0;

@@ -173,21 +173,24 @@ var _g = require("@antv/g");

var Plugin = function () {
var Plugin =
/** @class */
function () {
function Plugin() {}
Plugin.prototype.init = function (container) {
container.load(containerModule);
container.load(containerModule, true);
};
Plugin.prototype.destroy = function (container) {// @ts-ignore
// container.container.unload(containerModule);
// // container.unload(containerModule);
// container.remove(ImagePool);
// container.remove(RBushRoot);
// container.remove(DefaultRenderer);
// container.remove(ImageRenderer);
// container.remove(TextRenderer);
// container.remove(StyleRendererFactory);
// container.remove(GradientPool);
// container.remove(CanvasRendererPlugin);
// container.remove(LoadImagePlugin);
Plugin.prototype.destroy = function (container) {
// @ts-ignore
// container.unload(containerModule);
container.remove(_ImagePool.ImagePool);
container.remove(_CanvasRendererPlugin.RBushRoot);
container.remove(_styles.DefaultRenderer);
container.remove(_Image.ImageRenderer);
container.remove(_Text.TextRenderer);
container.remove(_styles.StyleRenderer);
container.remove(_styles.StyleRendererFactory);
container.remove(_GradientPool.GradientPool);
container.remove(_CanvasRendererPlugin.CanvasRendererPlugin);
container.remove(_LoadImagePlugin.LoadImagePlugin);
};

@@ -194,0 +197,0 @@

{
"name": "@antv/g-plugin-canvas-renderer",
"version": "1.0.0-alpha.28",
"version": "1.0.0-alpha.29",
"description": "A G plugin of renderer implementation with Canvas2D API",

@@ -8,5 +8,8 @@ "main": "lib/index.js",

"types": "es/index.d.ts",
"unpkg": "dist/index.umd.js",
"files": [
"package.json",
"dist",
"es",
"lib",
"LICENSE",

@@ -33,4 +36,4 @@ "README.md"

"dependencies": {
"@antv/g": "^1.0.0-alpha.28",
"@antv/g-math": "^1.0.0-alpha.8",
"@antv/g": "^1.0.0-alpha.29",
"@antv/g-math": "^1.0.0-alpha.9",
"@antv/path-util": "^2.0.14",

@@ -55,3 +58,3 @@ "mana-syringe": "^0.2.1",

"homepage": "https://github.com/antvis/g#readme",
"gitHead": "b8af919853fa578b4aa6c5e84715948085ac0170"
"gitHead": "97b0cd921c395a28d0432b33db157723b7967db1"
}

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

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