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

cassanknex

Package Overview
Dependencies
Maintainers
6
Versions
37
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cassanknex - npm Package Compare versions

Comparing version 1.20.2 to 1.20.3

.eslintrc.json

4

CONTRIBUTING.md

@@ -19,5 +19,5 @@

There is an exhaustive test suite under `/tests`; statement compilation tests may be run using `grunt` (executing `tests/*.js` files),
and tests against a live Cassandra cluster may be run via `grunt test-live` (executing `tests/live/live.test.js`).
There is an exhaustive test suite under `/tests`; statement compilation tests may be run using `yarn run test` (executing `tests/*.js` files),
and tests against a live Cassandra cluster may be run via `yarn run test:live` (executing `tests/live/live.test.js`).
PR's that provide additional functionality should also provide corresponding unit test cases.
{
"name": "cassanknex",
"version": "1.20.2",
"version": "1.20.3",
"description": "An Apache Cassandra CQL query builder with support for the DataStax NodeJS driver, written in the spirit of Knex.",

@@ -18,3 +18,7 @@ "main": "index.js",

"scripts": {
"test": "nyc mocha tests/*.js"
"test": "nyc mocha --check-leaks tests/*.js",
"test:live": "mocha --check-leaks --global __coverage__ tests/live/*.js",
"test:ci": "npm run lint && npm run test",
"lint": "eslint .",
"lint:fix": "eslint --fix ."
},

@@ -25,15 +29,13 @@ "author": "austin brown <austin@azuqua.com> (http://www.azuqua.com/)",

"cassandra-driver": "^3.6.0",
"inherits": "^2.0.3",
"lodash": "^4.17.14"
"inherits": "^2.0.4",
"lodash": "^4.17.15"
},
"devDependencies": {
"async": "^3.0.1",
"chai": "^4.1.2",
"grunt": "^1.0.3",
"grunt-contrib-jshint": "^2.1.0",
"grunt-mocha-test": "^0.13.3",
"mocha": "^6.1.4",
"mocha-junit-reporter": "^1.22.0",
"async": "^3.1.0",
"chai": "^4.2.0",
"eslint": "^6.3.0",
"mocha": "^6.2.0",
"mocha-junit-reporter": "^1.23.1",
"nyc": "^14.1.1",
"uuid": "^3.3.2"
"uuid": "^3.3.3"
},

@@ -40,0 +42,0 @@ "keywords": [

@@ -106,2 +106,3 @@ /**

// TODO add.. more.. aggregates
var key, val;
switch (aggregate.type) {

@@ -115,3 +116,2 @@ case "dateOf":

case "ttl":
var key, val;
if (_.isObject(aggregate.val)) {

@@ -129,3 +129,2 @@ key = Object.keys(aggregate.val)[0];

case "count":
var key, val;
if (_.isObject(aggregate.val)) {

@@ -132,0 +131,0 @@ key = Object.keys(aggregate.val)[0];

@@ -743,2 +743,5 @@

- 1.20.3
- Changes to test framework per [61](https://github.com/azuqua/cassanknex/pull/61).
- Upgrades to all dependency versions.
- 1.20.2

@@ -745,0 +748,0 @@ - Upgrade lodash per CVE-2019-10744

/**
* usage: grunt test-live
* usage: yarn run test:live
*

@@ -205,5 +205,6 @@ * This script will perform several executions against a given cassandra cluster.

// Readable is emitted as soon a row is received and parsed
var row;
while (row = this.read()) {
var row = this.read();
while (row) {
assert(_.has(row, "id"), "Response must contain the id.");
row = this.read()
}

@@ -282,3 +283,3 @@ }

.from(columnFamily)
.exec(function(err, resp) {
.exec(function (err, resp) {
assert(!err, err);

@@ -285,0 +286,0 @@ assert.equal(rows, resp.first().theCount);

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