Socket
Socket
Sign inDemoInstall

object-inspect

Package Overview
Dependencies
Maintainers
1
Versions
37
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

object-inspect - npm Package Compare versions

Comparing version 0.0.0 to 0.1.0

example/fn.js

3

index.js

@@ -24,2 +24,5 @@ module.exports = function inspect_ (obj, opts, depth, seen) {

}
else if (typeof obj === 'function') {
return '[Function' + (obj.name ? ': ' + obj.name : '') + ']';
}
else if (typeof HTMLElement !== 'undefined' && obj instanceof HTMLElement) {

@@ -26,0 +29,0 @@ var s = '<' + String(obj.tagName).toLowerCase();

2

package.json
{
"name": "object-inspect",
"version": "0.0.0",
"version": "0.1.0",
"description": "string representations of objects in node and the browser",

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

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