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

hacker-news-api

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hacker-news-api - npm Package Compare versions

Comparing version 1.1.5 to 1.1.6

16

index.js

@@ -1,3 +0,5 @@

request = require('request');
'use strict';
var request = require('request');
var objectToParams = function(obj) {

@@ -7,8 +9,10 @@ var first = true;

for (var key in obj) {
if (first) {
first = false;
} else {
params += '&';
if (obj.hasOwnProperty(key)) {
if (first) {
first = false;
} else {
params += '&';
}
params += key + '=' + obj[key];
}
params += key + '=' + obj[key];
}

@@ -15,0 +19,0 @@ };

{
"name": "hacker-news-api",
"version": "1.1.5",
"version": "1.1.6",
"description": "Node.js library for Algolia's Hacker News 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