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

@idraw/types

Package Overview
Dependencies
Maintainers
2
Versions
124
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@idraw/types - npm Package Compare versions

Comparing version 0.4.0-alpha.5 to 0.4.0-alpha.6

2

package.json
{
"name": "@idraw/types",
"version": "0.4.0-alpha.5",
"version": "0.4.0-alpha.6",
"description": "",

@@ -5,0 +5,0 @@ "main": "src/index.ts",

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

resize(viewSize: Partial<ViewSizeInfo>): ViewSizeInfo;
updateViewScaleInfo(opts: { scale: number; offsetX: number; offsetY: number }): ViewScaleInfo;
}

@@ -129,0 +130,0 @@

@@ -1,4 +0,5 @@

import type { ElementBaseDetail, ElementTextDetail } from './element';
import type { ElementBaseDetail, ElementTextDetail, ElementGroupDetail } from './element';
export type DefaultElementDetailConfig = Required<Omit<ElementBaseDetail, 'clipPath' | 'background'>> &
Required<Pick<ElementTextDetail, 'color' | 'textAlign' | 'verticalAlign' | 'fontSize' | 'fontFamily' | 'fontWeight' | 'lineHeight'>>;
Required<Pick<ElementTextDetail, 'color' | 'textAlign' | 'verticalAlign' | 'fontSize' | 'fontFamily' | 'fontWeight' | 'lineHeight'>> &
Required<Pick<ElementGroupDetail, 'overflow'>>;

@@ -28,2 +28,3 @@ import type { Element, ElementType } from './element';

uuids: string[];
positions?: Array<Array<number>>;
}

@@ -30,0 +31,0 @@ export interface CoreEventChange {

@@ -130,3 +130,3 @@ import { PointSize } from './point';

children: Element<ElementType>[];
overflow?: 'hidden';
overflow?: 'hidden' | 'visible';
assets?: ElementAssets;

@@ -181,1 +181,3 @@ }

export type Elements = Element<ElementType>[];
export type ElementPosition = number[];
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