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

citibike

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

citibike - npm Package Compare versions

Comparing version 2.2.2 to 2.2.3

2

History.md

@@ -1,2 +0,2 @@

2.2.0 - 2.2.2 / 2013-07-27
2.2.0 - 2.2.3 / 2013-07-27
==========================

@@ -3,0 +3,0 @@

@@ -38,5 +38,3 @@ "use strict";

branchesURL: '/v1/branch/list',
stationsURL: '/data2/stations.php',
stationsStreamURL: '/data2/stations.php?updateOnly=true', // TODO : make param not separate url
stationsURL: '/data2/stations.php'
};

@@ -43,0 +41,0 @@

@@ -15,3 +15,3 @@ {

],
"version": "2.2.2",
"version": "2.2.3",
"author": "Kevin Coughlin <kevintcoughlin@gmail.com>",

@@ -18,0 +18,0 @@ "contributors": [

@@ -168,3 +168,3 @@ /**

request
.get(citibike.defaults.stationsStreamURL)
.get(citibike.defaults.stationsURL + '?updateOnly=true')
.set('Accept', 'application/json')

@@ -171,0 +171,0 @@ .expect(200)

@@ -44,3 +44,3 @@ /**

it('should successfully complete request', function (done) {
citibike.getStations(null, function(data) {
citibike.getStations({}, function(data) {
should.exist(data);

@@ -47,0 +47,0 @@ data.results.should.not.be.empty;

@@ -27,4 +27,3 @@ /**

branchesURL: '/v1/branch/list',
stationsURL: '/data2/stations.php',
stationsStreamURL: '/data2/stations.php?updateOnly=true'
stationsURL: '/data2/stations.php'
};

@@ -42,3 +41,2 @@

citibike.defaults.stationsURL.should.equal('/data2/stations.php');
citibike.defaults.stationsStreamURL.should.equal('/data2/stations.php?updateOnly=true');
});

@@ -60,5 +58,3 @@

branchesURL: '/v1/branch/list',
stationsURL: '/data2/stations.php',
stationsStreamURL: '/data2/stations.php?updateOnly=true'
stationsURL: '/data2/stations.php'
},

@@ -65,0 +61,0 @@ options = {

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