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

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