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

winston-cassandra

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

winston-cassandra - npm Package Compare versions

Comparing version 0.2.0 to 0.3.0

5

index.js

@@ -13,3 +13,4 @@ var util = require('util');

consistency: cql.types.consistencies.quorum,
level: 'info'
level: 'info',
name: 'cassandra'
};

@@ -26,3 +27,3 @@

//winston options
this.name = 'cassandra';
this.name = this.options.name;
this.level = this.options.level;

@@ -29,0 +30,0 @@ //create a queue object that will emit the event 'prepared'

23

package.json

@@ -1,4 +0,4 @@

{
{
"name": "winston-cassandra",
"version": "0.2.0",
"version": "0.3.0",
"description": "Cassandra transport for winston",

@@ -20,17 +20,20 @@ "author": "Jorge Bay <jorgebaygondra@gmail.com>",

"dependencies": {
"cassandra-driver": ">= 1.0.3",
"winston": ">= 0.7.2"
"async": "^1.4.2",
"cassandra-driver": "^2.2.2",
"winston": "^1.1.1"
},
"devDependencies": {
"mocha": ">= 1.14.0",
"async": ">= 0.2.9"
"async": "^1.4.2",
"mocha": "^2.3.3"
},
"repository": {
"type" : "git",
"url" : "https://github.com/jorgebay/winston-cassandra.git"
"type": "git",
"url": "https://github.com/jorgebay/winston-cassandra.git"
},
"bugs": {
"url" : "https://github.com/jorgebay/winston-cassandra/issues"
"url": "https://github.com/jorgebay/winston-cassandra/issues"
},
"engines": {"node" : ">=0.10.0"},
"engines": {
"node": ">=0.10.0"
},
"scripts": {

@@ -37,0 +40,0 @@ "test": "mocha test -R spec -t 5000"

@@ -26,15 +26,11 @@ # winston-cassandra

* __consistency:__ The consistency of the insert query (default: `quorum`).
* __name:__ Name of the transport.
In addition to the options accepted by the [Node.js Cassandra driver](https://github.com/jorgebay/node-cassandra-cql)
[Client][0].
In addition to the options accepted by the [Node.js Cassandra driver](https://github.com/datastax/nodejs-driver).
* __hosts:__ Cluster nodes that will handle the write requests:
* __contactPoints:__ Cluster nodes that will handle the write requests:
Array of strings containing the hosts, for example `['host1', 'host2']` (required).
* __keyspace:__ The name of the keyspace that will contain the logs table (required). The keyspace should be already created in the cluster.
* __[...][0]__
## License
Distributed under the [MIT license](https://github.com/jorgebay/winston-cassandra/blob/master/LICENSE.txt).
[0]: https://github.com/jorgebay/node-cassandra-cql#client
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