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

@dotcom-reliability-kit/serialize-request

Package Overview
Dependencies
Maintainers
4
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@dotcom-reliability-kit/serialize-request - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

12

lib/index.js
/**
* @module @dotcom-reliability-kit/serialize-request
*/
/**
* @typedef {import('express').Request | import('http').IncomingMessage & {route: object, params: object}} Request

@@ -48,3 +44,3 @@ */

*
* @access private
* @private
* @type {Array<string>}

@@ -57,3 +53,3 @@ */

*
* @access public
* @public
* @param {(string | Request)} request

@@ -137,3 +133,3 @@ * The request object to serialize. Either an Express Request object or a

*
* @access private
* @private
* @param {Record<string, any>} headers

@@ -157,3 +153,3 @@ * The headers object to serialize.

*
* @access private
* @private
* @param {Record<string, any>} properties

@@ -160,0 +156,0 @@ * The properties of the serialized error.

{
"name": "@dotcom-reliability-kit/serialize-request",
"version": "1.0.1",
"version": "1.0.2",
"description": "A utility function to serialize a request object in a way that's friendly to loggers, view engines, and converting to JSON",

@@ -5,0 +5,0 @@ "repository": {

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