Socket
Socket
Sign inDemoInstall

oscn-js

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

oscn-js - npm Package Compare versions

Comparing version 1.0.3 to 1.0.4

13

index.js

@@ -52,2 +52,15 @@ const fetch = require('node-fetch');

}
getCounts(county, cn){
if(!county || !cn){
return new Promise.reject(new Error(!county ? 'The county is required!': 'The case number is required!'))
}
let queryObj = {
county,
cn
}
return fetch(this.returnUrl('/api/counts',queryObj)).then(this.getJson);
}

@@ -54,0 +67,0 @@ getParties(county,cn){

2

package.json
{
"name": "oscn-js",
"version": "1.0.3",
"version": "1.0.4",
"description": "A json rest api wrapper for the oscn alpha api.",

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

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