election-vibe 0.1.3 → 0.1.5

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.
Files changed (2) hide show
  1. package/dist/cli.js +44 -44
  2. package/package.json +1 -1
package/dist/cli.js CHANGED
@@ -216,7 +216,7 @@ var REHEARSAL_SENTENCE = {
216
216
 
217
217
  // src/http.ts
218
218
  import { gunzipSync } from "zlib";
219
- var USER_AGENT = `ElectionsCompanion/${"0.1.3"} (unofficial results reader; local, no telemetry)`;
219
+ var USER_AGENT = `ElectionsCompanion/${"0.1.5"} (unofficial results reader; local, no telemetry)`;
220
220
  function retryAfterMs(header, nowMs) {
221
221
  if (!header) return void 0;
222
222
  const t = header.trim();
@@ -722,7 +722,7 @@ var m = (state, slug, civicId, type, office, title) => ({
722
722
  title
723
723
  });
724
724
  var CIVIC_MEASURES = [
725
- m("AK", "ballot-measure-2", "179832", "Referendum", "Ballot Measure 2", "Alaska Ballot Measure 2 - Repeal Ranked-Choice Voting and Open Primaries"),
725
+ m("AK", "ballot-measure-2", "179832", "Referendum", "Ballot Measure 2", "Alaska Ballot Measure 2 (Ranked Choice Voting)"),
726
726
  m("AZ", "proposition-144", "158259", "Proposition", "Proposition 144", "Arizona Proposition 144 - Citizenship and Voter ID Requirements"),
727
727
  m("CO", "amendment-86", "170005", "Referendum", "Amendment 86", "Colorado Amendment 86"),
728
728
  m("ID", "proposition-1", "179002", "Referendum", "Proposition 1", "Idaho Proposition 1: Reproductive Freedom & Privacy Act"),
@@ -2929,7 +2929,7 @@ var registry_default = {
2929
2929
  state: "AK",
2930
2930
  level: "measure",
2931
2931
  office: "Ballot Measure 2",
2932
- title: "Alaska Ballot Measure 2 - Repeal Ranked-Choice Voting and Open Primaries",
2932
+ title: "Alaska Ballot Measure 2 (Ranked Choice Voting)",
2933
2933
  stage: "regular",
2934
2934
  seats: 0,
2935
2935
  method: "measure",
@@ -24348,8 +24348,8 @@ var registry_default = {
24348
24348
  state: "CA",
24349
24349
  county: "santa-clara",
24350
24350
  level: "measure",
24351
- office: "Measure A - City of Morgan Hill, Elected City Treasurer to an Appointive Position",
24352
- title: "Measure A - City of Morgan Hill, Elected City Treasurer to an Appointive Position",
24351
+ office: "Measure A - City of Morgan Hill, Elected City Treasurer to an Appointive Position - Majority Vote Required",
24352
+ title: "Measure A - City of Morgan Hill, Elected City Treasurer to an Appointive Position - Majority Vote Required",
24353
24353
  stage: "regular",
24354
24354
  seats: 0,
24355
24355
  method: "measure",
@@ -24376,8 +24376,8 @@ var registry_default = {
24376
24376
  state: "CA",
24377
24377
  county: "santa-clara",
24378
24378
  level: "measure",
24379
- office: "Measure B - City of Gilroy, Transient Occupancy Tax",
24380
- title: "Measure B - City of Gilroy, Transient Occupancy Tax",
24379
+ office: "Measure B - City of Gilroy, Transient Occupancy Tax - Majority Vote Required",
24380
+ title: "Measure B - City of Gilroy, Transient Occupancy Tax - Majority Vote Required",
24381
24381
  stage: "regular",
24382
24382
  seats: 0,
24383
24383
  method: "measure",
@@ -24404,8 +24404,8 @@ var registry_default = {
24404
24404
  state: "CA",
24405
24405
  county: "santa-clara",
24406
24406
  level: "measure",
24407
- office: "Measure C - City of Santa Clara, Public Works Charter Amendment",
24408
- title: "Measure C - City of Santa Clara, Public Works Charter Amendment",
24407
+ office: "Measure C - City of Santa Clara, Public Works Charter Amendment - Majority Vote Required",
24408
+ title: "Measure C - City of Santa Clara, Public Works Charter Amendment - Majority Vote Required",
24409
24409
  stage: "regular",
24410
24410
  seats: 0,
24411
24411
  method: "measure",
@@ -24432,8 +24432,8 @@ var registry_default = {
24432
24432
  state: "CA",
24433
24433
  county: "santa-clara",
24434
24434
  level: "measure",
24435
- office: "Measure D - City of Los Altos, Citizen-Sponsored Initiative, Los Altos Downtown Parking Plaza Ordinance",
24436
- title: "Measure D - City of Los Altos, Citizen-Sponsored Initiative, Los Altos Downtown Parking Plaza Ordinance",
24435
+ office: "Measure D - City of Los Altos, Citizen-Sponsored Initiative, Los Altos Downtown Parking Plaza Ordinance - Majority Vote",
24436
+ title: "Measure D - City of Los Altos, Citizen-Sponsored Initiative, Los Altos Downtown Parking Plaza Ordinance - Majority Vote",
24437
24437
  stage: "regular",
24438
24438
  seats: 0,
24439
24439
  method: "measure",
@@ -24460,8 +24460,8 @@ var registry_default = {
24460
24460
  state: "CA",
24461
24461
  county: "santa-clara",
24462
24462
  level: "measure",
24463
- office: "Measure E - City of Mountain View, Charter Amendment, Modernize and Clarify Its Provisions",
24464
- title: "Measure E - City of Mountain View, Charter Amendment, Modernize and Clarify Its Provisions",
24463
+ office: "Measure E - City of Mountain View, Charter Amendment, Modernize and Clarify Its Provisions - Majority Vote Required",
24464
+ title: "Measure E - City of Mountain View, Charter Amendment, Modernize and Clarify Its Provisions - Majority Vote Required",
24465
24465
  stage: "regular",
24466
24466
  seats: 0,
24467
24467
  method: "measure",
@@ -24488,8 +24488,8 @@ var registry_default = {
24488
24488
  state: "CA",
24489
24489
  county: "santa-clara",
24490
24490
  level: "measure",
24491
- office: "Measure F - City of Mountain View, Transient Occupancy Tax",
24492
- title: "Measure F - City of Mountain View, Transient Occupancy Tax",
24491
+ office: "Measure F - City of Mountain View, Transient Occupancy Tax - Majority Vote Required",
24492
+ title: "Measure F - City of Mountain View, Transient Occupancy Tax - Majority Vote Required",
24493
24493
  stage: "regular",
24494
24494
  seats: 0,
24495
24495
  method: "measure",
@@ -24516,8 +24516,8 @@ var registry_default = {
24516
24516
  state: "CA",
24517
24517
  county: "santa-clara",
24518
24518
  level: "measure",
24519
- office: "Measure G - City of Sunnyvale, Charter Amendment, Public Works Contracts",
24520
- title: "Measure G - City of Sunnyvale, Charter Amendment, Public Works Contracts",
24519
+ office: "Measure G - City of Sunnyvale, Charter Amendment, Public Works Contracts - Majority Vote Required",
24520
+ title: "Measure G - City of Sunnyvale, Charter Amendment, Public Works Contracts - Majority Vote Required",
24521
24521
  stage: "regular",
24522
24522
  seats: 0,
24523
24523
  method: "measure",
@@ -24544,8 +24544,8 @@ var registry_default = {
24544
24544
  state: "CA",
24545
24545
  county: "santa-clara",
24546
24546
  level: "measure",
24547
- office: "Measure H - City of Sunnyvale, City Manager Settlement Authority",
24548
- title: "Measure H - City of Sunnyvale, City Manager Settlement Authority",
24547
+ office: "Measure H - City of Sunnyvale, City Manager Settlement Authority - Majority Vote Required",
24548
+ title: "Measure H - City of Sunnyvale, City Manager Settlement Authority - Majority Vote Required",
24549
24549
  stage: "regular",
24550
24550
  seats: 0,
24551
24551
  method: "measure",
@@ -24572,8 +24572,8 @@ var registry_default = {
24572
24572
  state: "CA",
24573
24573
  county: "santa-clara",
24574
24574
  level: "measure",
24575
- office: "Measure I - City of Sunnyvale, Charter Amendment, Elections to Fill Council Vacancies",
24576
- title: "Measure I - City of Sunnyvale, Charter Amendment, Elections to Fill Council Vacancies",
24575
+ office: "Measure I - City of Sunnyvale, Charter Amendment, Elections to Fill Council Vacancies - Majority Vote Required",
24576
+ title: "Measure I - City of Sunnyvale, Charter Amendment, Elections to Fill Council Vacancies - Majority Vote Required",
24577
24577
  stage: "regular",
24578
24578
  seats: 0,
24579
24579
  method: "measure",
@@ -24600,8 +24600,8 @@ var registry_default = {
24600
24600
  state: "CA",
24601
24601
  county: "santa-clara",
24602
24602
  level: "measure",
24603
- office: "Measure J - City of Palo Alto, Transactions and Use Tax",
24604
- title: "Measure J - City of Palo Alto, Transactions and Use Tax",
24603
+ office: "Measure J - City of Palo Alto, Transactions and Use Tax - Majority Vote Required",
24604
+ title: "Measure J - City of Palo Alto, Transactions and Use Tax - Majority Vote Required",
24605
24605
  stage: "regular",
24606
24606
  seats: 0,
24607
24607
  method: "measure",
@@ -24628,8 +24628,8 @@ var registry_default = {
24628
24628
  state: "CA",
24629
24629
  county: "santa-clara",
24630
24630
  level: "measure",
24631
- office: "Measure K - City of Milpitas, Business Tax Modernization",
24632
- title: "Measure K - City of Milpitas, Business Tax Modernization",
24631
+ office: "Measure K - City of Milpitas, Business Tax Modernization - Majority Vote Required",
24632
+ title: "Measure K - City of Milpitas, Business Tax Modernization - Majority Vote Required",
24633
24633
  stage: "regular",
24634
24634
  seats: 0,
24635
24635
  method: "measure",
@@ -24656,8 +24656,8 @@ var registry_default = {
24656
24656
  state: "CA",
24657
24657
  county: "santa-clara",
24658
24658
  level: "measure",
24659
- office: "Measure L - City of Cupertino, General Plan Amendment",
24660
- title: "Measure L - City of Cupertino, General Plan Amendment",
24659
+ office: "Measure L - City of Cupertino, General Plan Amendment - Majority Vote Required",
24660
+ title: "Measure L - City of Cupertino, General Plan Amendment - Majority Vote Required",
24661
24661
  stage: "regular",
24662
24662
  seats: 0,
24663
24663
  method: "measure",
@@ -24684,8 +24684,8 @@ var registry_default = {
24684
24684
  state: "CA",
24685
24685
  county: "santa-clara",
24686
24686
  level: "measure",
24687
- office: "Measure M - Gilroy Unified School District, School Bond",
24688
- title: "Measure M - Gilroy Unified School District, School Bond",
24687
+ office: "Measure M - Gilroy Unified School District, School Bond - 55% Vote Required",
24688
+ title: "Measure M - Gilroy Unified School District, School Bond - 55% Vote Required",
24689
24689
  stage: "regular",
24690
24690
  seats: 0,
24691
24691
  method: "measure",
@@ -24712,8 +24712,8 @@ var registry_default = {
24712
24712
  state: "CA",
24713
24713
  county: "santa-clara",
24714
24714
  level: "measure",
24715
- office: "Measure N - Los Gatos-Saratoga Union High School District, School Bond",
24716
- title: "Measure N - Los Gatos-Saratoga Union High School District, School Bond",
24715
+ office: "Measure N - Los Gatos-Saratoga Union High School District, School Bond - 55% Vote Required",
24716
+ title: "Measure N - Los Gatos-Saratoga Union High School District, School Bond - 55% Vote Required",
24717
24717
  stage: "regular",
24718
24718
  seats: 0,
24719
24719
  method: "measure",
@@ -24740,8 +24740,8 @@ var registry_default = {
24740
24740
  state: "CA",
24741
24741
  county: "santa-clara",
24742
24742
  level: "measure",
24743
- office: "Measure O - Alum Rock Union School District, Parcel Tax",
24744
- title: "Measure O - Alum Rock Union School District, Parcel Tax",
24743
+ office: "Measure O - Alum Rock Union School District, Parcel Tax - 2/3rds (66.67%) Vote Required",
24744
+ title: "Measure O - Alum Rock Union School District, Parcel Tax - 2/3rds (66.67%) Vote Required",
24745
24745
  stage: "regular",
24746
24746
  seats: 0,
24747
24747
  method: "measure",
@@ -24768,8 +24768,8 @@ var registry_default = {
24768
24768
  state: "CA",
24769
24769
  county: "santa-clara",
24770
24770
  level: "measure",
24771
- office: "Measure P - Alum Rock Union School District, School Bond",
24772
- title: "Measure P - Alum Rock Union School District, School Bond",
24771
+ office: "Measure P - Alum Rock Union School District, School Bond - 55% Vote Required",
24772
+ title: "Measure P - Alum Rock Union School District, School Bond - 55% Vote Required",
24773
24773
  stage: "regular",
24774
24774
  seats: 0,
24775
24775
  method: "measure",
@@ -24796,8 +24796,8 @@ var registry_default = {
24796
24796
  state: "CA",
24797
24797
  county: "santa-clara",
24798
24798
  level: "measure",
24799
- office: "Measure Q - Cambrian School District, Parcel Tax",
24800
- title: "Measure Q - Cambrian School District, Parcel Tax",
24799
+ office: "Measure Q - Cambrian School District, Parcel Tax - 2/3rds (66.67%) Vote Required",
24800
+ title: "Measure Q - Cambrian School District, Parcel Tax - 2/3rds (66.67%) Vote Required",
24801
24801
  stage: "regular",
24802
24802
  seats: 0,
24803
24803
  method: "measure",
@@ -24824,8 +24824,8 @@ var registry_default = {
24824
24824
  state: "CA",
24825
24825
  county: "santa-clara",
24826
24826
  level: "measure",
24827
- office: "Measure R - Orchard School District, Parcel Tax",
24828
- title: "Measure R - Orchard School District, Parcel Tax",
24827
+ office: "Measure R - Orchard School District, Parcel Tax - 2/3rds (66.67%) Vote Required",
24828
+ title: "Measure R - Orchard School District, Parcel Tax - 2/3rds (66.67%) Vote Required",
24829
24829
  stage: "regular",
24830
24830
  seats: 0,
24831
24831
  method: "measure",
@@ -24852,8 +24852,8 @@ var registry_default = {
24852
24852
  state: "CA",
24853
24853
  county: "santa-clara",
24854
24854
  level: "measure",
24855
- office: "Measure RTM - Public Transit Revenue Measure District (PTRMD), Regional Transit Measure",
24856
- title: "Measure RTM - Public Transit Revenue Measure District (PTRMD), Regional Transit Measure",
24855
+ office: "Measure RTM - Public Transit Revenue Measure District (PTRMD), Regional Transit Measure - Majority Vote Required",
24856
+ title: "Measure RTM - Public Transit Revenue Measure District (PTRMD), Regional Transit Measure - Majority Vote Required",
24857
24857
  stage: "regular",
24858
24858
  seats: 0,
24859
24859
  method: "measure",
@@ -24880,8 +24880,8 @@ var registry_default = {
24880
24880
  state: "CA",
24881
24881
  county: "santa-clara",
24882
24882
  level: "measure",
24883
- office: "Measure S - El Camino Healthcare District, Limit Number of Terms for Directors",
24884
- title: "Measure S - El Camino Healthcare District, Limit Number of Terms for Directors",
24883
+ office: "Measure S - El Camino Healthcare District, Limit Number of Terms for Directors - Majority Vote Required",
24884
+ title: "Measure S - El Camino Healthcare District, Limit Number of Terms for Directors - Majority Vote Required",
24885
24885
  stage: "regular",
24886
24886
  seats: 0,
24887
24887
  method: "measure",
@@ -46335,7 +46335,7 @@ function storeOf(p) {
46335
46335
  }
46336
46336
  async function main(argv, io) {
46337
46337
  if (argv[0] === "--version" || argv[0] === "version") {
46338
- io.out("0.1.3");
46338
+ io.out("0.1.5");
46339
46339
  return 0;
46340
46340
  }
46341
46341
  const p = parseArgs(argv);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "election-vibe",
3
- "version": "0.1.3",
3
+ "version": "0.1.5",
4
4
  "description": "US election night, Nov 3, 2026, in your terminal and in Claude Code: unofficial results from official free sources and civicAPI, kept on your machine. Never calls a race. Unofficial results. Not an election authority. Not affiliated with any government, campaign, or party.",
5
5
  "keywords": [
6
6
  "election",