Comparing version 3.0.27 to 3.0.28
11
dot.js
@@ -139,3 +139,3 @@ /*global Map Promise Set*/ | ||
return lib && lib.default | ||
? (lib.default.default || lib.default)(this) | ||
? (lib.default.default || lib.default)(dot) | ||
: lib | ||
@@ -233,5 +233,6 @@ }) | ||
var arg = args[i] | ||
var isStr = typeof arg === strType | ||
var isArr = Array.isArray(arg) && arg.every(isStrTest), | ||
isStr = isStrTest(arg) | ||
if (isStr || Array.isArray(arg)) { | ||
if (isArr || isStr) { | ||
k.arr = k.arr.concat(isStr ? [arg] : arg) | ||
@@ -249,1 +250,5 @@ } else if (i === args.length - 1) { | ||
} | ||
function isStrTest(arg) { | ||
return typeof arg === strType | ||
} |
{ | ||
"name": "dot-event", | ||
"version": "3.0.27", | ||
"version": "3.0.28", | ||
"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
13286
437