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

gofer

Package Overview
Dependencies
Maintainers
4
Versions
98
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gofer - npm Package Compare versions

Comparing version 5.2.4 to 5.3.0

11

CHANGELOG.md

@@ -0,1 +1,12 @@

### v5.3.0 (2024-02-12)
<a id="v5.3.0"></a>
#### 🚀 New Features
* [#139](https://github.com/groupon/gofer/pull/139) feat: add userAgent forwarding and tests ([@fkalny-groupon](https://github.com/fkalny-groupon))
#### 🐛 Bug Fixes
* [#140](https://github.com/groupon/gofer/pull/140) fix: old tests failing on defunct endpoints ([@fkalny-groupon](https://github.com/fkalny-groupon))
### v5.2.4 (2022-05-23)

@@ -2,0 +13,0 @@ <a id="v5.2.4"></a>

13

lib/fetch.js

@@ -115,6 +115,15 @@ /*

function buildUserAgent({ clientName, clientVersion, appName, appSha, fqdn }) {
function buildUserAgent({
clientName,
clientVersion,
appName,
appSha,
fqdn,
userAgent,
}) {
return `${clientName || 'noServiceName'}/${
clientVersion || 'noServiceVersion'
} (${appName || 'noAppName'}/${appSha || 'noAppSha'}; ${fqdn || 'noFQDN'})`;
} (${appName || 'noAppName'}/${appSha || 'noAppSha'}; ${fqdn || 'noFQDN'}; ${
userAgent || 'noUserAgent'
})`;
}

@@ -121,0 +130,0 @@

@@ -78,2 +78,3 @@ import { SecureContext } from 'tls';

captureAsyncStack?: boolean;
userAgent?: string;
[opt: string]: any;

@@ -80,0 +81,0 @@ };

2

package.json
{
"name": "gofer",
"version": "5.2.4",
"version": "5.3.0",
"description": "A general purpose service client library",

@@ -5,0 +5,0 @@ "license": "BSD-3-Clause",

[![nlm-github](https://img.shields.io/badge/github-groupon%2Fgofer%2Fissues-F4D03F?logo=github&logoColor=white)](https://github.com/groupon/gofer/issues)
![nlm-node](https://img.shields.io/badge/node-%3E%3D10.13-blue?logo=node.js&logoColor=white)
![nlm-version](https://img.shields.io/badge/version-5.2.4-blue?logo=version&logoColor=white)
![nlm-version](https://img.shields.io/badge/version-5.3.0-blue?logo=version&logoColor=white)
[![Build Status](https://travis-ci.com/groupon/gofer.svg?branch=main)](https://travis-ci.com/groupon/gofer)

@@ -5,0 +5,0 @@

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