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

@gravity-ui/chartkit

Package Overview
Dependencies
Maintainers
3
Versions
183
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@gravity-ui/chartkit - npm Package Compare versions

Comparing version 2.2.0 to 2.2.1

6

build/plugins/highcharts/renderer/helpers/prepare-data.js
import moment from 'moment';
import lodashMin from 'lodash/min';
import { i18n } from '../../../../i18n';
import { ChartKitError, CHARTKIT_ERROR_CODE } from '../../../../libs';

@@ -93,3 +94,6 @@ import { DEFAULT_LINES_LIMIT } from './constants';

(Array.isArray(data) && !data.length)) {
throw new ChartKitError({ code: CHARTKIT_ERROR_CODE.NO_DATA });
throw new ChartKitError({
code: CHARTKIT_ERROR_CODE.NO_DATA,
message: i18n('error', 'label_no-data'),
});
}

@@ -96,0 +100,0 @@ if (data.graphs) {

# Changelog
## [2.2.1](https://github.com/gravity-ui/chartkit/compare/v2.2.0...v2.2.1) (2023-03-27)
### Bug Fixes
* **Highcharts plugin:** proper message for empty data ([#140](https://github.com/gravity-ui/chartkit/issues/140)) ([ee41ace](https://github.com/gravity-ui/chartkit/commit/ee41ace81ddaa88601b584273a7759dfe1dbe1c9))
## [2.2.0](https://github.com/gravity-ui/chartkit/compare/v2.1.0...v2.2.0) (2023-03-21)

@@ -4,0 +11,0 @@

2

package.json
{
"name": "@gravity-ui/chartkit",
"version": "2.2.0",
"version": "2.2.1",
"description": "React component used to render charts based on any sources you need",

@@ -5,0 +5,0 @@ "license": "MIT",

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