Skip to content

Commit

Permalink
build: update deps
Browse files Browse the repository at this point in the history
  • Loading branch information
sgratzl committed Sep 16, 2023
1 parent 8371d33 commit 6a12096
Show file tree
Hide file tree
Showing 5 changed files with 170 additions and 226 deletions.
14 changes: 9 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,9 @@
"@rollup/plugin-node-resolve": "^15.2.1",
"@rollup/plugin-replace": "^5.0.2",
"@rollup/plugin-typescript": "^11.1.3",
"@types/jest": "^29.5.4",
"@types/jest-image-snapshot": "^6.2.0",
"@types/node": "^20.6.0",
"@types/jest": "^29.5.5",
"@types/jest-image-snapshot": "^6.2.1",
"@types/node": "^20.6.2",
"@types/seedrandom": "^3.0.5",
"@typescript-eslint/eslint-plugin": "^6.7.0",
"@typescript-eslint/parser": "^6.7.0",
Expand All @@ -93,7 +93,7 @@
"jest-image-snapshot": "^6.2.0",
"prettier": "^3.0.3",
"rimraf": "^5.0.1",
"rollup": "^3.29.1",
"rollup": "^3.29.2",
"rollup-plugin-cleanup": "^3.2.1",
"rollup-plugin-dts": "^6.0.2",
"seedrandom": "^3.0.5",
Expand All @@ -104,11 +104,15 @@
"typedoc-vitepress-theme": "^1.0.0-next.3",
"typescript": "^5.2.2",
"us-atlas": "^3.0.1",
"vitepress": "^1.0.0-rc.13",
"vitepress": "^1.0.0-rc.14",
"vue": "^3.3.4",
"vue-chartjs": "^5.2.0",
"world-atlas": "^2.0.2"
},
"resolutions": {
"@typescript-eslint/eslint-plugin": "^6.7.0",
"@typescript-eslint/parser": "^6.7.0"
},
"scripts": {
"clean": "rimraf --glob build docs node_modules \"*.tgz\" \"*.tsbuildinfo\"",
"compile": "tsc -b tsconfig.c.json",
Expand Down
2 changes: 1 addition & 1 deletion src/__tests__/createChart.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export interface ChartHelper<TYPE extends ChartType, DATA extends unknown[] = De
export default function createChart<
TYPE extends ChartType,
DATA extends unknown[] = DefaultDataPoint<TYPE>,
LABEL = string
LABEL = string,
>(config: ChartConfiguration<TYPE, DATA, LABEL>, width = 800, height = 600): ChartHelper<TYPE, DATA, LABEL> {
const canvas = document.createElement('canvas');
canvas.width = width;
Expand Down
2 changes: 1 addition & 1 deletion src/controllers/GeoController.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ function patchDatasetElementOptions(options: any) {

export class GeoController<
TYPE extends keyof ChartTypeRegistry,
TElement extends Element & VisualElement
TElement extends Element & VisualElement,
> extends DatasetController<TYPE, TElement, GeoFeature> {
getGeoDataset(): ChartDataset<'choropleth' | 'bubbleMap'> & IGeoControllerDatasetOptions {
return super.getDataset() as unknown as ChartDataset<'choropleth' | 'bubbleMap'> & IGeoControllerDatasetOptions;
Expand Down
2 changes: 1 addition & 1 deletion src/scales/LegendScale.ts
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ export class LegendScale<O extends ILegendScaleOptions & LinearScaleOptions> ext
}

export class LogarithmicLegendScale<
O extends ILegendScaleOptions & LogarithmicScaleOptions
O extends ILegendScaleOptions & LogarithmicScaleOptions,
> extends LogarithmicScale<O> {
/**
* @hidden
Expand Down
Loading

0 comments on commit 6a12096

Please sign in to comment.