New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@platformatic/utils

Package Overview
Dependencies
Maintainers
7
Versions
315
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@platformatic/utils - npm Package Compare versions

Comparing version 2.35.1 to 2.36.1

10

lib/streams/pino-writable.js

@@ -12,5 +12,6 @@ 'use strict'

#hadOutput
#caller
constructor (options) {
const { pino, level, ignoreEmpty, ...opts } = options
const { pino, level, ignoreEmpty, caller, ...opts } = options

@@ -21,2 +22,3 @@ super({ ...opts, decodeStrings: false })

this.#hadOutput = false
this.#caller = caller
}

@@ -36,3 +38,3 @@

this.#write({ raw })
this.#write({ raw, caller: this.#caller })
callback()

@@ -48,4 +50,4 @@ }

function createPinoWritable (pino, level, ignoreEmpty) {
const writable = new PinoWritable({ pino, level, ignoreEmpty })
function createPinoWritable (pino, level, ignoreEmpty = false, caller = undefined) {
const writable = new PinoWritable({ pino, level, ignoreEmpty, caller })
writable.write = writable.write.bind(writable)

@@ -52,0 +54,0 @@ return writable

4

package.json
{
"name": "@platformatic/utils",
"version": "2.35.1",
"version": "2.36.1",
"description": "Platformatic Utils",

@@ -34,3 +34,3 @@ "main": "index.js",

"semver": "^7.6.3",
"undici": "7.2.0"
"undici": "7.2.1"
},

@@ -37,0 +37,0 @@ "scripts": {

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