layerchart 1.0.7 → 1.0.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,5 @@
1
- import { extent as d3extent, type Numeric } from 'd3-array';
1
+ import type { Numeric } from 'd3-array';
2
+ import { extent as d3extent } from 'd3-array';
2
3
  /**
3
4
  * Wrapper around d3-array's `extent()` but remove [undefined, undefined] return type
4
5
  */
@@ -1,6 +1,5 @@
1
- import { stackOffsetNone, stackOrderNone } from 'd3-shape';
2
- type OrderType = typeof stackOrderNone;
3
- type OffsetType = typeof stackOffsetNone;
1
+ type OrderType = typeof import('d3-shape').stackOrderNone;
2
+ type OffsetType = typeof import('d3-shape').stackOffsetNone;
4
3
  export declare function groupStackData<TData>(data: TData[], options: {
5
4
  xKey: string;
6
5
  groupBy?: string;
@@ -1,5 +1,5 @@
1
1
  import { flatGroup, group, max, rollup, sum } from 'd3-array';
2
- import { stack, stackOffsetNone, stackOrderNone } from 'd3-shape';
2
+ import { stack } from 'd3-shape';
3
3
  import { pivotWider } from './pivot.js';
4
4
  export function groupStackData(data, options) {
5
5
  const dataByKey = group(data, (d) => d[options.xKey]);
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "author": "Sean Lynch <techniq35@gmail.com>",
5
5
  "license": "MIT",
6
6
  "repository": "techniq/layerchart",
7
- "version": "1.0.7",
7
+ "version": "1.0.8",
8
8
  "devDependencies": {
9
9
  "@changesets/cli": "^2.28.1",
10
10
  "@mdi/js": "^7.4.47",
@@ -93,9 +93,7 @@
93
93
  "d3-time": "^3.1.0",
94
94
  "date-fns": "^4.1.0",
95
95
  "layercake": "^8.4.2",
96
- "lodash-es": "^4.17.21",
97
- "shapefile": "^0.6.6",
98
- "topojson-client": "^3.1.0"
96
+ "lodash-es": "^4.17.21"
99
97
  },
100
98
  "peerDependencies": {
101
99
  "svelte": "^3.56.0 || ^4.0.0 || ^5.0.0"