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

js-data-rethinkdb

Package Overview
Dependencies
Maintainers
2
Versions
42
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

js-data-rethinkdb - npm Package Compare versions

Comparing version 3.0.0-beta.2 to 3.0.0-beta.3

4

CHANGELOG.md

@@ -0,1 +1,5 @@

##### 3.0.0-beta.3 - 30 April 2016
- Upgraded to `js-data-adapter` v0.6.1
##### 3.0.0-beta.2 - 29 April 2016

@@ -2,0 +6,0 @@

31

dist/js-data-rethinkdb.d.ts

@@ -6,9 +6,2 @@ import {Adapter} from 'js-data-adapter'

}
interface IActionOpts {
adapter?: string,
pathname?: string,
request?: Function,
response?: Function,
responseError?: Function
}
interface IBaseAdapter extends IDict {

@@ -24,9 +17,9 @@ debug?: boolean,

host?: string
insertOpts?: IDICT
insertOpts?: IDict
max?: number
min?: number
operators?: IDICT
operators?: IDict
port?: number
runOpts?: IDICT
updateOpts?: IDICT
runOpts?: IDict
updateOpts?: IDict
}

@@ -37,3 +30,3 @@ export class RethinkDBAdapter extends Adapter {

}
export const OPERATORS = {
export interface OPERATORS {
'==': Function

@@ -54,9 +47,9 @@ '===': Function

}
export const version = {
full?: string
minor?: string
major?: string
patch?: string
alpha?: string | boolean
beta?: string | boolean
export interface version {
full: string
minor: string
major: string
patch: string
alpha: string | boolean
beta: string | boolean
}

@@ -409,3 +409,3 @@ 'use strict';

return self.selectTable(mapper, opts).get(id).update(jsDataAdapter.withoutRelations(mapper, props), updateOpts).run(self.getOpt('runOpts', opts)).then(function (cursor) {
return self.selectTable(mapper, opts).get(id).update(props, updateOpts).run(self.getOpt('runOpts', opts)).then(function (cursor) {
var record = void 0;

@@ -430,3 +430,3 @@ self._handleErrors(cursor);

return self.filterSequence(self.selectTable(mapper, opts), query).update(jsDataAdapter.withoutRelations(mapper, props), updateOpts).run(self.getOpt('runOpts', opts)).then(function (cursor) {
return self.filterSequence(self.selectTable(mapper, opts), query).update(props, updateOpts).run(self.getOpt('runOpts', opts)).then(function (cursor) {
var records = [];

@@ -1004,4 +1004,4 @@ self._handleErrors(cursor);

var version = {
beta: 2,
full: '3.0.0-beta.2',
beta: 3,
full: '3.0.0-beta.3',
major: 3,

@@ -1008,0 +1008,0 @@ minor: 0,

{
"name": "js-data-rethinkdb",
"description": "RethinkDB adapter for js-data.",
"version": "3.0.0-beta.2",
"version": "3.0.0-beta.3",
"homepage": "https://github.com/js-data/js-data-rethinkdb",

@@ -43,2 +43,5 @@ "repository": {

},
"babel": {
"presets": ["es2015-rollup"]
},
"scripts": {

@@ -57,3 +60,3 @@ "lint": "repo-tools lint \"**/*.js\"",

"dependencies": {
"js-data-adapter": "~0.6.0",
"js-data-adapter": "~0.6.1",
"mout": "1.0.0"

@@ -69,3 +72,3 @@ },

"istanbul": "0.4.3",
"js-data-adapter-tests": "^2.0.0-alpha.15",
"js-data-adapter-tests": "^2.0.0-alpha.16",
"js-data-repo-tools": "0.5.0",

@@ -72,0 +75,0 @@ "rollup": "0.26.1",

import {utils} from 'js-data'
import {
Adapter,
reserved,
withoutRelations
reserved
} from 'js-data-adapter'

@@ -437,3 +436,3 @@ import rethinkdbdash from 'rethinkdbdash'

.get(id)
.update(withoutRelations(mapper, props), updateOpts)
.update(props, updateOpts)
.run(self.getOpt('runOpts', opts)).then(function (cursor) {

@@ -461,3 +460,3 @@ let record

return self.filterSequence(self.selectTable(mapper, opts), query)
.update(withoutRelations(mapper, props), updateOpts)
.update(props, updateOpts)
.run(self.getOpt('runOpts', opts)).then(function (cursor) {

@@ -464,0 +463,0 @@ let records = []

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