New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

election-utils

Package Overview
Dependencies
Maintainers
2
Versions
36
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

election-utils - npm Package Compare versions

Comparing version 3.0.5 to 3.0.6

13

doc.md

@@ -175,5 +175,16 @@ # Candidate

# primaries2016Candidates
An array of 2016 primaries candidates, each with `first`, `last`, `party` and `suspendedDate` properties.
**Examples**
```javascript
import { primaries2016Candidates } from 'election-utils'
primaries2016Candidates[0] //=> { 'last': 'bush', 'first': 'jeb', 'party': 'republican' ...}
```
# primaries2016Dates
An array of 2016 primaries dates, each with `stateAbbr`, `party`, `date` and `raceType` properties.
An array of 2016 (AP tabulated) primaries dates, each with `stateAbbr`, `party`, `date` and `raceType` properties.
Only contains state presidential primaries.

@@ -180,0 +191,0 @@

2

package.json
{
"name": "election-utils",
"version": "3.0.5",
"version": "3.0.6",
"description": "This module provides various utility functions for dealing with AP election data.",

@@ -5,0 +5,0 @@ "main": "build/index.js",

@@ -12,3 +12,3 @@ /**

"first": "jeb",
"party": "republican"
"party": "republican",
"suspendedDate": "2016-02-19"

@@ -19,3 +19,3 @@ },

"first": "ben",
"party": "republican"
"party": "republican",
"suspendedDate": false

@@ -26,3 +26,3 @@ },

"first": "chris",
"party": "republican"
"party": "republican",
"suspendedDate": "2016-02-10"

@@ -33,3 +33,3 @@ },

"first": "hillary",
"party": "democratic"
"party": "democratic",
"suspendedDate": false

@@ -40,3 +40,3 @@ },

"first": "ted",
"party": "republican"
"party": "republican",
"suspendedDate": false

@@ -47,3 +47,3 @@ },

"first": "carly",
"party": "republican"
"party": "republican",
"suspendedDate": "2016-02-10"

@@ -54,3 +54,3 @@ },

"first": "jim",
"party": "republican"
"party": "republican",
"suspendedDate": "2016-02-12"

@@ -61,3 +61,3 @@ },

"first": "mike",
"party": "republican"
"party": "republican",
"suspendedDate": "2016-02-01"

@@ -68,3 +68,3 @@ },

"first": "john",
"party": "republican"
"party": "republican",
"suspendedDate": false

@@ -75,3 +75,3 @@ },

"first": "martin",
"party": "democratic"
"party": "democratic",
"suspendedDate": "2016-02-01"

@@ -82,3 +82,3 @@ },

"first": "rand",
"party": "republican"
"party": "republican",
"suspendedDate": "2016-02-03"

@@ -89,3 +89,3 @@ },

"first": "marco",
"party": "republican"
"party": "republican",
"suspendedDate": false

@@ -96,3 +96,3 @@ },

"first": "bernie",
"party": "republican"
"party": "republican",
"suspendedDate": false

@@ -103,3 +103,3 @@ },

"first": "rick",
"party": "republican"
"party": "republican",
"suspendedDate": "2016-02-03"

@@ -110,3 +110,3 @@ },

"first": "donald",
"party": "republican"
"party": "republican",
"suspendedDate": false

@@ -113,0 +113,0 @@ }

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc