Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@opentripplanner/core-utils

Package Overview
Dependencies
Maintainers
3
Versions
211
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@opentripplanner/core-utils - npm Package Compare versions

Comparing version 3.0.0 to 3.0.1

6

lib/route.js

@@ -97,5 +97,5 @@ "use strict";

function getTransitOperatorComparatorValue(route, transitOperators) {
// if the transitOperators is undefined, use the route's agency name as the
// comparator value
if (!transitOperators) {
// if the transitOperators is undefined or has zero length, use the route's
// agency name as the comparator value
if (!transitOperators || transitOperators.length === 0) {
// OTP Route

@@ -102,0 +102,0 @@ if (route.agency) return route.agency.name; // OTP RouteShort (base OTP repo or IBI fork)

{
"name": "@opentripplanner/core-utils",
"version": "3.0.0",
"version": "3.0.1",
"description": "Core functionality that is shared among numerous UI components",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

@@ -101,5 +101,5 @@ /**

function getTransitOperatorComparatorValue(route, transitOperators) {
// if the transitOperators is undefined, use the route's agency name as the
// comparator value
if (!transitOperators) {
// if the transitOperators is undefined or has zero length, use the route's
// agency name as the comparator value
if (!transitOperators || transitOperators.length === 0) {
// OTP Route

@@ -106,0 +106,0 @@ if (route.agency) return route.agency.name;

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