backport 8.9.0-beta.1 → 8.9.0-beta.2
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/dist/entrypoint.module.js +2 -1
- package/dist/lib/getCommits.js +2 -1
- package/dist/lib/github/v4/fetchCommits/allFetchers.private.test.js +2 -2
- package/dist/lib/github/v4/fetchCommits/fetchCommitByPullNumber.d.ts +2 -2
- package/dist/lib/github/v4/fetchCommits/fetchCommitByPullNumber.js +34 -10
- package/dist/lib/github/v4/fetchCommits/fetchCommitByPullNumber.private.test.js +8 -8
- package/dist/lib/github/v4/fetchCommits/fetchCommitsForRebaseAndMergeStrategy.d.ts +9 -0
- package/dist/lib/github/v4/fetchCommits/fetchCommitsForRebaseAndMergeStrategy.js +78 -0
- package/dist/lib/github/v4/fetchCommits/fetchCommitsForRebaseAndMergeStrategy.private.test.d.ts +1 -0
- package/dist/lib/github/v4/fetchCommits/fetchCommitsForRebaseAndMergeStrategy.private.test.js +29 -0
- package/dist/test/e2e/cli/different-merge-strategies.private.test.js +57 -23
- package/dist/utils/packageVersion.d.ts +1 -1
- package/dist/utils/packageVersion.js +1 -1
- package/package.json +12 -12
- package/yarn.lock +205 -205
|
@@ -31,11 +31,12 @@ async function getCommits(options) {
|
|
|
31
31
|
const pullNumbers = Array.isArray(options.pullNumber)
|
|
32
32
|
? options.pullNumber
|
|
33
33
|
: [options.pullNumber];
|
|
34
|
-
|
|
34
|
+
const nestedCommits = await Promise.all(pullNumbers.map((pullNumber) => (0, fetchCommitByPullNumber_1.fetchCommitsByPullNumber)({
|
|
35
35
|
...optionsFromGithub,
|
|
36
36
|
...options,
|
|
37
37
|
pullNumber,
|
|
38
38
|
})));
|
|
39
|
+
return nestedCommits.flat();
|
|
39
40
|
}
|
|
40
41
|
if (options.sha) {
|
|
41
42
|
const shas = Array.isArray(options.sha) ? options.sha : [options.sha];
|
package/dist/lib/getCommits.js
CHANGED
|
@@ -38,7 +38,8 @@ async function getCommits(options) {
|
|
|
38
38
|
spinner.text = `Loading pull request ${pullNumbers
|
|
39
39
|
.map((pullNumber) => `#${pullNumber}`)
|
|
40
40
|
.join(', ')}`;
|
|
41
|
-
const
|
|
41
|
+
const nestedCommits = await Promise.all(pullNumbers.map((pullNumber) => (0, fetchCommitByPullNumber_1.fetchCommitsByPullNumber)({ ...options, pullNumber })));
|
|
42
|
+
const commits = nestedCommits.flat();
|
|
42
43
|
// add styles to make it look like a prompt question
|
|
43
44
|
spinner.stopAndPersist(getOraPersistsOption('Select pull request', commits
|
|
44
45
|
.map((commit) => (0, commitFormatters_1.getFirstLine)(commit.sourceCommit.message))
|
|
@@ -27,14 +27,14 @@ describe('allFetchers', () => {
|
|
|
27
27
|
if (!commitByAuthor.sourcePullRequest) {
|
|
28
28
|
throw new Error('Missing pull number!');
|
|
29
29
|
}
|
|
30
|
-
const commitByPullNumber = await (0, fetchCommitByPullNumber_1.
|
|
30
|
+
const commitByPullNumber = await (0, fetchCommitByPullNumber_1.fetchCommitsByPullNumber)({
|
|
31
31
|
repoOwner: 'elastic',
|
|
32
32
|
repoName: 'kibana',
|
|
33
33
|
accessToken,
|
|
34
34
|
pullNumber: commitByAuthor.sourcePullRequest.number,
|
|
35
35
|
sourceBranch: 'master',
|
|
36
36
|
});
|
|
37
|
-
expect(commitByAuthor).toEqual(commitByPullNumber);
|
|
37
|
+
expect(commitByAuthor).toEqual(commitByPullNumber[0]);
|
|
38
38
|
});
|
|
39
39
|
it('matches commitByAuthor with commitBySha', async () => {
|
|
40
40
|
const commitBySha = await (0, fetchCommitBySha_1.fetchCommitBySha)({
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ValidConfigOptions } from '../../../../options/options';
|
|
2
2
|
import { Commit } from '../../../sourceCommit/parseSourceCommit';
|
|
3
|
-
export declare function
|
|
3
|
+
export declare function fetchCommitsByPullNumber(options: {
|
|
4
4
|
accessToken: string;
|
|
5
5
|
branchLabelMapping?: ValidConfigOptions['branchLabelMapping'];
|
|
6
6
|
githubApiBaseUrlV4?: string;
|
|
@@ -8,4 +8,4 @@ export declare function fetchCommitByPullNumber(options: {
|
|
|
8
8
|
repoName: string;
|
|
9
9
|
repoOwner: string;
|
|
10
10
|
sourceBranch: string;
|
|
11
|
-
}): Promise<Commit>;
|
|
11
|
+
}): Promise<Commit[]>;
|
|
@@ -3,13 +3,14 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.
|
|
6
|
+
exports.fetchCommitsByPullNumber = void 0;
|
|
7
7
|
const graphql_tag_1 = __importDefault(require("graphql-tag"));
|
|
8
8
|
const BackportError_1 = require("../../../BackportError");
|
|
9
9
|
const remoteConfig_1 = require("../../../remoteConfig");
|
|
10
|
-
const parseSourceCommit_1 = require("../../../sourceCommit/parseSourceCommit");
|
|
11
10
|
const apiRequestV4_1 = require("../apiRequestV4");
|
|
12
|
-
|
|
11
|
+
const fetchCommitBySha_1 = require("./fetchCommitBySha");
|
|
12
|
+
const fetchCommitsForRebaseAndMergeStrategy_1 = require("./fetchCommitsForRebaseAndMergeStrategy");
|
|
13
|
+
async function fetchCommitsByPullNumber(options) {
|
|
13
14
|
const { accessToken, githubApiBaseUrlV4 = 'https://api.github.com/graphql', pullNumber, repoName, repoOwner, } = options;
|
|
14
15
|
const query = (0, graphql_tag_1.default) `
|
|
15
16
|
query CommitByPullNumber(
|
|
@@ -19,14 +20,28 @@ async function fetchCommitByPullNumber(options) {
|
|
|
19
20
|
) {
|
|
20
21
|
repository(owner: $repoOwner, name: $repoName) {
|
|
21
22
|
pullRequest(number: $pullNumber) {
|
|
23
|
+
# used to determine if "Rebase and Merge" strategy was used
|
|
24
|
+
commits {
|
|
25
|
+
totalCount
|
|
26
|
+
}
|
|
27
|
+
|
|
22
28
|
mergeCommit {
|
|
23
|
-
|
|
29
|
+
oid
|
|
30
|
+
|
|
31
|
+
# used to determine if "Rebase and Merge" strategy was used
|
|
32
|
+
committedDate
|
|
33
|
+
history(first: 2) {
|
|
34
|
+
edges {
|
|
35
|
+
node {
|
|
36
|
+
message
|
|
37
|
+
committedDate
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
}
|
|
24
41
|
}
|
|
25
42
|
}
|
|
26
43
|
}
|
|
27
44
|
}
|
|
28
|
-
|
|
29
|
-
${parseSourceCommit_1.SourceCommitWithTargetPullRequestFragment}
|
|
30
45
|
`;
|
|
31
46
|
let res;
|
|
32
47
|
try {
|
|
@@ -48,10 +63,19 @@ async function fetchCommitByPullNumber(options) {
|
|
|
48
63
|
if (!pullRequestNode) {
|
|
49
64
|
throw new BackportError_1.BackportError(`The PR #${pullNumber} does not exist`);
|
|
50
65
|
}
|
|
51
|
-
const
|
|
52
|
-
if (
|
|
66
|
+
const { mergeCommit } = pullRequestNode;
|
|
67
|
+
if (mergeCommit === null) {
|
|
53
68
|
throw new BackportError_1.BackportError(`The PR #${pullNumber} is not merged`);
|
|
54
69
|
}
|
|
55
|
-
|
|
70
|
+
const possiblyRebaseAndMergeStrategy = pullRequestNode.commits.totalCount > 0 &&
|
|
71
|
+
mergeCommit.history.edges.every((c) => c.node.committedDate === mergeCommit.committedDate);
|
|
72
|
+
if (possiblyRebaseAndMergeStrategy) {
|
|
73
|
+
const commits = await (0, fetchCommitsForRebaseAndMergeStrategy_1.fetchCommitsForRebaseAndMergeStrategy)(options, pullRequestNode.commits.totalCount);
|
|
74
|
+
if (commits) {
|
|
75
|
+
return commits;
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
const commit = await (0, fetchCommitBySha_1.fetchCommitBySha)({ ...options, sha: mergeCommit.oid });
|
|
79
|
+
return [commit];
|
|
56
80
|
}
|
|
57
|
-
exports.
|
|
81
|
+
exports.fetchCommitsByPullNumber = fetchCommitsByPullNumber;
|
|
@@ -31,10 +31,10 @@ const accessToken = (0, getDevAccessToken_1.getDevAccessToken)();
|
|
|
31
31
|
describe('fetchCommitByPullNumber', () => {
|
|
32
32
|
describe('snapshot request/response', () => {
|
|
33
33
|
let spy;
|
|
34
|
-
let
|
|
34
|
+
let commits;
|
|
35
35
|
beforeEach(async () => {
|
|
36
36
|
spy = jest.spyOn(apiRequestV4Module, 'apiRequestV4');
|
|
37
|
-
|
|
37
|
+
commits = await (0, fetchCommitByPullNumber_1.fetchCommitsByPullNumber)({
|
|
38
38
|
repoOwner: 'elastic',
|
|
39
39
|
repoName: 'kibana',
|
|
40
40
|
accessToken,
|
|
@@ -49,17 +49,17 @@ describe('fetchCommitByPullNumber', () => {
|
|
|
49
49
|
return { ...acc, [name]: (0, graphql_1.print)(query) };
|
|
50
50
|
}, {});
|
|
51
51
|
const queryNames = Object.keys(queries);
|
|
52
|
-
expect(queryNames).toEqual(['CommitByPullNumber']);
|
|
52
|
+
expect(queryNames).toEqual(['CommitByPullNumber', 'CommitsBySha']);
|
|
53
53
|
queryNames.forEach((name) => {
|
|
54
54
|
expect(queries[name]).toMatchSnapshot(`Query: ${name}`);
|
|
55
55
|
});
|
|
56
56
|
});
|
|
57
57
|
it('returns the correct response', async () => {
|
|
58
|
-
expect(
|
|
58
|
+
expect(commits).toMatchSnapshot();
|
|
59
59
|
});
|
|
60
60
|
});
|
|
61
61
|
describe('when PR was merged', () => {
|
|
62
|
-
it('is returned', async () => {
|
|
62
|
+
it('the pull request response is returned', async () => {
|
|
63
63
|
const options = {
|
|
64
64
|
accessToken,
|
|
65
65
|
pullNumber: 5,
|
|
@@ -132,7 +132,7 @@ describe('fetchCommitByPullNumber', () => {
|
|
|
132
132
|
},
|
|
133
133
|
],
|
|
134
134
|
};
|
|
135
|
-
expect(await (0, fetchCommitByPullNumber_1.
|
|
135
|
+
expect(await (0, fetchCommitByPullNumber_1.fetchCommitsByPullNumber)(options)).toEqual([expectedCommit]);
|
|
136
136
|
});
|
|
137
137
|
});
|
|
138
138
|
describe('when PR is still open', () => {
|
|
@@ -144,7 +144,7 @@ describe('fetchCommitByPullNumber', () => {
|
|
|
144
144
|
repoOwner: 'backport-org',
|
|
145
145
|
sourceBranch: 'main',
|
|
146
146
|
};
|
|
147
|
-
await expect((0, fetchCommitByPullNumber_1.
|
|
147
|
+
await expect((0, fetchCommitByPullNumber_1.fetchCommitsByPullNumber)(options)).rejects.toThrowError(`The PR #11 is not merged`);
|
|
148
148
|
});
|
|
149
149
|
});
|
|
150
150
|
describe('when PR does not exist', () => {
|
|
@@ -156,7 +156,7 @@ describe('fetchCommitByPullNumber', () => {
|
|
|
156
156
|
repoOwner: 'backport-org',
|
|
157
157
|
sourceBranch: 'main',
|
|
158
158
|
};
|
|
159
|
-
await expect((0, fetchCommitByPullNumber_1.
|
|
159
|
+
await expect((0, fetchCommitByPullNumber_1.fetchCommitsByPullNumber)(options)).rejects.toThrowError(`Could not resolve to a PullRequest with the number of 9999999999999. (Github API v4)`);
|
|
160
160
|
});
|
|
161
161
|
});
|
|
162
162
|
});
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { Commit } from '../../../../entrypoint.module';
|
|
2
|
+
export declare function fetchCommitsForRebaseAndMergeStrategy(options: {
|
|
3
|
+
accessToken: string;
|
|
4
|
+
githubApiBaseUrlV4?: string;
|
|
5
|
+
pullNumber: number;
|
|
6
|
+
repoName: string;
|
|
7
|
+
repoOwner: string;
|
|
8
|
+
sourceBranch: string;
|
|
9
|
+
}, commitsTotalCount: number): Promise<Commit[] | undefined>;
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.fetchCommitsForRebaseAndMergeStrategy = void 0;
|
|
7
|
+
const graphql_tag_1 = __importDefault(require("graphql-tag"));
|
|
8
|
+
const apiRequestV4_1 = require("../apiRequestV4");
|
|
9
|
+
const fetchCommitBySha_1 = require("./fetchCommitBySha");
|
|
10
|
+
async function fetchCommitsForRebaseAndMergeStrategy(options, commitsTotalCount) {
|
|
11
|
+
const { accessToken, githubApiBaseUrlV4 = 'https://api.github.com/graphql', pullNumber, repoName, repoOwner, } = options;
|
|
12
|
+
const query = (0, graphql_tag_1.default) `
|
|
13
|
+
query CommitByPullNumber(
|
|
14
|
+
$repoOwner: String!
|
|
15
|
+
$repoName: String!
|
|
16
|
+
$pullNumber: Int!
|
|
17
|
+
$commitsTotalCount: Int!
|
|
18
|
+
) {
|
|
19
|
+
repository(owner: $repoOwner, name: $repoName) {
|
|
20
|
+
pullRequest(number: $pullNumber) {
|
|
21
|
+
commits(first: $commitsTotalCount) {
|
|
22
|
+
totalCount
|
|
23
|
+
edges {
|
|
24
|
+
node {
|
|
25
|
+
commit {
|
|
26
|
+
message
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
mergeCommit {
|
|
33
|
+
committedDate
|
|
34
|
+
history(first: $commitsTotalCount) {
|
|
35
|
+
edges {
|
|
36
|
+
node {
|
|
37
|
+
oid
|
|
38
|
+
message
|
|
39
|
+
committedDate
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
`;
|
|
48
|
+
const res = await (0, apiRequestV4_1.apiRequestV4)({
|
|
49
|
+
githubApiBaseUrlV4,
|
|
50
|
+
accessToken,
|
|
51
|
+
query,
|
|
52
|
+
variables: {
|
|
53
|
+
repoOwner,
|
|
54
|
+
repoName,
|
|
55
|
+
pullNumber,
|
|
56
|
+
commitsTotalCount,
|
|
57
|
+
},
|
|
58
|
+
});
|
|
59
|
+
const pullRequestNode = res.repository.pullRequest;
|
|
60
|
+
if (!pullRequestNode?.mergeCommit) {
|
|
61
|
+
throw new Error('Pull request is not merged');
|
|
62
|
+
}
|
|
63
|
+
if (pullRequestNode.commits.totalCount !== commitsTotalCount) {
|
|
64
|
+
throw new Error(`Specified number of commits is ${commitsTotalCount} whereas the actual number is ${pullRequestNode.commits.totalCount}`);
|
|
65
|
+
}
|
|
66
|
+
const commitsInPullRequest = pullRequestNode.commits.edges;
|
|
67
|
+
const commitsInBaseBranch = pullRequestNode.mergeCommit.history.edges.reverse();
|
|
68
|
+
const didUseRebaseAndMergeStrategy = commitsInBaseBranch.every((c, i) => {
|
|
69
|
+
const hasIdenticalCommittedDate = c.node.committedDate === pullRequestNode.mergeCommit?.committedDate;
|
|
70
|
+
const hasIdenticalCommitMessages = c.node.message === commitsInPullRequest[i].node.commit.message;
|
|
71
|
+
return hasIdenticalCommittedDate && hasIdenticalCommitMessages;
|
|
72
|
+
});
|
|
73
|
+
if (didUseRebaseAndMergeStrategy) {
|
|
74
|
+
const commits = await Promise.all(commitsInBaseBranch.map((c) => (0, fetchCommitBySha_1.fetchCommitBySha)({ ...options, sha: c.node.oid })));
|
|
75
|
+
return commits;
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
exports.fetchCommitsForRebaseAndMergeStrategy = fetchCommitsForRebaseAndMergeStrategy;
|
package/dist/lib/github/v4/fetchCommits/fetchCommitsForRebaseAndMergeStrategy.private.test.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const getDevAccessToken_1 = require("../../../../test/private/getDevAccessToken");
|
|
4
|
+
const fetchCommitsForRebaseAndMergeStrategy_1 = require("./fetchCommitsForRebaseAndMergeStrategy");
|
|
5
|
+
const accessToken = (0, getDevAccessToken_1.getDevAccessToken)();
|
|
6
|
+
describe('fetchCommitsForRebaseAndMergeStrategy', () => {
|
|
7
|
+
it('returns multiple commits for pull requests merged with "Rebase and merge" strategy', async () => {
|
|
8
|
+
const commitsTotalCount = 3;
|
|
9
|
+
const commits = await (0, fetchCommitsForRebaseAndMergeStrategy_1.fetchCommitsForRebaseAndMergeStrategy)({
|
|
10
|
+
accessToken,
|
|
11
|
+
repoOwner: 'backport-org',
|
|
12
|
+
repoName: 'different-merge-strategies',
|
|
13
|
+
pullNumber: 21,
|
|
14
|
+
sourceBranch: 'main',
|
|
15
|
+
}, commitsTotalCount);
|
|
16
|
+
expect(commits?.length).toBe(3);
|
|
17
|
+
});
|
|
18
|
+
it('returns `undefined` for pull request merged with "merge strategy"', async () => {
|
|
19
|
+
const commitsTotalCount = 8;
|
|
20
|
+
const commits = await (0, fetchCommitsForRebaseAndMergeStrategy_1.fetchCommitsForRebaseAndMergeStrategy)({
|
|
21
|
+
accessToken,
|
|
22
|
+
repoOwner: 'backport-org',
|
|
23
|
+
repoName: 'different-merge-strategies',
|
|
24
|
+
pullNumber: 9,
|
|
25
|
+
sourceBranch: 'main',
|
|
26
|
+
}, commitsTotalCount);
|
|
27
|
+
expect(commits).toBe(undefined);
|
|
28
|
+
});
|
|
29
|
+
});
|
|
@@ -21,22 +21,26 @@ describe('different-merge-strategies', () => {
|
|
|
21
21
|
], { waitForString: 'Select commit', timeoutSeconds: 4 });
|
|
22
22
|
expect(output).toMatchInlineSnapshot(`
|
|
23
23
|
"? Select commit (Use arrow keys)
|
|
24
|
-
❯ 1.
|
|
25
|
-
2.
|
|
26
|
-
3.
|
|
27
|
-
4.
|
|
28
|
-
5. Merge
|
|
29
|
-
6. Merge strategy:
|
|
30
|
-
7. Merge strategy:
|
|
31
|
-
8. Merge strategy:
|
|
32
|
-
9. Merge strategy:
|
|
33
|
-
10.
|
|
34
|
-
11.
|
|
35
|
-
12.
|
|
36
|
-
13.Merge
|
|
37
|
-
14.
|
|
38
|
-
15.
|
|
39
|
-
16.
|
|
24
|
+
❯ 1. Downsides with \\"Rebase and merge\\"
|
|
25
|
+
2. Add description for \\"Rebase and merge\\"
|
|
26
|
+
3. Add \\"Rebase and merge\\" header
|
|
27
|
+
4. Create rebase-and-merge.txt
|
|
28
|
+
5. Merge pull request #9 from backport-org/many-merge-commits
|
|
29
|
+
6. Merge strategy: Eighth of many merges
|
|
30
|
+
7. Merge strategy: Seventh of many merges
|
|
31
|
+
8. Merge strategy: Sixth of many merges
|
|
32
|
+
9. Merge strategy: Fifth of many merges
|
|
33
|
+
10.Merge strategy: Fourth of many merges
|
|
34
|
+
11.Merge strategy: Third of many merges
|
|
35
|
+
12.Merge strategy: Second of many merges
|
|
36
|
+
13.Merge strategy: First of many merges
|
|
37
|
+
14.Using squash to merge commits (#3)
|
|
38
|
+
15.Rebase strategy: Second commit
|
|
39
|
+
16.Rebase strategy: First commit
|
|
40
|
+
17.Merge pull request #1 from backport-org/merge-strategy
|
|
41
|
+
18.Merge strategy: Second commit
|
|
42
|
+
19.Merge strategy: First commit
|
|
43
|
+
20.Initial commit"
|
|
40
44
|
`);
|
|
41
45
|
});
|
|
42
46
|
describe('when selecting a merge commit with eight commits', () => {
|
|
@@ -87,7 +91,7 @@ describe('different-merge-strategies', () => {
|
|
|
87
91
|
});
|
|
88
92
|
it('backports all immediate children of the merge commit', async () => {
|
|
89
93
|
const commits = await listCommits(sandboxPath);
|
|
90
|
-
expect(commits).toEqual([
|
|
94
|
+
expect(commits.slice(0, 8)).toEqual([
|
|
91
95
|
'Merge strategy: Eighth of many merges',
|
|
92
96
|
'Merge strategy: Seventh of many merges',
|
|
93
97
|
'Merge strategy: Sixth of many merges',
|
|
@@ -96,7 +100,6 @@ describe('different-merge-strategies', () => {
|
|
|
96
100
|
'Merge strategy: Third of many merges',
|
|
97
101
|
'Merge strategy: Second of many merges',
|
|
98
102
|
'Merge strategy: First of many merges',
|
|
99
|
-
'Initial commit',
|
|
100
103
|
]);
|
|
101
104
|
});
|
|
102
105
|
});
|
|
@@ -116,10 +119,9 @@ describe('different-merge-strategies', () => {
|
|
|
116
119
|
});
|
|
117
120
|
it('backports all immediate children of the merge commit', async () => {
|
|
118
121
|
const commits = await listCommits(sandboxPath);
|
|
119
|
-
expect(commits).toEqual([
|
|
122
|
+
expect(commits.slice(0, 2)).toEqual([
|
|
120
123
|
'Merge strategy: Second commit',
|
|
121
124
|
'Merge strategy: First commit',
|
|
122
|
-
'Initial commit',
|
|
123
125
|
]);
|
|
124
126
|
});
|
|
125
127
|
});
|
|
@@ -207,7 +209,7 @@ describe('different-merge-strategies', () => {
|
|
|
207
209
|
});
|
|
208
210
|
it('backports all immediate children of the merge commit', async () => {
|
|
209
211
|
const commits = await listCommits(sandboxPath);
|
|
210
|
-
expect(commits).toEqual([
|
|
212
|
+
expect(commits.slice(0, 8)).toEqual([
|
|
211
213
|
'Merge strategy: Eighth of many merges',
|
|
212
214
|
'Merge strategy: Seventh of many merges',
|
|
213
215
|
'Merge strategy: Sixth of many merges',
|
|
@@ -216,8 +218,40 @@ describe('different-merge-strategies', () => {
|
|
|
216
218
|
'Merge strategy: Third of many merges',
|
|
217
219
|
'Merge strategy: Second of many merges',
|
|
218
220
|
'Merge strategy: First of many merges',
|
|
219
|
-
|
|
220
|
-
|
|
221
|
+
]);
|
|
222
|
+
});
|
|
223
|
+
});
|
|
224
|
+
describe('when using "Rebase and Merge" strategy', () => {
|
|
225
|
+
let sandboxPath;
|
|
226
|
+
let output;
|
|
227
|
+
beforeAll(async () => {
|
|
228
|
+
sandboxPath = (0, sandbox_1.getSandboxPath)({ filename: __filename });
|
|
229
|
+
await (0, sandbox_1.resetSandbox)(sandboxPath);
|
|
230
|
+
const res = await (0, runBackportViaCli_1.runBackportViaCli)([
|
|
231
|
+
'--branch=7.x',
|
|
232
|
+
'--repo=backport-org/different-merge-strategies',
|
|
233
|
+
`--accessToken=${accessToken}`,
|
|
234
|
+
`--dir=${sandboxPath}`,
|
|
235
|
+
'--pr=21',
|
|
236
|
+
'--dry-run',
|
|
237
|
+
], { showOra: true });
|
|
238
|
+
output = res.output;
|
|
239
|
+
});
|
|
240
|
+
it('backports all commits', async () => {
|
|
241
|
+
const commits = await (await listCommits(sandboxPath)).slice(0, 3);
|
|
242
|
+
expect(commits).toEqual([
|
|
243
|
+
'Downsides with "Rebase and merge"',
|
|
244
|
+
'Add description for "Rebase and merge"',
|
|
245
|
+
'Add "Rebase and merge" header',
|
|
246
|
+
]);
|
|
247
|
+
});
|
|
248
|
+
it('shows every commit in output', async () => {
|
|
249
|
+
expect(output
|
|
250
|
+
.split('\n')
|
|
251
|
+
.filter((line) => line.startsWith('✔ Cherry-picking:'))).toEqual([
|
|
252
|
+
'✔ Cherry-picking: Add "Rebase and merge" header',
|
|
253
|
+
'✔ Cherry-picking: Add description for "Rebase and merge"',
|
|
254
|
+
'✔ Cherry-picking: Downsides with "Rebase and merge"',
|
|
221
255
|
]);
|
|
222
256
|
});
|
|
223
257
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const PACKAGE_VERSION = "8.9.0-beta.
|
|
1
|
+
export declare const PACKAGE_VERSION = "8.9.0-beta.2";
|
package/package.json
CHANGED
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
"branches",
|
|
15
15
|
"branching"
|
|
16
16
|
],
|
|
17
|
-
"version": "8.9.0-beta.
|
|
17
|
+
"version": "8.9.0-beta.2",
|
|
18
18
|
"main": "./dist/entrypoint.module.js",
|
|
19
19
|
"types": "dist/entrypoint.module.d.ts",
|
|
20
20
|
"bin": {
|
|
@@ -79,7 +79,7 @@
|
|
|
79
79
|
"strip-json-comments": "^3.1.1",
|
|
80
80
|
"terminal-link": "^2.1.1",
|
|
81
81
|
"utility-types": "^3.10.0",
|
|
82
|
-
"winston": "^3.
|
|
82
|
+
"winston": "^3.8.1",
|
|
83
83
|
"yargs": "^17.5.1",
|
|
84
84
|
"yargs-parser": "^21.0.1"
|
|
85
85
|
},
|
|
@@ -87,29 +87,29 @@
|
|
|
87
87
|
"@types/core-js": "^2.5.5",
|
|
88
88
|
"@types/dedent": "^0.7.0",
|
|
89
89
|
"@types/inquirer": "^8.2.1",
|
|
90
|
-
"@types/jest": "^28.1.
|
|
90
|
+
"@types/jest": "^28.1.4",
|
|
91
91
|
"@types/lodash": "^4.14.182",
|
|
92
|
-
"@types/node": "^18.0.
|
|
92
|
+
"@types/node": "^18.0.1",
|
|
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.
|
|
97
|
-
"@typescript-eslint/parser": "^5.
|
|
98
|
-
"eslint": "^8.
|
|
96
|
+
"@typescript-eslint/eslint-plugin": "^5.30.5",
|
|
97
|
+
"@typescript-eslint/parser": "^5.30.5",
|
|
98
|
+
"eslint": "^8.19.0",
|
|
99
99
|
"eslint-config-prettier": "^8.5.0",
|
|
100
100
|
"eslint-plugin-import": "^2.26.0",
|
|
101
101
|
"eslint-plugin-jest": "^26.5.3",
|
|
102
|
-
"eslint-plugin-prettier": "^4.
|
|
102
|
+
"eslint-plugin-prettier": "^4.2.1",
|
|
103
103
|
"graphql-config": "^4.3.1",
|
|
104
104
|
"husky": "^8.0.1",
|
|
105
|
-
"jest": "^28.1.
|
|
105
|
+
"jest": "^28.1.2",
|
|
106
106
|
"jest-snapshot-serializer-ansi": "^1.0.0",
|
|
107
|
-
"lint-staged": "^13.0.
|
|
108
|
-
"nock": "^13.2.
|
|
107
|
+
"lint-staged": "^13.0.3",
|
|
108
|
+
"nock": "^13.2.8",
|
|
109
109
|
"prettier": "^2.7.1",
|
|
110
110
|
"strip-ansi": "^6.0.1",
|
|
111
111
|
"ts-jest": "^28.0.5",
|
|
112
|
-
"ts-node": "^10.8.
|
|
112
|
+
"ts-node": "^10.8.2",
|
|
113
113
|
"typescript": "^4.7.4"
|
|
114
114
|
}
|
|
115
115
|
}
|
package/yarn.lock
CHANGED
|
@@ -621,15 +621,15 @@
|
|
|
621
621
|
jest-util "^28.1.1"
|
|
622
622
|
slash "^3.0.0"
|
|
623
623
|
|
|
624
|
-
"@jest/core@^28.1.
|
|
625
|
-
version "28.1.
|
|
626
|
-
resolved "https://registry.yarnpkg.com/@jest/core/-/core-28.1.
|
|
627
|
-
integrity sha512-
|
|
624
|
+
"@jest/core@^28.1.2":
|
|
625
|
+
version "28.1.2"
|
|
626
|
+
resolved "https://registry.yarnpkg.com/@jest/core/-/core-28.1.2.tgz#eac519b9acbd154313854b8823a47b5c645f785a"
|
|
627
|
+
integrity sha512-Xo4E+Sb/nZODMGOPt2G3cMmCBqL4/W2Ijwr7/mrXlq4jdJwcFQ/9KrrJZT2adQRk2otVBXXOz1GRQ4Z5iOgvRQ==
|
|
628
628
|
dependencies:
|
|
629
629
|
"@jest/console" "^28.1.1"
|
|
630
|
-
"@jest/reporters" "^28.1.
|
|
630
|
+
"@jest/reporters" "^28.1.2"
|
|
631
631
|
"@jest/test-result" "^28.1.1"
|
|
632
|
-
"@jest/transform" "^28.1.
|
|
632
|
+
"@jest/transform" "^28.1.2"
|
|
633
633
|
"@jest/types" "^28.1.1"
|
|
634
634
|
"@types/node" "*"
|
|
635
635
|
ansi-escapes "^4.2.1"
|
|
@@ -638,15 +638,15 @@
|
|
|
638
638
|
exit "^0.1.2"
|
|
639
639
|
graceful-fs "^4.2.9"
|
|
640
640
|
jest-changed-files "^28.0.2"
|
|
641
|
-
jest-config "^28.1.
|
|
641
|
+
jest-config "^28.1.2"
|
|
642
642
|
jest-haste-map "^28.1.1"
|
|
643
643
|
jest-message-util "^28.1.1"
|
|
644
644
|
jest-regex-util "^28.0.2"
|
|
645
645
|
jest-resolve "^28.1.1"
|
|
646
|
-
jest-resolve-dependencies "^28.1.
|
|
647
|
-
jest-runner "^28.1.
|
|
648
|
-
jest-runtime "^28.1.
|
|
649
|
-
jest-snapshot "^28.1.
|
|
646
|
+
jest-resolve-dependencies "^28.1.2"
|
|
647
|
+
jest-runner "^28.1.2"
|
|
648
|
+
jest-runtime "^28.1.2"
|
|
649
|
+
jest-snapshot "^28.1.2"
|
|
650
650
|
jest-util "^28.1.1"
|
|
651
651
|
jest-validate "^28.1.1"
|
|
652
652
|
jest-watcher "^28.1.1"
|
|
@@ -656,12 +656,12 @@
|
|
|
656
656
|
slash "^3.0.0"
|
|
657
657
|
strip-ansi "^6.0.0"
|
|
658
658
|
|
|
659
|
-
"@jest/environment@^28.1.
|
|
660
|
-
version "28.1.
|
|
661
|
-
resolved "https://registry.yarnpkg.com/@jest/environment/-/environment-28.1.
|
|
662
|
-
integrity sha512-
|
|
659
|
+
"@jest/environment@^28.1.2":
|
|
660
|
+
version "28.1.2"
|
|
661
|
+
resolved "https://registry.yarnpkg.com/@jest/environment/-/environment-28.1.2.tgz#94a052c0c5f9f8c8e6d13ea6da78dbc5d7d9b85b"
|
|
662
|
+
integrity sha512-I0CR1RUMmOzd0tRpz10oUfaChBWs+/Hrvn5xYhMEF/ZqrDaaeHwS8yDBqEWCrEnkH2g+WE/6g90oBv3nKpcm8Q==
|
|
663
663
|
dependencies:
|
|
664
|
-
"@jest/fake-timers" "^28.1.
|
|
664
|
+
"@jest/fake-timers" "^28.1.2"
|
|
665
665
|
"@jest/types" "^28.1.1"
|
|
666
666
|
"@types/node" "*"
|
|
667
667
|
jest-mock "^28.1.1"
|
|
@@ -673,46 +673,46 @@
|
|
|
673
673
|
dependencies:
|
|
674
674
|
jest-get-type "^28.0.2"
|
|
675
675
|
|
|
676
|
-
"@jest/expect@^28.1.
|
|
677
|
-
version "28.1.
|
|
678
|
-
resolved "https://registry.yarnpkg.com/@jest/expect/-/expect-28.1.
|
|
679
|
-
integrity sha512
|
|
676
|
+
"@jest/expect@^28.1.2":
|
|
677
|
+
version "28.1.2"
|
|
678
|
+
resolved "https://registry.yarnpkg.com/@jest/expect/-/expect-28.1.2.tgz#0b25acedff46e1e1e5606285306c8a399c12534f"
|
|
679
|
+
integrity sha512-HBzyZBeFBiOelNbBKN0pilWbbrGvwDUwAqMC46NVJmWm8AVkuE58NbG1s7DR4cxFt4U5cVLxofAoHxgvC5MyOw==
|
|
680
680
|
dependencies:
|
|
681
681
|
expect "^28.1.1"
|
|
682
|
-
jest-snapshot "^28.1.
|
|
682
|
+
jest-snapshot "^28.1.2"
|
|
683
683
|
|
|
684
|
-
"@jest/fake-timers@^28.1.
|
|
685
|
-
version "28.1.
|
|
686
|
-
resolved "https://registry.yarnpkg.com/@jest/fake-timers/-/fake-timers-28.1.
|
|
687
|
-
integrity sha512-
|
|
684
|
+
"@jest/fake-timers@^28.1.2":
|
|
685
|
+
version "28.1.2"
|
|
686
|
+
resolved "https://registry.yarnpkg.com/@jest/fake-timers/-/fake-timers-28.1.2.tgz#d49e8ee4e02ba85a6e844a52a5e7c59c23e3b76f"
|
|
687
|
+
integrity sha512-xSYEI7Y0D5FbZN2LsCUj/EKRR1zfQYmGuAUVh6xTqhx7V5JhjgMcK5Pa0iR6WIk0GXiHDe0Ke4A+yERKE9saqg==
|
|
688
688
|
dependencies:
|
|
689
689
|
"@jest/types" "^28.1.1"
|
|
690
|
-
"@sinonjs/fake-timers" "^9.1.
|
|
690
|
+
"@sinonjs/fake-timers" "^9.1.2"
|
|
691
691
|
"@types/node" "*"
|
|
692
692
|
jest-message-util "^28.1.1"
|
|
693
693
|
jest-mock "^28.1.1"
|
|
694
694
|
jest-util "^28.1.1"
|
|
695
695
|
|
|
696
|
-
"@jest/globals@^28.1.
|
|
697
|
-
version "28.1.
|
|
698
|
-
resolved "https://registry.yarnpkg.com/@jest/globals/-/globals-28.1.
|
|
699
|
-
integrity sha512-
|
|
696
|
+
"@jest/globals@^28.1.2":
|
|
697
|
+
version "28.1.2"
|
|
698
|
+
resolved "https://registry.yarnpkg.com/@jest/globals/-/globals-28.1.2.tgz#92fab296e337c7309c25e4202fb724f62249d83f"
|
|
699
|
+
integrity sha512-cz0lkJVDOtDaYhvT3Fv2U1B6FtBnV+OpEyJCzTHM1fdoTsU4QNLAt/H4RkiwEUU+dL4g/MFsoTuHeT2pvbo4Hg==
|
|
700
700
|
dependencies:
|
|
701
|
-
"@jest/environment" "^28.1.
|
|
702
|
-
"@jest/expect" "^28.1.
|
|
701
|
+
"@jest/environment" "^28.1.2"
|
|
702
|
+
"@jest/expect" "^28.1.2"
|
|
703
703
|
"@jest/types" "^28.1.1"
|
|
704
704
|
|
|
705
|
-
"@jest/reporters@^28.1.
|
|
706
|
-
version "28.1.
|
|
707
|
-
resolved "https://registry.yarnpkg.com/@jest/reporters/-/reporters-28.1.
|
|
708
|
-
integrity sha512
|
|
705
|
+
"@jest/reporters@^28.1.2":
|
|
706
|
+
version "28.1.2"
|
|
707
|
+
resolved "https://registry.yarnpkg.com/@jest/reporters/-/reporters-28.1.2.tgz#0327be4ce4d0d9ae49e7908656f89669d0c2a260"
|
|
708
|
+
integrity sha512-/whGLhiwAqeCTmQEouSigUZJPVl7sW8V26EiboImL+UyXznnr1a03/YZ2BX8OlFw0n+Zlwu+EZAITZtaeRTxyA==
|
|
709
709
|
dependencies:
|
|
710
710
|
"@bcoe/v8-coverage" "^0.2.3"
|
|
711
711
|
"@jest/console" "^28.1.1"
|
|
712
712
|
"@jest/test-result" "^28.1.1"
|
|
713
|
-
"@jest/transform" "^28.1.
|
|
713
|
+
"@jest/transform" "^28.1.2"
|
|
714
714
|
"@jest/types" "^28.1.1"
|
|
715
|
-
"@jridgewell/trace-mapping" "^0.3.
|
|
715
|
+
"@jridgewell/trace-mapping" "^0.3.13"
|
|
716
716
|
"@types/node" "*"
|
|
717
717
|
chalk "^4.0.0"
|
|
718
718
|
collect-v8-coverage "^1.0.0"
|
|
@@ -731,7 +731,7 @@
|
|
|
731
731
|
string-length "^4.0.1"
|
|
732
732
|
strip-ansi "^6.0.0"
|
|
733
733
|
terminal-link "^2.0.0"
|
|
734
|
-
v8-to-istanbul "^9.0.
|
|
734
|
+
v8-to-istanbul "^9.0.1"
|
|
735
735
|
|
|
736
736
|
"@jest/schemas@^28.0.2":
|
|
737
737
|
version "28.0.2"
|
|
@@ -740,12 +740,12 @@
|
|
|
740
740
|
dependencies:
|
|
741
741
|
"@sinclair/typebox" "^0.23.3"
|
|
742
742
|
|
|
743
|
-
"@jest/source-map@^28.
|
|
744
|
-
version "28.
|
|
745
|
-
resolved "https://registry.yarnpkg.com/@jest/source-map/-/source-map-28.
|
|
746
|
-
integrity sha512-
|
|
743
|
+
"@jest/source-map@^28.1.2":
|
|
744
|
+
version "28.1.2"
|
|
745
|
+
resolved "https://registry.yarnpkg.com/@jest/source-map/-/source-map-28.1.2.tgz#7fe832b172b497d6663cdff6c13b0a920e139e24"
|
|
746
|
+
integrity sha512-cV8Lx3BeStJb8ipPHnqVw/IM2VCMWO3crWZzYodSIkxXnRcXJipCdx1JCK0K5MsJJouZQTH73mzf4vgxRaH9ww==
|
|
747
747
|
dependencies:
|
|
748
|
-
"@jridgewell/trace-mapping" "^0.3.
|
|
748
|
+
"@jridgewell/trace-mapping" "^0.3.13"
|
|
749
749
|
callsites "^3.0.0"
|
|
750
750
|
graceful-fs "^4.2.9"
|
|
751
751
|
|
|
@@ -769,14 +769,14 @@
|
|
|
769
769
|
jest-haste-map "^28.1.1"
|
|
770
770
|
slash "^3.0.0"
|
|
771
771
|
|
|
772
|
-
"@jest/transform@^28.1.
|
|
773
|
-
version "28.1.
|
|
774
|
-
resolved "https://registry.yarnpkg.com/@jest/transform/-/transform-28.1.
|
|
775
|
-
integrity sha512-
|
|
772
|
+
"@jest/transform@^28.1.2":
|
|
773
|
+
version "28.1.2"
|
|
774
|
+
resolved "https://registry.yarnpkg.com/@jest/transform/-/transform-28.1.2.tgz#b367962c53fd53821269bde050ce373e111327c1"
|
|
775
|
+
integrity sha512-3o+lKF6iweLeJFHBlMJysdaPbpoMmtbHEFsjzSv37HIq/wWt5ijTeO2Yf7MO5yyczCopD507cNwNLeX8Y/CuIg==
|
|
776
776
|
dependencies:
|
|
777
777
|
"@babel/core" "^7.11.6"
|
|
778
778
|
"@jest/types" "^28.1.1"
|
|
779
|
-
"@jridgewell/trace-mapping" "^0.3.
|
|
779
|
+
"@jridgewell/trace-mapping" "^0.3.13"
|
|
780
780
|
babel-plugin-istanbul "^6.1.1"
|
|
781
781
|
chalk "^4.0.0"
|
|
782
782
|
convert-source-map "^1.4.0"
|
|
@@ -853,10 +853,10 @@
|
|
|
853
853
|
"@jridgewell/resolve-uri" "^3.0.3"
|
|
854
854
|
"@jridgewell/sourcemap-codec" "^1.4.10"
|
|
855
855
|
|
|
856
|
-
"@jridgewell/trace-mapping@^0.3.
|
|
857
|
-
version "0.3.
|
|
858
|
-
resolved "https://registry.yarnpkg.com/@jridgewell/trace-mapping/-/trace-mapping-0.3.
|
|
859
|
-
integrity sha512-
|
|
856
|
+
"@jridgewell/trace-mapping@^0.3.12", "@jridgewell/trace-mapping@^0.3.13":
|
|
857
|
+
version "0.3.14"
|
|
858
|
+
resolved "https://registry.yarnpkg.com/@jridgewell/trace-mapping/-/trace-mapping-0.3.14.tgz#b231a081d8f66796e475ad588a1ef473112701ed"
|
|
859
|
+
integrity sha512-bJWEfQ9lPTvm3SneWwRFVLzrh6nhjwqw7TUFFBEMzwvg7t7PCDenf2lDwqo4NQXzdpgBXyFgDWnQA+2vkruksQ==
|
|
860
860
|
dependencies:
|
|
861
861
|
"@jridgewell/resolve-uri" "^3.0.3"
|
|
862
862
|
"@jridgewell/sourcemap-codec" "^1.4.10"
|
|
@@ -1000,7 +1000,7 @@
|
|
|
1000
1000
|
dependencies:
|
|
1001
1001
|
type-detect "4.0.8"
|
|
1002
1002
|
|
|
1003
|
-
"@sinonjs/fake-timers@^9.1.
|
|
1003
|
+
"@sinonjs/fake-timers@^9.1.2":
|
|
1004
1004
|
version "9.1.2"
|
|
1005
1005
|
resolved "https://registry.yarnpkg.com/@sinonjs/fake-timers/-/fake-timers-9.1.2.tgz#4eaab737fab77332ab132d396a3c0d364bd0ea8c"
|
|
1006
1006
|
integrity sha512-BPS4ynJW/o92PUR4wgriz2Ud5gpST5vz6GQfMixEDK0Z8ZCUv2M7SkBLykH56T++Xs+8ln9zTGbOvNGIe02/jw==
|
|
@@ -1104,10 +1104,10 @@
|
|
|
1104
1104
|
dependencies:
|
|
1105
1105
|
"@types/istanbul-lib-report" "*"
|
|
1106
1106
|
|
|
1107
|
-
"@types/jest@^28.1.
|
|
1108
|
-
version "28.1.
|
|
1109
|
-
resolved "https://registry.yarnpkg.com/@types/jest/-/jest-28.1.
|
|
1110
|
-
integrity sha512-
|
|
1107
|
+
"@types/jest@^28.1.4":
|
|
1108
|
+
version "28.1.4"
|
|
1109
|
+
resolved "https://registry.yarnpkg.com/@types/jest/-/jest-28.1.4.tgz#a11ee6c8fd0b52c19c9c18138b78bbcc201dad5a"
|
|
1110
|
+
integrity sha512-telv6G5N7zRJiLcI3Rs3o+ipZ28EnE+7EvF0pSrt2pZOMnAVI/f+6/LucDxOvcBcTeTL3JMF744BbVQAVBUQRA==
|
|
1111
1111
|
dependencies:
|
|
1112
1112
|
jest-matcher-utils "^28.0.0"
|
|
1113
1113
|
pretty-format "^28.0.0"
|
|
@@ -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@^18.0.
|
|
1136
|
-
version "18.0.
|
|
1137
|
-
resolved "https://registry.yarnpkg.com/@types/node/-/node-18.0.
|
|
1138
|
-
integrity sha512-
|
|
1135
|
+
"@types/node@^18.0.1":
|
|
1136
|
+
version "18.0.1"
|
|
1137
|
+
resolved "https://registry.yarnpkg.com/@types/node/-/node-18.0.1.tgz#e91bd73239b338557a84d1f67f7b9e0f25643870"
|
|
1138
|
+
integrity sha512-CmR8+Tsy95hhwtZBKJBs0/FFq4XX7sDZHlGGf+0q+BRZfMbOTkzkj0AFAuTyXbObDIoanaBBW0+KEW+m3N16Wg==
|
|
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.
|
|
1194
|
-
version "5.
|
|
1195
|
-
resolved "https://registry.yarnpkg.com/@typescript-eslint/eslint-plugin/-/eslint-plugin-5.
|
|
1196
|
-
integrity sha512-
|
|
1193
|
+
"@typescript-eslint/eslint-plugin@^5.30.5":
|
|
1194
|
+
version "5.30.5"
|
|
1195
|
+
resolved "https://registry.yarnpkg.com/@typescript-eslint/eslint-plugin/-/eslint-plugin-5.30.5.tgz#e9a0afd6eb3b1d663db91cf1e7bc7584d394503d"
|
|
1196
|
+
integrity sha512-lftkqRoBvc28VFXEoRgyZuztyVUQ04JvUnATSPtIRFAccbXTWL6DEtXGYMcbg998kXw1NLUJm7rTQ9eUt+q6Ig==
|
|
1197
1197
|
dependencies:
|
|
1198
|
-
"@typescript-eslint/scope-manager" "5.
|
|
1199
|
-
"@typescript-eslint/type-utils" "5.
|
|
1200
|
-
"@typescript-eslint/utils" "5.
|
|
1198
|
+
"@typescript-eslint/scope-manager" "5.30.5"
|
|
1199
|
+
"@typescript-eslint/type-utils" "5.30.5"
|
|
1200
|
+
"@typescript-eslint/utils" "5.30.5"
|
|
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.
|
|
1209
|
-
version "5.
|
|
1210
|
-
resolved "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-5.
|
|
1211
|
-
integrity sha512-
|
|
1208
|
+
"@typescript-eslint/parser@^5.30.5":
|
|
1209
|
+
version "5.30.5"
|
|
1210
|
+
resolved "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-5.30.5.tgz#f667c34e4e4c299d98281246c9b1e68c03a92522"
|
|
1211
|
+
integrity sha512-zj251pcPXI8GO9NDKWWmygP6+UjwWmrdf9qMW/L/uQJBM/0XbU2inxe5io/234y/RCvwpKEYjZ6c1YrXERkK4Q==
|
|
1212
1212
|
dependencies:
|
|
1213
|
-
"@typescript-eslint/scope-manager" "5.
|
|
1214
|
-
"@typescript-eslint/types" "5.
|
|
1215
|
-
"@typescript-eslint/typescript-estree" "5.
|
|
1213
|
+
"@typescript-eslint/scope-manager" "5.30.5"
|
|
1214
|
+
"@typescript-eslint/types" "5.30.5"
|
|
1215
|
+
"@typescript-eslint/typescript-estree" "5.30.5"
|
|
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.
|
|
1227
|
-
version "5.
|
|
1228
|
-
resolved "https://registry.yarnpkg.com/@typescript-eslint/scope-manager/-/scope-manager-5.
|
|
1229
|
-
integrity sha512-
|
|
1226
|
+
"@typescript-eslint/scope-manager@5.30.5":
|
|
1227
|
+
version "5.30.5"
|
|
1228
|
+
resolved "https://registry.yarnpkg.com/@typescript-eslint/scope-manager/-/scope-manager-5.30.5.tgz#7f90b9d6800552c856a5f3644f5e55dd1469d964"
|
|
1229
|
+
integrity sha512-NJ6F+YHHFT/30isRe2UTmIGGAiXKckCyMnIV58cE3JkHmaD6e5zyEYm5hBDv0Wbin+IC0T1FWJpD3YqHUG/Ydg==
|
|
1230
1230
|
dependencies:
|
|
1231
|
-
"@typescript-eslint/types" "5.
|
|
1232
|
-
"@typescript-eslint/visitor-keys" "5.
|
|
1231
|
+
"@typescript-eslint/types" "5.30.5"
|
|
1232
|
+
"@typescript-eslint/visitor-keys" "5.30.5"
|
|
1233
1233
|
|
|
1234
|
-
"@typescript-eslint/type-utils@5.
|
|
1235
|
-
version "5.
|
|
1236
|
-
resolved "https://registry.yarnpkg.com/@typescript-eslint/type-utils/-/type-utils-5.
|
|
1237
|
-
integrity sha512-
|
|
1234
|
+
"@typescript-eslint/type-utils@5.30.5":
|
|
1235
|
+
version "5.30.5"
|
|
1236
|
+
resolved "https://registry.yarnpkg.com/@typescript-eslint/type-utils/-/type-utils-5.30.5.tgz#7a9656f360b4b1daea635c4621dab053d08bf8a9"
|
|
1237
|
+
integrity sha512-k9+ejlv1GgwN1nN7XjVtyCgE0BTzhzT1YsQF0rv4Vfj2U9xnslBgMYYvcEYAFVdvhuEscELJsB7lDkN7WusErw==
|
|
1238
1238
|
dependencies:
|
|
1239
|
-
"@typescript-eslint/utils" "5.
|
|
1239
|
+
"@typescript-eslint/utils" "5.30.5"
|
|
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.
|
|
1249
|
-
version "5.
|
|
1250
|
-
resolved "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-5.
|
|
1251
|
-
integrity sha512-
|
|
1248
|
+
"@typescript-eslint/types@5.30.5":
|
|
1249
|
+
version "5.30.5"
|
|
1250
|
+
resolved "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-5.30.5.tgz#36a0c05a72af3623cdf9ee8b81ea743b7de75a98"
|
|
1251
|
+
integrity sha512-kZ80w/M2AvsbRvOr3PjaNh6qEW1LFqs2pLdo2s5R38B2HYXG8Z0PP48/4+j1QHJFL3ssHIbJ4odPRS8PlHrFfw==
|
|
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.
|
|
1267
|
-
version "5.
|
|
1268
|
-
resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-5.
|
|
1269
|
-
integrity sha512-
|
|
1266
|
+
"@typescript-eslint/typescript-estree@5.30.5":
|
|
1267
|
+
version "5.30.5"
|
|
1268
|
+
resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-5.30.5.tgz#c520e4eba20551c4ec76af8d344a42eb6c9767bb"
|
|
1269
|
+
integrity sha512-qGTc7QZC801kbYjAr4AgdOfnokpwStqyhSbiQvqGBLixniAKyH+ib2qXIVo4P9NgGzwyfD9I0nlJN7D91E1VpQ==
|
|
1270
1270
|
dependencies:
|
|
1271
|
-
"@typescript-eslint/types" "5.
|
|
1272
|
-
"@typescript-eslint/visitor-keys" "5.
|
|
1271
|
+
"@typescript-eslint/types" "5.30.5"
|
|
1272
|
+
"@typescript-eslint/visitor-keys" "5.30.5"
|
|
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.
|
|
1280
|
-
version "5.
|
|
1281
|
-
resolved "https://registry.yarnpkg.com/@typescript-eslint/utils/-/utils-5.
|
|
1282
|
-
integrity sha512-
|
|
1279
|
+
"@typescript-eslint/utils@5.30.5":
|
|
1280
|
+
version "5.30.5"
|
|
1281
|
+
resolved "https://registry.yarnpkg.com/@typescript-eslint/utils/-/utils-5.30.5.tgz#3999cbd06baad31b9e60d084f20714d1b2776765"
|
|
1282
|
+
integrity sha512-o4SSUH9IkuA7AYIfAvatldovurqTAHrfzPApOZvdUq01hHojZojCFXx06D/aFpKCgWbMPRdJBWAC3sWp3itwTA==
|
|
1283
1283
|
dependencies:
|
|
1284
1284
|
"@types/json-schema" "^7.0.9"
|
|
1285
|
-
"@typescript-eslint/scope-manager" "5.
|
|
1286
|
-
"@typescript-eslint/types" "5.
|
|
1287
|
-
"@typescript-eslint/typescript-estree" "5.
|
|
1285
|
+
"@typescript-eslint/scope-manager" "5.30.5"
|
|
1286
|
+
"@typescript-eslint/types" "5.30.5"
|
|
1287
|
+
"@typescript-eslint/typescript-estree" "5.30.5"
|
|
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.
|
|
1312
|
-
version "5.
|
|
1313
|
-
resolved "https://registry.yarnpkg.com/@typescript-eslint/visitor-keys/-/visitor-keys-5.
|
|
1314
|
-
integrity sha512-
|
|
1311
|
+
"@typescript-eslint/visitor-keys@5.30.5":
|
|
1312
|
+
version "5.30.5"
|
|
1313
|
+
resolved "https://registry.yarnpkg.com/@typescript-eslint/visitor-keys/-/visitor-keys-5.30.5.tgz#d4bb969202019d5d5d849a0aaedc7370cc044b14"
|
|
1314
|
+
integrity sha512-D+xtGo9HUMELzWIUqcQc0p2PO4NyvTrgIOK/VnSH083+8sq0tiLozNRKuLarwHYGRuA6TVBQSuuLwJUDWd3aaA==
|
|
1315
1315
|
dependencies:
|
|
1316
|
-
"@typescript-eslint/types" "5.
|
|
1316
|
+
"@typescript-eslint/types" "5.30.5"
|
|
1317
1317
|
eslint-visitor-keys "^3.3.0"
|
|
1318
1318
|
|
|
1319
1319
|
abort-controller@^3.0.0:
|
|
@@ -1480,12 +1480,12 @@ axios@^0.27.2:
|
|
|
1480
1480
|
follow-redirects "^1.14.9"
|
|
1481
1481
|
form-data "^4.0.0"
|
|
1482
1482
|
|
|
1483
|
-
babel-jest@^28.1.
|
|
1484
|
-
version "28.1.
|
|
1485
|
-
resolved "https://registry.yarnpkg.com/babel-jest/-/babel-jest-28.1.
|
|
1486
|
-
integrity sha512-
|
|
1483
|
+
babel-jest@^28.1.2:
|
|
1484
|
+
version "28.1.2"
|
|
1485
|
+
resolved "https://registry.yarnpkg.com/babel-jest/-/babel-jest-28.1.2.tgz#2b37fb81439f14d34d8b2cc4a4bd7efabf9acbfe"
|
|
1486
|
+
integrity sha512-pfmoo6sh4L/+5/G2OOfQrGJgvH7fTa1oChnuYH2G/6gA+JwDvO8PELwvwnofKBMNrQsam0Wy/Rw+QSrBNewq2Q==
|
|
1487
1487
|
dependencies:
|
|
1488
|
-
"@jest/transform" "^28.1.
|
|
1488
|
+
"@jest/transform" "^28.1.2"
|
|
1489
1489
|
"@types/babel__core" "^7.1.14"
|
|
1490
1490
|
babel-plugin-istanbul "^6.1.1"
|
|
1491
1491
|
babel-preset-jest "^28.1.1"
|
|
@@ -2160,10 +2160,10 @@ eslint-plugin-jest@^26.5.3:
|
|
|
2160
2160
|
dependencies:
|
|
2161
2161
|
"@typescript-eslint/utils" "^5.10.0"
|
|
2162
2162
|
|
|
2163
|
-
eslint-plugin-prettier@^4.
|
|
2164
|
-
version "4.
|
|
2165
|
-
resolved "https://registry.yarnpkg.com/eslint-plugin-prettier/-/eslint-plugin-prettier-4.
|
|
2166
|
-
integrity sha512-
|
|
2163
|
+
eslint-plugin-prettier@^4.2.1:
|
|
2164
|
+
version "4.2.1"
|
|
2165
|
+
resolved "https://registry.yarnpkg.com/eslint-plugin-prettier/-/eslint-plugin-prettier-4.2.1.tgz#651cbb88b1dab98bfd42f017a12fa6b2d993f94b"
|
|
2166
|
+
integrity sha512-f/0rXLXUt0oFYs8ra4w49wYZBG5GKZpAYsJSm6rnYL5uVDjd+zowwMwVZHnAjf4edNrKpCDYfXDgmRE/Ak7QyQ==
|
|
2167
2167
|
dependencies:
|
|
2168
2168
|
prettier-linter-helpers "^1.0.0"
|
|
2169
2169
|
|
|
@@ -2200,10 +2200,10 @@ eslint-visitor-keys@^3.3.0:
|
|
|
2200
2200
|
resolved "https://registry.yarnpkg.com/eslint-visitor-keys/-/eslint-visitor-keys-3.3.0.tgz#f6480fa6b1f30efe2d1968aa8ac745b862469826"
|
|
2201
2201
|
integrity sha512-mQ+suqKJVyeuwGYHAdjMFqjCyfl8+Ldnxuyp3ldiMBFKkvytrXUZWaiPCEav8qDHKty44bD+qV1IP4T+w+xXRA==
|
|
2202
2202
|
|
|
2203
|
-
eslint@^8.
|
|
2204
|
-
version "8.
|
|
2205
|
-
resolved "https://registry.yarnpkg.com/eslint/-/eslint-8.
|
|
2206
|
-
integrity sha512-
|
|
2203
|
+
eslint@^8.19.0:
|
|
2204
|
+
version "8.19.0"
|
|
2205
|
+
resolved "https://registry.yarnpkg.com/eslint/-/eslint-8.19.0.tgz#7342a3cbc4fbc5c106a1eefe0fd0b50b6b1a7d28"
|
|
2206
|
+
integrity sha512-SXOPj3x9VKvPe81TjjUJCYlV4oJjQw68Uek+AM0X4p+33dj2HY5bpTZOgnQHcG2eAm1mtCU9uNMnJi7exU/kYw==
|
|
2207
2207
|
dependencies:
|
|
2208
2208
|
"@eslint/eslintrc" "^1.3.0"
|
|
2209
2209
|
"@humanwhocodes/config-array" "^0.9.2"
|
|
@@ -3018,13 +3018,13 @@ jest-changed-files@^28.0.2:
|
|
|
3018
3018
|
execa "^5.0.0"
|
|
3019
3019
|
throat "^6.0.1"
|
|
3020
3020
|
|
|
3021
|
-
jest-circus@^28.1.
|
|
3022
|
-
version "28.1.
|
|
3023
|
-
resolved "https://registry.yarnpkg.com/jest-circus/-/jest-circus-28.1.
|
|
3024
|
-
integrity sha512-
|
|
3021
|
+
jest-circus@^28.1.2:
|
|
3022
|
+
version "28.1.2"
|
|
3023
|
+
resolved "https://registry.yarnpkg.com/jest-circus/-/jest-circus-28.1.2.tgz#0d5a5623eccb244efe87d1edc365696e4fcf80ce"
|
|
3024
|
+
integrity sha512-E2vdPIJG5/69EMpslFhaA46WkcrN74LI5V/cSJ59L7uS8UNoXbzTxmwhpi9XrIL3zqvMt5T0pl5k2l2u2GwBNQ==
|
|
3025
3025
|
dependencies:
|
|
3026
|
-
"@jest/environment" "^28.1.
|
|
3027
|
-
"@jest/expect" "^28.1.
|
|
3026
|
+
"@jest/environment" "^28.1.2"
|
|
3027
|
+
"@jest/expect" "^28.1.2"
|
|
3028
3028
|
"@jest/test-result" "^28.1.1"
|
|
3029
3029
|
"@jest/types" "^28.1.1"
|
|
3030
3030
|
"@types/node" "*"
|
|
@@ -3035,52 +3035,52 @@ jest-circus@^28.1.1:
|
|
|
3035
3035
|
jest-each "^28.1.1"
|
|
3036
3036
|
jest-matcher-utils "^28.1.1"
|
|
3037
3037
|
jest-message-util "^28.1.1"
|
|
3038
|
-
jest-runtime "^28.1.
|
|
3039
|
-
jest-snapshot "^28.1.
|
|
3038
|
+
jest-runtime "^28.1.2"
|
|
3039
|
+
jest-snapshot "^28.1.2"
|
|
3040
3040
|
jest-util "^28.1.1"
|
|
3041
3041
|
pretty-format "^28.1.1"
|
|
3042
3042
|
slash "^3.0.0"
|
|
3043
3043
|
stack-utils "^2.0.3"
|
|
3044
3044
|
throat "^6.0.1"
|
|
3045
3045
|
|
|
3046
|
-
jest-cli@^28.1.
|
|
3047
|
-
version "28.1.
|
|
3048
|
-
resolved "https://registry.yarnpkg.com/jest-cli/-/jest-cli-28.1.
|
|
3049
|
-
integrity sha512
|
|
3046
|
+
jest-cli@^28.1.2:
|
|
3047
|
+
version "28.1.2"
|
|
3048
|
+
resolved "https://registry.yarnpkg.com/jest-cli/-/jest-cli-28.1.2.tgz#b89012e5bad14135e71b1628b85475d3773a1bbc"
|
|
3049
|
+
integrity sha512-l6eoi5Do/IJUXAFL9qRmDiFpBeEJAnjJb1dcd9i/VWfVWbp3mJhuH50dNtX67Ali4Ecvt4eBkWb4hXhPHkAZTw==
|
|
3050
3050
|
dependencies:
|
|
3051
|
-
"@jest/core" "^28.1.
|
|
3051
|
+
"@jest/core" "^28.1.2"
|
|
3052
3052
|
"@jest/test-result" "^28.1.1"
|
|
3053
3053
|
"@jest/types" "^28.1.1"
|
|
3054
3054
|
chalk "^4.0.0"
|
|
3055
3055
|
exit "^0.1.2"
|
|
3056
3056
|
graceful-fs "^4.2.9"
|
|
3057
3057
|
import-local "^3.0.2"
|
|
3058
|
-
jest-config "^28.1.
|
|
3058
|
+
jest-config "^28.1.2"
|
|
3059
3059
|
jest-util "^28.1.1"
|
|
3060
3060
|
jest-validate "^28.1.1"
|
|
3061
3061
|
prompts "^2.0.1"
|
|
3062
3062
|
yargs "^17.3.1"
|
|
3063
3063
|
|
|
3064
|
-
jest-config@^28.1.
|
|
3065
|
-
version "28.1.
|
|
3066
|
-
resolved "https://registry.yarnpkg.com/jest-config/-/jest-config-28.1.
|
|
3067
|
-
integrity sha512-
|
|
3064
|
+
jest-config@^28.1.2:
|
|
3065
|
+
version "28.1.2"
|
|
3066
|
+
resolved "https://registry.yarnpkg.com/jest-config/-/jest-config-28.1.2.tgz#ba00ad30caf62286c86e7c1099e915218a0ac8c6"
|
|
3067
|
+
integrity sha512-g6EfeRqddVbjPVBVY4JWpUY4IvQoFRIZcv4V36QkqzE0IGhEC/VkugFeBMAeUE7PRgC8KJF0yvJNDeQRbamEVA==
|
|
3068
3068
|
dependencies:
|
|
3069
3069
|
"@babel/core" "^7.11.6"
|
|
3070
3070
|
"@jest/test-sequencer" "^28.1.1"
|
|
3071
3071
|
"@jest/types" "^28.1.1"
|
|
3072
|
-
babel-jest "^28.1.
|
|
3072
|
+
babel-jest "^28.1.2"
|
|
3073
3073
|
chalk "^4.0.0"
|
|
3074
3074
|
ci-info "^3.2.0"
|
|
3075
3075
|
deepmerge "^4.2.2"
|
|
3076
3076
|
glob "^7.1.3"
|
|
3077
3077
|
graceful-fs "^4.2.9"
|
|
3078
|
-
jest-circus "^28.1.
|
|
3079
|
-
jest-environment-node "^28.1.
|
|
3078
|
+
jest-circus "^28.1.2"
|
|
3079
|
+
jest-environment-node "^28.1.2"
|
|
3080
3080
|
jest-get-type "^28.0.2"
|
|
3081
3081
|
jest-regex-util "^28.0.2"
|
|
3082
3082
|
jest-resolve "^28.1.1"
|
|
3083
|
-
jest-runner "^28.1.
|
|
3083
|
+
jest-runner "^28.1.2"
|
|
3084
3084
|
jest-util "^28.1.1"
|
|
3085
3085
|
jest-validate "^28.1.1"
|
|
3086
3086
|
micromatch "^4.0.4"
|
|
@@ -3117,13 +3117,13 @@ jest-each@^28.1.1:
|
|
|
3117
3117
|
jest-util "^28.1.1"
|
|
3118
3118
|
pretty-format "^28.1.1"
|
|
3119
3119
|
|
|
3120
|
-
jest-environment-node@^28.1.
|
|
3121
|
-
version "28.1.
|
|
3122
|
-
resolved "https://registry.yarnpkg.com/jest-environment-node/-/jest-environment-node-28.1.
|
|
3123
|
-
integrity sha512-
|
|
3120
|
+
jest-environment-node@^28.1.2:
|
|
3121
|
+
version "28.1.2"
|
|
3122
|
+
resolved "https://registry.yarnpkg.com/jest-environment-node/-/jest-environment-node-28.1.2.tgz#3e2eb47f6d173b0648d5f7c717cb1c26651d5c8a"
|
|
3123
|
+
integrity sha512-oYsZz9Qw27XKmOgTtnl0jW7VplJkN2oeof+SwAwKFQacq3CLlG9u4kTGuuLWfvu3J7bVutWlrbEQMOCL/jughw==
|
|
3124
3124
|
dependencies:
|
|
3125
|
-
"@jest/environment" "^28.1.
|
|
3126
|
-
"@jest/fake-timers" "^28.1.
|
|
3125
|
+
"@jest/environment" "^28.1.2"
|
|
3126
|
+
"@jest/fake-timers" "^28.1.2"
|
|
3127
3127
|
"@jest/types" "^28.1.1"
|
|
3128
3128
|
"@types/node" "*"
|
|
3129
3129
|
jest-mock "^28.1.1"
|
|
@@ -3204,13 +3204,13 @@ jest-regex-util@^28.0.2:
|
|
|
3204
3204
|
resolved "https://registry.yarnpkg.com/jest-regex-util/-/jest-regex-util-28.0.2.tgz#afdc377a3b25fb6e80825adcf76c854e5bf47ead"
|
|
3205
3205
|
integrity sha512-4s0IgyNIy0y9FK+cjoVYoxamT7Zeo7MhzqRGx7YDYmaQn1wucY9rotiGkBzzcMXTtjrCAP/f7f+E0F7+fxPNdw==
|
|
3206
3206
|
|
|
3207
|
-
jest-resolve-dependencies@^28.1.
|
|
3208
|
-
version "28.1.
|
|
3209
|
-
resolved "https://registry.yarnpkg.com/jest-resolve-dependencies/-/jest-resolve-dependencies-28.1.
|
|
3210
|
-
integrity sha512-
|
|
3207
|
+
jest-resolve-dependencies@^28.1.2:
|
|
3208
|
+
version "28.1.2"
|
|
3209
|
+
resolved "https://registry.yarnpkg.com/jest-resolve-dependencies/-/jest-resolve-dependencies-28.1.2.tgz#ca528858e0c6642d5a1dda8fc7cda10230c275bc"
|
|
3210
|
+
integrity sha512-OXw4vbOZuyRTBi3tapWBqdyodU+T33ww5cPZORuTWkg+Y8lmsxQlVu3MWtJh6NMlKRTHQetF96yGPv01Ye7Mbg==
|
|
3211
3211
|
dependencies:
|
|
3212
3212
|
jest-regex-util "^28.0.2"
|
|
3213
|
-
jest-snapshot "^28.1.
|
|
3213
|
+
jest-snapshot "^28.1.2"
|
|
3214
3214
|
|
|
3215
3215
|
jest-resolve@^28.1.1:
|
|
3216
3216
|
version "28.1.1"
|
|
@@ -3227,44 +3227,44 @@ jest-resolve@^28.1.1:
|
|
|
3227
3227
|
resolve.exports "^1.1.0"
|
|
3228
3228
|
slash "^3.0.0"
|
|
3229
3229
|
|
|
3230
|
-
jest-runner@^28.1.
|
|
3231
|
-
version "28.1.
|
|
3232
|
-
resolved "https://registry.yarnpkg.com/jest-runner/-/jest-runner-28.1.
|
|
3233
|
-
integrity sha512-
|
|
3230
|
+
jest-runner@^28.1.2:
|
|
3231
|
+
version "28.1.2"
|
|
3232
|
+
resolved "https://registry.yarnpkg.com/jest-runner/-/jest-runner-28.1.2.tgz#f293409592a62234285a71237e38499a3554e350"
|
|
3233
|
+
integrity sha512-6/k3DlAsAEr5VcptCMdhtRhOoYClZQmxnVMZvZ/quvPGRpN7OBQYPIC32tWSgOnbgqLXNs5RAniC+nkdFZpD4A==
|
|
3234
3234
|
dependencies:
|
|
3235
3235
|
"@jest/console" "^28.1.1"
|
|
3236
|
-
"@jest/environment" "^28.1.
|
|
3236
|
+
"@jest/environment" "^28.1.2"
|
|
3237
3237
|
"@jest/test-result" "^28.1.1"
|
|
3238
|
-
"@jest/transform" "^28.1.
|
|
3238
|
+
"@jest/transform" "^28.1.2"
|
|
3239
3239
|
"@jest/types" "^28.1.1"
|
|
3240
3240
|
"@types/node" "*"
|
|
3241
3241
|
chalk "^4.0.0"
|
|
3242
3242
|
emittery "^0.10.2"
|
|
3243
3243
|
graceful-fs "^4.2.9"
|
|
3244
3244
|
jest-docblock "^28.1.1"
|
|
3245
|
-
jest-environment-node "^28.1.
|
|
3245
|
+
jest-environment-node "^28.1.2"
|
|
3246
3246
|
jest-haste-map "^28.1.1"
|
|
3247
3247
|
jest-leak-detector "^28.1.1"
|
|
3248
3248
|
jest-message-util "^28.1.1"
|
|
3249
3249
|
jest-resolve "^28.1.1"
|
|
3250
|
-
jest-runtime "^28.1.
|
|
3250
|
+
jest-runtime "^28.1.2"
|
|
3251
3251
|
jest-util "^28.1.1"
|
|
3252
3252
|
jest-watcher "^28.1.1"
|
|
3253
3253
|
jest-worker "^28.1.1"
|
|
3254
3254
|
source-map-support "0.5.13"
|
|
3255
3255
|
throat "^6.0.1"
|
|
3256
3256
|
|
|
3257
|
-
jest-runtime@^28.1.
|
|
3258
|
-
version "28.1.
|
|
3259
|
-
resolved "https://registry.yarnpkg.com/jest-runtime/-/jest-runtime-28.1.
|
|
3260
|
-
integrity sha512-
|
|
3257
|
+
jest-runtime@^28.1.2:
|
|
3258
|
+
version "28.1.2"
|
|
3259
|
+
resolved "https://registry.yarnpkg.com/jest-runtime/-/jest-runtime-28.1.2.tgz#d68f34f814a848555a345ceda23289f14d59a688"
|
|
3260
|
+
integrity sha512-i4w93OsWzLOeMXSi9epmakb2+3z0AchZtUQVF1hesBmcQQy4vtaql5YdVe9KexdJaVRyPDw8DoBR0j3lYsZVYw==
|
|
3261
3261
|
dependencies:
|
|
3262
|
-
"@jest/environment" "^28.1.
|
|
3263
|
-
"@jest/fake-timers" "^28.1.
|
|
3264
|
-
"@jest/globals" "^28.1.
|
|
3265
|
-
"@jest/source-map" "^28.
|
|
3262
|
+
"@jest/environment" "^28.1.2"
|
|
3263
|
+
"@jest/fake-timers" "^28.1.2"
|
|
3264
|
+
"@jest/globals" "^28.1.2"
|
|
3265
|
+
"@jest/source-map" "^28.1.2"
|
|
3266
3266
|
"@jest/test-result" "^28.1.1"
|
|
3267
|
-
"@jest/transform" "^28.1.
|
|
3267
|
+
"@jest/transform" "^28.1.2"
|
|
3268
3268
|
"@jest/types" "^28.1.1"
|
|
3269
3269
|
chalk "^4.0.0"
|
|
3270
3270
|
cjs-module-lexer "^1.0.0"
|
|
@@ -3277,7 +3277,7 @@ jest-runtime@^28.1.1:
|
|
|
3277
3277
|
jest-mock "^28.1.1"
|
|
3278
3278
|
jest-regex-util "^28.0.2"
|
|
3279
3279
|
jest-resolve "^28.1.1"
|
|
3280
|
-
jest-snapshot "^28.1.
|
|
3280
|
+
jest-snapshot "^28.1.2"
|
|
3281
3281
|
jest-util "^28.1.1"
|
|
3282
3282
|
slash "^3.0.0"
|
|
3283
3283
|
strip-bom "^4.0.0"
|
|
@@ -3290,10 +3290,10 @@ jest-snapshot-serializer-ansi@^1.0.0:
|
|
|
3290
3290
|
has-ansi "^3.0.0"
|
|
3291
3291
|
strip-ansi "^4.0.0"
|
|
3292
3292
|
|
|
3293
|
-
jest-snapshot@^28.1.
|
|
3294
|
-
version "28.1.
|
|
3295
|
-
resolved "https://registry.yarnpkg.com/jest-snapshot/-/jest-snapshot-28.1.
|
|
3296
|
-
integrity sha512-
|
|
3293
|
+
jest-snapshot@^28.1.2:
|
|
3294
|
+
version "28.1.2"
|
|
3295
|
+
resolved "https://registry.yarnpkg.com/jest-snapshot/-/jest-snapshot-28.1.2.tgz#93d31b87b11b384f5946fe0767541496135f8d52"
|
|
3296
|
+
integrity sha512-wzrieFttZYfLvrCVRJxX+jwML2YTArOUqFpCoSVy1QUapx+LlV9uLbV/mMEhYj4t7aMeE9aSQFHSvV/oNoDAMA==
|
|
3297
3297
|
dependencies:
|
|
3298
3298
|
"@babel/core" "^7.11.6"
|
|
3299
3299
|
"@babel/generator" "^7.7.2"
|
|
@@ -3301,7 +3301,7 @@ jest-snapshot@^28.1.1:
|
|
|
3301
3301
|
"@babel/traverse" "^7.7.2"
|
|
3302
3302
|
"@babel/types" "^7.3.3"
|
|
3303
3303
|
"@jest/expect-utils" "^28.1.1"
|
|
3304
|
-
"@jest/transform" "^28.1.
|
|
3304
|
+
"@jest/transform" "^28.1.2"
|
|
3305
3305
|
"@jest/types" "^28.1.1"
|
|
3306
3306
|
"@types/babel__traverse" "^7.0.6"
|
|
3307
3307
|
"@types/prettier" "^2.1.5"
|
|
@@ -3378,15 +3378,15 @@ jest-worker@^28.1.1:
|
|
|
3378
3378
|
merge-stream "^2.0.0"
|
|
3379
3379
|
supports-color "^8.0.0"
|
|
3380
3380
|
|
|
3381
|
-
jest@^28.1.
|
|
3382
|
-
version "28.1.
|
|
3383
|
-
resolved "https://registry.yarnpkg.com/jest/-/jest-28.1.
|
|
3384
|
-
integrity sha512-
|
|
3381
|
+
jest@^28.1.2:
|
|
3382
|
+
version "28.1.2"
|
|
3383
|
+
resolved "https://registry.yarnpkg.com/jest/-/jest-28.1.2.tgz#451ff24081ce31ca00b07b60c61add13aa96f8eb"
|
|
3384
|
+
integrity sha512-Tuf05DwLeCh2cfWCQbcz9UxldoDyiR1E9Igaei5khjonKncYdc6LDfynKCEWozK0oLE3GD+xKAo2u8x/0s6GOg==
|
|
3385
3385
|
dependencies:
|
|
3386
|
-
"@jest/core" "^28.1.
|
|
3386
|
+
"@jest/core" "^28.1.2"
|
|
3387
3387
|
"@jest/types" "^28.1.1"
|
|
3388
3388
|
import-local "^3.0.2"
|
|
3389
|
-
jest-cli "^28.1.
|
|
3389
|
+
jest-cli "^28.1.2"
|
|
3390
3390
|
|
|
3391
3391
|
js-tokens@^4.0.0:
|
|
3392
3392
|
version "4.0.0"
|
|
@@ -3485,10 +3485,10 @@ lines-and-columns@^1.1.6:
|
|
|
3485
3485
|
resolved "https://registry.yarnpkg.com/lines-and-columns/-/lines-and-columns-1.2.4.tgz#eca284f75d2965079309dc0ad9255abb2ebc1632"
|
|
3486
3486
|
integrity sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg==
|
|
3487
3487
|
|
|
3488
|
-
lint-staged@^13.0.
|
|
3489
|
-
version "13.0.
|
|
3490
|
-
resolved "https://registry.yarnpkg.com/lint-staged/-/lint-staged-13.0.
|
|
3491
|
-
integrity sha512-
|
|
3488
|
+
lint-staged@^13.0.3:
|
|
3489
|
+
version "13.0.3"
|
|
3490
|
+
resolved "https://registry.yarnpkg.com/lint-staged/-/lint-staged-13.0.3.tgz#d7cdf03a3830b327a2b63c6aec953d71d9dc48c6"
|
|
3491
|
+
integrity sha512-9hmrwSCFroTSYLjflGI8Uk+GWAwMB4OlpU4bMJEAT5d/llQwtYKoim4bLOyLCuWFAhWEupE0vkIFqtw/WIsPug==
|
|
3492
3492
|
dependencies:
|
|
3493
3493
|
cli-truncate "^3.1.0"
|
|
3494
3494
|
colorette "^2.0.17"
|
|
@@ -3712,10 +3712,10 @@ natural-compare@^1.4.0:
|
|
|
3712
3712
|
resolved "https://registry.yarnpkg.com/natural-compare/-/natural-compare-1.4.0.tgz#4abebfeed7541f2c27acfb29bdbbd15c8d5ba4f7"
|
|
3713
3713
|
integrity sha1-Sr6/7tdUHywnrPspvbvRXI1bpPc=
|
|
3714
3714
|
|
|
3715
|
-
nock@^13.2.
|
|
3716
|
-
version "13.2.
|
|
3717
|
-
resolved "https://registry.yarnpkg.com/nock/-/nock-13.2.
|
|
3718
|
-
integrity sha512-
|
|
3715
|
+
nock@^13.2.8:
|
|
3716
|
+
version "13.2.8"
|
|
3717
|
+
resolved "https://registry.yarnpkg.com/nock/-/nock-13.2.8.tgz#e2043ccaa8e285508274575e090a7fe1e46b90f1"
|
|
3718
|
+
integrity sha512-JT42FrXfQRpfyL4cnbBEJdf4nmBpVP0yoCcSBr+xkT8Q1y3pgtaCKHGAAOIFcEJ3O3t0QbVAmid0S0f2bj3Wpg==
|
|
3719
3719
|
dependencies:
|
|
3720
3720
|
debug "^4.1.0"
|
|
3721
3721
|
json-stringify-safe "^5.0.1"
|
|
@@ -4558,10 +4558,10 @@ ts-jest@^28.0.5:
|
|
|
4558
4558
|
semver "7.x"
|
|
4559
4559
|
yargs-parser "^21.0.1"
|
|
4560
4560
|
|
|
4561
|
-
ts-node@^10.8.
|
|
4562
|
-
version "10.8.
|
|
4563
|
-
resolved "https://registry.yarnpkg.com/ts-node/-/ts-node-10.8.
|
|
4564
|
-
integrity sha512-
|
|
4561
|
+
ts-node@^10.8.2:
|
|
4562
|
+
version "10.8.2"
|
|
4563
|
+
resolved "https://registry.yarnpkg.com/ts-node/-/ts-node-10.8.2.tgz#3185b75228cef116bf82ffe8762594f54b2a23f2"
|
|
4564
|
+
integrity sha512-LYdGnoGddf1D6v8REPtIH+5iq/gTDuZqv2/UJUU7tKjuEU8xVZorBM+buCGNjj+pGEud+sOoM4CX3/YzINpENA==
|
|
4565
4565
|
dependencies:
|
|
4566
4566
|
"@cspotcode/source-map-support" "^0.8.0"
|
|
4567
4567
|
"@tsconfig/node10" "^1.0.7"
|
|
@@ -4697,12 +4697,12 @@ v8-compile-cache@^2.0.3:
|
|
|
4697
4697
|
resolved "https://registry.yarnpkg.com/v8-compile-cache/-/v8-compile-cache-2.3.0.tgz#2de19618c66dc247dcfb6f99338035d8245a2cee"
|
|
4698
4698
|
integrity sha512-l8lCEmLcLYZh4nbunNZvQCJc5pv7+RCwa8q/LdUx8u7lsWvPDKmpodJAJNwkAhJC//dFY48KuIEmjtd4RViDrA==
|
|
4699
4699
|
|
|
4700
|
-
v8-to-istanbul@^9.0.
|
|
4701
|
-
version "9.0.
|
|
4702
|
-
resolved "https://registry.yarnpkg.com/v8-to-istanbul/-/v8-to-istanbul-9.0.
|
|
4703
|
-
integrity sha512-
|
|
4700
|
+
v8-to-istanbul@^9.0.1:
|
|
4701
|
+
version "9.0.1"
|
|
4702
|
+
resolved "https://registry.yarnpkg.com/v8-to-istanbul/-/v8-to-istanbul-9.0.1.tgz#b6f994b0b5d4ef255e17a0d17dc444a9f5132fa4"
|
|
4703
|
+
integrity sha512-74Y4LqY74kLE6IFyIjPtkSTWzUZmj8tdHT9Ii/26dvQ6K9Dl2NbEfj0XgU2sHCtKgt5VupqhlO/5aWuqS+IY1w==
|
|
4704
4704
|
dependencies:
|
|
4705
|
-
"@jridgewell/trace-mapping" "^0.3.
|
|
4705
|
+
"@jridgewell/trace-mapping" "^0.3.12"
|
|
4706
4706
|
"@types/istanbul-lib-coverage" "^2.0.1"
|
|
4707
4707
|
convert-source-map "^1.6.0"
|
|
4708
4708
|
|
|
@@ -4775,10 +4775,10 @@ winston-transport@^4.5.0:
|
|
|
4775
4775
|
readable-stream "^3.6.0"
|
|
4776
4776
|
triple-beam "^1.3.0"
|
|
4777
4777
|
|
|
4778
|
-
winston@^3.
|
|
4779
|
-
version "3.
|
|
4780
|
-
resolved "https://registry.yarnpkg.com/winston/-/winston-3.
|
|
4781
|
-
integrity sha512-
|
|
4778
|
+
winston@^3.8.1:
|
|
4779
|
+
version "3.8.1"
|
|
4780
|
+
resolved "https://registry.yarnpkg.com/winston/-/winston-3.8.1.tgz#76f15b3478cde170b780234e0c4cf805c5a7fb57"
|
|
4781
|
+
integrity sha512-r+6YAiCR4uI3N8eQNOg8k3P3PqwAm20cLKlzVD9E66Ch39+LZC+VH1UKf9JemQj2B3QoUHfKD7Poewn0Pr3Y1w==
|
|
4782
4782
|
dependencies:
|
|
4783
4783
|
"@dabh/diagnostics" "^2.0.2"
|
|
4784
4784
|
async "^3.2.3"
|