Comparing version 1.0.0 to 1.0.1
@@ -191,3 +191,3 @@ | ||
this.request.post({ | ||
url: this.seriesUrl(this.options.database), | ||
url: this.seriesUrl(this.options.database,query), | ||
headers: { | ||
@@ -263,5 +263,5 @@ 'content-type': 'application/json' | ||
InfluxDB.prototype.seriesUrl = function(databaseName) { | ||
InfluxDB.prototype.seriesUrl = function(databaseName,query) { | ||
if ( !databaseName ) databaseName = this.options.database; | ||
return this.url('db/' + databaseName + '/series'); | ||
return this.url('db/' + databaseName + '/series',query); | ||
}; | ||
@@ -268,0 +268,0 @@ |
{ | ||
"name": "influx", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "InfluxDB Client", | ||
@@ -25,3 +25,3 @@ "main": "index.js", | ||
"dependencies": { | ||
"request": "~2.34.0", | ||
"request": "2.x", | ||
"underscore": "~1.6.0" | ||
@@ -28,0 +28,0 @@ }, |
@@ -270,3 +270,3 @@ var influx = require('./'); | ||
describe('#query failover', function () { | ||
this.timeout(20000); | ||
this.timeout(25000); | ||
it('should read a point from the database after the failed servers have been removed', function (done) { | ||
@@ -311,3 +311,3 @@ failoverClient.query('SELECT value FROM ' + info.series.name + ';', function (err, res) { | ||
describe('#dropSeries', function () { | ||
this.timeout(20000); | ||
this.timeout(25000); | ||
it('should drop series', function (done) { | ||
@@ -329,3 +329,3 @@ client.dropSeries(info.series.name, function (err) { | ||
describe('#deleteDatabase', function () { | ||
this.timeout(20000); | ||
this.timeout(25000); | ||
it('should delete the database without error', function (done) { | ||
@@ -332,0 +332,0 @@ client.deleteDatabase(info.db.name, done); |
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
33965
1
+ Addedajv@6.12.6(transitive)
+ Addedasn1@0.2.6(transitive)
+ Addedassert-plus@1.0.0(transitive)
+ Addedasynckit@0.4.0(transitive)
+ Addedaws-sign2@0.7.0(transitive)
+ Addedaws4@1.13.2(transitive)
+ Addedbcrypt-pbkdf@1.0.2(transitive)
+ Addedcaseless@0.12.0(transitive)
+ Addedcombined-stream@1.0.8(transitive)
+ Addedcore-util-is@1.0.2(transitive)
+ Addeddashdash@1.14.1(transitive)
+ Addeddelayed-stream@1.0.0(transitive)
+ Addedecc-jsbn@0.1.2(transitive)
+ Addedextend@3.0.2(transitive)
+ Addedextsprintf@1.3.0(transitive)
+ Addedfast-deep-equal@3.1.3(transitive)
+ Addedfast-json-stable-stringify@2.1.0(transitive)
+ Addedforever-agent@0.6.1(transitive)
+ Addedform-data@2.3.3(transitive)
+ Addedgetpass@0.1.7(transitive)
+ Addedhar-schema@2.0.0(transitive)
+ Addedhar-validator@5.1.5(transitive)
+ Addedhttp-signature@1.2.0(transitive)
+ Addedis-typedarray@1.0.0(transitive)
+ Addedisstream@0.1.2(transitive)
+ Addedjsbn@0.1.1(transitive)
+ Addedjson-schema@0.4.0(transitive)
+ Addedjson-schema-traverse@0.4.1(transitive)
+ Addedjsprim@1.4.2(transitive)
+ Addedmime-db@1.52.0(transitive)
+ Addedmime-types@2.1.35(transitive)
+ Addedoauth-sign@0.9.0(transitive)
+ Addedperformance-now@2.1.0(transitive)
+ Addedpsl@1.15.0(transitive)
+ Addedpunycode@2.3.1(transitive)
+ Addedqs@6.5.3(transitive)
+ Addedrequest@2.88.2(transitive)
+ Addedsafe-buffer@5.2.1(transitive)
+ Addedsafer-buffer@2.1.2(transitive)
+ Addedsshpk@1.18.0(transitive)
+ Addedtough-cookie@2.5.0(transitive)
+ Addedtunnel-agent@0.6.0(transitive)
+ Addedtweetnacl@0.14.5(transitive)
+ Addeduri-js@4.4.1(transitive)
+ Addeduuid@3.4.0(transitive)
+ Addedverror@1.10.0(transitive)
- Removedasn1@0.1.11(transitive)
- Removedassert-plus@0.1.5(transitive)
- Removedasync@0.9.2(transitive)
- Removedaws-sign2@0.5.0(transitive)
- Removedboom@0.4.2(transitive)
- Removedcombined-stream@0.0.7(transitive)
- Removedcryptiles@0.2.2(transitive)
- Removedctype@0.5.3(transitive)
- Removeddelayed-stream@0.0.5(transitive)
- Removedforever-agent@0.5.2(transitive)
- Removedform-data@0.1.4(transitive)
- Removedhawk@1.0.0(transitive)
- Removedhoek@0.9.1(transitive)
- Removedhttp-signature@0.10.1(transitive)
- Removedmime@1.2.11(transitive)
- Removednode-uuid@1.4.8(transitive)
- Removedoauth-sign@0.3.0(transitive)
- Removedqs@0.6.6(transitive)
- Removedrequest@2.34.0(transitive)
- Removedsntp@0.2.4(transitive)
- Removedtldts@6.1.74(transitive)
- Removedtldts-core@6.1.74(transitive)
- Removedtough-cookie@5.1.0(transitive)
- Removedtunnel-agent@0.3.0(transitive)
Updatedrequest@2.x