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

loupe

Package Overview
Dependencies
Maintainers
2
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

loupe - npm Package Compare versions

Comparing version 1.0.2 to 1.0.3

2

lib/symbol.js
export default function inspectSymbol(value) {
if ('description' in Symbol.prototype) {
return `Symbol(${value.description})`
return value.description ? `Symbol(${value.description})` : "'Symbol()'"
}
return value.toString()
}

@@ -880,3 +880,3 @@ (function (global, factory) {

if ('description' in Symbol.prototype) {
return "Symbol(".concat(value.description, ")");
return value.description ? "Symbol(".concat(value.description, ")") : "'Symbol()'";
}

@@ -883,0 +883,0 @@

{
"name": "loupe",
"version": "1.0.2",
"version": "1.0.3",
"description": "Inspect utility for Node.js and browsers",

@@ -5,0 +5,0 @@ "homepage": "https://github.com/chaijs/loupe",

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