New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.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 3.2.0 to 3.3.0

6

index.js

@@ -15,3 +15,4 @@

requestTimeout : null,
maxRetries : 2
maxRetries : 2,
timePrecision : 'ms'
};

@@ -74,3 +75,4 @@

u: this.options.username,
p: this.options.password
p: this.options.password,
time_precision: this.options.timePrecision
}, query || {})

@@ -77,0 +79,0 @@ });

{
"name": "influx",
"version": "3.2.0",
"version": "3.3.0",
"description": "InfluxDB Client",

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

@@ -65,5 +65,5 @@ # node-influx

| maxRetries [options] | max number of retries until a request raises an error (e.g. 'no hosts available'), default : 2 |
| timePrecision [optional] |Time precision, default : ms |
## Functions

@@ -280,5 +280,13 @@

## Testing
Either install InfluxDB or use a docker container to run the service:
docker run -d -p 8083:8083 -p 8086:8086 --expose 8090 --expose 8099 tutum/influxdb
Then to run the test harness use `npm test`.
## Licence
MIT

@@ -17,3 +17,4 @@ var influx = require('./');

username: 'root',
password: 'root'
password: 'root',
timePrecision: 'ms'
},

@@ -71,3 +72,3 @@ db: {

var url = client.url(info.db.name);
assert.equal(url, /*'http://'+info.server.host+':8086/' + */ info.db.name + '?u=' + info.server.username + '&p=' + info.server.password);
assert.equal(url, /*'http://'+info.server.host+':8086/' + */ info.db.name + '?u=' + info.server.username + '&p=' + info.server.password + '&time_precision=' + info.server.timePrecision);
});

@@ -74,0 +75,0 @@ });

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