volunteer-contributions-fetch 2.0.0 → 2.1.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/.eslintrc CHANGED
@@ -8,6 +8,9 @@
8
8
  }
9
9
  }
10
10
  },
11
+ "parserOptions": {
12
+ "ecmaVersion": 2022
13
+ },
11
14
  "rules": {
12
15
  "arrow-body-style": 0,
13
16
  "comma-dangle": 0,
package/README.md CHANGED
@@ -87,51 +87,55 @@ This section documents all the possible configuration values. For examples see t
87
87
 
88
88
  #### Community Portal
89
89
 
90
- | Field | Data Type | Required | Default | Description |
91
- |---------------------|-----------|----------|---------|----------------------------------------------------------------------------------------------------------------------------|
92
- | `enabled` | boolean | Yes | - | Indicates whether this data source is enabled. Alternatively you can also leave off the `communityPortal` object entirely. |
93
- | `baseUrl` | string | Yes | - | Community Portal base url without trailing slash |
94
- | `username` | string | Yes | - | Username on the Community Portal |
95
- | `participationType` | string | Yes | - | Label for entries related to having participated in an event. |
96
- | `campaignType` | string | Yes | - | Label for entries related to having participated in a campaign |
90
+ | Field | Data Type | Required | Default | Description |
91
+ |---------------------|-----------|----------|----------------------------|----------------------------------------------------------------------------------------------------------------------------|
92
+ | `enabled` | boolean | Yes | - | Indicates whether this data source is enabled. Alternatively you can also leave off the `communityPortal` object entirely. |
93
+ | `baseUrl` | string | Yes | - | Community Portal base url without trailing slash |
94
+ | `username` | string | Yes | - | Username on the Community Portal |
95
+ | `participationType` | string | No | Participated in an event | Label for entries related to having participated in an event. |
96
+ | `campaignType` | string | No | Participated in a campaign | Label for entries related to having participated in a campaign |
97
97
 
98
98
  #### Discourse
99
99
 
100
- | Field | Data Type | Required | Default | Description |
101
- |---------------------|-----------|----------|---------|----------------------------------------------------------------------------------------------------------------------------|
102
- | `enabled` | boolean | Yes | - | Indicates whether this data source is enabled. Alternatively you can also leave off the `discourse` object entirely. |
103
- | `baseUrl` | string | Yes | - | API base url without trailing slash |
104
- | `username` | string | Yes | - | Username on Discourse |
105
- | `topicType` | string | Yes | - | Label for entries related to having created a new topic. |
106
- | `postType` | string | Yes | - | Label for entries related to having posted on an existing topic. |
100
+ | Field | Data Type | Required | Default | Description |
101
+ |---------------------|-----------|----------|---------------------------|----------------------------------------------------------------------------------------------------------------------------|
102
+ | `enabled` | boolean | Yes | - | Indicates whether this data source is enabled. Alternatively you can also leave off the `discourse` object entirely. |
103
+ | `baseUrl` | string | Yes | - | API base url without trailing slash |
104
+ | `username` | string | Yes | - | Username on Discourse |
105
+ | `topicType` | string | No | Created Discourse Topic | Label for entries related to having created a new topic. |
106
+ | `postType` | string | No | Posted on Discourse Topic | Label for entries related to having posted on an existing topic. |
107
107
 
108
108
  #### GitHub
109
109
 
110
110
  | Field | Data Type | Required | Default | Description |
111
111
  |----------------------------|-----------|----------|---------|----------------------------------------------------------------------------------------------------------------------------|
112
112
  | `enabled` | boolean | Yes | - | Indicates whether this data source is enabled. Alternatively you can also leave off the `github` object entirely. |
113
+ | `allowPrivate` | boolean | No | false | Indicates whether fetching from private repositories is allowed. If not set, the script will throw if you pass a `GITHUB_TOKEN` with private repo scope. In most cases you will not want to have a token with private scope as you do not want to leak any private information in your contribution overview. Please think twice before enabling this config. |
114
+ | `commitsEnabled` | boolean | No | true | Indicates whether fetching commits is enabled. |
115
+ | `issuesEnabled` | boolean | No | true | Indicates whether fetching issues is enabled. |
116
+ | `reviewsEnabled` | boolean | No | true | Indicates whether fetching reviews is enabled. |
113
117
  | `username` | string | Yes | - | Username on GitHub |
114
118
  | `stopDate` | string | Yes | - | `new Date()` parseable string containing a date of possibly earliest contribution to track |
115
119
  | `filter` | string | Yes | - | Regex to apply to each entry to filter for organization/repo names. For example: `"mozilla|firefox"` to only include orgs and repos with either "mozilla" or "firefox" it their name.|
116
- | `types` | Object | Yes | - | Object containing the different labels below |
117
- | `types.commit` | string | Yes | - | Label for entries related to GitHub commits |
118
- | `types.privateCommit` | string | Yes | - | Label for entries related to private GitHub commits |
119
- | `types.createdPR` | string | Yes | - | Label for entries related to opening GitHub PRs |
120
- | `types.createdIssue` | string | Yes | - | Label for entries related to creating GitHub issues |
121
- | `types.commentedPR` | string | Yes | - | Label for entries related to commenting on a GitHub PR (review) |
122
- | `types.approvedPR` | string | Yes | - | Label for entries related to approving a GitHub PR |
123
- | `types.changesRequestedPR` | string | Yes | - | Label for entries related to requesting changes on a GitHub PR |
124
- | `types.reviewedPR` | string | Yes | - | Label for entries related to reviewing a GitHub PR (fallback) |
120
+ | `types` | Object | No | - | Object containing the different labels below |
121
+ | `types.commit` | string | No | GitHub Commit | Label for entries related to GitHub commits |
122
+ | `types.privateCommit` | string | No | Commit in private repository | Label for entries related to private GitHub commits |
123
+ | `types.createdPR` | string | No | Created PR | Label for entries related to opening GitHub PRs |
124
+ | `types.createdIssue` | string | No | Created Issue Report | Label for entries related to creating GitHub issues |
125
+ | `types.commentedPR` | string | No | Commented on a Pull Request | Label for entries related to commenting on a GitHub PR (review) |
126
+ | `types.approvedPR` | string | No | Approved a Pull Request | Label for entries related to approving a GitHub PR |
127
+ | `types.changesRequestedPR` | string | No | Requested changes on a Pull Request | Label for entries related to requesting changes on a GitHub PR |
128
+ | `types.reviewedPR` | string | No | Reviewed a Pull Request | Label for entries related to reviewing a GitHub PR (fallback) |
125
129
 
126
130
  #### MediaWiki
127
131
 
128
- | Field | Data Type | Required | Default | Description |
129
- |---------------------|-----------|----------|---------|----------------------------------------------------------------------------------------------------------------------------|
130
- | `enabled` | boolean | Yes | - | Indicates whether this data source is enabled. Alternatively you can also leave off the `mediaWiki` object entirely. |
131
- | `baseUrl` | string | Yes | - | API base url without trailing slash |
132
- | `username` | string | Yes | - | Username on MediaWiki |
133
- | `editType` | string | Yes | - | Label for entries related to having edited an article. |
134
- | `stopDate` | string | Yes | - | `new Date()` parseable string containing a date of possibly earliest contribution to track |
132
+ | Field | Data Type | Required | Default | Description |
133
+ |---------------------|-----------|----------|-----------|----------------------------------------------------------------------------------------------------------------------------|
134
+ | `enabled` | boolean | Yes | - | Indicates whether this data source is enabled. Alternatively you can also leave off the `mediaWiki` object entirely. |
135
+ | `baseUrl` | string | Yes | - | API base url without trailing slash |
136
+ | `username` | string | Yes | - | Username on MediaWiki |
137
+ | `editType` | string | No | Wiki Edit | Label for entries related to having edited an article. |
138
+ | `stopDate` | string | Yes | - | `new Date()` parseable string containing a date of possibly earliest contribution to track |
135
139
 
136
140
  ### Sample configuration
137
141
 
@@ -1 +1,6 @@
1
- module.exports = { extends: ['@commitlint/config-angular'] };
1
+ module.exports = {
2
+ extends: ['@commitlint/config-angular'],
3
+ rules: {
4
+ 'header-max-length': [2, 'always', 100],
5
+ },
6
+ };
@@ -4,6 +4,9 @@ const { JSDOM } = require('jsdom');
4
4
  const EVENTS_CATEGORY = 'community-portal-events';
5
5
  const CAMPAIGNS_CATEGORY = 'community-portal-campaigns';
6
6
 
7
+ const TYPE_PARTICIPATION = 'Participated in an event';
8
+ const TYPE_CAMPAIGN = 'Participated in a campaign';
9
+
7
10
  module.exports = {
8
11
  EVENTS_CATEGORY,
9
12
  CAMPAIGNS_CATEGORY,
@@ -25,14 +28,6 @@ function validate(config) {
25
28
  if (config && config.enabled && !config.username) {
26
29
  throw new Error('Community Portal: username is required');
27
30
  }
28
-
29
- if (config && config.enabled && !config.participationType) {
30
- throw new Error('Community Portal: participationType is required');
31
- }
32
-
33
- if (config && config.enabled && !config.campaignType) {
34
- throw new Error('Community Portal: campaignType is required');
35
- }
36
31
  }
37
32
 
38
33
  async function gather({ communityPortal }) {
@@ -90,7 +85,7 @@ function formatEvent(type, entity) {
90
85
  createdAt: new Date(entity.querySelector('.profile__event-time').textContent.replace(/[\n\t∙]/g, '')),
91
86
  description: entity.querySelector('.profile__event-title').textContent.replace(/[\n\t]/g, ''),
92
87
  link: entity.getAttribute('href'),
93
- type,
88
+ type: type || TYPE_PARTICIPATION,
94
89
  source: EVENTS_CATEGORY,
95
90
  };
96
91
  }
@@ -101,7 +96,7 @@ function formatCampaign(type, entity) {
101
96
  createdAt: new Date(dateValue),
102
97
  description: entity.querySelector('.profile__campaign-title').textContent.replace(/[\n\t]/g, ''),
103
98
  link: entity.getAttribute('href'),
104
- type,
99
+ type: type || TYPE_CAMPAIGN,
105
100
  source: CAMPAIGNS_CATEGORY,
106
101
  };
107
102
  }
package/lib/discourse.js CHANGED
@@ -5,6 +5,9 @@ const RESULTS_PER_PAGE = 30;
5
5
  const TOPICS_CATEGORY = 'discourse-topics';
6
6
  const POSTS_CATEGORY = 'discourse-posts';
7
7
 
8
+ const TYPE_TOPIC = 'Created Discourse Topic';
9
+ const TYPE_POST = 'Posted on Discourse Topic';
10
+
8
11
  module.exports = {
9
12
  TOPICS_CATEGORY,
10
13
  POSTS_CATEGORY,
@@ -26,14 +29,6 @@ function validate(config) {
26
29
  if (config && config.enabled && !config.username) {
27
30
  throw new Error('Discourse: username is required');
28
31
  }
29
-
30
- if (config && config.enabled && !config.topicType) {
31
- throw new Error('Discourse: topicType is required');
32
- }
33
-
34
- if (config && config.enabled && !config.postType) {
35
- throw new Error('Discourse: postType is required');
36
- }
37
32
  }
38
33
 
39
34
  async function gather({ discourse }) {
@@ -128,7 +123,7 @@ function formatTopic(type, baseUrl, entity) {
128
123
  createdAt: new Date(entity.created_at),
129
124
  description: entity.title,
130
125
  link: `${baseUrl}/t/${entity.slug}/${entity.id}`,
131
- type,
126
+ type: type || TYPE_TOPIC,
132
127
  source: TOPICS_CATEGORY,
133
128
  };
134
129
  }
@@ -138,7 +133,7 @@ function formatPost(type, baseUrl, entity) {
138
133
  createdAt: new Date(entity.created_at),
139
134
  description: entity.title,
140
135
  link: `${baseUrl}/t/${entity.slug}/${entity.topic_id}/${entity.post_number}`,
141
- type,
136
+ type: type || TYPE_POST,
142
137
  source: POSTS_CATEGORY,
143
138
  };
144
139
  }
@@ -8,6 +8,7 @@ module.exports = {
8
8
  searchCommits,
9
9
  searchIssues,
10
10
  listReviews,
11
+ throwIfTokenHasPrivateRepoScope,
11
12
  };
12
13
 
13
14
  let octokitSingleton = null;
@@ -21,7 +22,7 @@ function getOctokit() {
21
22
  const { GITHUB_TOKEN } = process.env;
22
23
 
23
24
  if (!GITHUB_TOKEN) {
24
- throw new Error('NO_GITHUB_TOKEN_PROVIDED');
25
+ throw new Error('No GITHUB_TOKEN provided in the environment variables!');
25
26
  }
26
27
 
27
28
  octokitSingleton = new Octokit({
@@ -60,3 +61,12 @@ async function listReviews(options) {
60
61
  const response = await octokit.pulls.listReviews(octokitOptions);
61
62
  return response.data;
62
63
  }
64
+
65
+ async function throwIfTokenHasPrivateRepoScope() {
66
+ const octokit = getOctokit();
67
+ const response = await octokit.rest.meta.root();
68
+ const scopes = response.headers['x-oauth-scopes'].split(', ');
69
+ if (scopes.includes('repo')) {
70
+ throw new Error('PRIVATE_SCOPE');
71
+ }
72
+ }
package/lib/github.js CHANGED
@@ -8,6 +8,15 @@ const GITHUB_ISSUES_CREATED_CATEGORY = 'github-issues-created';
8
8
  const GITHUB_PR_CREATED_CATEGORY = 'github-pr-created';
9
9
  const GITHUB_REVIEW_CATEGORY = 'github-reviews';
10
10
 
11
+ const TYPE_COMMIT = 'GitHub Commit';
12
+ const TYPE_PRIVATE_COMMIT = 'Commit in private repository';
13
+ const TYPE_CREATED_PR = 'Created PR';
14
+ const TYPE_CREATED_ISSUE = 'Created Issue Report';
15
+ const TYPE_COMMENTED_PR = 'Commented on a Pull Request';
16
+ const TYPE_APPROVED_PR = 'Approved a Pull Request';
17
+ const TYPE_CHANGES_REQUESTED_PR = 'Requested changes on a Pull Request';
18
+ const TYPE_REVIEWED_PR = 'Reviewed a Pull Request';
19
+
11
20
  module.exports = {
12
21
  gather,
13
22
  validate,
@@ -31,42 +40,6 @@ function validate(config) {
31
40
  if (config && config.enabled && !config.filter) {
32
41
  throw new Error('GitHub: filter is required');
33
42
  }
34
-
35
- if (config && config.enabled && !config.types) {
36
- throw new Error('GitHub: types is required');
37
- }
38
-
39
- if (config && config.enabled && !config.types.commit) {
40
- throw new Error('GitHub: commit type is required');
41
- }
42
-
43
- if (config && config.enabled && !config.types.privateCommit) {
44
- throw new Error('GitHub: privateCommit type is required');
45
- }
46
-
47
- if (config && config.enabled && !config.types.createdPR) {
48
- throw new Error('GitHub: createdPR type is required');
49
- }
50
-
51
- if (config && config.enabled && !config.types.createdIssue) {
52
- throw new Error('GitHub: createdIssue type is required');
53
- }
54
-
55
- if (config && config.enabled && !config.types.commentedPR) {
56
- throw new Error('GitHub: commentedPR type is required');
57
- }
58
-
59
- if (config && config.enabled && !config.types.approvedPR) {
60
- throw new Error('GitHub: approvedPR type is required');
61
- }
62
-
63
- if (config && config.enabled && !config.types.changesRequestedPR) {
64
- throw new Error('GitHub: changesRequestedPR type is required');
65
- }
66
-
67
- if (config && config.enabled && !config.types.reviewedPR) {
68
- throw new Error('GitHub: reviewedPR type is required');
69
- }
70
43
  }
71
44
 
72
45
  async function gather({ github }, existingContributions = []) {
@@ -81,6 +54,18 @@ async function gather({ github }, existingContributions = []) {
81
54
  return contribution.source === GITHUB_REVIEW_CATEGORY;
82
55
  }) || { createdAt: github.stopDate };
83
56
 
57
+ try {
58
+ await fetcher.throwIfTokenHasPrivateRepoScope();
59
+ } catch (error) {
60
+ if (error.message === 'PRIVATE_SCOPE') {
61
+ if (!github.allowPrivate) {
62
+ throw new Error('GITHUB_TOKEN has private repo scope, but the config does not specify allowPrivate to fetch private repos. Are you sure you want to fetch private information?');
63
+ }
64
+ } else {
65
+ throw error;
66
+ }
67
+ }
68
+
84
69
  const commits = await processCommits(github, latestCommit.createdAt);
85
70
  const issues = await processIssues(github, latestIssue.createdAt);
86
71
  const reviews = await processReviews(github, latestReview.createdAt);
@@ -95,6 +80,11 @@ async function gather({ github }, existingContributions = []) {
95
80
  }
96
81
 
97
82
  async function processIssues(github, latestCreationDate) {
83
+ if (typeof github.issuesEnabled !== 'undefined' && github.issuesEnabled === false) {
84
+ debug('Fetching issues is disabled, skipping!');
85
+ return [];
86
+ }
87
+
98
88
  debug('Getting issues from Github');
99
89
  const allIssues = [];
100
90
 
@@ -118,6 +108,11 @@ async function processIssues(github, latestCreationDate) {
118
108
  }
119
109
 
120
110
  async function processCommits(github, latestCreationDate) {
111
+ if (typeof github.commitsEnabled !== 'undefined' && github.commitsEnabled === false) {
112
+ debug('Fetching commits is disabled, skipping!');
113
+ return [];
114
+ }
115
+
121
116
  debug('Getting commits from Github');
122
117
  const allCommits = [];
123
118
 
@@ -141,6 +136,11 @@ async function processCommits(github, latestCreationDate) {
141
136
  }
142
137
 
143
138
  async function processReviews(github, latestCreationDate) {
139
+ if (typeof github.reviewsEnabled !== 'undefined' && github.reviewsEnabled === false) {
140
+ debug('Fetching issues is disabled, skipping!');
141
+ return [];
142
+ }
143
+
144
144
  debug('Getting reviews from Github');
145
145
  const allPRs = [];
146
146
 
@@ -165,6 +165,9 @@ async function processReviews(github, latestCreationDate) {
165
165
  }
166
166
  }
167
167
 
168
+ const prTitleMap = new Map();
169
+ allPRs.flat().forEach((pr) => prTitleMap.set(pr.pull_request.url, pr.title));
170
+
168
171
  // Now that we have all the PRs, we need to fetch the reviews
169
172
  const allReviews = [];
170
173
 
@@ -173,8 +176,7 @@ async function processReviews(github, latestCreationDate) {
173
176
  allReviews.push(prReviews);
174
177
  }
175
178
 
176
- const processedReviews = processEntities(github, allReviews.flat());
177
-
179
+ const processedReviews = processEntities(github, allReviews.flat(), prTitleMap);
178
180
  return processedReviews.filter((review) => {
179
181
  return new Date(review.createdAt) > new Date(latestCreationDate);
180
182
  });
@@ -355,10 +357,10 @@ async function waitFor(time) {
355
357
  });
356
358
  }
357
359
 
358
- function processEntities(github, entities) {
360
+ function processEntities(github, entities, titleMap) {
359
361
  return entities
360
362
  .filter((entity) => filter(github.filter, entity))
361
- .map((entity) => format(github.types, entity));
363
+ .map((entity) => format(github.types, entity, titleMap));
362
364
  }
363
365
 
364
366
  function filter(githubFilter, entity) {
@@ -368,13 +370,13 @@ function filter(githubFilter, entity) {
368
370
  return matchesRegex && !isFork;
369
371
  }
370
372
 
371
- function format(types, entity) {
373
+ function format(types, entity, titleMap) {
372
374
  if (entity.commit) {
373
375
  return formatCommit(types, entity);
374
376
  }
375
377
 
376
378
  if (entity.pull_request_url) {
377
- return formatPRReview(types, entity);
379
+ return formatPRReview(types, entity, titleMap);
378
380
  }
379
381
 
380
382
  return formatIssue(types, entity);
@@ -386,7 +388,7 @@ function formatCommit(types, entity) {
386
388
  let link = '';
387
389
 
388
390
  if (entity.repository.private) {
389
- description = types.privateCommit;
391
+ description = types?.privateCommit || TYPE_PRIVATE_COMMIT;
390
392
  } else {
391
393
  description = `${entity.repository.owner.login}/${entity.repository.name}: ${entity.commit.message}`;
392
394
  link = entity.html_url;
@@ -396,7 +398,7 @@ function formatCommit(types, entity) {
396
398
  createdAt,
397
399
  description,
398
400
  link,
399
- type: types.commit,
401
+ type: types?.commit || TYPE_COMMIT,
400
402
  source: GITHUB_COMMIT_CATEGORY,
401
403
  };
402
404
  }
@@ -406,28 +408,35 @@ function formatIssue(types, entity) {
406
408
  createdAt: new Date(entity.created_at),
407
409
  description: entity.title,
408
410
  link: entity.html_url,
409
- type: entity.pull_request ? types.createdPR : types.createdIssue,
411
+ type: entity.pull_request
412
+ ? types?.createdPR || TYPE_CREATED_PR
413
+ : types?.createdIssue || TYPE_CREATED_ISSUE,
410
414
  source: entity.pull_request ? GITHUB_PR_CREATED_CATEGORY : GITHUB_ISSUES_CREATED_CATEGORY,
411
415
  };
412
416
  }
413
417
 
414
- function formatPRReview(types, entity) {
418
+ function formatPRReview(types, entity, titleMap) {
415
419
  const type = (() => {
416
420
  switch (entity.state) {
417
421
  case 'COMMENTED':
418
- return types.commentedPR;
422
+ return types?.commentedPR || TYPE_COMMENTED_PR;
419
423
  case 'APPROVED':
420
- return types.approvedPR;
424
+ return types?.approvedPR || TYPE_APPROVED_PR;
421
425
  case 'CHANGES_REQUESTED':
422
- return types.changesRequestedPR;
426
+ return types?.changesRequestedPR || TYPE_CHANGES_REQUESTED_PR;
423
427
  default:
424
- return types.reviewedPR;
428
+ return types?.reviewedPR || TYPE_REVIEWED_PR;
425
429
  }
426
430
  })();
427
431
 
432
+ let description = '';
433
+ if (titleMap) {
434
+ description = titleMap.get(entity.pull_request_url);
435
+ }
436
+
428
437
  return {
429
438
  createdAt: new Date(entity.submitted_at),
430
- description: '',
439
+ description,
431
440
  link: entity.html_url,
432
441
  type,
433
442
  source: GITHUB_REVIEW_CATEGORY,
package/lib/wiki.js CHANGED
@@ -7,6 +7,8 @@ const parseStringAsync = promisify(parseString);
7
7
 
8
8
  const WIKI_CATEGORY = 'wiki';
9
9
 
10
+ const TYPE_EDIT = 'Wiki Edit';
11
+
10
12
  module.exports = {
11
13
  WIKI_CATEGORY,
12
14
  gather,
@@ -28,10 +30,6 @@ function validate(config) {
28
30
  throw new Error('MediaWiki: username is required');
29
31
  }
30
32
 
31
- if (config && config.enabled && !config.editType) {
32
- throw new Error('MediaWiki: editType is required');
33
- }
34
-
35
33
  if (config && config.enabled && !config.stopDate) {
36
34
  throw new Error('MediaWiki: stopDate is required');
37
35
  }
@@ -48,7 +46,7 @@ async function processEdits({
48
46
  baseUrl,
49
47
  username,
50
48
  stopDate,
51
- type,
49
+ editType,
52
50
  }) {
53
51
  debug('Getting edits from Wiki');
54
52
  let allEdits = [];
@@ -58,7 +56,7 @@ async function processEdits({
58
56
  debug(`Getting data for ${periodChunk[0]}/${periodChunk[1]}`);
59
57
  const edits = await getPage(baseUrl, username, periodChunk);
60
58
  debug(`Got ${edits.length} results to filter`);
61
- const processed = processEntities(type, edits, periodChunk);
59
+ const processed = processEntities(editType, edits, periodChunk);
62
60
  debug(`Got ${processed.length} results`);
63
61
  allEdits = allEdits.concat(processed);
64
62
  }
@@ -134,7 +132,7 @@ function format(type, entity) {
134
132
  createdAt: new Date(entity.pubDate),
135
133
  description: `Edited ${entity.title}`,
136
134
  link: entity.link[0],
137
- type,
135
+ type: type || TYPE_EDIT,
138
136
  source: WIKI_CATEGORY,
139
137
  };
140
138
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "volunteer-contributions-fetch",
3
- "version": "2.0.0",
3
+ "version": "2.1.0",
4
4
  "description": "Library to fetch volunteer contributions from several sources such as GitHub",
5
5
  "author": "Michael Kohler",
6
6
  "license": "MIT",