@dra2020/district-analytics 15.4.6 → 15.6.1
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.
- package/dist/district-analytics.js +133 -102
- package/dist/district-analytics.js.map +1 -1
- package/dist/src/index.d.ts +1 -0
- package/package.json +2 -2
package/dist/src/index.d.ts
CHANGED
|
@@ -12,6 +12,7 @@ export declare type RPVFactor = Types.RPVFactor;
|
|
|
12
12
|
export declare type RPVAnalysis = Types.RPVAnalysis;
|
|
13
13
|
export declare const estSeatProbability: typeof Partisan.estSeatProbability;
|
|
14
14
|
export declare const ratePartisanBias: typeof Rate.ratePartisanBias;
|
|
15
|
+
export declare const normalizePartisanBias: typeof Rate.normalizePartisanBias;
|
|
15
16
|
export declare const isAntimajoritarian: typeof Rate.isAntimajoritarian;
|
|
16
17
|
export declare const avgSVError = 0.02;
|
|
17
18
|
export declare const effectiveSplits: typeof Splitting.effectiveSplits;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dra2020/district-analytics",
|
|
3
|
-
"version": "15.
|
|
3
|
+
"version": "15.6.1",
|
|
4
4
|
"description": "District analytics TypeScript package",
|
|
5
5
|
"main": "dist/district-analytics.js",
|
|
6
6
|
"files": [
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
},
|
|
49
49
|
"dependencies": {
|
|
50
50
|
"@dra2020/baseclient": "^1.0.67",
|
|
51
|
-
"@dra2020/dra-analytics": "^3.3.
|
|
51
|
+
"@dra2020/dra-analytics": "^3.3.5",
|
|
52
52
|
"@dra2020/dra-types": "^1.8.57",
|
|
53
53
|
"geojson": "^0.5.0"
|
|
54
54
|
}
|