← All tasks
javascriptvisgl/deck.gl #10267Not a task: not reproduced

[Bug] Missing dependency on `@types/geojson` in `@deck.gl/layers`

envgap__visgl__deck.gl-10267

01 / FAILURE SIGNATURE

As reported upstream

No identifying execution failure has been captured.
Not a benchmark task.
  • In a clean container the reported failure did not reproduce, or the known fix did not make the project run.

02 / ENVIRONMENT RECIPE

Base commit
676780175d72fbf7676ccfe435c3b1100f618f20
Manifest
modules/layers/package.json
Reproduce
Awaiting issue-specific recipe
Run under trace
Awaiting a meaningful runtime command

03 / ORIGINAL ISSUE TEXT

visgl/deck.gl #10267 · read the original issue
### Description

`geojson` types are imported in the following places:
* https://github.com/visgl/deck.gl/blob/e089fb55b91f4c39779b39d256ac957bf68f8a08/modules/layers/src/geojson-layer/geojson.ts#L16
* https://github.com/visgl/deck.gl/blob/e089fb55b91f4c39779b39d256ac957bf68f8a08/modules/layers/src/geojson-layer/geojson-layer.ts#L21

But `@types/geojson` is not declared as a package dependency. It is often present as a transitive dependency, but can run into issues in a pnpm/yarn workspace with hoisting.

### Flavors

- [ ] Script tag
- [ ] React
- [ ] Python/Jupyter notebook
- [ ] MapboxOverlay
- [ ] GoogleMapsOverlay
- [ ] CARTO
- [ ] ArcGIS

### Expected Behavior

_No response_

### Steps to Reproduce

N/A

### Environment

N/A


### Logs

_No response_
Continue on GitHub ↗

04 / LABELS

Labels from the report text only; not yet run

No supported category has been assigned.

Label rules and the text that matched
[]