Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

dadjoke.js

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dadjoke.js - npm Package Compare versions

Comparing version 0.0.1 to 0.0.2

5

lib/core/DadJokeClient.js

@@ -9,3 +9,3 @@ /**

*/
constructor()
constructor(userAgent)
{

@@ -26,2 +26,4 @@ /**

this.baseURL = require('./util/Constants').BASE_URL;
this.userAgent = userAgent;
}

@@ -39,2 +41,3 @@

return this._snek.get(this.baseURL)
.set('User-Agent', this.userAgent || `dadjoke.js (v${require('../../package.json').version} https://github.com/ohlookitsAugust/dadjoke.js)`)
.set('Accept', 'application/json')

@@ -41,0 +44,0 @@ .then((result) => res(result.body))

{
"name": "dadjoke.js",
"description": "An API wrapper for a dad joke! I mean, who doesn't love them?!",
"version": "0.0.1",
"version": "0.0.2",
"dependencies": {

@@ -15,3 +15,2 @@ "snekfetch": "3.6.4"

"url": "https://github.com/ohlookitsAugust/dadjoke.js"
}
}
}, "main": "./lib/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