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

d2-charts-api

Package Overview
Dependencies
Maintainers
1
Versions
64
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

d2-charts-api - npm Package Compare versions

Comparing version 32.0.6 to 33.0.0

1

lib/config/adapters/dhis_highcharts/title/index.js

@@ -22,2 +22,3 @@ 'use strict';

switch (layout.type) {
case _type.CHART_TYPE_GAUGE:
case _type.CHART_TYPE_YEAR_OVER_YEAR_LINE:

@@ -24,0 +25,0 @@ case _type.CHART_TYPE_YEAR_OVER_YEAR_COLUMN:

1

lib/store/adapters/dhis_highcharts/gauge.js

@@ -11,3 +11,2 @@ "use strict";

acc.push({
name: metaData.items[seriesId].name,
data: [parseFloat(idValueMap.get(seriesId))]

@@ -14,0 +13,0 @@ });

{
"name": "d2-charts-api",
"version": "32.0.6",
"version": "33.0.0",
"description": "DHIS2 charts api",

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

import isString from 'd2-utilizr/lib/isString';
import getFilterTitle from '../getFilterTitle';
import { CHART_TYPE_YEAR_OVER_YEAR_LINE, CHART_TYPE_YEAR_OVER_YEAR_COLUMN } from '../type';
import {
CHART_TYPE_YEAR_OVER_YEAR_LINE,
CHART_TYPE_YEAR_OVER_YEAR_COLUMN,
CHART_TYPE_GAUGE,
} from '../type';
import getYearOverYearTitle from './yearOverYear';

@@ -45,2 +49,3 @@

switch (layout.type) {
case CHART_TYPE_GAUGE:
case CHART_TYPE_YEAR_OVER_YEAR_LINE:

@@ -47,0 +52,0 @@ case CHART_TYPE_YEAR_OVER_YEAR_COLUMN:

@@ -5,5 +5,4 @@ export default function(acc, seriesIds, categoryIds, idValueMap, metaData) {

acc.push({
name: metaData.items[seriesId].name,
data: [parseFloat(idValueMap.get(seriesId))],
});
}
}

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