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

@logicflow/core

Package Overview
Dependencies
Maintainers
6
Versions
227
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@logicflow/core - npm Package Compare versions

Comparing version 1.2.10 to 1.2.11

CHANGELOG.md

4

package.json
{
"name": "@logicflow/core",
"version": "1.2.10",
"version": "1.2.11",
"description": "LogicFlow core, to quickly build flowchart editor",

@@ -11,3 +11,3 @@ "main": "dist/entry.js",

"license": "Apache-2.0",
"homepage": "https://docs.logic-flow.cn",
"homepage": "https://site.logic-flow.cn",
"types": "types/index.d.ts",

@@ -14,0 +14,0 @@ "repository": {

@@ -14,2 +14,8 @@ import GraphModel from './model/GraphModel';

import { EventType } from './constant/constant';
declare const pluginFlag: unique symbol;
declare type ExtensionMapValueType = {
extension: Extension;
props?: any;
[pluginFlag]: symbol;
};
declare type GraphConfigModel = {

@@ -54,3 +60,3 @@ nodes: _Model.BaseNodeModel[];

*/
static extensions: Map<string, Extension>;
static extensions: Map<string, ExtensionMapValueType>;
/**

@@ -500,3 +506,3 @@ * 插件扩展方法

*/
static use(extension: Extension): void;
static use(extension: Extension, props?: any): void;
private initContainer;

@@ -503,0 +509,0 @@ private installPlugins;

@@ -305,2 +305,3 @@ import { h } from 'preact';

options: Record<string, any>;
props?: any;
};

@@ -307,0 +308,0 @@ export interface ExtensionConstructor {

@@ -89,3 +89,3 @@ import BaseNode from '../model/node/BaseNodeModel';

export declare const getBezierPoints: (path: string) => Point[];
export declare const getEndTangent: (path: string) => Point[];
export declare const getEndTangent: (pointsList: any, offset: any) => Point[];
/**

@@ -92,0 +92,0 @@ * 获取移动边后,文本位置距离边上的最近的一点

import { Point, Vector } from '../type/index';
export declare function sampleCubic(p1: Point, cp1: Point, cp2: Point, p2: Point): {
x: number;
y: number;
};
export declare function sampleCubic(p1: Point, cp1: Point, cp2: Point, p2: Point, offset: number): Point;
export declare function getThetaOfVector(v: Vector): number;
export declare function degrees(radians: number): number;

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

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