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

@density/chart-historical-counts

Package Overview
Dependencies
Maintainers
4
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@density/chart-historical-counts - npm Package Compare versions

Comparing version 1.3.1 to 1.3.2

4

dist/index.js

@@ -178,3 +178,3 @@ 'use strict';

var yPosition = yScale(i.count);
if (xPosition >= 0) {
if (xPosition > 0) {
return total + 'H' + xPosition + 'V' + yPosition;

@@ -187,3 +187,3 @@ } else {

graphGroup.select('.historical-counts-path').attr('d', pathPrefix + linePath + pathSuffix);
graphGroup.select('.historical-counts-path-outline').attr('d', pathPrefix + linePath + ('H' + graphWidth));
graphGroup.select('.historical-counts-path-outline').attr('d', 'M0,' + yScale(initialCount) + linePath + ('H' + graphWidth));

@@ -190,0 +190,0 @@ // Draw the axes in the svg

@@ -173,3 +173,3 @@ import './styles.scss';

const yPosition = yScale(i.count);
if (xPosition >= 0) {
if (xPosition > 0) {
return `${total}H${xPosition}V${yPosition}`;

@@ -184,3 +184,3 @@ } else {

graphGroup.select('.historical-counts-path-outline')
.attr('d', pathPrefix + linePath + `H${graphWidth}`);
.attr('d', `M0,${yScale(initialCount)}` + linePath + `H${graphWidth}`);

@@ -187,0 +187,0 @@

{
"name": "@density/chart-historical-counts",
"version": "1.3.1",
"version": "1.3.2",
"description": "Historical Counts chart",

@@ -5,0 +5,0 @@ "main": "dist/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