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

js-data-adapter

Package Overview
Dependencies
Maintainers
1
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

js-data-adapter - npm Package Compare versions

Comparing version 0.2.1 to 0.2.2

4

CHANGELOG.md

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

##### 0.2.2 - 12 March 2016
Added support for filtering on "with" sub queries
##### 0.2.1 - 10 March 2016

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

@@ -70,2 +70,3 @@ (function (global, factory) {

var addHiddenPropsToTarget = jsData.utils.addHiddenPropsToTarget;
var deepFillIn = jsData.utils.deepFillIn;
var extend = jsData.utils.extend;

@@ -1164,2 +1165,13 @@ var fillIn = jsData.utils.fillIn;

var op = void 0;
var activeWith = opts._activeWith;
if (isObject(activeWith)) {
var activeQuery = activeWith.query || {};
if (activeWith.replace) {
query = activeQuery;
} else {
deepFillIn(query, activeQuery);
}
}
// beforeFindAll lifecycle hook

@@ -1166,0 +1178,0 @@ op = opts.op = 'beforeFindAll';

10

package.json
{
"name": "js-data-adapter",
"description": "Base adapter class that all other js-data adapters extend.",
"version": "0.2.1",
"version": "0.2.2",
"homepage": "https://github.com/js-data/js-data-adapter",

@@ -34,7 +34,7 @@ "repository": {

"peerDependencies": {
"js-data": "^3.0.0-alpha.16"
"js-data": "^3.0.0-alpha.18"
},
"devDependencies": {
"babel-core": "6.7.0",
"babel-polyfill": "6.6.1",
"babel-core": "6.7.2",
"babel-polyfill": "6.7.2",
"babel-preset-es2015-rollup": "1.1.1",

@@ -44,3 +44,3 @@ "chai": "3.5.0",

"istanbul": "0.4.2",
"js-data-adapter-tests": "^2.0.0-alpha.14",
"js-data-adapter-tests": "^2.0.0-alpha.15",
"js-data-repo-tools": "0.2.0",

@@ -47,0 +47,0 @@ "mocha": "2.4.5",

@@ -5,2 +5,3 @@ import {utils} from 'js-data'

addHiddenPropsToTarget,
deepFillIn,
extend,

@@ -1055,2 +1056,13 @@ fillIn,

let op
const activeWith = opts._activeWith
if (isObject(activeWith)) {
const activeQuery = activeWith.query || {}
if (activeWith.replace) {
query = activeQuery
} else {
deepFillIn(query, activeQuery)
}
}
// beforeFindAll lifecycle hook

@@ -1057,0 +1069,0 @@ op = opts.op = 'beforeFindAll'

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