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

@visactor/vutils-extension

Package Overview
Dependencies
Maintainers
15
Versions
300
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@visactor/vutils-extension - npm Package Compare versions

Comparing version 1.4.2-beta.1 to 1.5.1-alpha.0

2

cjs/transform/tick-data/interface.d.ts

@@ -1,2 +0,2 @@

import { ITextGraphicAttribute } from '@visactor/vrender';
import { ITextGraphicAttribute } from '@visactor/vrender-core';
export type CoordinateType = 'cartesian' | 'polar' | 'geo' | 'none';

@@ -3,0 +3,0 @@ export type IOrientType = 'left' | 'top' | 'right' | 'bottom' | 'z';

import type { IBaseScale } from '@visactor/vscale';
import type { IBoundsLike } from '@visactor/vutils';
import { AABBBounds } from '@visactor/vutils';
import type { IGraphic } from '@visactor/vrender';
import type { IGraphic } from '@visactor/vrender-core';
import type { ICartesianTickDataOpt, IOrientType, IPolarTickDataOpt, ITickData } from './interface';

@@ -6,0 +6,0 @@ export declare const convertDomainToTickData: (domain: any[]) => ITickData[];

import type { ITextMeasureOption } from '@visactor/vutils';
import { TextMeasure } from '@visactor/vutils';
import { ITextGraphicAttribute } from '@visactor/vrender';
import { ITextGraphicAttribute } from '@visactor/vrender-core';
export declare const initTextMeasure: (textSpec?: Partial<ITextGraphicAttribute>, option?: Partial<ITextMeasureOption>, useNaiveCanvas?: boolean, defaultFontParams?: Partial<ITextGraphicAttribute>) => TextMeasure<ITextGraphicAttribute>;

@@ -7,3 +7,3 @@ "use strict";

const vutils_1 = require("@visactor/vutils"), vrender_1 = require("@visactor/vrender"), initTextMeasure = (textSpec, option, useNaiveCanvas, defaultFontParams) => new vutils_1.TextMeasure(Object.assign({
const vutils_1 = require("@visactor/vutils"), vrender_core_1 = require("@visactor/vrender-core"), initTextMeasure = (textSpec, option, useNaiveCanvas, defaultFontParams) => new vutils_1.TextMeasure(Object.assign({
defaultFontParams: Object.assign({

@@ -13,3 +13,3 @@ fontFamily: "PingFang SC,Helvetica Neue,Microsoft Yahei,system-ui,-apple-system,segoe ui,Roboto,Helvetica,Arial,sans-serif,apple color emoji,segoe ui emoji,segoe ui symbol",

}, defaultFontParams),
getTextBounds: useNaiveCanvas ? void 0 : vrender_1.getTextBounds,
getTextBounds: useNaiveCanvas ? void 0 : vrender_core_1.getTextBounds,
specialCharSet: "-/: .,@%'\"~" + vutils_1.TextMeasure.ALPHABET_CHAR_SET + vutils_1.TextMeasure.ALPHABET_CHAR_SET.toUpperCase()

@@ -16,0 +16,0 @@ }, null != option ? option : {}), textSpec);

@@ -1,2 +0,2 @@

import { ITextGraphicAttribute } from '@visactor/vrender';
import { ITextGraphicAttribute } from '@visactor/vrender-core';
export type CoordinateType = 'cartesian' | 'polar' | 'geo' | 'none';

@@ -3,0 +3,0 @@ export type IOrientType = 'left' | 'top' | 'right' | 'bottom' | 'z';

import type { IBaseScale } from '@visactor/vscale';
import type { IBoundsLike } from '@visactor/vutils';
import { AABBBounds } from '@visactor/vutils';
import type { IGraphic } from '@visactor/vrender';
import type { IGraphic } from '@visactor/vrender-core';
import type { ICartesianTickDataOpt, IOrientType, IPolarTickDataOpt, ITickData } from './interface';

@@ -6,0 +6,0 @@ export declare const convertDomainToTickData: (domain: any[]) => ITickData[];

import type { ITextMeasureOption } from '@visactor/vutils';
import { TextMeasure } from '@visactor/vutils';
import { ITextGraphicAttribute } from '@visactor/vrender';
import { ITextGraphicAttribute } from '@visactor/vrender-core';
export declare const initTextMeasure: (textSpec?: Partial<ITextGraphicAttribute>, option?: Partial<ITextMeasureOption>, useNaiveCanvas?: boolean, defaultFontParams?: Partial<ITextGraphicAttribute>) => TextMeasure<ITextGraphicAttribute>;
import { TextMeasure } from "@visactor/vutils";
import { getTextBounds } from "@visactor/vrender";
import { getTextBounds } from "@visactor/vrender-core";

@@ -5,0 +5,0 @@ export const initTextMeasure = (textSpec, option, useNaiveCanvas, defaultFontParams) => new TextMeasure(Object.assign({

{
"name": "@visactor/vutils-extension",
"version": "1.4.2-beta.1",
"version": "1.5.1-alpha.0",
"description": "The extension module for VUtil from VisActor",

@@ -17,3 +17,4 @@ "sideEffects": false,

"@visactor/vscale": "~0.16.1",
"@visactor/vrender": "~0.15.5"
"@visactor/vrender-core": "~0.16.0",
"@visactor/vrender-kits": "~0.16.0"
},

@@ -20,0 +21,0 @@ "devDependencies": {

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

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