Latest Threat Research:SANDWORM_MODE: Shai-Hulud-Style npm Worm Hijacks CI Workflows and Poisons AI Toolchains.Details
Socket
Book a DemoInstallSign in
Socket

db-prices

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

db-prices - npm Package Compare versions

Comparing version
0.1.3
to
0.1.4
+1
-3
index.js

@@ -13,3 +13,2 @@ 'use strict'

// todo: sel, t, c, arq, ff, aix, risids
raw: data,
ref: data.pky,

@@ -47,4 +46,3 @@ discount: data.tt === 'SP', // are there others than SP & NP?

trips: data.trains.map(parseTrip),
offer: null,
raw: data
offer: null
})

@@ -51,0 +49,0 @@

{
"name": "db-prices",
"description": "Find the cheapest routes using the DB Sparpreise API.",
"version": "0.1.3",
"version": "0.1.4",
"keywords": [

@@ -29,6 +29,6 @@ "train",

"devDependencies": {
"floordate": "^2",
"floordate": "^3.0.0",
"is-roughly-equal": "^0.1",
"co": "^4.6",
"db-stations": "^0.3",
"db-stations": "^0.4.0",
"tape-co": "^1",

@@ -35,0 +35,0 @@ "tap-min": "^1.1"

@@ -36,3 +36,3 @@ 'use strict'

test.ok(yield findStation(t.from.station), 'station not found')
test.equal(typeof t.from.platform, 'string')
// test.equal(typeof t.from.platform, 'string')

@@ -42,3 +42,3 @@ test.ok(validDate(t.end))

test.ok(yield findStation(t.to.station), 'station not found')
test.equal(typeof t.to.platform, 'string')
// test.equal(typeof t.to.platform, 'string')

@@ -45,0 +45,0 @@ test.equal(typeof t.line, 'string')