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

@middy/input-output-logger

Package Overview
Dependencies
Maintainers
3
Versions
214
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@middy/input-output-logger - npm Package Compare versions

Comparing version 5.3.2 to 5.3.3

1

index.d.ts

@@ -8,3 +8,2 @@ import middy from '@middy/core'

mask?: string
replacer?: (this: any, key: string, value: any) => any | Array<number | string>
}

@@ -11,0 +10,0 @@

7

index.js

@@ -7,8 +7,7 @@ import { Transform } from 'node:stream'

omitPaths: [],
mask: undefined,
replacer: undefined
mask: undefined
}
const inputOutputLoggerMiddleware = (opts = {}) => {
const { logger, awsContext, omitPaths, mask, replacer } = {
const { logger, awsContext, omitPaths, mask } = {
...defaults,

@@ -37,3 +36,3 @@ ...opts

if (omitPaths.length) {
cloneMessage = structuredClone(message, replacer) // Full clone to prevent nested mutations
cloneMessage = structuredClone(message) // Full clone to prevent nested mutations
omit(cloneMessage, { [param]: omitPathTree[param] })

@@ -40,0 +39,0 @@ }

{
"name": "@middy/input-output-logger",
"version": "5.3.2",
"version": "5.3.3",
"description": "Input and output logger middleware for the middy framework",

@@ -64,6 +64,6 @@ "type": "module",

"@datastream/core": "0.0.35",
"@middy/core": "5.3.2",
"@middy/core": "5.3.3",
"@types/node": "^20.0.0"
},
"gitHead": "56b1431f6feeef398a85054691977ee5c0212f55"
"gitHead": "1f0afb7b29cd22569fffb1cba1270397fafbb511"
}
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