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

ember-cli-simple-store

Package Overview
Dependencies
Maintainers
2
Versions
74
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ember-cli-simple-store - npm Package Compare versions

Comparing version 4.0.0-beta.4 to 4.0.0-beta.5

16

addon/store.js

@@ -101,3 +101,3 @@ import Ember from "ember";

// Ember.deprecate("find with filter no longer requires an array of computed keys", computed_keys);
return this._findWithFilterFunc(type, options, true);
return this._findWithFilterFunc(type, options);
}

@@ -140,13 +140,3 @@ if (typeof options === "object") {

},
_findWithFilterFunc: function(type, filter_func, cache) {
var filtersMap = this.get("filtersMap");
var filters = filtersMap[type] || [];
if(cache) {
var exists = filters.filter(function(fn) {
return fn.filter_func.toString() === filter_func.toString();
})[0];
if(exists) {
return exists;
}
}
_findWithFilterFunc: function(type, filter_func) {
var func = Ember.ArrayProxy.extend({

@@ -173,2 +163,4 @@ push: function(type, data) {

});
var filtersMap = this.get("filtersMap");
var filters = filtersMap[type] || [];
filters.push(func);

@@ -175,0 +167,0 @@ filtersMap[type] = filters;

{
"name": "ember-cli-simple-store",
"version": "4.0.0-beta.4",
"version": "4.0.0-beta.5",
"description": "ember-cli addon that provides a simple identity map for ember.js web applications",

@@ -5,0 +5,0 @@ "directories": {

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