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

@lbu/stdlib

Package Overview
Dependencies
Maintainers
2
Versions
102
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@lbu/stdlib - npm Package Compare versions

Comparing version 0.0.93 to 0.0.94

6

package.json
{
"name": "@lbu/stdlib",
"version": "0.0.93",
"version": "0.0.94",
"description": "All kinds of utility functions",

@@ -17,3 +17,3 @@ "main": "./index.js",

"dependencies": {
"@lbu/insight": "0.0.93",
"@lbu/insight": "0.0.94",
"@types/node": "14.14.6",

@@ -44,3 +44,3 @@ "dotenv": "8.2.0",

},
"gitHead": "9b8657e966d916d33ccc25eda1a4d408281e178a"
"gitHead": "9565469537abd285d74c8c3d6b0836bd17effabb"
}

@@ -0,1 +1,2 @@

import { inspect } from "util";
import { isNil } from "./lodash.js";

@@ -123,2 +124,11 @@

}
/**
* Use AppError#format when AppError is passed to console.log / console.error.
* This works because it uses `util.inspect` under the hood.
* Util#inspect checks if the Symbol `util.inspect.custom` is available.
*/
[inspect.custom]() {
return AppError.format(this);
}
}
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