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.2 to 1.0.3

12

lib/departures.js

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

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

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

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

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

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

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

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

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

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

@@ -21,6 +21,9 @@ "keywords": [

"author": "Julius Tens <mail@juliustens.eu>",
"contributors": [
"Justin Kromlinger <mail@hashworks.net>"
],
"main": "lib/index.js",
"files": [
"lib/*"
],
"main": "lib/index.js",
"scripts": {

@@ -34,16 +37,16 @@ "check-deps": "depcheck",

"dependencies": {
"fetch-ponyfill": "^6.1.0",
"fetch-ponyfill": "^6.1.1",
"lodash": "^4.17.15",
"moment-timezone": "^0.5.27",
"p-queue": "^6.2.0"
"moment-timezone": "^0.5.31",
"p-queue": "^6.4.0"
},
"devDependencies": {
"depcheck": "^0.9.0",
"eslint": "^6.6.0",
"eslint-config-standard": "^14.1.0",
"eslint-plugin-import": "^2.18.2",
"eslint-plugin-node": "^10.0.0",
"depcheck": "^0.9.2",
"eslint": "^7.2.0",
"eslint-config-standard": "^14.1.1",
"eslint-plugin-import": "^2.20.2",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^4.2.1",
"eslint-plugin-standard": "^4.0.1",
"tape": "^4.11.0",
"tape": "^4.13.2",
"tape-promise": "^4.0.0"

@@ -50,0 +53,0 @@ },

Sorry, the diff of this file is not supported yet

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