Socket
Socket
Sign inDemoInstall

node-imhdsk

Package Overview
Dependencies
61
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.1.2 to 0.1.3

8

index.js

@@ -150,5 +150,5 @@ const request = require('request');

var req_mapping = {
url: 'https://imhd.sk/ba/api/sk/cp',
url: 'https://imhd.sk/ba/api/cepo',
qs: {
'op': 'gsn',
'op': 'GetStopName',
'id': ''

@@ -206,3 +206,3 @@ },

request.get(req_mapping, function(e, r, b) {
var mapping = JSON.parse(b).sn;
var mapping = JSON.parse(b).stops;

@@ -216,3 +216,3 @@ var out = {}

stop_id: t.zastavka,
stop_name: mapping[t.zastavka],
stop_name: mapping[t.zastavka].name,
platform: t.nastupiste,

@@ -219,0 +219,0 @@ timestamp: t.timestamp,

{
"name": "node-imhdsk",
"version": "0.1.2",
"version": "0.1.3",
"description": "An unofficial API for grabbing data from imhd.sk",

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc