Comparing version 3.0.6 to 3.0.7
12
dot.js
@@ -9,6 +9,4 @@ /*global Map Promise Set*/ | ||
before = ["before"], | ||
bnType = "boolean", | ||
empty = "", | ||
fnType = "function", | ||
objType = "object", | ||
period = ".", | ||
@@ -96,3 +94,3 @@ strType = "string" | ||
dot: r.dot, | ||
opt: o, | ||
opt: o.opt, | ||
prop: p, | ||
@@ -199,5 +197,3 @@ }, | ||
var isBn = t === bnType, | ||
isFn = t === fnType, | ||
isObj = t === objType, | ||
var isFn = t === fnType, | ||
isStr = t === strType | ||
@@ -209,6 +205,4 @@ | ||
o.bool = isBn ? opt : o.bool | ||
o.fn = isFn ? opt : o.fn | ||
o.obj = isObj ? opt : o.obj | ||
o.str = isStr ? opt : o.str | ||
o.opt = opt ? opt : o.opt | ||
} | ||
@@ -215,0 +209,0 @@ |
@@ -43,6 +43,3 @@ /* eslint-env jest */ | ||
dot: dot, | ||
opt: { | ||
obj: { test: true }, | ||
str: "a.b.c", | ||
}, | ||
opt: { test: true }, | ||
prop: { arr: ["b", "c"], ns: "a", str: "b.c" }, | ||
@@ -165,3 +162,3 @@ }) | ||
dot: dot, | ||
opt: { fn: undefined, obj: undefined, str: "hi" }, | ||
opt: "hi", | ||
prop: { arr: ["b", "c"], ns: "a", str: "b.c" }, | ||
@@ -168,0 +165,0 @@ }) |
{ | ||
"name": "dot-event", | ||
"version": "3.0.6", | ||
"version": "3.0.7", | ||
"description": "Powerful event emitter", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
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
8811
305