Socket
Socket
Sign inDemoInstall

wili

Package Overview
Dependencies
7
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.2.4 to 0.2.5

15

package.json
{
"name": "wili",
"version": "0.2.4",
"version": "0.2.5",
"description": "A Node client for the Wiener Linien public transport API",

@@ -11,3 +11,4 @@ "main": "lib/index.js",

"scripts": {
"build": "tsc --project ./",
"build": "tsc --pretty --project ./",
"dev": "tsc --watch --pretty --project ./",
"lint": "tslint --project ./",

@@ -30,8 +31,8 @@ "precommit": "npm run lint && npm run test",

"devDependencies": {
"@types/node": "^10.11.4",
"ava": "^1.0.0-beta.8",
"husky": "^1.1.1",
"tslint": "^5.11.0",
"typescript": "^3.1.1"
"@types/node": "^12.6.9",
"ava": "^2.2.0",
"husky": "^3.0.2",
"tslint": "^5.18.0",
"typescript": "^3.5.3"
}
}

@@ -42,4 +42,8 @@ # wili

const options = {
relatedLine: ['U2', 'U4', 'U6']
};
// Promise API
wl.trafficInfoList({ relatedLine: ['U2', 'U4', 'U6'] })
wl.trafficInfoList(options)
.then( data => {

@@ -55,3 +59,3 @@ console.log(data.trafficInfos);

try {
let data = await wl.trafficInfoList({ relatedLine: ['U2', 'U4', 'U6'] });
let data = await wl.trafficInfoList(options);
console.log(data.trafficInfos);

@@ -58,0 +62,0 @@ } catch (output) {

@@ -42,4 +42,8 @@ # wili

const options = {
relatedLine: ['U2', 'U4', 'U6']
};
// Promise API
wl.trafficInfoList({ relatedLine: ['U2', 'U4', 'U6'] })
wl.trafficInfoList(options)
.then( data => {

@@ -55,3 +59,3 @@ console.log(data.trafficInfos);

try {
let data = await wl.trafficInfoList({ relatedLine: ['U2', 'U4', 'U6'] });
let data = await wl.trafficInfoList(options);
console.log(data.trafficInfos);

@@ -58,0 +62,0 @@ } catch (output) {

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