Socket
Socket
Sign inDemoInstall

barth

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

barth - npm Package Compare versions

Comparing version 1.3.0 to 1.4.0

7

index.js

@@ -21,3 +21,4 @@

}
num = Math.floor(+num || 1)
num = Math.abs(Math.floor(+num || 1))
num = Math.min(num, quotes.length)
opts = Object(opts)

@@ -38,3 +39,7 @@ if (num === 1) return formatter(getAQuote(), opts)

if (opts.debug) {
console.log('Getting daily', {now: now, bOfDay: beginningOfDay, outOf: quotes.length})
}
return formatter(getAQuote(beginningOfDay % quotes.length), opts)
}

2

package.json
{
"name": "barth",
"version": "1.3.0",
"version": "1.4.0",
"description": "Helpful Karl Barth quotes.",

@@ -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