Skip to content

Commit

Permalink
deps: Upgrade deck.gl to v9.0.30
Browse files Browse the repository at this point in the history
  • Loading branch information
donmccurdy authored Sep 25, 2024
2 parents b225e40 + d26d908 commit 22ccf6f
Show file tree
Hide file tree
Showing 4 changed files with 1,048 additions and 1,104 deletions.
26 changes: 13 additions & 13 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,20 +52,20 @@
"LICENSE.md"
],
"devDependencies": {
"@deck.gl/aggregation-layers": "^9.0.14",
"@deck.gl/carto": "^9.0.14",
"@deck.gl/core": "^9.0.14",
"@deck.gl/extensions": "^9.0.14",
"@deck.gl/geo-layers": "^9.0.14",
"@deck.gl/layers": "^9.0.12",
"@deck.gl/mesh-layers": "^9.0.12",
"@deck.gl/react": "^9.0.17",
"@deck.gl/aggregation-layers": "^9.0.30",
"@deck.gl/carto": "^9.0.30",
"@deck.gl/core": "^9.0.30",
"@deck.gl/extensions": "^9.0.30",
"@deck.gl/geo-layers": "^9.0.30",
"@deck.gl/layers": "^9.0.30",
"@deck.gl/mesh-layers": "^9.0.30",
"@deck.gl/react": "^9.0.30",
"@lit/react": "^1.0.5",
"@lit/task": "^1.0.1",
"@loaders.gl/core": "^4.2.1",
"@luma.gl/core": "^9.0.12",
"@luma.gl/engine": "^9.0.12",
"@sveltejs/vite-plugin-svelte": "^3.1.1",
"@loaders.gl/core": "^4.2.3",
"@luma.gl/core": "^9.0.27",
"@luma.gl/engine": "^9.0.27",
"@sveltejs/vite-plugin-svelte": "^3.1.2",
"@types/json-schema": "^7.0.15",
"@types/react": "^18.3.3",
"@types/react-dom": "^18.3.0",
Expand All @@ -77,7 +77,7 @@
"echarts": "^5.5.0",
"lit": "^3.1.4",
"lit-analyzer": "^1.2.1",
"maplibre-gl": "^4.1.3",
"maplibre-gl": "^4.6.0",
"microbundle": "^0.15.1",
"prettier": "^2.6.2",
"react": "^18.3.1",
Expand Down
12 changes: 8 additions & 4 deletions src/sources/wrappers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ export async function h3TableSource(
props: H3TableSourceOptions
): Promise<H3TableSourceResponse> {
assignDefaultProps(props);
const response = await _h3TableSource(props);
const response = await _h3TableSource(props as _H3TableSourceOptions);
return {...response, widgetSource: new WidgetTableSource(props)};
}

Expand All @@ -90,7 +90,7 @@ export async function h3QuerySource(
props: H3QuerySourceOptions
): Promise<H3QuerySourceResponse> {
assignDefaultProps(props);
const response = await _h3QuerySource(props);
const response = await _h3QuerySource(props as _H3QuerySourceOptions);
return {...response, widgetSource: new WidgetQuerySource(props)};
}

Expand All @@ -109,7 +109,9 @@ export async function quadbinTableSource(
props: QuadbinTableSourceOptions & WidgetBaseSourceProps
): Promise<QuadbinTableSourceResponse> {
assignDefaultProps(props);
const response = await _quadbinTableSource(props);
const response = await _quadbinTableSource(
props as _QuadbinTableSourceOptions
);
return {...response, widgetSource: new WidgetTableSource(props)};
}

Expand All @@ -118,7 +120,9 @@ export async function quadbinQuerySource(
props: QuadbinQuerySourceOptions & WidgetBaseSourceProps
): Promise<QuadbinQuerySourceResponse> {
assignDefaultProps(props);
const response = await _quadbinQuerySource(props);
const response = await _quadbinQuerySource(
props as _QuadbinQuerySourceOptions
);
return {...response, widgetSource: new WidgetQuerySource(props)};
}

Expand Down
10 changes: 8 additions & 2 deletions test/sources/wrappers.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,16 @@ const createMockFetchForTileJSON = () =>
vi
.fn()
.mockResolvedValueOnce(
createMockFetchResponse({label: 'mapInit', tilejson: {url: ''}})
createMockFetchResponse({
label: 'mapInit',
tilejson: {url: ['https://example.com']},
})
)
.mockResolvedValueOnce(
createMockFetchResponse({label: 'tilejson', tilejson: {url: ''}})
createMockFetchResponse({
label: 'tilejson',
tilejson: {url: ['https://example.com']},
})
);

const createMockFetchResponse = (data: unknown) => ({
Expand Down
Loading

0 comments on commit 22ccf6f

Please sign in to comment.