New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

vbb-lines

Package Overview
Dependencies
Maintainers
2
Versions
55
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vbb-lines - npm Package Compare versions

Comparing version 4.12.0 to 5.0.0

6

index.js

@@ -14,6 +14,8 @@ 'use strict'

!!(data && ('object' === typeof data) && data.id === id)
const hasProp = (obj, key) => Object.prototype.hasOwnProperty.call(obj, key)
const filterByKeys = (pattern) => (data) => {
if (!data || 'object' !== typeof data) return false
for (let key in pattern) {
if (!data.hasOwnProperty(key)) return false
for (const key of Object.keys(pattern)) {
if (!hasProp(data, key)) return false
if (data[key] !== pattern[key]) return false

@@ -20,0 +22,0 @@ }

{
"name": "vbb-lines",
"description": "VBB lines and their stations.",
"version": "4.12.0",
"version": "5.0.0",
"main": "index.js",

@@ -30,6 +30,6 @@ "files": [

"engines": {
"node": ">=6"
"node": ">=16"
},
"dependencies": {
"ndjson": "^1.5.0",
"ndjson": "^2.0.0",
"pump": "^3.0.0",

@@ -41,19 +41,20 @@ "stream-filter": "^2.1.0",

"csv-parser": "^2.0.0",
"eslint": "^8.8.0",
"is-promise": "^4.0.0",
"is-stream": "^1.0.1",
"is-stream": "^2.0.1",
"moment": "^2.17.1",
"ndjson": "^1.5.0",
"shallow-equals": "^1.0.0",
"strip-bom-stream": "^3.0.0",
"tap-min": "^1.2.2",
"strip-bom-stream": "^4.0.0",
"tap-min": "^2.0.0",
"tape": "^5.0.0"
},
"scripts": {
"lint": "eslint .",
"download": "./download.sh",
"convert": "node convert.js",
"cleanup": "rm routes.csv trips.csv stop_times.csv",
"cleanup": "rm *.csv *.csv.etag",
"build": "npm run download && npm run convert && npm run cleanup",
"test": "node test.js | tap-min",
"prepublishOnly": "npm run build && npm test"
"prepublishOnly": "npm run lint && npm run build && npm test"
}
}

@@ -6,3 +6,2 @@ # vbb-lines 🚏

[![npm version](https://img.shields.io/npm/v/vbb-lines.svg)](https://www.npmjs.com/package/vbb-lines)
[![build status](https://img.shields.io/travis/derhuerst/vbb-lines.svg)](https://travis-ci.org/derhuerst/vbb-lines)
![ISC-licensed](https://img.shields.io/github/license/derhuerst/vbb-lines.svg)

@@ -9,0 +8,0 @@ [![support me via GitHub Sponsors](https://img.shields.io/badge/support%20me-donate-fa7664.svg)](https://github.com/sponsors/derhuerst)

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