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

rethinkdb

Package Overview
Dependencies
Maintainers
1
Versions
50
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rethinkdb - npm Package Compare versions

Comparing version 1.13.0-1 to 1.13.0-2

18

net.js

@@ -485,11 +485,11 @@ // Generated by CoffeeScript 1.7.0

return function() {
var buf, handshake_callback;
buf = new Buffer(4);
buf.writeUInt32LE(protoVersion, 0);
_this.rawSocket.write(buf);
buf = new Buffer(_this.authKey, 'ascii');
_this.write(buf);
buf = new Buffer(4);
buf.writeUInt32LE(protoProtocol, 0);
_this.rawSocket.write(buf);
var auth_buffer, auth_length, handshake_callback, protocol, version;
version = new Buffer(4);
version.writeUInt32LE(protoVersion, 0);
auth_buffer = new Buffer(_this.authKey, 'ascii');
auth_length = new Buffer(4);
auth_length.writeUInt32LE(auth_buffer.length, 0);
protocol = new Buffer(4);
protocol.writeUInt32LE(protoProtocol, 0);
_this.rawSocket.write(Buffer.concat([version, auth_length, auth_buffer, protocol]));
handshake_callback = function(buf) {

@@ -496,0 +496,0 @@ var b, i, status_buf, status_str, _i, _len, _ref;

{ "name" : "rethinkdb"
, "version" : "1.13.0-1"
, "version" : "1.13.0-2"
, "main" : "rethinkdb"

@@ -4,0 +4,0 @@ , "description" : "This package provides the JavaScript driver library for the RethinkDB database server for use either from node or your web-browser."

@@ -46,3 +46,7 @@ // Generated by CoffeeScript 1.7.0

if (expectedPosArgs !== numPosArgs) {
throw new err.RqlDriverError("Expected " + expectedPosArgs + " argument(s) but found " + numPosArgs + ".");
if (expectedPosArgs !== 1) {
throw new err.RqlDriverError("Expected " + expectedPosArgs + " arguments (not including options) but found " + numPosArgs + ".");
} else {
throw new err.RqlDriverError("Expected " + expectedPosArgs + " argument (not including options) but found " + numPosArgs + ".");
}
}

@@ -49,0 +53,0 @@ return fun.apply(this, args);

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