New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

juttle-influx-adapter

Package Overview
Dependencies
Maintainers
4
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

juttle-influx-adapter - npm Package Compare versions

Comparing version 0.1.0 to 0.2.0

npm-debug.log.9152748ebeca530154af0694d5cf2ba3

1

index.js

@@ -75,3 +75,2 @@ var _ = require('underscore');

var Read = Juttle.proc.source.extend({
sourceType: 'batch',
procName: 'read-influx',

@@ -78,0 +77,0 @@

@@ -19,9 +19,4 @@ var ASTVisitor = require('juttle/lib/compiler/ast-visitor');

_.each([
'MomentDuration',
'CalendarExpression',
'YesterDayLiteral',
'TodayLiteral',
'TomorrowLiteral',
'ISODateLiteral',
'NowLiteral'
'MomentLiteral',
'DurationLiteral'
], function(node) {

@@ -33,13 +28,2 @@ Lints['visit' + node] = function() {

// Beginning/end/forever are illegal
_.each([
'BeginningLiteral',
'EndLiteral',
'ForeverLiteral',
], function(node) {
Lints['visit' + node] = function(node) {
throw new Error('Node ' + node.value + ' cannot be used in filter');
};
});
module.exports = ASTVisitor.extend(Lints);
{
"name": "juttle-influx-adapter",
"version": "0.1.0",
"version": "0.2.0",
"description": "Juttle adapter for InfluxDB",
"keywords": ["juttle", "adapter", "influxdb"],
"keywords": [
"juttle",
"adapter",
"influxdb"
],
"homepage": "https://github.com/juttle/juttle-influx-adapter",

@@ -7,0 +11,0 @@ "bugs": "https://github.com/juttle/juttle-influx-adapter/issues",

@@ -57,2 +57,17 @@ # Juttle InfluxDB Adapter

### Authentication
Influx adapter supports HTTP basic authentication. To use it, modify the `url`
key to include the username and password:
```json
{
"adapters": {
"juttle-influx-adapter": {
"url": "http://username:password@localhost:8086/"
}
}
}
```
## Usage

@@ -59,0 +74,0 @@

@@ -47,5 +47,5 @@ var _ = require('underscore');

var ast = parser.parseFilter(test);
expect(linter.lint.bind(linter, ast)).to.throw(/cannot be used in filter/);
expect(linter.lint.bind(linter, ast)).to.throw(/Filtering by time is not supported/);
});
});
});

Sorry, the diff of this file is not supported yet

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