Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

blue-cot

Package Overview
Dependencies
Maintainers
1
Versions
67
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

blue-cot - npm Package Compare versions

Comparing version 6.2.1 to 6.2.2

5

lib/json_request.js

@@ -60,6 +60,7 @@ const request = require('./request')

const err = new Error(`${error}: ${reason}`)
const { method, headers, attempt } = params
const { method, attempt } = params
// Do not include full params object in context
// as that would params.agent stringification would fail due to circular reference
err.context = { method, url, body, headers, status, attempt }
// Do not include headers to avoid leaking authentification data
err.context = { method, url, body, status, attempt }
err.stack += `\nContext: ${JSON.stringify(err.context)}`

@@ -66,0 +67,0 @@ err.statusCode = err.status = status

2

package.json

@@ -24,3 +24,3 @@ {

],
"version": "6.2.1",
"version": "6.2.2",
"main": "lib/cot.js",

@@ -27,0 +27,0 @@ "dependencies": {

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