Skip to content

Commit c4e22f5

Browse files
author
Nicolas ERNY
authored
Update GoJS version (2.1.19) (#118)
* Update GoJS version * Fix build
1 parent 6692671 commit c4e22f5

4 files changed

Lines changed: 435 additions & 235 deletions

File tree

.travis.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
language: node_js
22
node_js:
3-
- '8'
43
- '10'
54
- '12'
65
sudo: false

package.json

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -27,15 +27,15 @@
2727
},
2828
"homepage": "https://github.com/xcomponent/react-gojs#readme",
2929
"devDependencies": {
30-
"@types/enzyme": "^3.10.3",
30+
"@types/enzyme": "^3.10.5",
3131
"@types/jest": "^24.0.17",
32-
"@types/node": "^12.7.1",
33-
"@types/react": "^16.9.1",
34-
"@types/react-dom": "^16.8.5",
35-
"coveralls": "^3.0.6",
36-
"enzyme": "^3.10.0",
37-
"enzyme-adapter-react-16": "^1.14.0",
38-
"husky": "^3.0.3",
32+
"@types/node": "^14.0.14",
33+
"@types/react": "^16.9.41",
34+
"@types/react-dom": "^16.9.8",
35+
"coveralls": "^3.1.0",
36+
"enzyme": "^3.11.0",
37+
"enzyme-adapter-react-16": "^1.15.2",
38+
"husky": "^4.2.5",
3939
"jest": "^24.8.0",
4040
"jest-canvas-mock": "^2.1.0",
4141
"prettier": "1.18.2",
@@ -47,10 +47,10 @@
4747
"tslint-config-prettier": "^1.18.0",
4848
"tslint-plugin-prettier": "^2.0.1",
4949
"tslint-react": "^4.0.0",
50-
"typescript": "^3.5.3"
50+
"typescript": "^3.9.5"
5151
},
5252
"dependencies": {
53-
"gojs": "^2.0.15"
53+
"gojs": "^2.1.19"
5454
},
5555
"peerDependencies": {
5656
"react": "16.x",

src/GojsDiagram.test.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,9 @@ describe('<GojsDiagram />', () => {
104104
left: 0,
105105
x: 0,
106106
y: 0,
107-
toJSON: null,
107+
toJSON: () => {
108+
console.log('test');
109+
},
108110
bottom: 0,
109111
right: 0
110112
};

0 commit comments

Comments
 (0)