backport 8.6.0 → 8.7.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.
Files changed (65) hide show
  1. package/dist/entrypoint.module.private.test.js +78 -52
  2. package/dist/lib/{cherrypickAndCreateTargetPullRequest.d.ts → cherrypickAndCreateTargetPullRequest/cherrypickAndCreateTargetPullRequest.d.ts} +2 -2
  3. package/dist/lib/cherrypickAndCreateTargetPullRequest/cherrypickAndCreateTargetPullRequest.js +98 -0
  4. package/dist/lib/{cherrypickAndCreateTargetPullRequest.test.d.ts → cherrypickAndCreateTargetPullRequest/cherrypickAndCreateTargetPullRequest.test.d.ts} +0 -0
  5. package/dist/lib/{cherrypickAndCreateTargetPullRequest.test.js → cherrypickAndCreateTargetPullRequest/cherrypickAndCreateTargetPullRequest.test.js} +12 -10
  6. package/dist/lib/cherrypickAndCreateTargetPullRequest/getBackportBranchName.d.ts +2 -0
  7. package/dist/lib/cherrypickAndCreateTargetPullRequest/getBackportBranchName.js +22 -0
  8. package/dist/lib/{getCommitsWithoutBackports.d.ts → cherrypickAndCreateTargetPullRequest/getCommitsWithoutBackports.d.ts} +2 -2
  9. package/dist/lib/{getCommitsWithoutBackports.js → cherrypickAndCreateTargetPullRequest/getCommitsWithoutBackports.js} +6 -6
  10. package/dist/lib/{getCommitsWithoutBackports.test.d.ts → cherrypickAndCreateTargetPullRequest/getCommitsWithoutBackports.test.d.ts} +0 -0
  11. package/dist/lib/{getCommitsWithoutBackports.test.js → cherrypickAndCreateTargetPullRequest/getCommitsWithoutBackports.test.js} +24 -17
  12. package/dist/lib/cherrypickAndCreateTargetPullRequest/getMergeCommit.d.ts +3 -0
  13. package/dist/lib/cherrypickAndCreateTargetPullRequest/getMergeCommit.js +17 -0
  14. package/dist/lib/cherrypickAndCreateTargetPullRequest/getTargetPRLabels.d.ts +7 -0
  15. package/dist/lib/cherrypickAndCreateTargetPullRequest/getTargetPRLabels.js +33 -0
  16. package/dist/lib/cherrypickAndCreateTargetPullRequest/getTargetPRLabels.test.d.ts +1 -0
  17. package/dist/lib/cherrypickAndCreateTargetPullRequest/getTargetPRLabels.test.js +166 -0
  18. package/dist/lib/cherrypickAndCreateTargetPullRequest/waitForCherrypick.d.ts +3 -0
  19. package/dist/lib/cherrypickAndCreateTargetPullRequest/waitForCherrypick.js +154 -0
  20. package/dist/lib/getSourceBranchFromCommits.d.ts +2 -0
  21. package/dist/lib/getSourceBranchFromCommits.js +10 -0
  22. package/dist/lib/getTargetBranches.js +2 -3
  23. package/dist/lib/getTargetBranches.test.js +6 -4
  24. package/dist/lib/git.test.js +1 -1
  25. package/dist/lib/github/v3/addAssigneesToPullRequest.d.ts +11 -2
  26. package/dist/lib/github/v3/addAssigneesToPullRequest.js +9 -1
  27. package/dist/lib/github/v3/addAssigneesToPullRequest.test.js +5 -2
  28. package/dist/lib/github/v3/addLabelsToPullRequest.d.ts +10 -2
  29. package/dist/lib/github/v3/addLabelsToPullRequest.js +5 -1
  30. package/dist/lib/github/v3/addReviewersToPullRequest.d.ts +1 -1
  31. package/dist/lib/github/v3/addReviewersToPullRequest.js +5 -1
  32. package/dist/lib/github/v3/createPullRequest.js +7 -1
  33. package/dist/lib/github/v3/createPullRequest.test.js +22 -13
  34. package/dist/lib/github/v3/createStatusComment.test.js +4 -2
  35. package/dist/lib/github/v4/enablePullRequestAutoMerge.js +4 -0
  36. package/dist/lib/github/v4/fetchCommits/allFetchers.private.test.js +10 -1
  37. package/dist/lib/github/v4/fetchCommits/fetchCommitByPullNumber.private.test.js +5 -1
  38. package/dist/lib/github/v4/fetchCommits/fetchCommitBySha.private.test.js +3 -1
  39. package/dist/lib/github/v4/fetchCommits/fetchCommitsByAuthor.private.test.js +10 -4
  40. package/dist/lib/github/v4/fetchCommits/fetchCommitsByAuthor.test.js +7 -5
  41. package/dist/lib/github/v4/fetchCommits/fetchPullRequestBySearchQuery.private.test.js +8 -2
  42. package/dist/lib/github/v4/getOptionsFromGithub/getOptionsFromGithub.js +6 -5
  43. package/dist/lib/prompt.test.js +14 -6
  44. package/dist/lib/prompts.js +2 -2
  45. package/dist/lib/sourceCommit/getPullRequestStates.d.ts +3 -2
  46. package/dist/lib/sourceCommit/getPullRequestStates.js +13 -20
  47. package/dist/lib/sourceCommit/getPullRequestStates.test.js +69 -28
  48. package/dist/lib/sourceCommit/parseSourceCommit.d.ts +2 -1
  49. package/dist/lib/sourceCommit/parseSourceCommit.js +15 -7
  50. package/dist/lib/sourceCommit/parseSourceCommit.test.js +15 -4
  51. package/dist/runSequentially.js +5 -5
  52. package/dist/test/e2e/cli/commit-author.private.test.js +3 -3
  53. package/dist/test/e2e/cli/different-merge-strategies.private.test.js +6 -2
  54. package/dist/test/e2e/cli/gracefully-handles-corrupt-repo.private.test.js +5 -1
  55. package/dist/test/e2e/cli/repo-with-changing-branchLabelMapping.private.test.js +2 -2
  56. package/dist/test/e2e/cli/repo-with-programatically-added-commits.mutation.test.js +1 -1
  57. package/dist/test/e2e/cli/test-that-repo-can-be-cloned.private.test.js +6 -2
  58. package/dist/test/e2e/module/entrypoint.module.mutation.test.js +4 -4
  59. package/dist/test/handleUnbackportedPullRequests.private.test.js +3 -1
  60. package/dist/utils/filterUnmergedCommits.js +1 -1
  61. package/dist/utils/packageVersion.d.ts +1 -1
  62. package/dist/utils/packageVersion.js +1 -1
  63. package/package.json +7 -7
  64. package/yarn.lock +75 -75
  65. package/dist/lib/cherrypickAndCreateTargetPullRequest.js +0 -255
