Skip to content

Commit a799bc5

Browse files
committed
feat: use latest probot with new github apis
1 parent 1cacd88 commit a799bc5

File tree

7 files changed

+186
-41
lines changed

7 files changed

+186
-41
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
"@probot/serverless-lambda": "^0.2.0",
2727
"all-contributors-cli": "^5.7.0",
2828
"compromise": "^11.13.0",
29-
"probot": "^7.4.0"
29+
"probot": "^8.0.0-octokit-16-preview"
3030
},
3131
"devDependencies": {
3232
"@tophat/eslint-config": "^0.1.4",

test/Repository/index.test.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,8 @@ describe('Repository', () => {
8181
},
8282
branchName: 'all-contributors/add-jakebolam',
8383
})
84-
expect(pullRequestNumber).toEqual(1347)
84+
expect(pullRequestNumber).toEqual(
85+
'https://github.com/all-contributors/all-contributors-bot/pull/1347',
86+
)
8587
})
8688
})

test/__snapshots__/index-e2e.test.js.snap

Lines changed: 82 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,53 @@ Object {
66
77
We had trouble processing your request
88
9-
Error: 500",
9+
Error: request to https://api.github.com/repos/all-contributors/all-contributors-bot/contents/.all-contributorsrc failed, reason: Nock: No match for request {
10+
\\"method\\": \\"GET\\",
11+
\\"url\\": \\"https://api.github.com/repos/all-contributors/all-contributors-bot/contents/.all-contributorsrc\\",
12+
\\"headers\\": {
13+
\\"accept\\": [
14+
\\"application/vnd.github.v3+json\\"
15+
],
16+
\\"user-agent\\": [
17+
\\"octokit.js/16.8.0 Node.js/8.10.0 (macOS High Sierra; x64)\\"
18+
],
19+
\\"authorization\\": [
20+
\\"token test\\"
21+
],
22+
\\"accept-encoding\\": [
23+
\\"gzip,deflate\\"
24+
],
25+
\\"connection\\": [
26+
\\"close\\"
27+
]
28+
}
29+
}",
1030
}
1131
`;
1232

13-
exports[`All Contributors app - End to end Fail path, Unknown error (e.g. Network is dead, service down etc, our code is bad) crashes and sends error message 2`] = `[HttpError]`;
33+
exports[`All Contributors app - End to end Fail path, Unknown error (e.g. Network is dead, service down etc, our code is bad) crashes and sends error message 2`] = `
34+
[HttpError: request to https://api.github.com/repos/all-contributors/all-contributors-bot/contents/.all-contributorsrc failed, reason: Nock: No match for request {
35+
"method": "GET",
36+
"url": "https://api.github.com/repos/all-contributors/all-contributors-bot/contents/.all-contributorsrc",
37+
"headers": {
38+
"accept": [
39+
"application/vnd.github.v3+json"
40+
],
41+
"user-agent": [
42+
"octokit.js/16.8.0 Node.js/8.10.0 (macOS High Sierra; x64)"
43+
],
44+
"authorization": [
45+
"token test"
46+
],
47+
"accept-encoding": [
48+
"gzip,deflate"
49+
],
50+
"connection": [
51+
"close"
52+
]
53+
}
54+
}]
55+
`;
1456

1557
exports[`All Contributors app - End to end Fail path, no allcontributors file (repo needs setup) 1`] = `
1658
Object {
@@ -39,9 +81,46 @@ Could not find the user jakebolam on github.",
3981
`;
4082
4183
exports[`All Contributors app - End to end Happy path, add correct new contributor 1`] = `
84+
Object {
85+
"ref": "refs/heads/all-contributors/add-jakebolam",
86+
"sha": "aa218f56b14c9653891f9e74264a383fa43fefbd",
87+
}
88+
`;
89+
90+
exports[`All Contributors app - End to end Happy path, add correct new contributor 2`] = `
91+
Object {
92+
"branch": "all-contributors/add-jakebolam",
93+
"content": "IyBBbGxDb250cmlidXRvcnNCb3QKQSBib3QgZm9yIGF1dG9tYXRpY2FsbHkgYWRkaW5nIGFsbC1jb250cmlidXRvcnMuIPCfpJYKClshW0J1aWxkXShodHRwczovL2ltZy5zaGllbGRzLmlvL2NpcmNsZWNpL3Byb2plY3QvZ2l0aHViL2FsbC1jb250cmlidXRvcnMvYWxsLWNvbnRyaWJ1dG9ycy1ib3QvbWFzdGVyLnN2ZyldKGh0dHBzOi8vY2lyY2xlY2kuY29tL2doL2FsbC1jb250cmlidXRvcnMvYWxsLWNvbnRyaWJ1dG9ycy1ib3QpClshW0NvdmVyYW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W9qaS1rZXkpKToKCjwhLS0gQUxMLUNPTlRSSUJVVE9SUy1MSVNUOlNUQVJUIC0gRG8gbm90IHJlbW92ZSBvciBtb2RpZnkgdGhpcyBzZWN0aW9uIC0tPgo8IS0tIHByZXR0aWVyLWlnbm9yZSAtLT4KfCBbPGltZyBzcmM9Imh0dHBzOi8vYXZhdGFyczIuZ2l0aHVidXNlcmNvbnRlbnQuY29tL3UvMzUzNDIzNj92PTQiIHdpZHRoPSIxMDBweDsiLz48YnIgLz48c3ViPjxiPkpha2UgQm9sYW08L2I+PC9zdWI+XShodHRwczovL2pha2Vib2xhbS5jb20pPGJyIC8+W/CfkrtdKGh0dHBzOi8vZ2l0aHViLmNvbS9hbGwtY29udHJpYnR1b3JzL2JvdC9jb21taXRzP2F1dGhvcj1qYWtlYm9sYW0gIkNvZGUiKSBb8J+ah10oI2luZnJhLWpha2Vib2xhbSAiSW5mcmFzdHJ1Y3R1cmUgKEhvc3RpbmcsIEJ1aWxkLVRvb2xzLCBldGMpIikgfAp8CjwhLS0gQUxMLUNPTlRSSUJVVE9SUy1MSVNUOkVORCAtLT4KClRoaXMgcHJvamVjdCBmb2xsb3dzIHRoZSBbYWxsLWNvbnRyaWJ1dG9yc10oaHR0cHM6Ly9naXRodWIuY29tL2FsbC1jb250cmlidXRvcnMvYWxsLWNvbnRyaWJ1dG9ycykgc3BlY2lmaWNhdGlvbi4gQ29udHJpYnV0aW9ucyBvZiBhbnkga2luZCB3ZWxjb21lCgojIyBMSUNFTlNFCgpbTUlUXShMSUNFTlNFKQo=",
94+
"message": "docs: update README.md",
95+
"sha": "bfce087f5fbed22257de1ee5056b20de63da0a13",
96+
}
97+
`;
98+
99+
exports[`All Contributors app - End to end Happy path, add correct new contributor 3`] = `
100+
Object {
101+
"branch": "all-contributors/add-jakebolam",
102+
"content": "ewogICJwcm9qZWN0TmFtZSI6ICJib3QiLAogICJwcm9qZWN0T3duZXIiOiAiYWxsLWNvbnRyaWJ0dW9ycyIsCiAgInJlcG9UeXBlIjogImdpdGh1YiIsCiAgInJlcG9Ib3N0IjogImh0dHBzOi8vZ2l0aHViLmNvbSIsCiAgImZpbGVzIjogWwogICAgIlJFQURNRS5tZCIKICBdLAogICJpbWFnZVNpemUiOiAxMDAsCiAgImNvbW1pdCI6IGZhbHNlLAogICJjb250cmlidXRvcnMiOiBbCiAgICB7CiAgICAgICJsb2dpbiI6ICJqYWtlYm9sYW0iLAogICAgICAibmFtZSI6ICJKYWtlIEJvbGFtIiwKICAgICAgImF2YXRhcl91cmwiOiAiaHR0cHM6Ly9hdmF0YXJzMi5naXRodWJ1c2VyY29udGVudC5jb20vdS8zNTM0MjM2P3Y9NCIsCiAgICAgICJwcm9maWxlIjogImh0dHBzOi8vamFrZWJvbGFtLmNvbSIsCiAgICAgICJjb250cmlidXRpb25zIjogWwogICAgICAgICJjb2RlIiwKICAgICAgICAiaW5mcmEiCiAgICAgIF0KICAgIH0KICBdCn0K",
103+
"message": "docs: update .all-contributorsrc",
104+
"sha": "dff34f715bca51114c0336a49381456a926806d5",
105+
}
106+
`;
107+
108+
exports[`All Contributors app - End to end Happy path, add correct new contributor 4`] = `
109+
Object {
110+
"base": "master",
111+
"body": "Adds jakebolam as a contributor for code, doc, infra.
112+
113+
This was requested by jakebolam [in this comment](https://github.com/all-contributors/all-contributors-bot/pull/1#issuecomment-453012966)",
114+
"head": "all-contributors/add-jakebolam",
115+
"maintainer_can_modify": true,
116+
"title": "docs: add jakebolam as a contributor",
117+
}
118+
`;
119+
120+
exports[`All Contributors app - End to end Happy path, add correct new contributor 5`] = `
42121
Object {
43122
"body": "@jakebolam
44123
45-
I've put up [a pull request](#1) to add jakebolam! :tada:",
124+
I've put up [a pull request](https://github.com/all-contributors/all-contributors-bot/pull/1347) to add jakebolam! :tada:",
46125
}
47126
`;

test/fixtures/issue_comment.created.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@
7979
"created_at": "2019-01-10T08:36:52Z",
8080
"updated_at": "2019-01-10T08:36:52Z",
8181
"author_association": "MEMBER",
82-
"body": "@AllContributorsBot please add jakebolam for code, doc and infra"
82+
"body": "@AllContributorsBotTest please add jakebolam for code, doc and infra"
8383
},
8484
"repository": {
8585
"id": 164268911,

test/index-e2e.test.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@ describe('All Contributors app - End to end', () => {
3030
})
3131

3232
test('Happy path, add correct new contributor', async () => {
33+
jest.setTimeout(10000)
34+
3335
nock('https://api.github.com')
3436
.post('/app/installations/11111/access_tokens')
3537
.reply(200, { token: 'test' })
@@ -191,6 +193,8 @@ describe('All Contributors app - End to end', () => {
191193
})
192194

193195
test('Fail path, Unknown error (e.g. Network is dead, service down etc, our code is bad) crashes and sends error message', async () => {
196+
jest.setTimeout(20000)
197+
194198
nock('https://api.github.com')
195199
.post('/app/installations/11111/access_tokens')
196200
.reply(200, { token: 'test' })

test/testUtils.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,9 @@ const rejectionOf = promise =>
33
value => {
44
throw value
55
},
6-
reason => reason,
6+
reason => {
7+
return reason
8+
},
79
)
810

911
module.exports = {

yarn.lock

Lines changed: 92 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -119,17 +119,58 @@
119119
lodash "^4.17.10"
120120
to-fast-properties "^2.0.0"
121121

122-
"@octokit/rest@^15.18.0":
123-
version "15.18.1"
124-
resolved "https://registry.yarnpkg.com/@octokit/rest/-/rest-15.18.1.tgz#ec7fb0f8775ef64dc095fae6635411d3fbff9b62"
122+
"@octokit/endpoint@^3.1.1":
123+
version "3.1.1"
124+
resolved "https://registry.yarnpkg.com/@octokit/endpoint/-/endpoint-3.1.1.tgz#ede9afefaa4d6b7584169e12346425c6fbb45cc3"
125+
dependencies:
126+
deepmerge "3.0.0"
127+
is-plain-object "^2.0.4"
128+
universal-user-agent "^2.0.1"
129+
url-template "^2.0.8"
130+
131+
"@octokit/[email protected]":
132+
version "2.0.1"
133+
resolved "https://registry.yarnpkg.com/@octokit/graphql/-/graphql-2.0.1.tgz#0e9d7f41d6ac3305f37767e723183bd0b77af7d2"
134+
dependencies:
135+
"@octokit/request" "^2.1.2"
136+
137+
"@octokit/plugin-enterprise-compatibility@^1.0.0":
138+
version "1.0.0"
139+
resolved "https://registry.yarnpkg.com/@octokit/plugin-enterprise-compatibility/-/plugin-enterprise-compatibility-1.0.0.tgz#46399ad8eed7325bdc14ad6e10ed625226388cc7"
140+
141+
"@octokit/plugin-retry@^2.0.0":
142+
version "2.0.0"
143+
resolved "https://registry.yarnpkg.com/@octokit/plugin-retry/-/plugin-retry-2.0.0.tgz#36e9ba610a376fcda7d06082fb49b5bfb3e8d737"
125144
dependencies:
126-
before-after-hook "^1.1.0"
145+
bottleneck "^2.15.0"
146+
147+
"@octokit/plugin-throttling@^2.1.0":
148+
version "2.1.0"
149+
resolved "https://registry.yarnpkg.com/@octokit/plugin-throttling/-/plugin-throttling-2.1.0.tgz#0e831be4585eb77cc566096867ca96e269603ba6"
150+
dependencies:
151+
bottleneck "^2.15.0"
152+
153+
"@octokit/[email protected]", "@octokit/request@^2.1.2":
154+
version "2.2.1"
155+
resolved "https://registry.yarnpkg.com/@octokit/request/-/request-2.2.1.tgz#1b445e3052842b1f3ab94d68e2606840c85b4265"
156+
dependencies:
157+
"@octokit/endpoint" "^3.1.1"
158+
is-plain-object "^2.0.4"
159+
node-fetch "^2.3.0"
160+
universal-user-agent "^2.0.1"
161+
162+
"@octokit/rest@^16.8.0":
163+
version "16.8.0"
164+
resolved "https://registry.yarnpkg.com/@octokit/rest/-/rest-16.8.0.tgz#7d621a9f0d04178ba86c5c5d3792fa3e04a6409a"
165+
dependencies:
166+
"@octokit/request" "2.2.1"
167+
before-after-hook "^1.2.0"
127168
btoa-lite "^1.0.0"
128-
debug "^3.1.0"
129-
http-proxy-agent "^2.1.0"
130-
https-proxy-agent "^2.2.0"
131-
lodash "^4.17.4"
132-
node-fetch "^2.1.1"
169+
lodash.get "^4.4.2"
170+
lodash.pick "^4.4.0"
171+
lodash.set "^4.3.2"
172+
lodash.uniq "^4.5.0"
173+
octokit-pagination-methods "^1.1.0"
133174
universal-user-agent "^2.0.0"
134175
url-template "^2.0.8"
135176

@@ -213,7 +254,7 @@ acorn@^6.0.1, acorn@^6.0.2:
213254
version "6.0.5"
214255
resolved "https://registry.yarnpkg.com/acorn/-/acorn-6.0.5.tgz#81730c0815f3f3b34d8efa95cb7430965f4d887a"
215256

216-
agent-base@4, agent-base@^4.1.0:
257+
agent-base@^4.1.0:
217258
version "4.2.1"
218259
resolved "https://registry.yarnpkg.com/agent-base/-/agent-base-4.2.1.tgz#d89e5999f797875674c07d87f260fc41e83e8ca9"
219260
dependencies:
@@ -695,9 +736,9 @@ bcrypt-pbkdf@^1.0.0:
695736
dependencies:
696737
tweetnacl "^0.14.3"
697738

698-
before-after-hook@^1.1.0:
699-
version "1.3.1"
700-
resolved "https://registry.yarnpkg.com/before-after-hook/-/before-after-hook-1.3.1.tgz#1c23c7789ad3ed76b06c9cb38d1169ac094c3704"
739+
before-after-hook@^1.2.0:
740+
version "1.3.2"
741+
resolved "https://registry.yarnpkg.com/before-after-hook/-/before-after-hook-1.3.2.tgz#7bfbf844ad670aa7a96b5a4e4e15bd74b08ed66b"
701742

702743
binary-extensions@^1.0.0:
703744
version "1.12.0"
@@ -753,7 +794,7 @@ [email protected]:
753794
dependencies:
754795
hoek "6.x.x"
755796

756-
bottleneck@^2.8.0:
797+
bottleneck@^2.15.0:
757798
version "2.15.0"
758799
resolved "https://registry.yarnpkg.com/bottleneck/-/bottleneck-2.15.0.tgz#538ec3a32f0e94a06e934bcb2080eb2c4c901c5a"
759800

@@ -1361,12 +1402,6 @@ [email protected], debug@^2.1.2, debug@^2.2.0, debug@^2.3.3, debug@^2.6.8, debug@^2.6.
13611402
dependencies:
13621403
ms "2.0.0"
13631404

1364-
1365-
version "3.1.0"
1366-
resolved "https://registry.yarnpkg.com/debug/-/debug-3.1.0.tgz#5bb5a0672628b64149566ba16819e61518c67261"
1367-
dependencies:
1368-
ms "2.0.0"
1369-
13701405
debug@^3.1.0:
13711406
version "3.2.6"
13721407
resolved "https://registry.yarnpkg.com/debug/-/debug-3.2.6.tgz#e83d17de16d8a7efb7717edbe5fb10135eee629b"
@@ -1453,6 +1488,10 @@ deep-is@~0.1.3:
14531488
version "0.1.3"
14541489
resolved "https://registry.yarnpkg.com/deep-is/-/deep-is-0.1.3.tgz#b369d6fb5dbc13eecf524f91b070feedc357cf34"
14551490

1491+
1492+
version "3.0.0"
1493+
resolved "https://registry.yarnpkg.com/deepmerge/-/deepmerge-3.0.0.tgz#ca7903b34bfa1f8c2eab6779280775a411bfc6ba"
1494+
14561495
default-require-extensions@^1.0.0:
14571496
version "1.0.0"
14581497
resolved "https://registry.yarnpkg.com/default-require-extensions/-/default-require-extensions-1.0.0.tgz#f37ea15d3e13ffd9b437d33e1a75b5fb97874cb8"
@@ -2549,13 +2588,6 @@ [email protected], http-errors@~1.6.2, http-errors@~1.6.3:
25492588
setprototypeof "1.1.0"
25502589
statuses ">= 1.4.0 < 2"
25512590

2552-
http-proxy-agent@^2.1.0:
2553-
version "2.1.0"
2554-
resolved "https://registry.yarnpkg.com/http-proxy-agent/-/http-proxy-agent-2.1.0.tgz#e4821beef5b2142a2026bd73926fe537631c5405"
2555-
dependencies:
2556-
agent-base "4"
2557-
debug "3.1.0"
2558-
25592591
http-signature@~1.2.0:
25602592
version "1.2.0"
25612593
resolved "https://registry.yarnpkg.com/http-signature/-/http-signature-1.2.0.tgz#9aecd925114772f3d95b65a60abb8f7c18fbace1"
@@ -2564,7 +2596,7 @@ http-signature@~1.2.0:
25642596
jsprim "^1.2.2"
25652597
sshpk "^1.7.0"
25662598

2567-
https-proxy-agent@^2.2.0, https-proxy-agent@^2.2.1:
2599+
https-proxy-agent@^2.2.1:
25682600
version "2.2.1"
25692601
resolved "https://registry.yarnpkg.com/https-proxy-agent/-/https-proxy-agent-2.2.1.tgz#51552970fa04d723e04c56d04178c3f92592bbc0"
25702602
dependencies:
@@ -3781,6 +3813,10 @@ lodash.difference@^4.5.0:
37813813
version "4.5.0"
37823814
resolved "https://registry.yarnpkg.com/lodash.difference/-/lodash.difference-4.5.0.tgz#9ccb4e505d486b91651345772885a2df27fd017c"
37833815

3816+
lodash.get@^4.4.2:
3817+
version "4.4.2"
3818+
resolved "https://registry.yarnpkg.com/lodash.get/-/lodash.get-4.4.2.tgz#2d177f652fa31e939b4438d5341499dfa3825e99"
3819+
37843820
lodash.includes@^4.3.0:
37853821
version "4.3.0"
37863822
resolved "https://registry.yarnpkg.com/lodash.includes/-/lodash.includes-4.3.0.tgz#60bb98a87cb923c68ca1e51325483314849f553f"
@@ -3825,6 +3861,14 @@ lodash.padstart@^4.1.0:
38253861
version "4.6.1"
38263862
resolved "https://registry.yarnpkg.com/lodash.padstart/-/lodash.padstart-4.6.1.tgz#d2e3eebff0d9d39ad50f5cbd1b52a7bce6bb611b"
38273863

3864+
lodash.pick@^4.4.0:
3865+
version "4.4.0"
3866+
resolved "https://registry.yarnpkg.com/lodash.pick/-/lodash.pick-4.4.0.tgz#52f05610fff9ded422611441ed1fc123a03001b3"
3867+
3868+
lodash.set@^4.3.2:
3869+
version "4.3.2"
3870+
resolved "https://registry.yarnpkg.com/lodash.set/-/lodash.set-4.3.2.tgz#d8757b1da807dde24816b0d6a84bea1a76230b23"
3871+
38283872
lodash.sortby@^4.7.0:
38293873
version "4.7.0"
38303874
resolved "https://registry.yarnpkg.com/lodash.sortby/-/lodash.sortby-4.7.0.tgz#edd14c824e2cc9c1e0b0a1b42bb5210516a42438"
@@ -4158,7 +4202,7 @@ node-fetch@^1.0.1, node-fetch@^1.6.0:
41584202
encoding "^0.1.11"
41594203
is-stream "^1.0.1"
41604204

4161-
node-fetch@^2.1.1:
4205+
node-fetch@^2.3.0:
41624206
version "2.3.0"
41634207
resolved "https://registry.yarnpkg.com/node-fetch/-/node-fetch-2.3.0.tgz#1a1d940bbfb916a1d3e0219f037e89e71f8c5fa5"
41644208

@@ -4340,6 +4384,10 @@ object.pick@^1.3.0:
43404384
dependencies:
43414385
isobject "^3.0.1"
43424386

4387+
[email protected], octokit-pagination-methods@^1.1.0:
4388+
version "1.1.0"
4389+
resolved "https://registry.yarnpkg.com/octokit-pagination-methods/-/octokit-pagination-methods-1.1.0.tgz#cf472edc9d551055f9ef73f6e42b4dbb4c80bea4"
4390+
43434391
on-finished@~2.3.0:
43444392
version "2.3.0"
43454393
resolved "https://registry.yarnpkg.com/on-finished/-/on-finished-2.3.0.tgz#20f1336481b083cd75337992a16971aa2d906947"
@@ -4663,14 +4711,17 @@ private@^0.1.8:
46634711
version "0.1.8"
46644712
resolved "https://registry.yarnpkg.com/private/-/private-0.1.8.tgz#2381edb3689f7a53d653190060fcf822d2f368ff"
46654713

4666-
probot@^7.4.0:
4667-
version "7.5.0"
4668-
resolved "https://registry.yarnpkg.com/probot/-/probot-7.5.0.tgz#17f4441210c95b822a53dc9748fb17261a1aacdf"
4714+
probot@^8.0.0-octokit-16-preview:
4715+
version "8.0.0-octokit-16-preview"
4716+
resolved "https://registry.yarnpkg.com/probot/-/probot-8.0.0-octokit-16-preview.tgz#3023488939fa01cc6753d85f0ee6ce9d36bf5c4b"
46694717
dependencies:
4670-
"@octokit/rest" "^15.18.0"
4718+
"@octokit/graphql" "2.0.1"
4719+
"@octokit/plugin-enterprise-compatibility" "^1.0.0"
4720+
"@octokit/plugin-retry" "^2.0.0"
4721+
"@octokit/plugin-throttling" "^2.1.0"
4722+
"@octokit/rest" "^16.8.0"
46714723
"@octokit/webhooks" "^5.0.2"
46724724
"@types/supports-color" "^5.3.0"
4673-
bottleneck "^2.8.0"
46744725
bunyan "^1.8.12"
46754726
bunyan-format "^0.2.1"
46764727
bunyan-sentry-stream "^1.1.0"
@@ -4683,6 +4734,7 @@ probot@^7.4.0:
46834734
is-base64 "0.1.0"
46844735
js-yaml "^3.9.1"
46854736
jsonwebtoken "^8.1.0"
4737+
octokit-pagination-methods "1.1.0"
46864738
pkg-conf "^2.0.0"
46874739
promise-events "^0.1.3"
46884740
qs "^6.5.2"
@@ -5843,6 +5895,12 @@ universal-user-agent@^2.0.0:
58435895
dependencies:
58445896
os-name "^3.0.0"
58455897

5898+
universal-user-agent@^2.0.1:
5899+
version "2.0.3"
5900+
resolved "https://registry.yarnpkg.com/universal-user-agent/-/universal-user-agent-2.0.3.tgz#9f6f09f9cc33de867bb720d84c08069b14937c6c"
5901+
dependencies:
5902+
os-name "^3.0.0"
5903+
58465904
[email protected], unpipe@~1.0.0:
58475905
version "1.0.0"
58485906
resolved "https://registry.yarnpkg.com/unpipe/-/unpipe-1.0.0.tgz#b2bf4ee8514aae6165b4817829d21b2ef49904ec"

0 commit comments

Comments
 (0)