252 Commits

Author SHA1 Message Date
Justin
114374308e Updating node deps
got          ^11.1.4  →   ^11.7.0
 @types/node  ^14.0.6  →  ^14.11.2
2020-09-27 15:17:33 +02:00
Justin
e5d5815100 Updating browser deps
@types/node           ^14.0.14  →  ^14.11.2
 @types/puppeteer        ^3.0.0  →    ^3.0.2
 node-fetch              ^2.6.0  →    ^2.6.1
 puppeteer                5.2.1  →     5.3.1
 rollup-plugin-terser    ^7.0.0  →    ^7.0.2
yarn
2020-09-27 15:16:38 +02:00
Justin
397e083cb5 Updating cli deps
chalk                ^4.0.0  →  ^4.1.0
 ora                  ^5.0.0  →  ^5.1.0
 @rollup/plugin-json  ^4.0.3  →  ^4.1.0
2020-09-27 15:14:45 +02:00
Justin
bd351ef43b Updating core deps
@types/node  ^14.0.6  →  ^14.11.2
 fs-extra      ^9.0.0  →    ^9.0.1
2020-09-27 15:13:47 +02:00
Justin
c246086a64 Updating requester-utils deps
query-string  ^6.12.1  →   ^6.13.3
 @types/node   ^14.0.6  →  ^14.11.2
