can-connect
Advanced tools
Comparing version 1.5.7 to 1.5.8
@@ -17,3 +17,3 @@ var $ = require("jquery"), | ||
var makeArray = require("can-util/js/make-array/make-array"); | ||
var types = require("can-types"); | ||
var canReflect = require("can-reflect"); | ||
var isPlainObject = require("can-util/js/is-plain-object/is-plain-object"); | ||
@@ -331,3 +331,3 @@ | ||
CanList.prototype.setup.apply(this); | ||
this.replace(types.isPromise(params) ? params : this.constructor.Map.findAll(params)); | ||
this.replace(canReflect.isPromise(params) ? params : this.constructor.Map.findAll(params)); | ||
} else { | ||
@@ -334,0 +334,0 @@ // Otherwise, set up the list like normal. |
{ | ||
"name": "can-connect", | ||
"version": "1.5.7", | ||
"version": "1.5.8", | ||
"description": "Data connection middleware and utilities", | ||
@@ -5,0 +5,0 @@ "main": "can-connect.js", |
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
550642
0