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

@forter/chart

Package Overview
Dependencies
Maintainers
3
Versions
133
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@forter/chart - npm Package Compare versions

Comparing version 5.38.0 to 5.39.0

11

CHANGELOG.md

@@ -6,2 +6,13 @@ # Change Log

# [5.39.0](https://github.com/forter/web-components/compare/@forter/chart@5.38.0...@forter/chart@5.39.0) (2024-01-14)
### Features
* **chart:** fix legend builder when legend is hidden ([1cbcfb9](https://github.com/forter/web-components/commit/1cbcfb9))
# [5.38.0](https://github.com/forter/web-components/compare/@forter/chart@5.37.5...@forter/chart@5.38.0) (2024-01-14)

@@ -8,0 +19,0 @@

@@ -158,2 +158,15 @@ import { merge } from 'lodash-es';

if (context.isLegendHidden) {
const noLegendObject = {
options: {
plugins: {
legend: {
display: false
}
}
}
};
return merge(chartJSConfig, noLegendObject);
}
const legendObject = {

@@ -160,0 +173,0 @@ options: {

4

package.json
{
"name": "@forter/chart",
"version": "5.38.0",
"version": "5.39.0",
"description": "chart from Forter Components",

@@ -61,3 +61,3 @@ "author": "Forter Developers",

},
"gitHead": "efb432466ed93ca3f17d7e173874d58b0a444b79"
"gitHead": "8d64263a83d6f5e881f6535c686e2be95b30fad1"
}

@@ -139,2 +139,14 @@ import { merge } from 'lodash-es';

export default (config, chartJSConfig, context) => {
if (context.isLegendHidden) {
const noLegendObject = {
options: {
plugins: {
legend: {
display: false,
}
}
}
};
return merge(chartJSConfig, noLegendObject);
}
const legendObject = {

@@ -141,0 +153,0 @@ options: {

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