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

rethinkdbdash

Package Overview
Dependencies
Maintainers
1
Versions
153
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rethinkdbdash - npm Package Compare versions

Comparing version 1.15.1 to 1.15.2

2

package.json
{
"name": "rethinkdbdash",
"version": "1.15.1",
"version": "1.15.2",
"description": "A Node.js driver for RethinkDB with promises and a connection pool",

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

@@ -13,3 +13,3 @@ var config = require(__dirname+'/config.js');

It("Init for `document-manipulation.js`", function* (done) {
It("Init for `geo.js`", function* (done) {
try {

@@ -16,0 +16,0 @@ dbName = uuid();

@@ -256,6 +256,8 @@ var config = require(__dirname+'/config.js');

result = yield r.db(dbName).table(tableName).insert({foo: ["bar1", "bar2"]}).run()
yield r.db(dbName).table(tableName).indexWait().run();
result = yield r.db(dbName).table(tableName).insert({foo: ["bar1", "bar2"], buzz: 1}).run()
assert.equal(result.inserted, 1);
result = yield r.db(dbName).table(tableName).insert({foo: ["bar1", "bar3"]}).run()
result = yield r.db(dbName).table(tableName).insert({foo: ["bar1", "bar3"], buzz: 2}).run()
assert.equal(result.inserted, 1);

@@ -285,2 +287,12 @@

// Test when the function is wrapped in an array
result = yield r.db(dbName).table(tableName).indexCreate("buzz", [r.row("buzz")]).run();
assert.deepEqual(result, {created: 1});
yield r.db(dbName).table(tableName).indexWait().run();
result = yield r.db(dbName).table(tableName).getAll([1], {index: "buzz"}).count().run()
assert.equal(result, 1)
done()

@@ -287,0 +299,0 @@

Sorry, the diff of this file is too big to display

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