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

ngx-line-chart

Package Overview
Dependencies
Maintainers
1
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ngx-line-chart - npm Package Compare versions

Comparing version 0.0.1-beta.3 to 0.0.1-beta.4

8

index.js

@@ -101,3 +101,3 @@ import { CommonModule } from '@angular/common';

LineChartComponent.prototype.applyDefaultStyle = function () {
this.style = deepmerge(this.style, LineChartComponent.DEFAULT_STYLE);
this.style = deepmerge(this.style || {}, LineChartComponent.DEFAULT_STYLE);
};

@@ -190,3 +190,7 @@ return LineChartComponent;

}
return (value - min) / (minAndMax.max - min);
var /** @type {?} */ divider = minAndMax.max - min;
if (divider === 0) {
return 0;
}
return (value - min) / divider;
};

@@ -193,0 +197,0 @@ /**

@@ -105,3 +105,3 @@ (function (global, factory) {

LineChartComponent.prototype.applyDefaultStyle = function () {
this.style = deepmerge(this.style, LineChartComponent.DEFAULT_STYLE);
this.style = deepmerge(this.style || {}, LineChartComponent.DEFAULT_STYLE);
};

@@ -194,3 +194,7 @@ return LineChartComponent;

}
return (value - min) / (minAndMax.max - min);
var /** @type {?} */ divider = minAndMax.max - min;
if (divider === 0) {
return 0;
}
return (value - min) / divider;
};

@@ -197,0 +201,0 @@ /**

{
"name": "ngx-line-chart",
"version": "0.0.1-beta.3",
"version": "0.0.1-beta.4",
"repository": {

@@ -5,0 +5,0 @@ "type": "git",

@@ -33,3 +33,3 @@ # ngx-line-chart

// Import your library
// Import the module
import { NgxLineChartModule } from 'ngx-line-chart';

@@ -43,2 +43,3 @@

BrowserModule,
// Add module here
NgxLineChartModule

@@ -45,0 +46,0 @@ ],

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