@lerna/gitlab-client
Advanced tools
Comparing version 5.4.3 to 5.5.0
@@ -22,5 +22,5 @@ "use strict"; | ||
const client = new GitLabClient(GL_API_URL, GL_TOKEN); | ||
const client = new GitLabClient(GL_TOKEN, GL_API_URL); | ||
return OcktokitAdapter(client); | ||
} |
@@ -5,3 +5,2 @@ "use strict"; | ||
const { URL } = require("whatwg-url"); | ||
const log = require("npmlog"); | ||
@@ -11,3 +10,3 @@ const fetch = require("node-fetch"); | ||
class GitLabClient { | ||
constructor(baseUrl = "https://gitlab.com/api/v4", token) { | ||
constructor(token, baseUrl = "https://gitlab.com/api/v4") { | ||
this.baseUrl = baseUrl; | ||
@@ -14,0 +13,0 @@ this.token = token; |
{ | ||
"name": "@lerna/gitlab-client", | ||
"version": "5.4.3", | ||
"version": "5.5.0", | ||
"description": "An internal Lerna tool", | ||
@@ -35,6 +35,5 @@ "keywords": [ | ||
"node-fetch": "^2.6.1", | ||
"npmlog": "^6.0.2", | ||
"whatwg-url": "^8.4.0" | ||
"npmlog": "^6.0.2" | ||
}, | ||
"gitHead": "225a451071a741179c9173082822bc9918a2933e" | ||
"gitHead": "bc3eb9911070325d7ceb310bc3e89e3777150560" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
2
3825
50
- Removedwhatwg-url@^8.4.0
- Removedlodash@4.17.21(transitive)
- Removedpunycode@2.3.1(transitive)
- Removedtr46@2.1.0(transitive)
- Removedwebidl-conversions@6.1.0(transitive)
- Removedwhatwg-url@8.7.0(transitive)