You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

@npmcli/redact

Package Overview
Dependencies
Maintainers
7
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@npmcli/redact - npm Package Compare versions

Comparing version

to
3.2.2

3

lib/deep-map.js

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

const { Buffer } = require('node:buffer')
const { serializeError } = require('./error')

@@ -13,3 +12,3 @@

// allows for non-node js environments, sush as workers
if (input instanceof Buffer) {
if (typeof Buffer !== 'undefined' && input instanceof Buffer) {
return `[unable to log instanceof buffer]`

@@ -16,0 +15,0 @@ }

{
"name": "@npmcli/redact",
"version": "3.2.1",
"version": "3.2.2",
"description": "Redact sensitive npm information from output",

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