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

gitlab-fetch

Package Overview
Dependencies
Maintainers
1
Versions
37
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gitlab-fetch - npm Package Compare versions

Comparing version 1.1.0-dev.13831620 to 1.1.0-dev.13850281

5

CHANGELOG.md

@@ -11,2 +11,7 @@ # Changelog

## 1.0.1
* Fix `RepositoryApi#getFileContent`.
* Handle `text/plain` responses.
* Fix parsing of `Content-Length` header.
## 1.0.0

@@ -13,0 +18,0 @@ * Fix name of `ListProjectParams#order_by` parameter (was `#orderBy`)

5

lib/common/abstract-api.js

@@ -59,6 +59,7 @@ "use strict";

}
else if (response.size === 0) {
const contentSize = parseInt(response.headers.get('Content-Length'), 10) || 0;
if (contentSize === 0) {
return undefined;
}
else if (contentType === 'application/octet') {
else if (contentType === 'application/octet' || contentType === 'text/plain') {
return yield response.buffer();

@@ -65,0 +66,0 @@ }

2

package.json
{
"name": "gitlab-fetch",
"version": "1.1.0-dev.13831620",
"version": "1.1.0-dev.13850281",
"author": "Jay Anslow <jay@anslow.me.uk>",

@@ -5,0 +5,0 @@ "license": "MIT",

Sorry, the diff of this file is not supported yet

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