@dra2020/district-analytics 5.3.3 → 5.4.0
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/cli.js +4 -20
- package/dist/cli.js.map +1 -1
- package/dist/district-analytics.js +4 -20
- package/dist/district-analytics.js.map +1 -1
- package/dist/src/results.d.ts +1 -3
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -104130,15 +104130,11 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
104130
104130
|
result["default"] = mod;
|
|
104131
104131
|
return result;
|
|
104132
104132
|
};
|
|
104133
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
104134
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
104135
|
-
};
|
|
104136
104133
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
104137
104134
|
const U = __importStar(__webpack_require__(/*! ./utils */ "./src/utils.ts"));
|
|
104138
104135
|
const S = __importStar(__webpack_require__(/*! ./settings */ "./src/settings.ts"));
|
|
104139
104136
|
const D = __importStar(__webpack_require__(/*! ./_data */ "./src/_data.ts"));
|
|
104140
104137
|
const analyze_1 = __webpack_require__(/*! ./analyze */ "./src/analyze.ts");
|
|
104141
|
-
const state_reqs_json_1 = __importDefault(__webpack_require__(/*! ../static/state-reqs.json */ "./static/state-reqs.json"));
|
|
104142
104138
|
function prepareRequirementsChecklist(s, bLog = false) {
|
|
104143
104139
|
if (!(s.bPostProcessingDone)) {
|
|
104144
104140
|
doAnalyzePostProcessing(s);
|
|
@@ -104170,10 +104166,9 @@ function prepareRequirementsChecklist(s, bLog = false) {
|
|
|
104170
104166
|
const embeddedDistrictsDetail = U.deepCopy(freeOfHolesTest['details']['embeddedDistricts']) || [];
|
|
104171
104167
|
const populationDeviationDetail = U.deepCopy(equalPopulationTest['details']['deviation']);
|
|
104172
104168
|
const deviationThresholdDetail = U.trim(s.populationDeviationThreshold());
|
|
104173
|
-
const xx = s.state.xx;
|
|
104174
|
-
//
|
|
104175
|
-
const
|
|
104176
|
-
const reqLinkToStateReqs = stateReqsDict[xx];
|
|
104169
|
+
// const xx: string = s.state.xx;
|
|
104170
|
+
// const stateReqsDict: T.Dict = allStateReqs;
|
|
104171
|
+
// const reqLinkToStateReqs: string = stateReqsDict[xx];
|
|
104177
104172
|
// Populate the category
|
|
104178
104173
|
paRequirements = {
|
|
104179
104174
|
score: reqScore,
|
|
@@ -104195,7 +104190,7 @@ function prepareRequirementsChecklist(s, bLog = false) {
|
|
|
104195
104190
|
census: U.deepCopy(s.config['descriptions']['CENSUS']),
|
|
104196
104191
|
},
|
|
104197
104192
|
resources: {
|
|
104198
|
-
|
|
104193
|
+
// stateReqs: reqLinkToStateReqs
|
|
104199
104194
|
}
|
|
104200
104195
|
};
|
|
104201
104196
|
}
|
|
@@ -105076,17 +105071,6 @@ module.exports = JSON.parse("{\"AL\":{\"Black\":[7],\"Hispanic\":[],\"Pacific\":
|
|
|
105076
105071
|
|
|
105077
105072
|
/***/ }),
|
|
105078
105073
|
|
|
105079
|
-
/***/ "./static/state-reqs.json":
|
|
105080
|
-
/*!********************************!*\
|
|
105081
|
-
!*** ./static/state-reqs.json ***!
|
|
105082
|
-
\********************************/
|
|
105083
|
-
/*! exports provided: AL, AK, AZ, AR, CA, CO, CT, DE, FL, GA, HI, ID, IL, IN, IA, KS, KY, LA, ME, MD, MA, MI, MN, MS, MO, MT, NE, NV, NH, NJ, NM, NY, NC, ND, OH, OK, OR, PA, RI, SC, SD, TN, TX, UT, VT, VA, WA, WV, WI, WY, default */
|
|
105084
|
-
/***/ (function(module) {
|
|
105085
|
-
|
|
105086
|
-
module.exports = JSON.parse("{\"AL\":\"https://www.brennancenter.org/sites/default/files/publications/2019_06_50States_FINALsinglepages_01.pdf\",\"AK\":\"https://www.brennancenter.org/sites/default/files/publications/2019_06_50States_FINALsinglepages_02.pdf\",\"AZ\":\"https://www.brennancenter.org/sites/default/files/publications/2019_06_50States_FINALsinglepages_03.pdf\",\"AR\":\"https://www.brennancenter.org/sites/default/files/publications/2019_06_50States_FINALsinglepages_04.pdf\",\"CA\":\"https://www.brennancenter.org/sites/default/files/publications/2019_06_50States_FINALsinglepages_05.pdf\",\"CO\":\"https://www.brennancenter.org/sites/default/files/publications/2019_06_50States_FINALsinglepages_06.pdf\",\"CT\":\"https://www.brennancenter.org/sites/default/files/publications/2019_06_50States_FINALsinglepages_07.pdf\",\"DE\":\"https://www.brennancenter.org/sites/default/files/publications/2019_06_50States_FINALsinglepages_08.pdf\",\"FL\":\"https://www.brennancenter.org/sites/default/files/publications/2019_06_50States_FINALsinglepages_09.pdf\",\"GA\":\"https://www.brennancenter.org/sites/default/files/publications/2019_06_50States_FINALsinglepages_10.pdf\",\"HI\":\"https://www.brennancenter.org/sites/default/files/publications/2019_06_50States_FINALsinglepages_11.pdf\",\"ID\":\"https://www.brennancenter.org/sites/default/files/publications/2019_06_50States_FINALsinglepages_12.pdf\",\"IL\":\"https://www.brennancenter.org/sites/default/files/publications/2019_06_50States_FINALsinglepages_13.pdf\",\"IN\":\"https://www.brennancenter.org/sites/default/files/publications/2019_06_50States_FINALsinglepages_14.pdf\",\"IA\":\"https://www.brennancenter.org/sites/default/files/publications/2019_06_50States_FINALsinglepages_15.pdf\",\"KS\":\"https://www.brennancenter.org/sites/default/files/publications/2019_06_50States_FINALsinglepages_16.pdf\",\"KY\":\"https://www.brennancenter.org/sites/default/files/publications/2019_06_50States_FINALsinglepages_17.pdf\",\"LA\":\"https://www.brennancenter.org/sites/default/files/publications/2019_06_50States_FINALsinglepages_18.pdf\",\"ME\":\"https://www.brennancenter.org/sites/default/files/publications/2019_06_50States_FINALsinglepages_19.pdf\",\"MD\":\"https://www.brennancenter.org/sites/default/files/publications/2019_06_50States_FINALsinglepages_20.pdf\",\"MA\":\"https://www.brennancenter.org/sites/default/files/publications/2019_06_50States_FINALsinglepages_21.pdf\",\"MI\":\"https://www.brennancenter.org/sites/default/files/publications/2019_06_50States_FINALsinglepages_22.pdf\",\"MN\":\"https://www.brennancenter.org/sites/default/files/publications/2019_06_50States_FINALsinglepages_23.pdf\",\"MS\":\"https://www.brennancenter.org/sites/default/files/publications/2019_06_50States_FINALsinglepages_24.pdf\",\"MO\":\"https://www.brennancenter.org/sites/default/files/publications/2019_06_50States_FINALsinglepages_25.pdf\",\"MT\":\"https://www.brennancenter.org/sites/default/files/publications/2019_06_50States_FINALsinglepages_26.pdf\",\"NE\":\"https://www.brennancenter.org/sites/default/files/publications/2019_06_50States_FINALsinglepages_27.pdf\",\"NV\":\"https://www.brennancenter.org/sites/default/files/publications/2019_06_50States_FINALsinglepages_28.pdf\",\"NH\":\"https://www.brennancenter.org/sites/default/files/publications/2019_06_50States_FINALsinglepages_29.pdf\",\"NJ\":\"https://www.brennancenter.org/sites/default/files/publications/2019_06_50States_FINALsinglepages_30.pdf\",\"NM\":\"https://www.brennancenter.org/sites/default/files/publications/2019_06_50States_FINALsinglepages_31.pdf\",\"NY\":\"https://www.brennancenter.org/sites/default/files/publications/2019_06_50States_FINALsinglepages_32.pdf\",\"NC\":\"https://www.brennancenter.org/sites/default/files/publications/2019_06_50States_FINALsinglepages_33.pdf\",\"ND\":\"https://www.brennancenter.org/sites/default/files/publications/2019_06_50States_FINALsinglepages_34.pdf\",\"OH\":\"https://www.brennancenter.org/sites/default/files/publications/2019_06_50States_FINALsinglepages_35.pdf\",\"OK\":\"https://www.brennancenter.org/sites/default/files/publications/2019_06_50States_FINALsinglepages_36.pdf\",\"OR\":\"https://www.brennancenter.org/sites/default/files/publications/2019_06_50States_FINALsinglepages_37.pdf\",\"PA\":\"https://www.brennancenter.org/sites/default/files/publications/2018_05_50States_FINALsinglepages_38.pdf\",\"RI\":\"https://www.brennancenter.org/sites/default/files/publications/2019_06_50States_FINALsinglepages_39.pdf\",\"SC\":\"https://www.brennancenter.org/sites/default/files/publications/2019_06_50States_FINALsinglepages_40.pdf\",\"SD\":\"https://www.brennancenter.org/sites/default/files/publications/2019_06_50States_FINALsinglepages_41.pdf\",\"TN\":\"https://www.brennancenter.org/sites/default/files/publications/2019_06_50States_FINALsinglepages_42.pdf\",\"TX\":\"https://www.brennancenter.org/sites/default/files/publications/2019_06_50States_FINALsinglepages_43.pdf\",\"UT\":\"https://www.brennancenter.org/sites/default/files/publications/2019_06_50States_FINALsinglepages_44.pdf\",\"VT\":\"https://www.brennancenter.org/sites/default/files/publications/2019_06_50States_FINALsinglepages_45.pdf\",\"VA\":\"https://www.brennancenter.org/sites/default/files/publications/2019_06_50States_FINALsinglepages_46.pdf\",\"WA\":\"https://www.brennancenter.org/sites/default/files/publications/2019_06_50States_FINALsinglepages_47.pdf\",\"WV\":\"https://www.brennancenter.org/sites/default/files/publications/2019_06_50States_FINALsinglepages_48.pdf\",\"WI\":\"https://www.brennancenter.org/sites/default/files/publications/2019_06_50States_FINALsinglepages_49.pdf\",\"WY\":\"https://www.brennancenter.org/sites/default/files/publications/2019_06_50States_FINALsinglepages_50.pdf\"}");
|
|
105087
|
-
|
|
105088
|
-
/***/ }),
|
|
105089
|
-
|
|
105090
105074
|
/***/ "./static/vra5-preclearance.json":
|
|
105091
105075
|
/*!***************************************!*\
|
|
105092
105076
|
!*** ./static/vra5-preclearance.json ***!
|