Socket
Socket
Sign inDemoInstall

gitlab-fetch

Package Overview
Dependencies
21
Maintainers
1
Versions
37
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.2.3-dev.8983139 to 0.2.3-dev.10237340

1

CHANGELOG.md
# Changelog
## develop
* [breaking] GitLab base URL must not include API version.

@@ -5,0 +6,0 @@ ## 0.2.2

@@ -30,2 +30,8 @@ "use strict";

}
else if (baseUrl.endsWith('/')) {
throw new ConfigError(path, '"gitlab.baseUrl" property must not have a trailing slash');
}
else if (/\/v\d+$/.test(baseUrl)) {
throw new ConfigError(path, '"gitlab.baseUrl" property must not end with API version.');
}
else if (typeof privateToken !== 'string') {

@@ -32,0 +38,0 @@ throw new ConfigError(path, '"gitlab.privateToken" property must be a string');

2

package.json
{
"name": "gitlab-fetch",
"version": "0.2.3-dev.8983139",
"version": "0.2.3-dev.10237340",
"author": "Jay Anslow <jay@anslow.me.uk>",

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

@@ -22,3 +22,3 @@ A GitLab API client using the [whatwg-fetch API](https://github.com/whatwg/fetch) (written in TypeScript).

const config: Config = {
baseUrl: 'https://gitlab.com/api/v3',
baseUrl: 'https://gitlab.com/api',
auth: {

@@ -25,0 +25,0 @@ privateToken: process.env.GITLAB_API_TOKEN,

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc