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

jsgantt-improved

Package Overview
Dependencies
Maintainers
1
Versions
104
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jsgantt-improved - npm Package Compare versions

Comparing version 2.0.0 to 2.0.1

18

dist/src/task.js

@@ -225,4 +225,18 @@ "use strict";

this.getName = function () { return vName; };
this.getStart = function () { return vStart ? vStart : vPlanStart; };
this.getEnd = function () { return vEnd ? vEnd : vPlanEnd; };
this.getStart = function () {
if (vStart)
return vStart;
else if (vPlanStart)
return vPlanStart;
else
return new Date();
};
this.getEnd = function () {
if (vEnd)
return vEnd;
else if (vPlanEnd)
return vPlanEnd;
else
return new Date();
};
this.getPlanStart = function () { return vPlanStart ? vPlanStart : vStart; };

@@ -229,0 +243,0 @@ this.getPlanEnd = function () { return vPlanEnd ? vPlanEnd : vEnd; };

2

package.json
{
"name": "jsgantt-improved",
"version": "2.0.0",
"version": "2.0.1",
"description": "jsgantt-improved",

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

@@ -253,4 +253,12 @@ import { parseDateStr, isIE, stripUnwanted, getOffset, formatDateStr } from "./utils";

this.getName = function () { return vName; };
this.getStart = function () { return vStart ? vStart : vPlanStart; };
this.getEnd = function () { return vEnd ? vEnd : vPlanEnd; };
this.getStart = function () {
if (vStart) return vStart;
else if (vPlanStart) return vPlanStart;
else return new Date();
};
this.getEnd = function () {
if (vEnd) return vEnd;
else if (vPlanEnd) return vPlanEnd;
else return new Date();
};
this.getPlanStart = function () { return vPlanStart ? vPlanStart : vStart; };

@@ -277,3 +285,2 @@ this.getPlanEnd = function () { return vPlanEnd ? vPlanEnd : vEnd; };

this.getToDelete = function () { return vToDelete; };
this.getDuration = function (pFormat, pLang) {

@@ -280,0 +287,0 @@ if (vMile) {

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

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