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.8.1 to 2.8.2

6

dist/e2e/app.e2e-spec.js

@@ -10,2 +10,3 @@ "use strict";

page = new app_po_1.NgPackagedPage();
return page.navigateTo();
});

@@ -16,8 +17,7 @@ afterEach(function () {

it('it should change language from pt to en', function () {
page.navigateTo();
protractor_1.element(protractor_1.by.css('.gtaskheading.gresource')).getText()
protractor_1.element(protractor_1.by.css('.gtaskheading.gres')).getText()
.then(function (t) {
expect(t).toEqual('Resource');
protractor_1.element(protractor_1.by.cssContainingText('option', 'pt')).click();
return protractor_1.element(protractor_1.by.css('.gtaskheading.gresource')).getText();
return protractor_1.element(protractor_1.by.css('.gtaskheading.gres')).getText();
})

@@ -24,0 +24,0 @@ .then(function (t) {

@@ -522,3 +522,3 @@ "use strict";

vTmpDiv = draw_utils_1.newNode(vTaskInfo, 'div', null, 'gTILine gTId');
draw_utils_1.newNode(vTmpDiv, 'span', null, 'gTaskLabel', _this.vLangs[_this.vLang]['duration'] + ': ');
draw_utils_1.newNode(vTmpDiv, 'span', null, 'gTaskLabel', _this.vLangs[_this.vLang]['dur'] + ': ');
draw_utils_1.newNode(vTmpDiv, 'span', null, 'gTaskText', pTask.getDuration(_this.vFormat, _this.vLangs[_this.vLang]));

@@ -533,3 +533,3 @@ }

vTmpDiv = draw_utils_1.newNode(vTaskInfo, 'div', null, 'gTILine gTIr');
draw_utils_1.newNode(vTmpDiv, 'span', null, 'gTaskLabel', _this.vLangs[_this.vLang]['resource'] + ': ');
draw_utils_1.newNode(vTmpDiv, 'span', null, 'gTaskLabel', _this.vLangs[_this.vLang]['res'] + ': ');
draw_utils_1.newNode(vTmpDiv, 'span', null, 'gTaskText', pTask.getResource());

@@ -536,0 +536,0 @@ }

@@ -13,3 +13,4 @@ "use strict";

'pMile': 'mile',
'pRes': 'resource',
'pRes': 'res',
'pDuration': 'dur',
'pComp': 'comp',

@@ -16,0 +17,0 @@ 'pGroup': 'group',

{
"name": "jsgantt-improved",
"version": "2.8.1",
"version": "2.8.2",
"description": "jsgantt-improved",

@@ -11,3 +11,3 @@ "main": "dist/index.js",

"watch": "onchange 'src/**' '*.ts' -- npm run dist",
"watch:test": "onchange 'src/**/*.ts' '*.ts' -- npm run test",
"watch:test": "onchange 'src/**/*.ts' '*.ts' 'e2e/**/*.ts' -- npm run test",
"test": "npm start & node node_modules/.bin/protractor protractor.conf.js",

@@ -33,3 +33,4 @@ "test-unit": "mocha -r ts-node/register test/**.ts",

"dependencies": {
"@types/node": "^12.0.10"
"@types/node": "^12.0.10",
"webdriver-manager": "^12.1.8"
},

@@ -36,0 +37,0 @@ "devDependencies": {

@@ -143,7 +143,14 @@ [![Build Status](https://travis-ci.com/jsGanttImproved/jsgantt-improved.svg?branch=master)](https://travis-ci.com/jsGanttImproved/jsgantt-improved)

* Install global dependencies: `npm i -g browserify nodemon onchange tsc`
* Run the demo, This will start a `localhost:8080` with a live example: `npm start`.
* Run the demo, This will start a `localhost:8080` with a live example: `npm start`.
* You can check the demo gantt that we use for testing features at: `http://127.0.0.1:8080/docs/demo.html`
* Use `npm run watch` or do your change in `src` and restart this command refresh the changes.
For testing use `npm run test` with e2e tests.
For testing:
* Install global dependencies: `npm i -g webdriver-manager`
* Install selenium webdriver: `npm run webdriver`, it will install something like node_modules/webdriver-manager/selenium/chromedriver_88.0.4324.96.zip
* Use `npm run test` with e2e tests.
* Or use `npm run watch:test` to keep watching the tests
Or help us donating...

@@ -150,0 +157,0 @@

Sorry, the diff of this file is not supported yet

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

Sorry, the diff of this file is not supported yet

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