can-query-logic
Advanced tools
Comparing version 0.8.10 to 0.8.11
@@ -236,1 +236,8 @@ require("./src/types/make-real-number-range-inclusive-test"); | ||
}); | ||
QUnit.test("Value returned by makeEnum is constructorLike", function(assert){ | ||
var Status = QueryLogic.makeEnum(["new", "preparing", "delivery", "delivered"]); | ||
var pass = canReflect.isConstructorLike(Status); | ||
assert.ok(pass, "Status is constructor like"); | ||
}); |
@@ -8,2 +8,3 @@ var set = require("./src/set"); | ||
var schemaSymbol = canSymbol.for("can.getSchema"); | ||
var newSymbol = canSymbol.for("can.new"); | ||
var makeEnum = require("./src/types/make-enum"); | ||
@@ -177,2 +178,3 @@ | ||
var Type = function(){}; | ||
Type[newSymbol] = function(val) { return val; }; | ||
makeEnum(Type, values); | ||
@@ -179,0 +181,0 @@ return Type; |
{ | ||
"name": "can-query-logic", | ||
"version": "0.8.10", | ||
"version": "0.8.11", | ||
"description": "query data", | ||
@@ -5,0 +5,0 @@ "homepage": "", |
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
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
375317
10126
0