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 4.1.0 to 4.1.1

12

CHANGELOG.md

@@ -0,1 +1,13 @@

### 4.1.1
* Fix lgtm.com issues & package updates - **[@aaarichter](https://github.com/aaarichter)** [#110](https://github.com/groupon/gofer/pull/110)
- [`ba8ea4c`](https://github.com/groupon/gofer/commit/ba8ea4cc6d0f491be2cc74ed3ccfa5177f976fc5) **chore:** upgrade dependencies
- [`27caa09`](https://github.com/groupon/gofer/commit/27caa091b839511f6fee8a75a8dffd3218878e37) **fix:** remove self-assigned variables
- [`97bf3e0`](https://github.com/groupon/gofer/commit/97bf3e08e88addc73191a1e98cb96bffa0a2ad8b) **fix:** body validating condition
- [`18d1a57`](https://github.com/groupon/gofer/commit/18d1a57e94003cce9e9fa1e7f1356fc6fbdebc32) **style:** fix code inspection issues
- [`0c097cc`](https://github.com/groupon/gofer/commit/0c097cc088fc4e060252e7803daed7db46f3caa2) **style:** fix lint error
- [`4d83c28`](https://github.com/groupon/gofer/commit/4d83c28111534b5ce173af99c7468d7cd4dba39f) **test:** bump up timeout
- [`4bc3643`](https://github.com/groupon/gofer/commit/4bc3643c7181de1e273a739a91ba3423146e7515) **fix:** set --allow-chrome-as-root to mochify setup
### 4.1.0

@@ -2,0 +14,0 @@

2

lib/fetch.browser.js

@@ -80,3 +80,3 @@ /*

function validateBody(body) {
if (!isValidBody) {
if (!isValidBody(body)) {
throw new TypeError(`Invalid body ${typeof body}`);

@@ -83,0 +83,0 @@ }

@@ -44,4 +44,2 @@ /*

config = config || {};
serviceName = serviceName;
clientVersion = clientVersion;
clientName = clientName || serviceName;

@@ -48,0 +46,0 @@

@@ -75,3 +75,2 @@ /*

initialHandle = delayHandle = null;
return;
}

@@ -78,0 +77,0 @@ initialHandle = setTimeout(onTimer, ms);

@@ -40,3 +40,3 @@ /*

* @param {{ [name: string]: QSVal }} qs
* @param {string} prefix
* @param {Array<string>} [path]
*/

@@ -77,4 +77,4 @@ function updateSearch(query, qs, path = []) {

return pathname.replace(/\{(\w+)\}|%7B(\w+)%7D/g, onPlaceHolder);
return pathname.replace(/{(\w+)}|%7B(\w+)%7D/g, onPlaceHolder);
}
exports.replacePathParams = replacePathParams;
{
"name": "gofer",
"version": "4.1.0",
"version": "4.1.1",
"description": "A general purpose service client library",

@@ -42,3 +42,3 @@ "license": "BSD-3-Clause",

"dependencies": {
"debug": "^2.2.0",
"debug": "^4.1.1",
"lodash.isobjectlike": "^4.0.0",

@@ -50,15 +50,15 @@ "lodash.isplainobject": "^4.0.6",

"devDependencies": {
"assertive": "^2.1.0",
"eslint": "^6.6.0",
"eslint-config-groupon": "^8.0.0",
"eslint-plugin-import": "^2.18.2",
"eslint-plugin-mocha": "^6.1.0",
"eslint-plugin-node": "^10.0.0",
"eslint-plugin-prettier": "^3.1.0",
"assertive": "^3.1.0",
"eslint": "^6.8.0",
"eslint-config-groupon": "^8.1.0",
"eslint-plugin-import": "^2.20.1",
"eslint-plugin-mocha": "^6.2.2",
"eslint-plugin-node": "^11.0.0",
"eslint-plugin-prettier": "^3.1.2",
"form-data": "^1.0.0-rc4",
"mocha": "^6.2.0",
"mochify": "^6.4.1",
"nlm": "^3.6.1",
"mocha": "^7.0.1",
"mochify": "^6.6.0",
"nlm": "^3.6.3",
"npm-run-all": "^4.1.5",
"prettier": "^1.18.2",
"prettier": "^1.19.1",
"self-signed": "^1.3.1"

@@ -65,0 +65,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