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

datastar

Package Overview
Dependencies
Maintainers
2
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

datastar - npm Package Compare versions

Comparing version 1.1.0 to 1.2.0

3

package.json
{
"name": "datastar",
"version": "1.1.0",
"version": "1.2.0",
"description": "Now witness the power of this FULLY ARMED AND OPERATIONAL DATASTAR!",

@@ -27,2 +27,3 @@ "main": "lib",

"cassandra-driver": "^3.0.2",
"datastar-test-tools": "~1.0.0",
"eslint-plugin-json": "^1.2.0",

@@ -29,0 +30,0 @@ "eslint-plugin-mocha": "^1.1.0",

'use strict';
var assume = require('assume'),
Datastar = require('../../lib'),
helpers = require('../helpers');
var assume = require('assume'),
Datastar = require('../../lib'),
datastarTestTools = require('datastar-test-tools');
var helpers = datastarTestTools.helpers;

@@ -8,0 +9,0 @@ describe('Datastar', function () {

@@ -5,9 +5,11 @@ 'use strict';

var assume = require('assume'),
uuid = require('uuid'),
async = require('async'),
clone = require('clone'),
helpers = require('../helpers'),
schemas = require('../fixtures/schemas');
var assume = require('assume'),
uuid = require('uuid'),
async = require('async'),
clone = require('clone'),
schemas = require('../fixtures/schemas'),
datastarTestTools = require('datastar-test-tools');
var helpers = datastarTestTools.helpers;
/*eslint no-invalid-this: 1*/

@@ -783,3 +785,3 @@ describe('Model', function () {

it('should run a find query with a limit of 1 and return 1 record' , function (done) {
it('should run a find query with a limit of 1 and return 1 record', function (done) {
Foo.findAll({ conditions: {}, limit: 1 }, function (err, recs) {

@@ -786,0 +788,0 @@ assume(err).is.falsey();

'use strict';
var assume = require('assume'),
mocks = require('../mocks');
var assume = require('assume'),
datastarTestTools = require('datastar-test-tools');
var mocks = datastarTestTools.mocks;
describe('Datastar (unit)', function () {

@@ -7,0 +9,0 @@ var Datastar;

'use strict';
var assume = require('assume'),
helpers = require('../helpers'),
mocks = require('../mocks'),
entity = require('../fixtures/dog'),
schemas = require('../fixtures/schemas');
var assume = require('assume'),
dataStarTestTools = require('datastar-test-tools'),
entity = require('../fixtures/dog'),
schemas = require('../fixtures/schemas');
var helpers = dataStarTestTools.helpers,
mocks = dataStarTestTools.mocks;
assume.use(require('assume-sinon'));

@@ -10,0 +13,0 @@

'use strict';
var assume = require('assume'),
uuid = require('uuid'),
helpers = require('../helpers'),
mocks = require('../mocks'),
schemas = require('../fixtures/schemas'),
sinon = require('sinon');
var assume = require('assume'),
uuid = require('uuid'),
datastarTestTools = require('datastar-test-tools'),
schemas = require('../fixtures/schemas'),
sinon = require('sinon');
var helpers = datastarTestTools.helpers,
mocks = datastarTestTools.mocks;
assume.use(require('assume-sinon'));

@@ -11,0 +13,0 @@

'use strict';
var assume = require('assume'),
joi = require('joi-of-cql'),
helpers = require('../helpers'),
schemas = require('../fixtures/schemas'),
Schema = require('../../lib/schema');
var assume = require('assume'),
datastarTestTools = require('datastar-test-tools'),
joi = require('joi-of-cql'),
schemas = require('../fixtures/schemas'),
Schema = require('../../lib/schema');
var debug = helpers.debug,
cql = joi.cql;
var helpers = datastarTestTools.helpers,
debug = helpers.debug,
cql = joi.cql;

@@ -28,3 +29,7 @@ describe('Schema (unit)', function () {

});
function init() { Schema('invalid', invalid); }
function init() {
Schema('invalid', invalid);
}
assume(init).throws(/must define a partitionKey/);

@@ -34,3 +39,6 @@ });

it('should throw an error when given an invalid name for the schema', function () {
function init() { Schema('has-dashes'); }
function init() {
Schema('has-dashes');
}
assume(init).throws('Invalid character in schema name');

@@ -37,0 +45,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