@dotcom-reliability-kit/serialize-request
Advanced tools
Comparing version 1.0.1 to 1.0.2
/** | ||
* @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": { |
9856
153