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

vap

Package Overview
Dependencies
Maintainers
2
Versions
568
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vap - npm Package Compare versions

Comparing version 1.4.2 to 1.4.3

layouts/charts/common/DefUtil.d.ts

6

layouts/charts/LabelChart/index.d.ts
import D3Chart from '../D3Chart';
import { ChartOpts, Item } from '../interface';
/**
* @public
*/
export interface Value extends Item {

@@ -10,5 +7,2 @@ label: string;

}
/**
* @public
*/
export interface LabelOpts extends ChartOpts {

@@ -15,0 +9,0 @@ data: Value[];

4

layouts/charts/LabelChart/index.js

@@ -16,4 +16,4 @@ "use strict";

var D3Chart_1 = require("../D3Chart");
var Def = require("../common/DefUtil");
var utils_1 = require("../../../../vap/utils");
var DEFS = require('./defs.html');
var Formats = {

@@ -80,3 +80,3 @@ number: function (from, to, p) { return Math.floor(from + p * (to - from)); },

this.SVG.attr('class', '_vc_label');
this.SVG.append('defs').html(DEFS);
this.SVG.append('defs').html(Def.BuildShadow());
if (_.has(this.props, 'format') && _.has(Formats, this.props.format)) {

@@ -83,0 +83,0 @@ this.format = Formats[this.props.format];

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

var topojson = require("topojson");
var DEFS = require('./__Base_defs.html');
var MapDEF_1 = require("./MapDEF");
var theme = utils_1.Page.theme();

@@ -147,3 +147,3 @@ /**

this.THEIGHT = this.HEIGHT / this.PHEIGHT;
this.SVG.append('defs').html(DEFS);
this.SVG.append('defs').html(MapDEF_1.default);
this.BkgGroup = this.SVG.append('g').attr('class', '_group_bkg');

@@ -150,0 +150,0 @@ ;

{
"name": "vap",
"version": "1.4.2",
"version": "1.4.3",
"description": "vap",

@@ -5,0 +5,0 @@ "main": "index.js",

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