@@ -10,14 +10,14 @@ describe('commit author', () => {
10
10
  let sourceRepo;
11
11
  let backportRepo;
12
12
  beforeEach(async () => {
13
- // set dummy git author. This should not have any effect and should never be used
14
- await (0, child_process_promisified_1.exec)(`git config user.name "Peter Kanin"`, { cwd: sourceRepo });
15
- await (0, child_process_promisified_1.exec)(`git config user.email "kanin@zoo.dk"`, { cwd: sourceRepo });
16
13
  const sandboxPath = (0, sandbox_1.getSandboxPath)({ filename: __filename });
17
14
  await (0, sandbox_1.resetSandbox)(sandboxPath);
18
15
  sourceRepo = `${sandboxPath}/sourceRepo`;
19
16
  backportRepo = `${sandboxPath}/backportRepo`;
20
17
  await (0, child_process_promisified_1.exec)(`git clone https://github.com/backport-org/repo-with-different-commits-authors.git ${sourceRepo}`, { cwd: sandboxPath });
18
+ // set dummy git author. This should not have any effect and should never be used
19
+ await (0, child_process_promisified_1.exec)(`git config user.name "Peter Kanin"`, { cwd: sourceRepo });
20
+ await (0, child_process_promisified_1.exec)(`git config user.email "kanin@zoo.dk"`, { cwd: sourceRepo });
21
21
  });
22
22
  describe('when nothing is specified (default)', () => {
23
23
  it('uses commit author from source commit', async () => {
@@ -80,7 +80,9 @@ describe('different-merge-strategies', () => {
80
80
  ✔ Cherry-picking: Merge strategy: Seventh of many merges
81
81
  - Cherry-picking: Merge strategy: Eighth of many merges
82
82
  ✔ Cherry-picking: Merge strategy: Eighth of many merges
83
- ✔ Dry run complete"
83
+ - Creating pull request
84
+ ✔ Creating pull request
85
+ View pull request: this-is-a-dry-run"
84
86
  `);
85
87
  });
86
88
  it('backports all immediate children of the merge commit', async () => {
@@ -198,7 +200,9 @@ describe('different-merge-strategies', () => {
198
200
  ✔ Cherry-picking: Merge strategy: Seventh of many merges
199
201
  - Cherry-picking: Merge strategy: Eighth of many merges
200
202
  ✔ Cherry-picking: Merge strategy: Eighth of many merges
201
- ✔ Dry run complete"
203
+ - Creating pull request
204
+ ✔ Creating pull request
205
+ View pull request: this-is-a-dry-run"
202
206
  `);
203
207
  });
204
208
  it('backports all immediate children of the merge commit', async () => {
@@ -46,7 +46,11 @@ describe('gracefully handle corrupted repo', () => {
46
46
  ✔ Pulling latest changes
47
47
  - Cherry-picking: Bump to 8.0.0
48
48
  ✔ Cherry-picking: Bump to 8.0.0
49
- ✔ Dry run complete"
49
+ - Creating pull request
50
+ ✔ Creating pull request
51
+ - Adding labels: backport
52
+ ✔ Adding labels: backport
53
+ View pull request: this-is-a-dry-run"
50
54
  `);
51
55
  });
52
56
  });
@@ -26,7 +26,7 @@ describe('backport-org/repo-with-changing-branchLabelMapping', () => {
26
26
  ]);
27
27
  });
28
28
  it('should shows 2 target branches as NOT_CREATED', () => {
29
- expect(commit.pullRequestStates.map(({ branch, label, state }) => ({
29
+ expect(commit.targetPullRequestStates.map(({ branch, label, state }) => ({
30
30
  branch,
31
31
  label,
32
32
  state,
@@ -80,7 +80,7 @@ describe('backport-org/repo-with-changing-branchLabelMapping', () => {
80
80
  expect(commit.suggestedTargetBranches).toContain('production');
81
81
  });
82
82
  it('shows "production" as NOT_CREATED', () => {
83
- expect(commit.pullRequestStates.map(({ branch, label, state }) => ({
83
+ expect(commit.targetPullRequestStates.map(({ branch, label, state }) => ({
84
84
  branch,
85
85
  label,
86
86
  state,
@@ -42,7 +42,7 @@ describe('Programatically add new commits', () => {
42
42
  '--dry-run',
43
43
  ], { showOra: true });
44
44
  expect(output).toContain(commitMessage);
45
- expect(output).toContain('Dry run complete');
45
+ expect(output).toContain('View pull request: this-is-a-dry-run');
46
46
  });
47
47
  });
48
48
  async function createAndCommitFile({ commitMessage, files, }) {
@@ -37,7 +37,9 @@ describe('test-that-repo-can-be-cloned', () => {
37
37
  ✔ Pulling latest changes
38
38
  - Cherry-picking: Beginning of a beautiful repo (#1)
39
39
  ✔ Cherry-picking: Beginning of a beautiful repo (#1)
40
- ✔ Dry run complete"
40
+ - Creating pull request
41
+ ✔ Creating pull request
42
+ View pull request: this-is-a-dry-run"
41
43
  `);
42
44
  });
43
45
  it('does not clone again on subsequent runs', async () => {
@@ -52,7 +54,9 @@ describe('test-that-repo-can-be-cloned', () => {
52
54
  ✔ Pulling latest changes
53
55
  - Cherry-picking: Beginning of a beautiful repo (#1)
54
56
  ✔ Cherry-picking: Beginning of a beautiful repo (#1)
55
- ✔ Dry run complete"
57
+ - Creating pull request
58
+ ✔ Creating pull request
59
+ View pull request: this-is-a-dry-run"
56
60
  `);
57
61
  });
58
62
  });
@@ -51,7 +51,7 @@ describe('entrypoint.module', () => {
51
51
  commits: [
52
52
  {
53
53
  author: { email: 'sorenlouv@gmail.com', name: 'Søren Louv-Jansen' },
54
- pullRequestStates: [],
54
+ targetPullRequestStates: [],
55
55
  sourceBranch: 'master',
56
56
  sourceCommit: {
57
57
  committedDate: '2020-08-15T10:37:41Z',
@@ -149,7 +149,7 @@ describe('entrypoint.module', () => {
149
149
  commits: [
150
150
  {
151
151
  author: { email: 'sorenlouv@gmail.com', name: 'Søren Louv-Jansen' },
152
- pullRequestStates: [],
152
+ targetPullRequestStates: [],
153
153
  sourceBranch: 'master',
154
154
  sourceCommit: {
155
155
  committedDate: '2020-08-15T10:37:41Z',
@@ -163,7 +163,7 @@ describe('entrypoint.module', () => {
163
163
  {
164
164
  author: { email: 'sorenlouv@gmail.com', name: 'Søren Louv-Jansen' },
165
165
  suggestedTargetBranches: [],
166
- pullRequestStates: [],
166
+ targetPullRequestStates: [],
167
167
  sourceBranch: 'master',
168
168
  sourceCommit: {
169
169
  committedDate: '2020-08-15T10:44:04Z',
@@ -263,7 +263,7 @@ describe('entrypoint.module', () => {
263
263
  commits: [
264
264
  {
265
265
  author: { email: 'sorenlouv@gmail.com', name: 'Søren Louv-Jansen' },
266
- pullRequestStates: [],
266
+ targetPullRequestStates: [],
267
267
  sourceBranch: 'master',
268
268
  sourceCommit: {
269
269
  committedDate: '2020-08-15T10:37:41Z',
@@ -23,6 +23,7 @@ describe('Handle unbackported pull requests', () => {
23
23
  sha: '343402a748be2375325b2730fa979bcea5b96ba1',
24
24
  },
25
25
  sourcePullRequest: {
26
+ labels: ['backport-to-7.x'],
26
27
  number: 8,
27
28
  url: 'https://github.com/backport-org/repo-with-conflicts/pull/8',
28
29
  mergeCommit: {
@@ -32,8 +33,9 @@ describe('Handle unbackported pull requests', () => {
32
33
  },
33
34
  suggestedTargetBranches: ['7.x'],
34
35
  sourceBranch: 'main',
35
- pullRequestStates: [
36
+ targetPullRequestStates: [
36
37
  {
38
+ labelRegex: '^backport-to-(.*)$',
37
39
  branch: '7.x',
38
40
  label: 'backport-to-7.x',
39
41
  isSourceBranch: false,
@@ -2,6 +2,6 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.filterUnmergedCommits = void 0;
4
4
  function filterUnmergedCommits(commit) {
5
- return commit.pullRequestStates.some((pr) => pr.state !== 'MERGED');
5
+ return commit.targetPullRequestStates.some((pr) => pr.state !== 'MERGED');
6
6
  }
7
7
  exports.filterUnmergedCommits = filterUnmergedCommits;
@@ -1 +1 @@
1
- export declare const PACKAGE_VERSION = "8.6.0";
1
+ export declare const PACKAGE_VERSION = "8.7.0";
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.PACKAGE_VERSION = void 0;
4
- exports.PACKAGE_VERSION = '8.6.0';
4
+ exports.PACKAGE_VERSION = '8.7.0';
package/package.json CHANGED
@@ -14,7 +14,7 @@
14
14
  "branches",
15
15
  "branching"
16
16
  ],
17
- "version": "8.6.0",
17
+ "version": "8.7.0",
18
18
  "main": "./dist/entrypoint.module.js",
19
19
  "types": "dist/entrypoint.module.d.ts",
20
20
  "bin": {
@@ -89,12 +89,12 @@
89
89
  "@types/inquirer": "^8.2.1",
90
90
  "@types/jest": "^28.1.1",
91
91
  "@types/lodash": "^4.14.182",
92
- "@types/node": "^17.0.41",
92
+ "@types/node": "^17.0.42",
93
93
  "@types/safe-json-stringify": "^1.1.2",
94
94
  "@types/yargs": "^17.0.10",
95
95
  "@types/yargs-parser": "^21.0.0",
96
- "@typescript-eslint/eslint-plugin": "^5.27.1",
97
- "@typescript-eslint/parser": "^5.27.1",
96
+ "@typescript-eslint/eslint-plugin": "^5.28.0",
97
+ "@typescript-eslint/parser": "^5.28.0",
98
98
  "eslint": "^8.17.0",
99
99
  "eslint-config-prettier": "^8.5.0",
100
100
  "eslint-plugin-import": "^2.26.0",
@@ -104,11 +104,11 @@
104
104
  "husky": "^8.0.1",
105
105
  "jest": "^28.1.1",
106
106
  "jest-snapshot-serializer-ansi": "^1.0.0",
107
- "lint-staged": "^13.0.0",
107
+ "lint-staged": "^13.0.1",
108
108
  "nock": "^13.2.6",
109
- "prettier": "^2.6.2",
109
+ "prettier": "^2.7.0",
110
110
  "strip-ansi": "^6.0.1",
111
- "ts-jest": "^28.0.4",
111
+ "ts-jest": "^28.0.5",
112
112
  "ts-node": "^10.8.1",
113
113
  "typescript": "^4.7.3"
114
114
  }
package/yarn.lock CHANGED
@@ -1132,10 +1132,10 @@
1132
1132
  resolved "https://registry.yarnpkg.com/@types/node/-/node-17.0.31.tgz#a5bb84ecfa27eec5e1c802c6bbf8139bdb163a5d"
1133
1133
  integrity sha512-AR0x5HbXGqkEx9CadRH3EBYx/VkiUgZIhP4wvPn/+5KIsgpNoyFaRlVe0Zlx9gRtg8fA06a9tskE2MSN7TcG4Q==
1134
1134
 
1135
- "@types/node@^17.0.41":
1136
- version "17.0.41"
1137
- resolved "https://registry.yarnpkg.com/@types/node/-/node-17.0.41.tgz#1607b2fd3da014ae5d4d1b31bc792a39348dfb9b"
1138
- integrity sha512-xA6drNNeqb5YyV5fO3OAEsnXLfO7uF0whiOfPTz5AeDo8KeZFmODKnvwPymMNO8qE/an8pVY/O50tig2SQCrGw==
1135
+ "@types/node@^17.0.42":
1136
+ version "17.0.42"
1137
+ resolved "https://registry.yarnpkg.com/@types/node/-/node-17.0.42.tgz#d7e8f22700efc94d125103075c074396b5f41f9b"
1138
+ integrity sha512-Q5BPGyGKcvQgAMbsr7qEGN/kIPN6zZecYYABeTDBizOsau+2NMdSVTar9UQw21A2+JyA2KRNDYaYrPB0Rpk2oQ==
1139
1139
 
1140
1140
  "@types/parse-json@^4.0.0":
1141
1141
  version "4.0.0"
@@ -1190,14 +1190,14 @@
1190
1190
  dependencies:
1191
1191
  "@types/yargs-parser" "*"
1192
1192
 
1193
- "@typescript-eslint/eslint-plugin@^5.27.1":
1194
- version "5.27.1"
1195
- resolved "https://registry.yarnpkg.com/@typescript-eslint/eslint-plugin/-/eslint-plugin-5.27.1.tgz#fdf59c905354139046b41b3ed95d1609913d0758"
1196
- integrity sha512-6dM5NKT57ZduNnJfpY81Phe9nc9wolnMCnknb1im6brWi1RYv84nbMS3olJa27B6+irUVV1X/Wb+Am0FjJdGFw==
1193
+ "@typescript-eslint/eslint-plugin@^5.28.0":
1194
+ version "5.28.0"
1195
+ resolved "https://registry.yarnpkg.com/@typescript-eslint/eslint-plugin/-/eslint-plugin-5.28.0.tgz#6204ac33bdd05ab27c7f77960f1023951115d403"
1196
+ integrity sha512-DXVU6Cg29H2M6EybqSg2A+x8DgO9TCUBRp4QEXQHJceLS7ogVDP0g3Lkg/SZCqcvkAP/RruuQqK0gdlkgmhSUA==
1197
1197
  dependencies:
1198
- "@typescript-eslint/scope-manager" "5.27.1"
1199
- "@typescript-eslint/type-utils" "5.27.1"
1200
- "@typescript-eslint/utils" "5.27.1"
1198
+ "@typescript-eslint/scope-manager" "5.28.0"
1199
+ "@typescript-eslint/type-utils" "5.28.0"
1200
+ "@typescript-eslint/utils" "5.28.0"
1201
1201
  debug "^4.3.4"
1202
1202
  functional-red-black-tree "^1.0.1"
1203
1203
  ignore "^5.2.0"
@@ -1205,14 +1205,14 @@
1205
1205
  semver "^7.3.7"
1206
1206
  tsutils "^3.21.0"
1207
1207
 
1208
- "@typescript-eslint/parser@^5.27.1":
1209
- version "5.27.1"
1210
- resolved "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-5.27.1.tgz#3a4dcaa67e45e0427b6ca7bb7165122c8b569639"
1211
- integrity sha512-7Va2ZOkHi5NP+AZwb5ReLgNF6nWLGTeUJfxdkVUAPPSaAdbWNnFZzLZ4EGGmmiCTg+AwlbE1KyUYTBglosSLHQ==
1208
+ "@typescript-eslint/parser@^5.28.0":
1209
+ version "5.28.0"
1210
+ resolved "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-5.28.0.tgz#639b101cad2bfb7ae16e69710ac95c42bd4eae33"
1211
+ integrity sha512-ekqoNRNK1lAcKhZESN/PdpVsWbP9jtiNqzFWkp/yAUdZvJalw2heCYuqRmM5eUJSIYEkgq5sGOjq+ZqsLMjtRA==
1212
1212
  dependencies:
1213
- "@typescript-eslint/scope-manager" "5.27.1"
1214
- "@typescript-eslint/types" "5.27.1"
1215
- "@typescript-eslint/typescript-estree" "5.27.1"
1213
+ "@typescript-eslint/scope-manager" "5.28.0"
1214
+ "@typescript-eslint/types" "5.28.0"
1215
+ "@typescript-eslint/typescript-estree" "5.28.0"
1216
1216
  debug "^4.3.4"
1217
1217
 
1218
1218
  "@typescript-eslint/scope-manager@5.24.0":
@@ -1223,20 +1223,20 @@
1223
1223
  "@typescript-eslint/types" "5.24.0"
1224
1224
  "@typescript-eslint/visitor-keys" "5.24.0"
1225
1225
 
1226
- "@typescript-eslint/scope-manager@5.27.1":
1227
- version "5.27.1"
1228
- resolved "https://registry.yarnpkg.com/@typescript-eslint/scope-manager/-/scope-manager-5.27.1.tgz#4d1504392d01fe5f76f4a5825991ec78b7b7894d"
1229
- integrity sha512-fQEOSa/QroWE6fAEg+bJxtRZJTH8NTskggybogHt4H9Da8zd4cJji76gA5SBlR0MgtwF7rebxTbDKB49YUCpAg==
1226
+ "@typescript-eslint/scope-manager@5.28.0":
1227
+ version "5.28.0"
1228
+ resolved "https://registry.yarnpkg.com/@typescript-eslint/scope-manager/-/scope-manager-5.28.0.tgz#ef9a5c68fecde72fd2ff8a84b9c120324826c1b9"
1229
+ integrity sha512-LeBLTqF/he1Z+boRhSqnso6YrzcKMTQ8bO/YKEe+6+O/JGof9M0g3IJlIsqfrK/6K03MlFIlycbf1uQR1IjE+w==
1230
1230
  dependencies:
1231
- "@typescript-eslint/types" "5.27.1"
1232
- "@typescript-eslint/visitor-keys" "5.27.1"
1231
+ "@typescript-eslint/types" "5.28.0"
1232
+ "@typescript-eslint/visitor-keys" "5.28.0"
1233
1233
 
1234
- "@typescript-eslint/type-utils@5.27.1":
1235
- version "5.27.1"
1236
- resolved "https://registry.yarnpkg.com/@typescript-eslint/type-utils/-/type-utils-5.27.1.tgz#369f695199f74c1876e395ebea202582eb1d4166"
1237
- integrity sha512-+UC1vVUWaDHRnC2cQrCJ4QtVjpjjCgjNFpg8b03nERmkHv9JV9X5M19D7UFMd+/G7T/sgFwX2pGmWK38rqyvXw==
1234
+ "@typescript-eslint/type-utils@5.28.0":
1235
+ version "5.28.0"
1236
+ resolved "https://registry.yarnpkg.com/@typescript-eslint/type-utils/-/type-utils-5.28.0.tgz#53ccc78fdcf0205ef544d843b84104c0e9c7ca8e"
1237
+ integrity sha512-SyKjKh4CXPglueyC6ceAFytjYWMoPHMswPQae236zqe1YbhvCVQyIawesYywGiu98L9DwrxsBN69vGIVxJ4mQQ==
1238
1238
  dependencies:
1239
- "@typescript-eslint/utils" "5.27.1"
1239
+ "@typescript-eslint/utils" "5.28.0"
1240
1240
  debug "^4.3.4"
1241
1241
  tsutils "^3.21.0"
1242
1242
 
@@ -1245,10 +1245,10 @@
1245
1245
  resolved "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-5.24.0.tgz#565ff94a4b89073265e27514dc65225d18aabe6c"
1246
1246
  integrity sha512-Tpg1c3shTDgTmZd3qdUyd+16r/pGmVaVEbLs+ufuWP0EruVbUiEOmpBBQxBb9a8iPRxi8Rb2oiwOxuZJzSq11A==
1247
1247
 
1248
- "@typescript-eslint/types@5.27.1":
1249
- version "5.27.1"
1250
- resolved "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-5.27.1.tgz#34e3e629501349d38be6ae97841298c03a6ffbf1"
1251
- integrity sha512-LgogNVkBhCTZU/m8XgEYIWICD6m4dmEDbKXESCbqOXfKZxRKeqpiJXQIErv66sdopRKZPo5l32ymNqibYEH/xg==
1248
+ "@typescript-eslint/types@5.28.0":
1249
+ version "5.28.0"
1250
+ resolved "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-5.28.0.tgz#cffd9bcdce28db6daaa146e48a0be4387a6f4e9d"
1251
+ integrity sha512-2OOm8ZTOQxqkPbf+DAo8oc16sDlVR5owgJfKheBkxBKg1vAfw2JsSofH9+16VPlN9PWtv8Wzhklkqw3k/zCVxA==
1252
1252
 
1253
1253
  "@typescript-eslint/typescript-estree@5.24.0":
1254
1254
  version "5.24.0"
@@ -1263,28 +1263,28 @@
1263
1263
  semver "^7.3.7"
1264
1264
  tsutils "^3.21.0"
1265
1265
 
1266
- "@typescript-eslint/typescript-estree@5.27.1":
1267
- version "5.27.1"
1268
- resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-5.27.1.tgz#7621ee78607331821c16fffc21fc7a452d7bc808"
1269
- integrity sha512-DnZvvq3TAJ5ke+hk0LklvxwYsnXpRdqUY5gaVS0D4raKtbznPz71UJGnPTHEFo0GDxqLOLdMkkmVZjSpET1hFw==
1266
+ "@typescript-eslint/typescript-estree@5.28.0":
1267
+ version "5.28.0"
1268
+ resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-5.28.0.tgz#3487d158d091ca2772b285e67412ff6d9797d863"
1269
+ integrity sha512-9GX+GfpV+F4hdTtYc6OV9ZkyYilGXPmQpm6AThInpBmKJEyRSIjORJd1G9+bknb7OTFYL+Vd4FBJAO6T78OVqA==
1270
1270
  dependencies:
1271
- "@typescript-eslint/types" "5.27.1"
1272
- "@typescript-eslint/visitor-keys" "5.27.1"
1271
+ "@typescript-eslint/types" "5.28.0"
1272
+ "@typescript-eslint/visitor-keys" "5.28.0"
1273
1273
  debug "^4.3.4"
1274
1274
  globby "^11.1.0"
1275
1275
  is-glob "^4.0.3"
1276
1276
  semver "^7.3.7"
1277
1277
  tsutils "^3.21.0"
1278
1278
 
1279
- "@typescript-eslint/utils@5.27.1":
1280
- version "5.27.1"
1281
- resolved "https://registry.yarnpkg.com/@typescript-eslint/utils/-/utils-5.27.1.tgz#b4678b68a94bc3b85bf08f243812a6868ac5128f"
1282
- integrity sha512-mZ9WEn1ZLDaVrhRaYgzbkXBkTPghPFsup8zDbbsYTxC5OmqrFE7skkKS/sraVsLP3TcT3Ki5CSyEFBRkLH/H/w==
1279
+ "@typescript-eslint/utils@5.28.0":
1280
+ version "5.28.0"
1281
+ resolved "https://registry.yarnpkg.com/@typescript-eslint/utils/-/utils-5.28.0.tgz#b27a136eac300a48160b36d2aad0da44a1341b99"
1282
+ integrity sha512-E60N5L0fjv7iPJV3UGc4EC+A3Lcj4jle9zzR0gW7vXhflO7/J29kwiTGITA2RlrmPokKiZbBy2DgaclCaEUs6g==
1283
1283
  dependencies:
1284
1284
  "@types/json-schema" "^7.0.9"
1285
- "@typescript-eslint/scope-manager" "5.27.1"
1286
- "@typescript-eslint/types" "5.27.1"
1287
- "@typescript-eslint/typescript-estree" "5.27.1"
1285
+ "@typescript-eslint/scope-manager" "5.28.0"
1286
+ "@typescript-eslint/types" "5.28.0"
1287
+ "@typescript-eslint/typescript-estree" "5.28.0"
1288
1288
  eslint-scope "^5.1.1"
1289
1289
  eslint-utils "^3.0.0"
1290
1290
 
@@ -1308,12 +1308,12 @@
1308
1308
  "@typescript-eslint/types" "5.24.0"
1309
1309
  eslint-visitor-keys "^3.3.0"
1310
1310
 
1311
- "@typescript-eslint/visitor-keys@5.27.1":
1312
- version "5.27.1"
1313
- resolved "https://registry.yarnpkg.com/@typescript-eslint/visitor-keys/-/visitor-keys-5.27.1.tgz#05a62666f2a89769dac2e6baa48f74e8472983af"
1314
- integrity sha512-xYs6ffo01nhdJgPieyk7HAOpjhTsx7r/oB9LWEhwAXgwn33tkr+W8DI2ChboqhZlC4q3TC6geDYPoiX8ROqyOQ==
1311
+ "@typescript-eslint/visitor-keys@5.28.0":
1312
+ version "5.28.0"
1313
+ resolved "https://registry.yarnpkg.com/@typescript-eslint/visitor-keys/-/visitor-keys-5.28.0.tgz#982bb226b763c48fc1859a60de33fbf939d40a0f"
1314
+ integrity sha512-BtfP1vCor8cWacovzzPFOoeW4kBQxzmhxGoOpt0v1SFvG+nJ0cWaVdJk7cky1ArTcFHHKNIxyo2LLr3oNkSuXA==
1315
1315
  dependencies:
1316
- "@typescript-eslint/types" "5.27.1"
1316
+ "@typescript-eslint/types" "5.28.0"
1317
1317
  eslint-visitor-keys "^3.3.0"
1318
1318
 
1319
1319
  abort-controller@^3.0.0:
@@ -1810,6 +1810,11 @@ colorette@^2.0.16:
1810
1810
  resolved "https://registry.yarnpkg.com/colorette/-/colorette-2.0.16.tgz#713b9af84fdb000139f04546bd4a93f62a5085da"
1811
1811
  integrity sha512-hUewv7oMjCp+wkBv5Rm0v87eJhq4woh5rSR+42YSQJKecCqgIqNkZ6lAlQms/BwHPJA5NKMRlpxPRv0n8HQW6g==
1812
1812
 
1813
+ colorette@^2.0.17:
1814
+ version "2.0.19"
1815
+ resolved "https://registry.yarnpkg.com/colorette/-/colorette-2.0.19.tgz#cdf044f47ad41a0f4b56b3a0d5b4e6e1a2d5a798"
1816
+ integrity sha512-3tlv/dIP7FWvj3BsbHrGLJ6l/oKh1O3TcgBqMn+yyCagOxc23fyzDS6HypQbgxWbkpDnf52p1LuR4eWDQ/K9WQ==
1817
+
1813
1818
  colorspace@1.1.x:
1814
1819
  version "1.1.4"
1815
1820
  resolved "https://registry.yarnpkg.com/colorspace/-/colorspace-1.1.4.tgz#8d442d1186152f60453bf8070cd66eb364e59243"
@@ -3510,13 +3515,13 @@ lines-and-columns@^1.1.6:
3510
3515
  resolved "https://registry.yarnpkg.com/lines-and-columns/-/lines-and-columns-1.2.4.tgz#eca284f75d2965079309dc0ad9255abb2ebc1632"
3511
3516
  integrity sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg==
3512
3517
 
3513
- lint-staged@^13.0.0:
3514
- version "13.0.0"
3515
- resolved "https://registry.yarnpkg.com/lint-staged/-/lint-staged-13.0.0.tgz#ce3526a844e6328814a3261fbfedc610a18856fa"
3516
- integrity sha512-vWban5utFt78VZohbosUxNIa46KKJ+KOQTDWTQ8oSl1DLEEVl9zhUtaQbiiydAmx+h2wKJK2d0+iMaRmknuWRQ==
3518
+ lint-staged@^13.0.1:
3519
+ version "13.0.1"
3520
+ resolved "https://registry.yarnpkg.com/lint-staged/-/lint-staged-13.0.1.tgz#899e78065ab29b88fdd922482411121664ef66be"
3521
+ integrity sha512-Ykaf4QTi0a02BF7cnq7JIPGOJxH4TkNMWhSlJdH9wOekd0X+gog47Jfh/0L31DqZe5AiydLGC7LkPqpaNm+Kvg==
3517
3522
  dependencies:
3518
3523
  cli-truncate "^3.1.0"
3519
- colorette "^2.0.16"
3524
+ colorette "^2.0.17"
3520
3525
  commander "^9.3.0"
3521
3526
  debug "^4.3.4"
3522
3527
  execa "^6.1.0"
@@ -3525,7 +3530,7 @@ lint-staged@^13.0.0:
3525
3530
  micromatch "^4.0.5"
3526
3531
  normalize-path "^3.0.0"
3527
3532
  object-inspect "^1.12.2"
3528
- pidtree "^0.5.0"
3533
+ pidtree "^0.6.0"
3529
3534
  string-argv "^0.3.1"
3530
3535
  yaml "^2.1.1"
3531
3536
 
@@ -4015,10 +4020,10 @@ picomatch@^2.0.4, picomatch@^2.2.3, picomatch@^2.3.1:
4015
4020
  resolved "https://registry.yarnpkg.com/picomatch/-/picomatch-2.3.1.tgz#3ba3833733646d9d3e4995946c1365a67fb07a42"
4016
4021
  integrity sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==
4017
4022
 
4018
- pidtree@^0.5.0:
4019
- version "0.5.0"
4020
- resolved "https://registry.yarnpkg.com/pidtree/-/pidtree-0.5.0.tgz#ad5fbc1de78b8a5f99d6fbdd4f6e4eee21d1aca1"
4021
- integrity sha512-9nxspIM7OpZuhBxPg73Zvyq7j1QMPMPsGKTqRc2XOaFQauDvoNz9fM1Wdkjmeo7l9GXOZiRs97sPkuayl39wjA==
4023
+ pidtree@^0.6.0:
4024
+ version "0.6.0"
4025
+ resolved "https://registry.yarnpkg.com/pidtree/-/pidtree-0.6.0.tgz#90ad7b6d42d5841e69e0a2419ef38f8883aa057c"
4026
+ integrity sha512-eG2dWTVw5bzqGRztnHExczNxt5VGsE6OwTeCG3fdUf9KBsZzO3R5OIIIzWR+iZA0NtZ+RDVdaoE2dK1cn6jH4g==
4022
4027
 
4023
4028
  pirates@^4.0.4:
4024
4029
  version "4.0.5"
@@ -4044,10 +4049,10 @@ prettier-linter-helpers@^1.0.0:
4044
4049
  dependencies:
4045
4050
  fast-diff "^1.1.2"
4046
4051
 
4047
- prettier@^2.6.2:
4048
- version "2.6.2"
4049
- resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.6.2.tgz#e26d71a18a74c3d0f0597f55f01fb6c06c206032"
4050
- integrity sha512-PkUpF+qoXTqhOeWL9fu7As8LXsIUZ1WYaJiY/a7McAQzxjk82OF0tibkFXVCDImZtWxbvojFjerkiLb0/q8mew==
4052
+ prettier@^2.7.0:
4053
+ version "2.7.0"
4054
+ resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.7.0.tgz#a4fdae07e5596c51c9857ea676cd41a0163879d6"
4055
+ integrity sha512-nwoX4GMFgxoPC6diHvSwmK/4yU8FFH3V8XWtLQrbj4IBsK2pkYhG4kf/ljF/haaZ/aii+wNJqISrCDPgxGWDVQ==
4051
4056
 
4052
4057
  pretty-format@^27.0.0, pretty-format@^27.5.1:
4053
4058
  version "27.5.1"
@@ -4583,10 +4588,10 @@ triple-beam@^1.3.0:
4583
4588
  resolved "https://registry.yarnpkg.com/triple-beam/-/triple-beam-1.3.0.tgz#a595214c7298db8339eeeee083e4d10bd8cb8dd9"
4584
4589
  integrity sha512-XrHUvV5HpdLmIj4uVMxHggLbFSZYIn7HEWsqePZcI50pco+MPqJ50wMGY794X7AOOhxOBAjbkqfAbEe/QMp2Lw==
4585
4590
 
4586
- ts-jest@^28.0.4:
4587
- version "28.0.4"
4588
- resolved "https://registry.yarnpkg.com/ts-jest/-/ts-jest-28.0.4.tgz#0ab705a60fc4b9f3506f35e26edfa9e9c915c31b"
4589
- integrity sha512-S6uRDDdCJBvnZqyGjB4VCnwbQrbgdL8WPeP4jevVSpYsBaeGRQAIS08o3Svav2Ex+oXwLgJ/m7F24TNq62kA1A==
4591
+ ts-jest@^28.0.5:
4592
+ version "28.0.5"
4593
+ resolved "https://registry.yarnpkg.com/ts-jest/-/ts-jest-28.0.5.tgz#31776f768fba6dfc8c061d488840ed0c8eeac8b9"
4594
+ integrity sha512-Sx9FyP9pCY7pUzQpy4FgRZf2bhHY3za576HMKJFs+OnQ9jS96Du5vNsDKkyedQkik+sEabbKAnCliv9BEsHZgQ==
4590
4595
  dependencies:
4591
4596
  bs-logger "0.x"
4592
4597
  fast-json-stable-stringify "2.x"
@@ -4595,7 +4600,7 @@ ts-jest@^28.0.4:
4595
4600
  lodash.memoize "4.x"
4596
4601
  make-error "1.x"
4597
4602
  semver "7.x"
4598
- yargs-parser "^20.x"
4603
+ yargs-parser "^21.0.1"
4599
4604
 
4600
4605
  ts-node@^10.8.1:
4601
4606
  version "10.8.1"
@@ -4896,11 +4901,6 @@ yaml@^2.1.1:
4896
4901
  resolved "https://registry.yarnpkg.com/yaml/-/yaml-2.1.1.tgz#1e06fb4ca46e60d9da07e4f786ea370ed3c3cfec"
4897
4902
  integrity sha512-o96x3OPo8GjWeSLF+wOAbrPfhFOGY0W00GNaxCDv+9hkcDJEnev1yh8S7pgHF0ik6zc8sQLuL8hjHjJULZp8bw==
4898
4903
 
4899
- yargs-parser@^20.x:
4900
- version "20.2.9"
4901
- resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-20.2.9.tgz#2eb7dc3b0289718fc295f362753845c41a0c94ee"
4902
- integrity sha512-y11nGElTIV+CT3Zv9t7VKl+Q3hTQoT9a1Qzezhhl6Rp21gJ/IVTW7Z3y9EWXhuUBC2Shnf+DX0antecpAwSP8w==
4903
-
4904
4904
  yargs-parser@^21.0.0, yargs-parser@^21.0.1:
4905
4905
  version "21.0.1"
4906
4906
  resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-21.0.1.tgz#0267f286c877a4f0f728fceb6f8a3e4cb95c6e35"