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 4.0.5 to 4.0.6

test/default properties/expected-light.html

8

CHANGELOG.md

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

## [4.0.6](https://github.com/forter/web-components/compare/@forter/chart@4.0.5...@forter/chart@4.0.6) (2020-03-09)
**Note:** Version bump only for package @forter/chart
## [4.0.5](https://github.com/forter/web-components/compare/@forter/chart@4.0.4...@forter/chart@4.0.5) (2020-02-05)

@@ -8,0 +16,0 @@

5

FcChart.js
import { decorate as _decorate } from './_virtual/_rollupPluginBabelHelpers.js';
import { LitElement, property, html } from 'lit-element';
import { Chart } from 'chart.js';
import 'chart.js';
import style from './fc-chart.css';
const {
Chart
} = window;
Chart.defaults.global.legend.position = 'bottom';

@@ -7,0 +10,0 @@ Chart.defaults.global.legend.labels.usePointStyle = true;

4

package.json
{
"name": "@forter/chart",
"version": "4.0.5",
"version": "4.0.6",
"description": "Chart from Forter Components",

@@ -49,3 +49,3 @@ "main": "index.js",

},
"gitHead": "87716e298800395f12d233964b9a3a0663095670"
"gitHead": "1075b4d09866edb0abd6dd1d991cd49b04ad340f"
}

@@ -1,11 +0,19 @@

import { expect, defineCE, fixture } from '@open-wc/testing';
import { assertWebComponentRender } from '@forter/test-helpers';
import { markdownToProperties } from '@forter/storybook-helpers';
import markdown from '../README.md';
import './fc-chart';
import { FcChart } from './FcChart';
describe('fc-chart', () => {
const Chart = defineCE(FcChart);
it('Instantiates without error', async () => {
const element = await fixture(`<${Chart}></${Chart}>`);
expect(element.localName).to.equal(Chart);
});
});
const properties = markdownToProperties(FcChart, markdown);
describe(FcChart.is, assertWebComponentRender(
FcChart.is,
properties, {
chaiDomDiffOpts: {
ignoreAttributes: [
{ tags: ['canvas'], attributes: ['style', 'width', 'height'] },
],
},
}
));
import { LitElement, html, property } from 'lit-element';
import { Chart } from 'chart.js';
import 'chart.js';
import style from './fc-chart.css';
const { Chart } = window;
Chart.defaults.global.legend.position = 'bottom';

@@ -7,0 +8,0 @@ Chart.defaults.global.legend.labels.usePointStyle = true;

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