Skip to content

Commit e4483f7

Browse files
committed
build: update dependencies
1 parent 16c9df8 commit e4483f7

9 files changed

Lines changed: 576 additions & 198 deletions

File tree

examples/barchart07_final_ts.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,10 @@ const yaxis = d3.axisLeft(yscale);
3636

3737
/////////////////////////
3838

39-
d3.json<IElem[]>("weather.json").then((json: IElem[]) => {
39+
d3.json<IElem[]>("weather.json").then((json?: IElem[]) => {
40+
if (!json) {
41+
return;
42+
}
4043
data = json;
4144

4245
update(data);

package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,13 @@
2222
},
2323
"homepage": "https://github.com/sgratzl/d3tutorial#readme",
2424
"dependencies": {
25-
"d3": "^6.0.0"
25+
"d3": "^6.3.1"
2626
},
2727
"devDependencies": {
28-
"@types/d3": "^5.7.2",
28+
"@types/d3": "^6.2.0",
2929
"http-server": "^0.12.3",
30-
"prettier": "^2.1.1",
31-
"shx": "^0.3.2",
32-
"typescript": "^4.0.2"
30+
"prettier": "^2.2.1",
31+
"shx": "^0.3.3",
32+
"typescript": "^4.1.2"
3333
}
3434
}

web_modules/d3/CHANGES.md

Lines changed: 222 additions & 39 deletions
Large diffs are not rendered by default.

web_modules/d3/LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Copyright 2010-2017 Mike Bostock
1+
Copyright 2010-2020 Mike Bostock
22
All rights reserved.
33

44
Redistribution and use in source and binary forms, with or without modification,

0 commit comments

Comments
 (0)