2020-09-27 15:12:59 +02:00
Justin
7211ab0733 Merge branch 'ts-node' into backitup 2020-09-26 20:39:24 +02:00
Justin
e03d87f3fb Externalize formdata 2020-09-26 19:33:20 +02:00
Justin
431fa25211 Update ts-node 2020-09-26 19:28:38 +02:00
Justin
d74822dea9 Updating terser usage to be only on the browser release 2020-09-26 19:05:44 +02:00
dependabot-preview[bot]
d1c8ceeae5 chore(deps-dev): bump typescript from 3.9.7 to 4.0.3
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 3.9.7 to 4.0.3.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v3.9.7...v4.0.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-09-26 13:53:17 +02:00
Justin
e3ab92ee65 Updating unit tests [skip ci] 2020-09-25 17:55:14 +02:00
Justin
f2eec88379 Linting 2020-09-25 17:54:35 +02:00
xieyu
1e754e0416
Response body needs parse firstly when it's type is json (#1057) 2020-08-11 15:52:27 +02:00
dependabot-preview[bot]
0295965d55
chore(deps-dev): bump rollup-plugin-terser from 6.1.0 to 7.0.0 (#1058)
Bumps [rollup-plugin-terser](https://github.com/TrySound/rollup-plugin-terser) from 6.1.0 to 7.0.0.
- [Release notes](https://github.com/TrySound/rollup-plugin-terser/releases)
- [Commits](https://github.com/TrySound/rollup-plugin-terser/compare/v6.1.0...v7.0.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: Justin Dalrymple <jdalrymple@users.noreply.github.com>
2020-08-10 11:08:38 +02:00
dependabot-preview[bot]
0690257a0b
chore(deps): bump ora from 4.1.1 to 5.0.0 (#1059)
Bumps [ora](https://github.com/sindresorhus/ora) from 4.1.1 to 5.0.0.
- [Release notes](https://github.com/sindresorhus/ora/releases)
- [Commits](https://github.com/sindresorhus/ora/commits/v5.0.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-08-10 11:08:16 +02:00
Justin Dalrymple
b57b8b5e43 Bump version to: 23.5.0 [skip ci] 2020-08-09 14:18:22 +00:00
Justin Dalrymple
76b967a957 Update CHANGELOG.md [skip ci] 2020-08-09 14:18:19 +00:00
Justin Dalrymple
21faf97301
Fixing support for FormData requests (#1056) 2020-08-09 16:01:33 +02:00
Kipras Melnikovas
2b65591b56
fix(browser): return early if response headers empty (#1034)
When performing simple requests, such as

```ts
import { Gitlab } from "@gitbeaker/browser";

const api = new Gitlab({ token, host });

const res = await api.Issues.show(projectId, issueIid);
```

I used to get errors, such as

```console
index.js:11539 RangeError: Invalid array length
...
```

and this fixed it.
2020-08-07 14:22:01 +02:00
dependabot-preview[bot]
a6ab1992da
chore(deps-dev): bump puppeteer from 5.0.0 to 5.2.1 (#1000)
Bumps [puppeteer](https://github.com/puppeteer/puppeteer) from 5.0.0 to 5.2.1.
- [Release notes](https://github.com/puppeteer/puppeteer/releases)
- [Commits](https://github.com/puppeteer/puppeteer/compare/v5.0.0...v5.2.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: Justin Dalrymple <jdalrymple@users.noreply.github.com>
2020-07-27 01:43:34 +02:00
dependabot-preview[bot]
b8698b251b
chore(deps-dev): bump @rollup/plugin-commonjs from 13.0.0 to 14.0.0 (#973)
Bumps [@rollup/plugin-commonjs](https://github.com/rollup/plugins) from 13.0.0 to 14.0.0.
- [Release notes](https://github.com/rollup/plugins/releases)
- [Commits](https://github.com/rollup/plugins/compare/commonjs-v13.0.0...commonjs-v14.0.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: Justin Dalrymple <jdalrymple@users.noreply.github.com>
2020-07-22 12:28:57 +02:00
dependabot-preview[bot]
dfd8d45376
chore(deps): bump ky from 0.21.0 to 0.23.0 (#1001)
Bumps [ky](https://github.com/sindresorhus/ky) from 0.21.0 to 0.23.0.
- [Release notes](https://github.com/sindresorhus/ky/releases)
- [Commits](https://github.com/sindresorhus/ky/compare/v0.21.0...v0.23.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-07-22 12:27:09 +02:00
Justin Dalrymple
c3595836ce Bump version to: 23.4.2 [skip ci] 2020-07-22 01:43:11 +00:00
Justin Dalrymple
5276a0fea5 Bump version to: 23.4.1 [skip ci] 2020-07-22 01:38:56 +00:00
Justin Dalrymple
2ed9b3c9f3 Update CHANGELOG.md [skip ci] 2020-07-22 01:38:53 +00:00
dependabot-preview[bot]
31c7f9691d
chore(deps): bump ky from 0.20.0 to 0.21.0 (#961)
Bumps [ky](https://github.com/sindresorhus/ky) from 0.20.0 to 0.21.0.
- [Release notes](https://github.com/sindresorhus/ky/releases)
- [Commits](https://github.com/sindresorhus/ky/compare/v0.20.0...v0.21.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: Justin Dalrymple <jdalrymple@users.noreply.github.com>
2020-07-17 00:32:07 +02:00
Justin Dalrymple
a6fd10fab7 Bump version to: 23.4.0 [skip ci] 2020-07-12 08:42:14 +00:00
Justin Dalrymple
8fdeb8c0d1 Update CHANGELOG.md [skip ci] 2020-07-12 08:42:12 +00:00
Justin Dalrymple
56d4731504
Updating min node version supported (#957) 2020-07-12 10:20:31 +02:00
Justin Dalrymple
67c94e0c12
Fixing encoding for requests of archive data (#954) 2020-07-12 10:20:00 +02:00
Justin Dalrymple
e135a55279 Bump version to: 23.3.0 [skip ci] 2020-07-11 15:19:52 +00:00
Justin Dalrymple
edd2c4d8a1 Update CHANGELOG.md [skip ci] 2020-07-11 15:19:50 +00:00
Justin Dalrymple
9b9d45f56e
Fixing type definitions for optional arguments (#956) 2020-07-11 17:02:03 +02:00
Justin Dalrymple
110cd95176 Bump version to: 23.2.0 [skip ci] 2020-07-08 19:34:10 +00:00
Justin Dalrymple
180d51e827 Update CHANGELOG.md [skip ci] 2020-07-08 19:34:08 +00:00
Justin Dalrymple
f0e9ef8d2b
Fixing closes_issues endpoint (#953) 2020-07-08 20:55:23 +02:00
Justin Dalrymple
ef9548668c Bump version to: 23.1.0 [skip ci] 2020-07-08 13:18:28 +00:00
Justin Dalrymple
ab34cdb778 Update CHANGELOG.md [skip ci] 2020-07-08 13:18:26 +00:00
Justin Dalrymple
c10dba3fd0
Fixing up the Type exports for all the distributed libraries (#795) 2020-07-08 11:45:18 +02:00
dependabot-preview[bot]
1e74ce86a4
chore(deps-dev): bump puppeteer from 4.0.0 to 5.0.0 (#928)
Bumps [puppeteer](https://github.com/puppeteer/puppeteer) from 4.0.0 to 5.0.0.
- [Release notes](https://github.com/puppeteer/puppeteer/releases)
- [Commits](https://github.com/puppeteer/puppeteer/compare/v4.0.0...v5.0.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: Justin Dalrymple <jdalrymple@users.noreply.github.com>
2020-07-07 11:49:37 +02:00
Justin Dalrymple
5b76842468 Bump version to: 23.0.0 [skip ci] 2020-07-07 08:13:02 +00:00
Justin Dalrymple
720db34e98 Update CHANGELOG.md [skip ci] 2020-07-07 08:12:49 +00:00
s-kazuki
fa2e0e55f4
Add ability to create todos for issues (#925) 2020-07-07 09:54:24 +02:00
Justin Dalrymple
12900a78dd Bump version to: 22.0.1 [skip ci] 2020-06-25 21:36:05 +00:00
Justin Dalrymple
faaa6db6a8 Update CHANGELOG.md [skip ci] 2020-06-25 21:35:53 +00:00
Flavien Bridault
704ab0c5b3
Add related merge requests and closed by in Issues service (#903)
* Add `related merge requests` and `closed by` in Issues service
* Rename all issueId variables to issueIid to comply with GitLab API
* Reflect also the change in the unit-test, though only one occurrence was
found.
2020-06-25 23:19:19 +02:00
Justin Dalrymple
1674b8759d Bump version to: 22.0.0 [skip ci] 2020-06-20 13:12:38 +00:00
Justin Dalrymple
e4c21a9fd1 Update CHANGELOG.md [skip ci] 2020-06-20 13:12:35 +00:00
Justin Dalrymple
db63076a5a
Reach > 90% coverage and add Integration Testing (#709)
- Added many many more unit tests to increase coverage to 90% +
- Removed the upsert functionality of PushRules to maintain documented API parity
2020-06-20 14:55:12 +02:00
dependabot-preview[bot]
75659cc68a
chore(deps-dev): bump puppeteer from 3.1.0 to 4.0.0 (#895)
Bumps [puppeteer](https://github.com/puppeteer/puppeteer) from 3.1.0 to 4.0.0.
- [Release notes](https://github.com/puppeteer/puppeteer/releases)
- [Commits](https://github.com/puppeteer/puppeteer/compare/v3.1.0...v4.0.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-06-16 14:37:08 +02:00