wuffle 0.65.0 → 0.66.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/lib/apps/background-sync/BackgroundSync.js +5 -5
- package/lib/apps/github-app/GithubApp.js +1 -1
- package/lib/apps/github-checks/GithubChecks.js +1 -1
- package/lib/apps/github-client/GithubClient.js +1 -1
- package/lib/apps/github-issues/GithubIssues.js +4 -4
- package/lib/apps/github-reviews/GithubReviews.js +1 -1
- package/lib/apps/github-statuses/GithubStatuses.js +1 -1
- package/lib/apps/security-context/SecurityContext.js +1 -1
- package/lib/apps/user-access/UserAccess.js +3 -3
- package/package.json +16 -16
- package/public/bundle.js +1 -1
- package/public/bundle.js.map +1 -1
- package/public/global.css.map +1 -1
- package/public/register-service-worker.js.map +1 -1
- package/public/service-worker.js.map +1 -1
|
@@ -104,7 +104,7 @@ We automatically synchronize all repositories you granted us access to via the G
|
|
|
104
104
|
const octokit = await githubClient.getOrgScoped(owner);
|
|
105
105
|
|
|
106
106
|
const repositories = await octokit.paginate(
|
|
107
|
-
octokit.apps.listReposAccessibleToInstallation,
|
|
107
|
+
octokit.rest.apps.listReposAccessibleToInstallation,
|
|
108
108
|
{
|
|
109
109
|
per_page: 100
|
|
110
110
|
}
|
|
@@ -152,7 +152,7 @@ We automatically synchronize all repositories you granted us access to via the G
|
|
|
152
152
|
|
|
153
153
|
// open issues
|
|
154
154
|
octokit.paginate(
|
|
155
|
-
octokit.issues.listForRepo,
|
|
155
|
+
octokit.rest.issues.listForRepo,
|
|
156
156
|
{
|
|
157
157
|
...params,
|
|
158
158
|
state: 'open'
|
|
@@ -162,7 +162,7 @@ We automatically synchronize all repositories you granted us access to via the G
|
|
|
162
162
|
|
|
163
163
|
// closed issues, updated last 30 days
|
|
164
164
|
octokit.paginate(
|
|
165
|
-
octokit.issues.listForRepo,
|
|
165
|
+
octokit.rest.issues.listForRepo,
|
|
166
166
|
{
|
|
167
167
|
...params,
|
|
168
168
|
state: 'closed',
|
|
@@ -173,7 +173,7 @@ We automatically synchronize all repositories you granted us access to via the G
|
|
|
173
173
|
|
|
174
174
|
// open pulls, all
|
|
175
175
|
octokit.paginate(
|
|
176
|
-
octokit.pulls.list,
|
|
176
|
+
octokit.rest.pulls.list,
|
|
177
177
|
{
|
|
178
178
|
...params,
|
|
179
179
|
state: 'open'
|
|
@@ -182,7 +182,7 @@ We automatically synchronize all repositories you granted us access to via the G
|
|
|
182
182
|
|
|
183
183
|
// closed pulls, updated last 30 days
|
|
184
184
|
octokit.paginate(
|
|
185
|
-
octokit.pulls.list,
|
|
185
|
+
octokit.rest.pulls.list,
|
|
186
186
|
{
|
|
187
187
|
...params,
|
|
188
188
|
state: 'closed'
|
|
@@ -245,7 +245,7 @@ export default function GithubApp(config, app, logger, injector) {
|
|
|
245
245
|
function fetchInstallations() {
|
|
246
246
|
return /** @type Promise<Array<Installation>> */ (getAppScopedClient().then(
|
|
247
247
|
octokit => octokit.paginate(
|
|
248
|
-
octokit.apps.listInstallations,
|
|
248
|
+
octokit.rest.apps.listInstallations,
|
|
249
249
|
{ per_page: 100 }
|
|
250
250
|
)
|
|
251
251
|
));
|
|
@@ -77,7 +77,7 @@ export default function GithubIssues(config, logger, columns) {
|
|
|
77
77
|
|
|
78
78
|
const params = context.repo({ issue_number });
|
|
79
79
|
|
|
80
|
-
return context.octokit.issues.get(params)
|
|
80
|
+
return context.octokit.rest.issues.get(params)
|
|
81
81
|
.then(response => response.data)
|
|
82
82
|
.catch(err => {
|
|
83
83
|
|
|
@@ -156,7 +156,7 @@ export default function GithubIssues(config, logger, columns) {
|
|
|
156
156
|
log.info(addLabelParams, 'add labels');
|
|
157
157
|
|
|
158
158
|
invocations.push(
|
|
159
|
-
context.octokit.issues.addLabels(addLabelParams)
|
|
159
|
+
context.octokit.rest.issues.addLabels(addLabelParams)
|
|
160
160
|
);
|
|
161
161
|
}
|
|
162
162
|
|
|
@@ -170,7 +170,7 @@ export default function GithubIssues(config, logger, columns) {
|
|
|
170
170
|
log.info(params, 'update');
|
|
171
171
|
|
|
172
172
|
invocations.push(
|
|
173
|
-
context.octokit.issues.update(params)
|
|
173
|
+
context.octokit.rest.issues.update(params)
|
|
174
174
|
);
|
|
175
175
|
}
|
|
176
176
|
|
|
@@ -187,7 +187,7 @@ export default function GithubIssues(config, logger, columns) {
|
|
|
187
187
|
}, 'remove label');
|
|
188
188
|
|
|
189
189
|
invocations.push(
|
|
190
|
-
context.octokit.issues.removeLabel(removeLabelParams).catch(err => {
|
|
190
|
+
context.octokit.rest.issues.removeLabel(removeLabelParams).catch(err => {
|
|
191
191
|
|
|
192
192
|
// gracefully handle non-existing label
|
|
193
193
|
// may have been already removed by other
|
|
@@ -46,7 +46,7 @@ export default function UserAccess(
|
|
|
46
46
|
const octokit = await githubClient.getUserScoped(user);
|
|
47
47
|
|
|
48
48
|
return octokit.paginate(
|
|
49
|
-
octokit.apps.listInstallationsForAuthenticatedUser
|
|
49
|
+
octokit.rest.apps.listInstallationsForAuthenticatedUser
|
|
50
50
|
);
|
|
51
51
|
}
|
|
52
52
|
|
|
@@ -65,7 +65,7 @@ export default function UserAccess(
|
|
|
65
65
|
const octokit = await githubClient.getUserScoped(user);
|
|
66
66
|
|
|
67
67
|
return octokit.paginate(
|
|
68
|
-
octokit.apps.listInstallationReposForAuthenticatedUser,
|
|
68
|
+
octokit.rest.apps.listInstallationReposForAuthenticatedUser,
|
|
69
69
|
{
|
|
70
70
|
installation_id: installation.id,
|
|
71
71
|
per_page: 100
|
|
@@ -184,7 +184,7 @@ export default function UserAccess(
|
|
|
184
184
|
|
|
185
185
|
return githubClient.getOrgScoped(owner)
|
|
186
186
|
.then(octokit => {
|
|
187
|
-
return octokit.repos.getCollaboratorPermissionLevel({
|
|
187
|
+
return octokit.rest.repos.getCollaboratorPermissionLevel({
|
|
188
188
|
repo,
|
|
189
189
|
owner,
|
|
190
190
|
username: login
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "wuffle",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.66.0",
|
|
4
4
|
"description": "A multi-repository task board for GitHub issues",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Nico Rehwaldt",
|
|
@@ -45,35 +45,35 @@
|
|
|
45
45
|
"@aws-sdk/client-s3": "^3.525.0",
|
|
46
46
|
"async-didi": "^0.3.1",
|
|
47
47
|
"body-parser": "^2.0.0",
|
|
48
|
-
"compression": "^1.8.
|
|
49
|
-
"express-session": "^1.18.
|
|
48
|
+
"compression": "^1.8.1",
|
|
49
|
+
"express-session": "^1.18.2",
|
|
50
50
|
"fake-tag": "^5.0.0",
|
|
51
51
|
"memorystore": "^1.6.7",
|
|
52
|
-
"min-dash": "^4.2.
|
|
52
|
+
"min-dash": "^4.2.3",
|
|
53
53
|
"mkdirp": "^3.0.1",
|
|
54
54
|
"p-defer": "^4.0.1",
|
|
55
55
|
"prexit": "^2.3.0",
|
|
56
56
|
"probot": "^13.4.5",
|
|
57
|
-
"smee-client": "^
|
|
57
|
+
"smee-client": "^4.0.0"
|
|
58
58
|
},
|
|
59
59
|
"devDependencies": {
|
|
60
60
|
"@graphql-eslint/eslint-plugin": "^4.4.0",
|
|
61
61
|
"@octokit/graphql-schema": "^15.25.0",
|
|
62
|
-
"@types/compression": "^1.
|
|
63
|
-
"@types/express-session": "^1.18.
|
|
62
|
+
"@types/compression": "^1.8.1",
|
|
63
|
+
"@types/express-session": "^1.18.2",
|
|
64
64
|
"@types/mocha": "^10.0.10",
|
|
65
|
-
"chai": "^
|
|
65
|
+
"chai": "^6.0.0",
|
|
66
66
|
"graphql": "^16.11.0",
|
|
67
|
-
"mocha": "^
|
|
68
|
-
"nock": "^14.0.
|
|
69
|
-
"nodemon": "^3.1.
|
|
70
|
-
"npm-run-all2": "^8.0.
|
|
71
|
-
"sinon": "^
|
|
72
|
-
"sinon-chai": "^
|
|
67
|
+
"mocha": "^11.0.0",
|
|
68
|
+
"nock": "^14.0.10",
|
|
69
|
+
"nodemon": "^3.1.10",
|
|
70
|
+
"npm-run-all2": "^8.0.4",
|
|
71
|
+
"sinon": "^21.0.0",
|
|
72
|
+
"sinon-chai": "^4.0.0",
|
|
73
73
|
"typescript": "^5.7.2"
|
|
74
74
|
},
|
|
75
75
|
"engines": {
|
|
76
|
-
"node": ">=
|
|
76
|
+
"node": ">= 20"
|
|
77
77
|
},
|
|
78
78
|
"files": [
|
|
79
79
|
"bin",
|
|
@@ -83,5 +83,5 @@
|
|
|
83
83
|
"index.js",
|
|
84
84
|
"wuffle.config.example.js"
|
|
85
85
|
],
|
|
86
|
-
"gitHead": "
|
|
86
|
+
"gitHead": "ce1d4f52d8ac699a03db60e3fd35a3f6f81f8397"
|
|
87
87
|
}
|