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

lvb

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

lvb - npm Package Compare versions

Comparing version 1.0.4 to 1.0.5

12

lib/departures.js

@@ -56,8 +56,8 @@ 'use strict'

const body = {
'results[5][4][function]': 'ws_info_stop',
'results[5][4][data]': JSON.stringify([
{ name: 'results[5][4][stop]', value: station },
{ name: 'results[5][4][date]', value: day },
{ name: 'results[5][4][time]', value: time },
{ name: 'results[5][4][mode]', value: 'stop' }
'results[5][5][function]': 'ws_info_stop',
'results[5][5][data]': JSON.stringify([
{ name: 'results[5][5][stop]', value: station },
{ name: 'results[5][5][date]', value: day },
{ name: 'results[5][5][time]', value: time },
{ name: 'results[5][5][mode]', value: 'stop' }
])

@@ -64,0 +64,0 @@ }

@@ -118,16 +118,16 @@ 'use strict'

const body = {
'results[5][4][function]': 'ws_find_connections',
'results[5][4][data]': JSON.stringify([
{ name: 'results[5][4][is_extended]', value: '1' },
{ name: 'results[5][4][from]', value: origin },
{ name: 'results[5][4][to]', value: destination },
{ name: 'results[5][4][via]', value: options.via || '' },
{ name: 'results[5][4][time_mode]', value: 'departure' },
{ name: 'results[5][4][time]', value: time },
{ name: 'results[5][4][date]', value: day },
{ name: 'results[5][4][means_of_transport][]', value: 'STR' },
{ name: 'results[5][4][means_of_transport][]', value: 'BUS' },
{ name: 'results[5][4][means_of_transport][]', value: 'S/U' },
{ name: 'results[5][4][means_of_transport][]', value: 'RB/RE' },
{ name: 'results[5][4][mode]', value: 'connection' }
'results[5][5][function]': 'ws_find_connections',
'results[5][5][data]': JSON.stringify([
{ name: 'results[5][5][is_extended]', value: '1' },
{ name: 'results[5][5][from]', value: origin },
{ name: 'results[5][5][to]', value: destination },
{ name: 'results[5][5][via]', value: options.via || '' },
{ name: 'results[5][5][time_mode]', value: 'departure' },
{ name: 'results[5][5][time]', value: time },
{ name: 'results[5][5][date]', value: day },
{ name: 'results[5][5][means_of_transport][]', value: 'STR' },
{ name: 'results[5][5][means_of_transport][]', value: 'BUS' },
{ name: 'results[5][5][means_of_transport][]', value: 'S/U' },
{ name: 'results[5][5][means_of_transport][]', value: 'RB/RE' },
{ name: 'results[5][5][mode]', value: 'connection' }
])

@@ -134,0 +134,0 @@ }

@@ -20,8 +20,8 @@ 'use strict'

const body = {
'results[5][4][function]': 'ws_info_stop',
'results[5][4][data]': JSON.stringify([
{ name: 'results[5][4][stop]', value: s },
{ name: 'results[5][4][date]', value: moment.tz('Europe/Berlin').add(1, 'days').format('DD.MM.YYYY') },
{ name: 'results[5][4][time]', value: '' },
{ name: 'results[5][4][mode]', value: 'stop' }
'results[5][5][function]': 'ws_info_stop',
'results[5][5][data]': JSON.stringify([
{ name: 'results[5][5][stop]', value: s },
{ name: 'results[5][5][date]', value: moment.tz('Europe/Berlin').add(1, 'days').format('DD.MM.YYYY') },
{ name: 'results[5][5][time]', value: '' },
{ name: 'results[5][5][mode]', value: 'stop' }
])

@@ -28,0 +28,0 @@ }

{
"name": "lvb",
"version": "1.0.4",
"version": "1.0.5",
"description": "Inofficial LVB (Leipziger Verkehrsbetriebe) API client.",

@@ -32,3 +32,2 @@ "keywords": [

"lint": "eslint lib test.js",
"prepublishOnly": "npm test",
"test": "npm run lint && npm run check-deps && node test"

@@ -35,0 +34,0 @@ },

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