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

@lbu/insight

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/insight - npm Package Compare versions

Comparing version 0.0.92 to 0.0.93

7

package.json
{
"name": "@lbu/insight",
"version": "0.0.92",
"version": "0.0.93",
"description": "Simple logger in NDJSON format",

@@ -15,5 +15,2 @@ "main": "./index.js",

"license": "MIT",
"dependencies": {
"@lbu/stdlib": "0.0.92"
},
"maintainers": [

@@ -40,3 +37,3 @@ {

},
"gitHead": "68be0c5c1f7177797820b1cf2ef061542004dfd3"
"gitHead": "9b8657e966d916d33ccc25eda1a4d408281e178a"
}

@@ -1,4 +0,5 @@

import { environment } from "@lbu/stdlib";
import { writeNDJSON, writePretty } from "./writer.js";
let environment = undefined;
/**

@@ -9,2 +10,6 @@ * @param {LoggerOptions} [options]

export function newLogger(options) {
if (environment === undefined) {
environment = JSON.parse(JSON.stringify(process.env));
}
const app = environment.APP_NAME;

@@ -11,0 +16,0 @@ const isProduction =

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