@gitbeaker/rest 39.10.2 → 39.11.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -0
- package/dist/index.js +2 -5
- package/dist/index.mjs +3 -6
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -406,6 +406,7 @@ projectsAPI.create({
|
|
|
406
406
|
<td align="center" valign="top" width="3.84%"><a href="https://github.com/Bambii556"><img src="https://images.weserv.nl/?url=https://avatars.githubusercontent.com/u/34485027?v=4&h=25&w=25&fit=cover&mask=circle&maxage=7d" alt="Bambii"/></td>
|
|
407
407
|
<td align="center" valign="top" width="3.84%"><a href="https://github.com/ravewill"><img src="https://images.weserv.nl/?url=https://avatars.githubusercontent.com/u/128541928?v=4&h=25&w=25&fit=cover&mask=circle&maxage=7d" alt="Will"/></td>
|
|
408
408
|
<td align="center" valign="top" width="3.84%"><a href="https://github.com/ArnaudTA"><img src="https://images.weserv.nl/?url=https://avatars.githubusercontent.com/u/33383276?v=4&h=25&w=25&fit=cover&mask=circle&maxage=7d" alt="ArnaudTA"/></td>
|
|
409
|
+
<td align="center" valign="top" width="3.84%"><a href="https://github.com/kouak"><img src="https://images.weserv.nl/?url=https://avatars.githubusercontent.com/u/48335?v=4&h=25&w=25&fit=cover&mask=circle&maxage=7d" alt="Benjamin Beret"/></td>
|
|
409
410
|
</tr>
|
|
410
411
|
</p>
|
|
411
412
|
|
package/dist/index.js
CHANGED
|
@@ -24,11 +24,8 @@ function _interopNamespace(e) {
|
|
|
24
24
|
var Resources__namespace = /*#__PURE__*/_interopNamespace(Resources);
|
|
25
25
|
|
|
26
26
|
// src/index.ts
|
|
27
|
-
async function defaultOptionsHandler(resourceOptions, requestOptions
|
|
28
|
-
const options =
|
|
29
|
-
resourceOptions,
|
|
30
|
-
requestOptions
|
|
31
|
-
);
|
|
27
|
+
async function defaultOptionsHandler(resourceOptions, requestOptions) {
|
|
28
|
+
const options = { ...requestOptions };
|
|
32
29
|
if (resourceOptions.url.includes("https") && resourceOptions.rejectUnauthorized != null && resourceOptions.rejectUnauthorized === false) {
|
|
33
30
|
if (typeof window !== "object") {
|
|
34
31
|
const { Agent } = await import('https');
|
package/dist/index.mjs
CHANGED
|
@@ -1,12 +1,9 @@
|
|
|
1
1
|
import * as Resources from '@gitbeaker/core';
|
|
2
|
-
import { createRequesterFn, presetResourceArguments
|
|
2
|
+
import { createRequesterFn, presetResourceArguments } from '@gitbeaker/requester-utils';
|
|
3
3
|
|
|
4
4
|
// src/index.ts
|
|
5
|
-
async function defaultOptionsHandler(resourceOptions, requestOptions
|
|
6
|
-
const options =
|
|
7
|
-
resourceOptions,
|
|
8
|
-
requestOptions
|
|
9
|
-
);
|
|
5
|
+
async function defaultOptionsHandler(resourceOptions, requestOptions) {
|
|
6
|
+
const options = { ...requestOptions };
|
|
10
7
|
if (resourceOptions.url.includes("https") && resourceOptions.rejectUnauthorized != null && resourceOptions.rejectUnauthorized === false) {
|
|
11
8
|
if (typeof window !== "object") {
|
|
12
9
|
const { Agent } = await import('https');
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gitbeaker/rest",
|
|
3
|
-
"version": "39.
|
|
3
|
+
"version": "39.11.0",
|
|
4
4
|
"description": "Cross Platform implementation of the GitLab API",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"engines": {
|
|
@@ -56,8 +56,8 @@
|
|
|
56
56
|
"release": "auto shipit"
|
|
57
57
|
},
|
|
58
58
|
"dependencies": {
|
|
59
|
-
"@gitbeaker/core": "^39.
|
|
60
|
-
"@gitbeaker/requester-utils": "^39.
|
|
59
|
+
"@gitbeaker/core": "^39.11.0",
|
|
60
|
+
"@gitbeaker/requester-utils": "^39.11.0"
|
|
61
61
|
},
|
|
62
62
|
"devDependencies": {
|
|
63
63
|
"@playwright/test": "^1.35.1",
|
|
@@ -65,5 +65,5 @@
|
|
|
65
65
|
"tsup": "^7.1.0",
|
|
66
66
|
"typescript": "^5.1.6"
|
|
67
67
|
},
|
|
68
|
-
"gitHead": "
|
|
68
|
+
"gitHead": "e11325fa6896d2b6f02cfd54be83f8c366ad27f8"
|
|
69
69
|
}
|