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

influx

Package Overview
Dependencies
Maintainers
2
Versions
61
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

influx - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

6

index.js

@@ -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);

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