Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

dot-event

Package Overview
Dependencies
Maintainers
1
Versions
85
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dot-event - npm Package Compare versions

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": [

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc