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 2.5.0 to 2.6.0

6

CHANGELOG.md

@@ -0,1 +1,7 @@

### 2.6.0
* Backport searchDomain option to 2.x - **[@jkrems](https://github.com/jkrems)** [#70](https://github.com/groupon/gofer/pull/70)
- [`f8d1202`](https://github.com/groupon/gofer/commit/f8d12020e098c6564cd7d138fb8b0a6f15105330) **feat:** Backport searchDomain option to 2.x
### 2.5.0

@@ -2,0 +8,0 @@

7

lib/helpers.js

@@ -95,3 +95,3 @@

this.applyBaseUrl = function(baseUrl, options) {
var basePath, hostname, pathname, port, protocol, query, search, uri;
var basePath, hostname, pathname, port, protocol, query, search, searchDomain, uri;
uri = options.uri;

@@ -108,2 +108,7 @@ if ('string' === typeof uri) {

query = uri.query, search = uri.search;
searchDomain = options.searchDomain;
delete options.searchDomain;
if (searchDomain && hostname && hostname[hostname.length - 1] !== '.') {
hostname += "." + searchDomain + ".";
}
uri = Url.format({

@@ -110,0 +115,0 @@ protocol: protocol,

2

package.json
{
"name": "gofer",
"version": "2.5.0",
"version": "2.6.0",
"description": "A general purpose service client library for node.js",

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

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