New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

dnode-object

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dnode-object - npm Package Compare versions

Comparing version
0.1.0
to
0.1.1
+4
-3
index.js

@@ -9,3 +9,4 @@ function DnodeObject() {}

if (typeof object[prop] === 'function' && this.include(object, prop, options)) {
api[prop] = this.wrapFunction(object, prop);
// console.log('DnodeObject include', prop); /* debug */
api[prop] = this.wrapFunction(object, prop, options);
}

@@ -21,4 +22,4 @@ }

}
if (options != null) {
if (options.exclude && options.exclude.indexOf(prop)) {
if (options) {
if (options.exclude && options.exclude.indexOf(prop) !== -1 ) {
return false;

@@ -25,0 +26,0 @@ }

{
"name": "dnode-object",
"version": "0.1.0",
"version": "0.1.1",
"description": "Wrap the methods of an object in an api object that you can use with dnode",

@@ -5,0 +5,0 @@ "main": "index.js",