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
3.0.0
to
3.0.1
license

Sorry, the diff of this file is not supported yet

+13
-13
{
"name": "db-prices",
"description": "Find the cheapest routes using the DB Sparpreise API.",
"version": "3.0.0",
"version": "3.0.1",
"keywords": [

@@ -30,23 +30,23 @@ "train",

"dependencies": {
"fetch-ponyfill": "^5.0.0",
"fetch-ponyfill": "^6.0.2",
"lodash.minby": "^4.6.0",
"moment-timezone": "^0.5.5",
"query-string": "^5.0.0",
"slugg": "^1.2.0"
"moment-timezone": "^0.5.21",
"query-string": "^6.1.0",
"slugg": "^1.2.1"
},
"devDependencies": {
"db-stations": "^2.0.0",
"is-roughly-equal": "^0.1",
"tap-spec": "^4.1.1",
"tape": "^4.6.3",
"tape-promise": "^2.0.1"
"db-stations": "^2.8.0",
"is-roughly-equal": "^0.1.0",
"tap-spec": "^5.0.0",
"tape": "^4.9.1",
"tape-promise": "^3.0.0"
},
"scripts": {
"test": "node test.js | tap-spec",
"prepare": "npm test"
"prepareOnly": "npm test"
},
"engine": {
"node": ">=6"
"node": ">=8"
},
"license": "MIT"
"license": "ISC"
}

@@ -9,3 +9,2 @@ # db-prices

[![dependency status](https://img.shields.io/david/juliuste/db-prices.svg)](https://david-dm.org/juliuste/db-prices)
[![dev dependency status](https://img.shields.io/david/dev/juliuste/db-prices.svg)](https://david-dm.org/juliuste/db-prices#info=devDependencies)
[![license](https://img.shields.io/github/license/juliuste/db-prices.svg?style=flat)](LICENSE)

@@ -37,11 +36,11 @@ [![chat on gitter](https://badges.gitter.im/public-transport/Lobby.svg)](https://gitter.im/public-transport/Lobby)

{
class: 2, // 1st class or 2nd class
class: 2, // 1st class or 2nd class
noICETrains: false,
transferTime: 0, // in minutes
duration: 1440, // search for routes in the next n minutes
transferTime: 0, // in minutes
duration: 1440, // search for routes in the next n minutes
preferFastRoutes: true
travellers: [{ // one or more
bc: 0, // BahnCard ID (see https://gist.github.com/juliuste/202bb04f450a79f8fa12a2ec3abcd72d)
typ: "E", // E: adult: K: child; B: baby -- BUG: child and baby dont work ATM
alter: 30 // age
travellers: [{ // one or more
bc: 0, // BahnCard ID (see https://gist.github.com/juliuste/202bb04f450a79f8fa12a2ec3abcd72d)
typ: "E", // E: adult: K: child; B: baby -- BUG: child and baby dont work ATM
alter: 30 // age
}],

@@ -48,0 +47,0 @@ }

The MIT License (MIT)
Copyright (c) 2018, Julius Tens, Jannis R
Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files (the "Software"),
to deal in the Software without restriction, including without limitation
the rights to use, copy, modify, merge, publish, distribute, sublicense,
and/or sell copies of the Software, and to permit persons to whom the
Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included
in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.