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

mehdown

Package Overview
Dependencies
Maintainers
4
Versions
135
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mehdown - npm Package Compare versions

Comparing version 2.5.0 to 2.5.1

7

lib/index.js

@@ -132,2 +132,7 @@ const url = require('url');

if (!process.env.WOOT_API_KEY) {
console.warn('WOOT_API_KEY environment variable is not set');
return callback();
}
request.get(`http://api.woot.com/2/events.json?key=${process.env.WOOT_API_KEY}&select=Offers.Items.SalePrice,Offers.Title,Offers.Url`, { json: true }, function(err, res, events) {

@@ -138,3 +143,3 @@ if (err) {

if (!events.length) {
if (!events || !events.length) {
return callback();

@@ -141,0 +146,0 @@ }

2

package.json

@@ -26,3 +26,3 @@ {

},
"version": "2.5.0"
"version": "2.5.1"
}
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