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

@meta2d/core

Package Overview
Dependencies
Maintainers
0
Versions
69
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@meta2d/core - npm Package Compare versions

Comparing version 1.0.58 to 1.0.59

73

package.json
{
"name": "@meta2d/core",
"version": "1.0.58",
"description": "@meta2d/core: Powerful, Beautiful, Simple, Open - Web-Based 2D At Its Best .",
"main": "index.js",
"types": "index.d.ts",
"scripts": {
"build": "tsc"
},
"keywords": [
"meta2d",
"diagram",
"2D",
"canvas"
],
"author": "alsmile123@qq.com",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/le5le-com/meta2d.js.git"
},
"bugs": {
"url": "https://github.com/le5le-com/meta2d.js/issues"
},
"homepage": "https://github.com/le5le-com/meta2d.js#readme",
"devDependencies": {
"@types/marked": "^4.0.3",
"@types/offscreencanvas": "latest"
},
"dependencies": {
"mitt": "^2.1.0",
"mqtt": "^4.2.6"
},
"publishConfig": {
"access": "public"
},
"gitHead": "78f2a53ca1839c89b56e2e498d17ba4eb987ad14"
"name": "@meta2d/core",
"version": "1.0.59",
"description": "@meta2d/core: Powerful, Beautiful, Simple, Open - Web-Based 2D At Its Best .",
"main": "index.js",
"types": "index.d.ts",
"scripts": {
"copy": "copyfiles package.json ../../dist/core/",
"build": "tsc && npm run copy"
},
"keywords": [
"meta2d",
"diagram",
"2D",
"canvas"
],
"author": "alsmile123@qq.com",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/le5le-com/meta2d.js.git"
},
"bugs": {
"url": "https://github.com/le5le-com/meta2d.js/issues"
},
"homepage": "https://github.com/le5le-com/meta2d.js#readme",
"devDependencies": {
"@types/marked": "^4.0.3",
"@types/offscreencanvas": "latest"
},
"dependencies": {
"mitt": "^2.1.0",
"mqtt": "^4.2.6"
},
"publishConfig": {
"access": "public"
},
"gitHead": "78f2a53ca1839c89b56e2e498d17ba4eb987ad14"
}

@@ -62,3 +62,3 @@ import { EventType, Handler, WildcardHandler } from 'mitt';

initEventFns(): void;
navigatorTo(id: string): void;
navigatorTo(id: string): Promise<void>;
doSendDataEvent(value: any, topics?: string): void;

@@ -164,2 +164,9 @@ sendDataToNetWork(value: any, pen: Pen, e: any): Promise<void>;

appendChild(pens?: Pen[]): void;
/***
* 修改子图元大小,更新整个组合图元
* @param rect 新的大小 世界坐标
* @param child 待更新子图元
* @param parent 父图元
*/
updateRectbyChild(rect: Rect, child: Pen, parent: Pen): void;
isCombine(pen: Pen): boolean;

@@ -223,2 +230,3 @@ active(pens: Pen[], emit?: boolean): void;

penNetwork(pen: Pen): void;
getCookie(name: string): string;
getDynamicParam(key: string): any;

@@ -225,0 +233,0 @@ onNetworkConnect(https: Network[]): void;

@@ -64,2 +64,3 @@ export * from './rectangle';

panel: typeof panel;
combine: typeof rectangle;
};

@@ -66,0 +67,0 @@ export declare function commonAnchors(): {

@@ -65,3 +65,4 @@ export * from './rectangle';

mindNode2: rectangle,
panel
panel,
combine: rectangle,
};

@@ -68,0 +69,0 @@ }

@@ -145,4 +145,4 @@ export class Dialog {

this.dialog.style.height = rect.height ? (rect.height + 'px') : '420px';
this.box.style.display = 'block';
}
this.box.style.display = 'block';
}

@@ -149,0 +149,0 @@ hide() {

@@ -117,2 +117,7 @@ import { TextAlign, TextBaseline, Pen } from './pen';

reconnetTimes?: number;
navigatorNetWork?: {
url?: string;
headers?: any;
method?: string;
};
}

@@ -119,0 +124,0 @@ export declare const defaultOptions: Options;

@@ -274,2 +274,3 @@ import { Point } from '../point';

childActive?: boolean;
draw?: boolean;
calculative?: {

@@ -276,0 +277,0 @@ x?: number;

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 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

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