can-stache-key
Advanced tools
Comparing version 1.3.0 to 1.3.1
@@ -306,1 +306,8 @@ var observeReader = require("can-stache-key"); | ||
}); | ||
QUnit.test("objHasKeyAtIndex doesn't handle non-object types correctly (#33)", function () { | ||
var result = observeReader.read(47, observeReader.reads("toFixed")); | ||
QUnit.equal(typeof result.value, 'function'); | ||
QUnit.equal(result.parent, 47); | ||
QUnit.equal(result.parentHasKey, true); | ||
}); |
@@ -61,3 +61,2 @@ var ObservationRecorder = require('can-observation-recorder'); | ||
return !!( | ||
obj && typeof obj === "object" && | ||
reads && reads.length && | ||
@@ -64,0 +63,0 @@ canReflect.hasKey(obj, reads[index].key) |
{ | ||
"name": "can-stache-key", | ||
"version": "1.3.0", | ||
"version": "1.3.1", | ||
"description": "Read and write keys on a value", | ||
@@ -50,3 +50,3 @@ "homepage": "https://canjs.com", | ||
"can-observation-recorder": "^1.0.0", | ||
"can-reflect": "^1.1.0", | ||
"can-reflect": "^1.16.4", | ||
"can-reflect-promise": "^2.0.0", | ||
@@ -53,0 +53,0 @@ "can-symbol": "^1.0.0" |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
27696
600
Updatedcan-reflect@^1.16.4