Compare commits
13 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
043929ee8f | ||
|
|
96fd19710a | ||
|
|
4e2535f2b3 | ||
|
|
449a845ff2 | ||
|
|
777b2b437a | ||
|
|
2fafe0a734 | ||
|
|
bc88d8bc95 | ||
|
|
fd2b77dd74 | ||
|
|
652648acb4 | ||
|
|
8a36220d04 | ||
|
|
04de9221b6 | ||
|
|
9ad1a5b96a | ||
|
|
88fb02bd31 |
2
.github/workflows/test.yml
vendored
2
.github/workflows/test.yml
vendored
@@ -48,7 +48,7 @@ jobs:
|
|||||||
yarn install
|
yarn install
|
||||||
|
|
||||||
- name: Run eslint on changed files
|
- name: Run eslint on changed files
|
||||||
uses: tj-actions/eslint-changed-files@v18
|
uses: tj-actions/eslint-changed-files@v19
|
||||||
if: github.event_name != 'push'
|
if: github.event_name != 'push'
|
||||||
with:
|
with:
|
||||||
token: ${{ secrets.PAT_TOKEN }}
|
token: ${{ secrets.PAT_TOKEN }}
|
||||||
|
|||||||
66
HISTORY.md
66
HISTORY.md
@@ -1,5 +1,71 @@
|
|||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
|
# [36.0.7](https://github.com/tj-actions/changed-files/compare/v36.0.6...v36.0.7) - (2023-05-29)
|
||||||
|
|
||||||
|
## <!-- 1 -->🐛 Bug Fixes
|
||||||
|
|
||||||
|
- Bug running changed files with limited history ([#1188](https://github.com/tj-actions/changed-files/issues/1188)) ([449a845](https://github.com/tj-actions/changed-files/commit/449a845ff28da516ea1752afd195d2f7f642c6f4)) - (Tonye Jack)
|
||||||
|
|
||||||
|
## <!-- 26 -->🔄 Update
|
||||||
|
|
||||||
|
- Update README.md ([777b2b4](https://github.com/tj-actions/changed-files/commit/777b2b437a82c8afbb474f57812fd790c7509391)) - (Tonye Jack)
|
||||||
|
- Update README.md ([2fafe0a](https://github.com/tj-actions/changed-files/commit/2fafe0a7349fddf5ea3a02484419a4831979d79b)) - (Tonye Jack)
|
||||||
|
|
||||||
|
## <!-- 7 -->⚙️ Miscellaneous Tasks
|
||||||
|
|
||||||
|
- **deps:** Lock file maintenance ([#1189](https://github.com/tj-actions/changed-files/issues/1189)) ([4e2535f](https://github.com/tj-actions/changed-files/commit/4e2535f2b330e70ff7055f7de4272653cfdbd555)) - (renovate[bot])
|
||||||
|
- **deps:** Update tj-actions/eslint-changed-files action to v19 ([#1185](https://github.com/tj-actions/changed-files/issues/1185)) ([bc88d8b](https://github.com/tj-actions/changed-files/commit/bc88d8bc954005f987c5c73e133f2cb4927ddf3e)) - (renovate[bot])
|
||||||
|
|
||||||
|
## <!-- 9 -->⬆️ Upgrades
|
||||||
|
|
||||||
|
- Upgraded to v36.0.6 ([#1184](https://github.com/tj-actions/changed-files/issues/1184))
|
||||||
|
|
||||||
|
Co-authored-by: jackton1 <jackton1@users.noreply.github.com> ([fd2b77d](https://github.com/tj-actions/changed-files/commit/fd2b77dd749ff644f3fe50e1f7341902e0064744)) - (tj-actions[bot])
|
||||||
|
|
||||||
|
# [36.0.6](https://github.com/tj-actions/changed-files/compare/v36.0.5...v36.0.6) - (2023-05-26)
|
||||||
|
|
||||||
|
## <!-- 0 -->🚀 Features
|
||||||
|
|
||||||
|
- Deduplicate dir names list ([#1183](https://github.com/tj-actions/changed-files/issues/1183)) ([652648a](https://github.com/tj-actions/changed-files/commit/652648acb4f32660a94e245a2a51c6d0e56b2a1d)) - (Tonye Jack)
|
||||||
|
|
||||||
|
## <!-- 26 -->🔄 Update
|
||||||
|
|
||||||
|
- Update README.md ([8a36220](https://github.com/tj-actions/changed-files/commit/8a36220d042d6e935b636251a47084884bbfb1e8)) - (Tonye Jack)
|
||||||
|
|
||||||
|
## <!-- 9 -->⬆️ Upgrades
|
||||||
|
|
||||||
|
- Upgraded to v36.0.5 ([#1182](https://github.com/tj-actions/changed-files/issues/1182))
|
||||||
|
|
||||||
|
Co-authored-by: jackton1 <jackton1@users.noreply.github.com> ([04de922](https://github.com/tj-actions/changed-files/commit/04de9221b6bdb9a219bafb7d50eeb085495df810)) - (tj-actions[bot])
|
||||||
|
|
||||||
|
# [36.0.5](https://github.com/tj-actions/changed-files/compare/v36.0.4...v36.0.5) - (2023-05-26)
|
||||||
|
|
||||||
|
## <!-- 1 -->🐛 Bug Fixes
|
||||||
|
|
||||||
|
- Error detecting initial commits ([#1181](https://github.com/tj-actions/changed-files/issues/1181)) ([9ad1a5b](https://github.com/tj-actions/changed-files/commit/9ad1a5b96ab3e56cd2bb25ff90c6271e4e70eb71)) - (Tonye Jack)
|
||||||
|
|
||||||
|
## <!-- 9 -->⬆️ Upgrades
|
||||||
|
|
||||||
|
- Upgraded to v36.0.4 ([#1180](https://github.com/tj-actions/changed-files/issues/1180))
|
||||||
|
|
||||||
|
Co-authored-by: jackton1 <jackton1@users.noreply.github.com> ([88fb02b](https://github.com/tj-actions/changed-files/commit/88fb02bd31e70f28785e86cc76437eff17f48e18)) - (tj-actions[bot])
|
||||||
|
|
||||||
|
# [36.0.4](https://github.com/tj-actions/changed-files/compare/v36.0.3...v36.0.4) - (2023-05-26)
|
||||||
|
|
||||||
|
## <!-- 1 -->🐛 Bug Fixes
|
||||||
|
|
||||||
|
- Bug not using the path for source file inputs ([#1179](https://github.com/tj-actions/changed-files/issues/1179)) ([c798a4e](https://github.com/tj-actions/changed-files/commit/c798a4ea57f0e0a9d2b5374853c9c479ebb435a2)) - (Tonye Jack)
|
||||||
|
|
||||||
|
## <!-- 7 -->⚙️ Miscellaneous Tasks
|
||||||
|
|
||||||
|
- **deps:** Lock file maintenance ([#1178](https://github.com/tj-actions/changed-files/issues/1178)) ([e82d391](https://github.com/tj-actions/changed-files/commit/e82d3911ce25632baf10067a87543332d022f6f3)) - (renovate[bot])
|
||||||
|
|
||||||
|
## <!-- 9 -->⬆️ Upgrades
|
||||||
|
|
||||||
|
- Upgraded to v36.0.3 ([#1177](https://github.com/tj-actions/changed-files/issues/1177))
|
||||||
|
|
||||||
|
Co-authored-by: jackton1 <jackton1@users.noreply.github.com> ([de2b6e4](https://github.com/tj-actions/changed-files/commit/de2b6e43f70bc5ad965dd5e8db9d437c1496b8e0)) - (tj-actions[bot])
|
||||||
|
|
||||||
# [36.0.3](https://github.com/tj-actions/changed-files/compare/v36.0.2...v36.0.3) - (2023-05-26)
|
# [36.0.3](https://github.com/tj-actions/changed-files/compare/v36.0.2...v36.0.3) - (2023-05-26)
|
||||||
|
|
||||||
## <!-- 1 -->🐛 Bug Fixes
|
## <!-- 1 -->🐛 Bug Fixes
|
||||||
|
|||||||
@@ -19,7 +19,7 @@
|
|||||||
|
|
||||||
## changed-files
|
## changed-files
|
||||||
|
|
||||||
Retrieve all changed files and directories relative to a target branch, preceeding commit or the last remote commit returning a **relative paths** from the project root.
|
Retrieve all changed files and directories relative to a target branch, preceeding commit or the last remote commit returning a **relative path** from the project root.
|
||||||
|
|
||||||
## Table of contents
|
## Table of contents
|
||||||
|
|
||||||
@@ -45,7 +45,7 @@ Retrieve all changed files and directories relative to a target branch, preceedi
|
|||||||
* Supports Git submodules.
|
* Supports Git submodules.
|
||||||
* Escaped JSON output which can be used to run matrix jobs based on changed files.
|
* Escaped JSON output which can be used to run matrix jobs based on changed files.
|
||||||
* List changed directories.
|
* List changed directories.
|
||||||
* Restrict the max depth of changed directories.
|
* Restrict the max depth of matching changed directories.
|
||||||
* Write outputs to a `.txt` or `.json` file at a specified location for further processing.
|
* Write outputs to a `.txt` or `.json` file at a specified location for further processing.
|
||||||
* Monorepos (Fetches a fixed number of commits).
|
* Monorepos (Fetches a fixed number of commits).
|
||||||
* Supports all platforms (Linux, MacOS, Windows).
|
* Supports all platforms (Linux, MacOS, Windows).
|
||||||
@@ -141,6 +141,8 @@ jobs:
|
|||||||
echo "List all the files that have changed: ${{ steps.changed-files-excluded.outputs.all_changed_files }}"
|
echo "List all the files that have changed: ${{ steps.changed-files-excluded.outputs.all_changed_files }}"
|
||||||
```
|
```
|
||||||
|
|
||||||
|
To access more examples, navigate to the [Examples](#examples) section.
|
||||||
|
|
||||||
If you feel generous and want to show some extra appreciation:
|
If you feel generous and want to show some extra appreciation:
|
||||||
|
|
||||||
Support this project with a :star:
|
Support this project with a :star:
|
||||||
|
|||||||
47
dist/index.js
generated
vendored
47
dist/index.js
generated
vendored
@@ -120,6 +120,7 @@ const getDiffFiles = ({ inputs, workingDirectory, hasSubmodule, diffResult, diff
|
|||||||
dirNamesMaxDepth: inputs.dirNamesMaxDepth,
|
dirNamesMaxDepth: inputs.dirNamesMaxDepth,
|
||||||
excludeRoot: inputs.dirNamesExcludeRoot
|
excludeRoot: inputs.dirNamesExcludeRoot
|
||||||
}));
|
}));
|
||||||
|
files = [...new Set(files)];
|
||||||
}
|
}
|
||||||
if (inputs.json) {
|
if (inputs.json) {
|
||||||
return (0, utils_1.jsonOutput)({ value: files, shouldEscape: inputs.escapeJson });
|
return (0, utils_1.jsonOutput)({ value: files, shouldEscape: inputs.escapeJson });
|
||||||
@@ -212,7 +213,8 @@ const getSHAForPushEvent = (inputs, env, workingDirectory, isShallow, hasSubmodu
|
|||||||
if (isShallow) {
|
if (isShallow) {
|
||||||
core.info('Repository is shallow, fetching more history...');
|
core.info('Repository is shallow, fetching more history...');
|
||||||
if (isTag) {
|
if (isTag) {
|
||||||
const sourceBranch = env.GITHUB_EVENT_BASE_REF.replace('refs/heads/', '');
|
const sourceBranch = env.GITHUB_EVENT_BASE_REF.replace('refs/heads/', '') ||
|
||||||
|
env.GITHUB_EVENT_RELEASE_TARGET_COMMITISH;
|
||||||
yield (0, utils_1.gitFetch)({
|
yield (0, utils_1.gitFetch)({
|
||||||
cwd: workingDirectory,
|
cwd: workingDirectory,
|
||||||
args: [
|
args: [
|
||||||
@@ -221,7 +223,7 @@ const getSHAForPushEvent = (inputs, env, workingDirectory, isShallow, hasSubmodu
|
|||||||
'--progress',
|
'--progress',
|
||||||
`--deepen=${inputs.fetchDepth}`,
|
`--deepen=${inputs.fetchDepth}`,
|
||||||
'origin',
|
'origin',
|
||||||
`+refs/tags/${sourceBranch}:refs/remotes/origin/${sourceBranch}`
|
`+refs/heads/${sourceBranch}:refs/remotes/origin/${sourceBranch}`
|
||||||
]
|
]
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
@@ -315,23 +317,15 @@ const getSHAForPushEvent = (inputs, env, workingDirectory, isShallow, hasSubmodu
|
|||||||
cwd: workingDirectory
|
cwd: workingDirectory
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
if (previousSha === currentSha) {
|
if (!previousSha || previousSha === currentSha) {
|
||||||
if (!(yield (0, utils_1.getParentSha)({ cwd: workingDirectory }))) {
|
previousSha = yield (0, utils_1.getParentSha)({
|
||||||
|
cwd: workingDirectory
|
||||||
|
});
|
||||||
|
if (!previousSha) {
|
||||||
core.warning('Initial commit detected no previous commit found.');
|
core.warning('Initial commit detected no previous commit found.');
|
||||||
initialCommit = true;
|
initialCommit = true;
|
||||||
previousSha = currentSha;
|
previousSha = currentSha;
|
||||||
}
|
}
|
||||||
else {
|
|
||||||
previousSha = yield (0, utils_1.getParentSha)({
|
|
||||||
cwd: workingDirectory
|
|
||||||
});
|
|
||||||
}
|
|
||||||
}
|
|
||||||
else {
|
|
||||||
if (!previousSha) {
|
|
||||||
core.error('Unable to locate a previous commit.');
|
|
||||||
throw new Error('Unable to locate a previous commit.');
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -349,7 +343,8 @@ const getSHAForPushEvent = (inputs, env, workingDirectory, isShallow, hasSubmodu
|
|||||||
currentSha,
|
currentSha,
|
||||||
currentBranch,
|
currentBranch,
|
||||||
targetBranch,
|
targetBranch,
|
||||||
diff
|
diff,
|
||||||
|
initialCommit
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
exports.getSHAForPushEvent = getSHAForPushEvent;
|
exports.getSHAForPushEvent = getSHAForPushEvent;
|
||||||
@@ -574,7 +569,7 @@ exports.getEnv = void 0;
|
|||||||
const fs_1 = __nccwpck_require__(7147);
|
const fs_1 = __nccwpck_require__(7147);
|
||||||
const core = __importStar(__nccwpck_require__(2186));
|
const core = __importStar(__nccwpck_require__(2186));
|
||||||
const getEnv = () => __awaiter(void 0, void 0, void 0, function* () {
|
const getEnv = () => __awaiter(void 0, void 0, void 0, function* () {
|
||||||
var _a, _b, _c, _d, _e, _f, _g, _h;
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
||||||
const eventPath = process.env.GITHUB_EVENT_PATH;
|
const eventPath = process.env.GITHUB_EVENT_PATH;
|
||||||
let eventJson = {};
|
let eventJson = {};
|
||||||
if (eventPath) {
|
if (eventPath) {
|
||||||
@@ -587,9 +582,10 @@ const getEnv = () => __awaiter(void 0, void 0, void 0, function* () {
|
|||||||
GITHUB_EVENT_PULL_REQUEST_BASE_REF: ((_d = (_c = eventJson.pull_request) === null || _c === void 0 ? void 0 : _c.base) === null || _d === void 0 ? void 0 : _d.ref) || '',
|
GITHUB_EVENT_PULL_REQUEST_BASE_REF: ((_d = (_c = eventJson.pull_request) === null || _c === void 0 ? void 0 : _c.base) === null || _d === void 0 ? void 0 : _d.ref) || '',
|
||||||
GITHUB_EVENT_BEFORE: eventJson.before || '',
|
GITHUB_EVENT_BEFORE: eventJson.before || '',
|
||||||
GITHUB_EVENT_BASE_REF: eventJson.base_ref || '',
|
GITHUB_EVENT_BASE_REF: eventJson.base_ref || '',
|
||||||
GITHUB_EVENT_HEAD_REPO_FORK: ((_e = eventJson.head_repo) === null || _e === void 0 ? void 0 : _e.fork) || '',
|
GITHUB_EVENT_RELEASE_TARGET_COMMITISH: ((_e = eventJson.release) === null || _e === void 0 ? void 0 : _e.target_commitish) || '',
|
||||||
GITHUB_EVENT_PULL_REQUEST_NUMBER: ((_f = eventJson.pull_request) === null || _f === void 0 ? void 0 : _f.number) || '',
|
GITHUB_EVENT_HEAD_REPO_FORK: ((_f = eventJson.head_repo) === null || _f === void 0 ? void 0 : _f.fork) || '',
|
||||||
GITHUB_EVENT_PULL_REQUEST_BASE_SHA: ((_h = (_g = eventJson.pull_request) === null || _g === void 0 ? void 0 : _g.base) === null || _h === void 0 ? void 0 : _h.sha) || '',
|
GITHUB_EVENT_PULL_REQUEST_NUMBER: ((_g = eventJson.pull_request) === null || _g === void 0 ? void 0 : _g.number) || '',
|
||||||
|
GITHUB_EVENT_PULL_REQUEST_BASE_SHA: ((_j = (_h = eventJson.pull_request) === null || _h === void 0 ? void 0 : _h.base) === null || _j === void 0 ? void 0 : _j.sha) || '',
|
||||||
GITHUB_EVENT_FORCED: eventJson.forced || '',
|
GITHUB_EVENT_FORCED: eventJson.forced || '',
|
||||||
GITHUB_REF_NAME: process.env.GITHUB_REF_NAME || '',
|
GITHUB_REF_NAME: process.env.GITHUB_REF_NAME || '',
|
||||||
GITHUB_REF: process.env.GITHUB_REF || '',
|
GITHUB_REF: process.env.GITHUB_REF || '',
|
||||||
@@ -824,6 +820,11 @@ function run() {
|
|||||||
core.info('Running on a pull request event...');
|
core.info('Running on a pull request event...');
|
||||||
diffResult = yield (0, commitSha_1.getSHAForPullRequestEvent)(inputs, env, workingDirectory, isShallow, hasSubmodule, gitExtraArgs);
|
diffResult = yield (0, commitSha_1.getSHAForPullRequestEvent)(inputs, env, workingDirectory, isShallow, hasSubmodule, gitExtraArgs);
|
||||||
}
|
}
|
||||||
|
if (diffResult.initialCommit) {
|
||||||
|
core.info('This is the first commit for this repository; exiting...');
|
||||||
|
core.endGroup();
|
||||||
|
return;
|
||||||
|
}
|
||||||
core.info(`Retrieving changes between ${diffResult.previousSha} (${diffResult.targetBranch}) → ${diffResult.currentSha} (${diffResult.currentBranch})`);
|
core.info(`Retrieving changes between ${diffResult.previousSha} (${diffResult.targetBranch}) → ${diffResult.currentSha} (${diffResult.currentBranch})`);
|
||||||
const filePatterns = yield (0, utils_1.getFilePatterns)({
|
const filePatterns = yield (0, utils_1.getFilePatterns)({
|
||||||
inputs,
|
inputs,
|
||||||
@@ -1531,10 +1532,14 @@ const gitLsRemote = ({ cwd, args }) => __awaiter(void 0, void 0, void 0, functio
|
|||||||
});
|
});
|
||||||
exports.gitLsRemote = gitLsRemote;
|
exports.gitLsRemote = gitLsRemote;
|
||||||
const getParentSha = ({ cwd }) => __awaiter(void 0, void 0, void 0, function* () {
|
const getParentSha = ({ cwd }) => __awaiter(void 0, void 0, void 0, function* () {
|
||||||
const { stdout } = yield exec.getExecOutput('git', ['rev-list', '-n', '1', 'HEAD^'], {
|
const { stdout, exitCode } = yield exec.getExecOutput('git', ['rev-list', '-n', '1', 'HEAD^'], {
|
||||||
cwd,
|
cwd,
|
||||||
|
ignoreReturnCode: true,
|
||||||
silent: process.env.RUNNER_DEBUG !== '1'
|
silent: process.env.RUNNER_DEBUG !== '1'
|
||||||
});
|
});
|
||||||
|
if (exitCode !== 0) {
|
||||||
|
return '';
|
||||||
|
}
|
||||||
return stdout.trim();
|
return stdout.trim();
|
||||||
});
|
});
|
||||||
exports.getParentSha = getParentSha;
|
exports.getParentSha = getParentSha;
|
||||||
|
|||||||
2
dist/index.js.map
generated
vendored
2
dist/index.js.map
generated
vendored
File diff suppressed because one or more lines are too long
@@ -133,6 +133,7 @@ export const getDiffFiles = async ({
|
|||||||
excludeRoot: inputs.dirNamesExcludeRoot
|
excludeRoot: inputs.dirNamesExcludeRoot
|
||||||
})
|
})
|
||||||
)
|
)
|
||||||
|
files = [...new Set(files)]
|
||||||
}
|
}
|
||||||
|
|
||||||
if (inputs.json) {
|
if (inputs.json) {
|
||||||
|
|||||||
@@ -63,6 +63,7 @@ export interface DiffResult {
|
|||||||
currentBranch: string
|
currentBranch: string
|
||||||
targetBranch: string
|
targetBranch: string
|
||||||
diff: string
|
diff: string
|
||||||
|
initialCommit?: boolean
|
||||||
}
|
}
|
||||||
|
|
||||||
export const getSHAForPushEvent = async (
|
export const getSHAForPushEvent = async (
|
||||||
@@ -82,7 +83,9 @@ export const getSHAForPushEvent = async (
|
|||||||
core.info('Repository is shallow, fetching more history...')
|
core.info('Repository is shallow, fetching more history...')
|
||||||
|
|
||||||
if (isTag) {
|
if (isTag) {
|
||||||
const sourceBranch = env.GITHUB_EVENT_BASE_REF.replace('refs/heads/', '')
|
const sourceBranch =
|
||||||
|
env.GITHUB_EVENT_BASE_REF.replace('refs/heads/', '') ||
|
||||||
|
env.GITHUB_EVENT_RELEASE_TARGET_COMMITISH
|
||||||
await gitFetch({
|
await gitFetch({
|
||||||
cwd: workingDirectory,
|
cwd: workingDirectory,
|
||||||
args: [
|
args: [
|
||||||
@@ -91,7 +94,7 @@ export const getSHAForPushEvent = async (
|
|||||||
'--progress',
|
'--progress',
|
||||||
`--deepen=${inputs.fetchDepth}`,
|
`--deepen=${inputs.fetchDepth}`,
|
||||||
'origin',
|
'origin',
|
||||||
`+refs/tags/${sourceBranch}:refs/remotes/origin/${sourceBranch}`
|
`+refs/heads/${sourceBranch}:refs/remotes/origin/${sourceBranch}`
|
||||||
]
|
]
|
||||||
})
|
})
|
||||||
} else {
|
} else {
|
||||||
@@ -201,20 +204,15 @@ export const getSHAForPushEvent = async (
|
|||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
if (previousSha === currentSha) {
|
if (!previousSha || previousSha === currentSha) {
|
||||||
if (!(await getParentSha({cwd: workingDirectory}))) {
|
previousSha = await getParentSha({
|
||||||
|
cwd: workingDirectory
|
||||||
|
})
|
||||||
|
|
||||||
|
if (!previousSha) {
|
||||||
core.warning('Initial commit detected no previous commit found.')
|
core.warning('Initial commit detected no previous commit found.')
|
||||||
initialCommit = true
|
initialCommit = true
|
||||||
previousSha = currentSha
|
previousSha = currentSha
|
||||||
} else {
|
|
||||||
previousSha = await getParentSha({
|
|
||||||
cwd: workingDirectory
|
|
||||||
})
|
|
||||||
}
|
|
||||||
} else {
|
|
||||||
if (!previousSha) {
|
|
||||||
core.error('Unable to locate a previous commit.')
|
|
||||||
throw new Error('Unable to locate a previous commit.')
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -241,7 +239,8 @@ export const getSHAForPushEvent = async (
|
|||||||
currentSha,
|
currentSha,
|
||||||
currentBranch,
|
currentBranch,
|
||||||
targetBranch,
|
targetBranch,
|
||||||
diff
|
diff,
|
||||||
|
initialCommit
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -8,6 +8,7 @@ export type Env = {
|
|||||||
GITHUB_REF_NAME: string
|
GITHUB_REF_NAME: string
|
||||||
GITHUB_REF: string
|
GITHUB_REF: string
|
||||||
GITHUB_EVENT_BASE_REF: string
|
GITHUB_EVENT_BASE_REF: string
|
||||||
|
GITHUB_EVENT_RELEASE_TARGET_COMMITISH: string
|
||||||
GITHUB_EVENT_HEAD_REPO_FORK: string
|
GITHUB_EVENT_HEAD_REPO_FORK: string
|
||||||
GITHUB_WORKSPACE: string
|
GITHUB_WORKSPACE: string
|
||||||
GITHUB_EVENT_FORCED: string
|
GITHUB_EVENT_FORCED: string
|
||||||
@@ -27,6 +28,9 @@ type GithubEvent = {
|
|||||||
}
|
}
|
||||||
number: string
|
number: string
|
||||||
}
|
}
|
||||||
|
release?: {
|
||||||
|
target_commitish: string
|
||||||
|
}
|
||||||
before?: string
|
before?: string
|
||||||
base_ref?: string
|
base_ref?: string
|
||||||
head_repo?: {
|
head_repo?: {
|
||||||
@@ -49,6 +53,8 @@ export const getEnv = async (): Promise<Env> => {
|
|||||||
GITHUB_EVENT_PULL_REQUEST_BASE_REF: eventJson.pull_request?.base?.ref || '',
|
GITHUB_EVENT_PULL_REQUEST_BASE_REF: eventJson.pull_request?.base?.ref || '',
|
||||||
GITHUB_EVENT_BEFORE: eventJson.before || '',
|
GITHUB_EVENT_BEFORE: eventJson.before || '',
|
||||||
GITHUB_EVENT_BASE_REF: eventJson.base_ref || '',
|
GITHUB_EVENT_BASE_REF: eventJson.base_ref || '',
|
||||||
|
GITHUB_EVENT_RELEASE_TARGET_COMMITISH:
|
||||||
|
eventJson.release?.target_commitish || '',
|
||||||
GITHUB_EVENT_HEAD_REPO_FORK: eventJson.head_repo?.fork || '',
|
GITHUB_EVENT_HEAD_REPO_FORK: eventJson.head_repo?.fork || '',
|
||||||
GITHUB_EVENT_PULL_REQUEST_NUMBER: eventJson.pull_request?.number || '',
|
GITHUB_EVENT_PULL_REQUEST_NUMBER: eventJson.pull_request?.number || '',
|
||||||
GITHUB_EVENT_PULL_REQUEST_BASE_SHA: eventJson.pull_request?.base?.sha || '',
|
GITHUB_EVENT_PULL_REQUEST_BASE_SHA: eventJson.pull_request?.base?.sha || '',
|
||||||
|
|||||||
@@ -89,6 +89,12 @@ export async function run(): Promise<void> {
|
|||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (diffResult.initialCommit) {
|
||||||
|
core.info('This is the first commit for this repository; exiting...')
|
||||||
|
core.endGroup()
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
||||||
core.info(
|
core.info(
|
||||||
`Retrieving changes between ${diffResult.previousSha} (${diffResult.targetBranch}) → ${diffResult.currentSha} (${diffResult.currentBranch})`
|
`Retrieving changes between ${diffResult.previousSha} (${diffResult.targetBranch}) → ${diffResult.currentSha} (${diffResult.currentBranch})`
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -526,15 +526,20 @@ export const gitLsRemote = async ({
|
|||||||
}
|
}
|
||||||
|
|
||||||
export const getParentSha = async ({cwd}: {cwd: string}): Promise<string> => {
|
export const getParentSha = async ({cwd}: {cwd: string}): Promise<string> => {
|
||||||
const {stdout} = await exec.getExecOutput(
|
const {stdout, exitCode} = await exec.getExecOutput(
|
||||||
'git',
|
'git',
|
||||||
['rev-list', '-n', '1', 'HEAD^'],
|
['rev-list', '-n', '1', 'HEAD^'],
|
||||||
{
|
{
|
||||||
cwd,
|
cwd,
|
||||||
|
ignoreReturnCode: true,
|
||||||
silent: process.env.RUNNER_DEBUG !== '1'
|
silent: process.env.RUNNER_DEBUG !== '1'
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|
||||||
|
if (exitCode !== 0) {
|
||||||
|
return ''
|
||||||
|
}
|
||||||
|
|
||||||
return stdout.trim()
|
return stdout.trim()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
162
yarn.lock
162
yarn.lock
@@ -44,57 +44,57 @@
|
|||||||
dependencies:
|
dependencies:
|
||||||
"@babel/highlight" "^7.18.6"
|
"@babel/highlight" "^7.18.6"
|
||||||
|
|
||||||
"@babel/compat-data@^7.21.5":
|
"@babel/compat-data@^7.22.0":
|
||||||
version "7.21.9"
|
version "7.22.3"
|
||||||
resolved "https://registry.yarnpkg.com/@babel/compat-data/-/compat-data-7.21.9.tgz#10a2e7fda4e51742c907938ac3b7229426515514"
|
resolved "https://registry.yarnpkg.com/@babel/compat-data/-/compat-data-7.22.3.tgz#cd502a6a0b6e37d7ad72ce7e71a7160a3ae36f7e"
|
||||||
integrity sha512-FUGed8kfhyWvbYug/Un/VPJD41rDIgoVVcR+FuzhzOYyRz5uED+Gd3SLZml0Uw2l2aHFb7ZgdW5mGA3G2cCCnQ==
|
integrity sha512-aNtko9OPOwVESUFp3MZfD8Uzxl7JzSeJpd7npIoxCasU37PFbAQRpKglkaKwlHOyeJdrREpo8TW8ldrkYWwvIQ==
|
||||||
|
|
||||||
"@babel/core@^7.11.6", "@babel/core@^7.12.3":
|
"@babel/core@^7.11.6", "@babel/core@^7.12.3":
|
||||||
version "7.21.8"
|
version "7.22.1"
|
||||||
resolved "https://registry.yarnpkg.com/@babel/core/-/core-7.21.8.tgz#2a8c7f0f53d60100ba4c32470ba0281c92aa9aa4"
|
resolved "https://registry.yarnpkg.com/@babel/core/-/core-7.22.1.tgz#5de51c5206f4c6f5533562838337a603c1033cfd"
|
||||||
integrity sha512-YeM22Sondbo523Sz0+CirSPnbj9bG3P0CdHcBZdqUuaeOaYEFbOLoGU7lebvGP6P5J/WE9wOn7u7C4J9HvS1xQ==
|
integrity sha512-Hkqu7J4ynysSXxmAahpN1jjRwVJ+NdpraFLIWflgjpVob3KNyK3/tIUc7Q7szed8WMp0JNa7Qtd1E9Oo22F9gA==
|
||||||
dependencies:
|
dependencies:
|
||||||
"@ampproject/remapping" "^2.2.0"
|
"@ampproject/remapping" "^2.2.0"
|
||||||
"@babel/code-frame" "^7.21.4"
|
"@babel/code-frame" "^7.21.4"
|
||||||
"@babel/generator" "^7.21.5"
|
"@babel/generator" "^7.22.0"
|
||||||
"@babel/helper-compilation-targets" "^7.21.5"
|
"@babel/helper-compilation-targets" "^7.22.1"
|
||||||
"@babel/helper-module-transforms" "^7.21.5"
|
"@babel/helper-module-transforms" "^7.22.1"
|
||||||
"@babel/helpers" "^7.21.5"
|
"@babel/helpers" "^7.22.0"
|
||||||
"@babel/parser" "^7.21.8"
|
"@babel/parser" "^7.22.0"
|
||||||
"@babel/template" "^7.20.7"
|
"@babel/template" "^7.21.9"
|
||||||
"@babel/traverse" "^7.21.5"
|
"@babel/traverse" "^7.22.1"
|
||||||
"@babel/types" "^7.21.5"
|
"@babel/types" "^7.22.0"
|
||||||
convert-source-map "^1.7.0"
|
convert-source-map "^1.7.0"
|
||||||
debug "^4.1.0"
|
debug "^4.1.0"
|
||||||
gensync "^1.0.0-beta.2"
|
gensync "^1.0.0-beta.2"
|
||||||
json5 "^2.2.2"
|
json5 "^2.2.2"
|
||||||
semver "^6.3.0"
|
semver "^6.3.0"
|
||||||
|
|
||||||
"@babel/generator@^7.21.5", "@babel/generator@^7.7.2":
|
"@babel/generator@^7.22.0", "@babel/generator@^7.7.2":
|
||||||
version "7.21.9"
|
version "7.22.3"
|
||||||
resolved "https://registry.yarnpkg.com/@babel/generator/-/generator-7.21.9.tgz#3a1b706e07d836e204aee0650e8ee878d3aaa241"
|
resolved "https://registry.yarnpkg.com/@babel/generator/-/generator-7.22.3.tgz#0ff675d2edb93d7596c5f6728b52615cfc0df01e"
|
||||||
integrity sha512-F3fZga2uv09wFdEjEQIJxXALXfz0+JaOb7SabvVMmjHxeVTuGW8wgE8Vp1Hd7O+zMTYtcfEISGRzPkeiaPPsvg==
|
integrity sha512-C17MW4wlk//ES/CJDL51kPNwl+qiBQyN7b9SKyVp11BLGFeSPoVaHrv+MNt8jwQFhQWowW88z1eeBx3pFz9v8A==
|
||||||
dependencies:
|
dependencies:
|
||||||
"@babel/types" "^7.21.5"
|
"@babel/types" "^7.22.3"
|
||||||
"@jridgewell/gen-mapping" "^0.3.2"
|
"@jridgewell/gen-mapping" "^0.3.2"
|
||||||
"@jridgewell/trace-mapping" "^0.3.17"
|
"@jridgewell/trace-mapping" "^0.3.17"
|
||||||
jsesc "^2.5.1"
|
jsesc "^2.5.1"
|
||||||
|
|
||||||
"@babel/helper-compilation-targets@^7.21.5":
|
"@babel/helper-compilation-targets@^7.22.1":
|
||||||
version "7.21.5"
|
version "7.22.1"
|
||||||
resolved "https://registry.yarnpkg.com/@babel/helper-compilation-targets/-/helper-compilation-targets-7.21.5.tgz#631e6cc784c7b660417421349aac304c94115366"
|
resolved "https://registry.yarnpkg.com/@babel/helper-compilation-targets/-/helper-compilation-targets-7.22.1.tgz#bfcd6b7321ffebe33290d68550e2c9d7eb7c7a58"
|
||||||
integrity sha512-1RkbFGUKex4lvsB9yhIfWltJM5cZKUftB2eNajaDv3dCMEp49iBG0K14uH8NnX9IPux2+mK7JGEOB0jn48/J6w==
|
integrity sha512-Rqx13UM3yVB5q0D/KwQ8+SPfX/+Rnsy1Lw1k/UwOC4KC6qrzIQoY3lYnBu5EHKBlEHHcj0M0W8ltPSkD8rqfsQ==
|
||||||
dependencies:
|
dependencies:
|
||||||
"@babel/compat-data" "^7.21.5"
|
"@babel/compat-data" "^7.22.0"
|
||||||
"@babel/helper-validator-option" "^7.21.0"
|
"@babel/helper-validator-option" "^7.21.0"
|
||||||
browserslist "^4.21.3"
|
browserslist "^4.21.3"
|
||||||
lru-cache "^5.1.1"
|
lru-cache "^5.1.1"
|
||||||
semver "^6.3.0"
|
semver "^6.3.0"
|
||||||
|
|
||||||
"@babel/helper-environment-visitor@^7.21.5":
|
"@babel/helper-environment-visitor@^7.22.1":
|
||||||
version "7.21.5"
|
version "7.22.1"
|
||||||
resolved "https://registry.yarnpkg.com/@babel/helper-environment-visitor/-/helper-environment-visitor-7.21.5.tgz#c769afefd41d171836f7cb63e295bedf689d48ba"
|
resolved "https://registry.yarnpkg.com/@babel/helper-environment-visitor/-/helper-environment-visitor-7.22.1.tgz#ac3a56dbada59ed969d712cf527bd8271fe3eba8"
|
||||||
integrity sha512-IYl4gZ3ETsWocUWgsFZLM5i1BYx9SoemminVEXadgLBa9TdeorzgLKm8wWLA6J1N/kT3Kch8XIk1laNzYoHKvQ==
|
integrity sha512-Z2tgopurB/kTbidvzeBrc2To3PUP/9i5MUe+fU6QJCQDyPwSH2oRapkLw3KGECDYSjhQZCNxEvNvZlLw8JjGwA==
|
||||||
|
|
||||||
"@babel/helper-function-name@^7.21.0":
|
"@babel/helper-function-name@^7.21.0":
|
||||||
version "7.21.0"
|
version "7.21.0"
|
||||||
@@ -118,19 +118,19 @@
|
|||||||
dependencies:
|
dependencies:
|
||||||
"@babel/types" "^7.21.4"
|
"@babel/types" "^7.21.4"
|
||||||
|
|
||||||
"@babel/helper-module-transforms@^7.21.5":
|
"@babel/helper-module-transforms@^7.22.1":
|
||||||
version "7.21.5"
|
version "7.22.1"
|
||||||
resolved "https://registry.yarnpkg.com/@babel/helper-module-transforms/-/helper-module-transforms-7.21.5.tgz#d937c82e9af68d31ab49039136a222b17ac0b420"
|
resolved "https://registry.yarnpkg.com/@babel/helper-module-transforms/-/helper-module-transforms-7.22.1.tgz#e0cad47fedcf3cae83c11021696376e2d5a50c63"
|
||||||
integrity sha512-bI2Z9zBGY2q5yMHoBvJ2a9iX3ZOAzJPm7Q8Yz6YeoUjU/Cvhmi2G4QyTNyPBqqXSgTjUxRg3L0xV45HvkNWWBw==
|
integrity sha512-dxAe9E7ySDGbQdCVOY/4+UcD8M9ZFqZcZhSPsPacvCG4M+9lwtDDQfI2EoaSvmf7W/8yCBkGU0m7Pvt1ru3UZw==
|
||||||
dependencies:
|
dependencies:
|
||||||
"@babel/helper-environment-visitor" "^7.21.5"
|
"@babel/helper-environment-visitor" "^7.22.1"
|
||||||
"@babel/helper-module-imports" "^7.21.4"
|
"@babel/helper-module-imports" "^7.21.4"
|
||||||
"@babel/helper-simple-access" "^7.21.5"
|
"@babel/helper-simple-access" "^7.21.5"
|
||||||
"@babel/helper-split-export-declaration" "^7.18.6"
|
"@babel/helper-split-export-declaration" "^7.18.6"
|
||||||
"@babel/helper-validator-identifier" "^7.19.1"
|
"@babel/helper-validator-identifier" "^7.19.1"
|
||||||
"@babel/template" "^7.20.7"
|
"@babel/template" "^7.21.9"
|
||||||
"@babel/traverse" "^7.21.5"
|
"@babel/traverse" "^7.22.1"
|
||||||
"@babel/types" "^7.21.5"
|
"@babel/types" "^7.22.0"
|
||||||
|
|
||||||
"@babel/helper-plugin-utils@^7.0.0", "@babel/helper-plugin-utils@^7.10.4", "@babel/helper-plugin-utils@^7.12.13", "@babel/helper-plugin-utils@^7.14.5", "@babel/helper-plugin-utils@^7.20.2", "@babel/helper-plugin-utils@^7.8.0":
|
"@babel/helper-plugin-utils@^7.0.0", "@babel/helper-plugin-utils@^7.10.4", "@babel/helper-plugin-utils@^7.12.13", "@babel/helper-plugin-utils@^7.14.5", "@babel/helper-plugin-utils@^7.20.2", "@babel/helper-plugin-utils@^7.8.0":
|
||||||
version "7.21.5"
|
version "7.21.5"
|
||||||
@@ -166,14 +166,14 @@
|
|||||||
resolved "https://registry.yarnpkg.com/@babel/helper-validator-option/-/helper-validator-option-7.21.0.tgz#8224c7e13ace4bafdc4004da2cf064ef42673180"
|
resolved "https://registry.yarnpkg.com/@babel/helper-validator-option/-/helper-validator-option-7.21.0.tgz#8224c7e13ace4bafdc4004da2cf064ef42673180"
|
||||||
integrity sha512-rmL/B8/f0mKS2baE9ZpyTcTavvEuWhTTW8amjzXNvYG4AwBsqTLikfXsEofsJEfKHf+HQVQbFOHy6o+4cnC/fQ==
|
integrity sha512-rmL/B8/f0mKS2baE9ZpyTcTavvEuWhTTW8amjzXNvYG4AwBsqTLikfXsEofsJEfKHf+HQVQbFOHy6o+4cnC/fQ==
|
||||||
|
|
||||||
"@babel/helpers@^7.21.5":
|
"@babel/helpers@^7.22.0":
|
||||||
version "7.21.5"
|
version "7.22.3"
|
||||||
resolved "https://registry.yarnpkg.com/@babel/helpers/-/helpers-7.21.5.tgz#5bac66e084d7a4d2d9696bdf0175a93f7fb63c08"
|
resolved "https://registry.yarnpkg.com/@babel/helpers/-/helpers-7.22.3.tgz#53b74351da9684ea2f694bf0877998da26dd830e"
|
||||||
integrity sha512-BSY+JSlHxOmGsPTydUkPf1MdMQ3M81x5xGCOVgWM3G8XH77sJ292Y2oqcp0CbbgxhqBuI46iUz1tT7hqP7EfgA==
|
integrity sha512-jBJ7jWblbgr7r6wYZHMdIqKc73ycaTcCaWRq4/2LpuPHcx7xMlZvpGQkOYc9HeSjn6rcx15CPlgVcBtZ4WZJ2w==
|
||||||
dependencies:
|
dependencies:
|
||||||
"@babel/template" "^7.20.7"
|
"@babel/template" "^7.21.9"
|
||||||
"@babel/traverse" "^7.21.5"
|
"@babel/traverse" "^7.22.1"
|
||||||
"@babel/types" "^7.21.5"
|
"@babel/types" "^7.22.3"
|
||||||
|
|
||||||
"@babel/highlight@^7.18.6":
|
"@babel/highlight@^7.18.6":
|
||||||
version "7.18.6"
|
version "7.18.6"
|
||||||
@@ -184,10 +184,10 @@
|
|||||||
chalk "^2.0.0"
|
chalk "^2.0.0"
|
||||||
js-tokens "^4.0.0"
|
js-tokens "^4.0.0"
|
||||||
|
|
||||||
"@babel/parser@^7.1.0", "@babel/parser@^7.14.7", "@babel/parser@^7.20.7", "@babel/parser@^7.21.5", "@babel/parser@^7.21.8", "@babel/parser@^7.21.9":
|
"@babel/parser@^7.1.0", "@babel/parser@^7.14.7", "@babel/parser@^7.20.7", "@babel/parser@^7.21.9", "@babel/parser@^7.22.0":
|
||||||
version "7.21.9"
|
version "7.22.3"
|
||||||
resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.21.9.tgz#ab18ea3b85b4bc33ba98a8d4c2032c557d23cf14"
|
resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.22.3.tgz#838ae31893373222cd9062568e2192c670037e00"
|
||||||
integrity sha512-q5PNg/Bi1OpGgx5jYlvWZwAorZepEudDMCLtj967aeS7WMont7dUZI46M2XwcIQqvUlMxWfdLFu4S/qSxeUu5g==
|
integrity sha512-vrukxyW/ep8UD1UDzOYpTKQ6abgjFoeG6L+4ar9+c5TN9QnlqiOi6QK7LSR5ewm/ERyGkT/Ai6VboNrxhbr9Uw==
|
||||||
|
|
||||||
"@babel/plugin-syntax-async-generators@^7.8.4":
|
"@babel/plugin-syntax-async-generators@^7.8.4":
|
||||||
version "7.8.4"
|
version "7.8.4"
|
||||||
@@ -288,13 +288,13 @@
|
|||||||
"@babel/helper-plugin-utils" "^7.20.2"
|
"@babel/helper-plugin-utils" "^7.20.2"
|
||||||
|
|
||||||
"@babel/runtime@^7.20.7":
|
"@babel/runtime@^7.20.7":
|
||||||
version "7.21.5"
|
version "7.22.3"
|
||||||
resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.21.5.tgz#8492dddda9644ae3bda3b45eabe87382caee7200"
|
resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.22.3.tgz#0a7fce51d43adbf0f7b517a71f4c3aaca92ebcbb"
|
||||||
integrity sha512-8jI69toZqqcsnqGGqwGS4Qb1VwLOEp4hz+CXPywcvjs60u3B4Pom/U/7rm4W8tMOYEB+E9wgD0mW1l3r8qlI9Q==
|
integrity sha512-XsDuspWKLUsxwCp6r7EhsExHtYfbe5oAGQ19kqngTdCPUoPQzOPdUbD/pB9PJiwb2ptYKQDjSJT3R6dC+EPqfQ==
|
||||||
dependencies:
|
dependencies:
|
||||||
regenerator-runtime "^0.13.11"
|
regenerator-runtime "^0.13.11"
|
||||||
|
|
||||||
"@babel/template@^7.20.7", "@babel/template@^7.3.3":
|
"@babel/template@^7.20.7", "@babel/template@^7.21.9", "@babel/template@^7.3.3":
|
||||||
version "7.21.9"
|
version "7.21.9"
|
||||||
resolved "https://registry.yarnpkg.com/@babel/template/-/template-7.21.9.tgz#bf8dad2859130ae46088a99c1f265394877446fb"
|
resolved "https://registry.yarnpkg.com/@babel/template/-/template-7.21.9.tgz#bf8dad2859130ae46088a99c1f265394877446fb"
|
||||||
integrity sha512-MK0X5k8NKOuWRamiEfc3KEJiHMTkGZNUjzMipqCGDDc6ijRl/B7RGSKVGncu4Ro/HdyzzY6cmoXuKI2Gffk7vQ==
|
integrity sha512-MK0X5k8NKOuWRamiEfc3KEJiHMTkGZNUjzMipqCGDDc6ijRl/B7RGSKVGncu4Ro/HdyzzY6cmoXuKI2Gffk7vQ==
|
||||||
@@ -303,26 +303,26 @@
|
|||||||
"@babel/parser" "^7.21.9"
|
"@babel/parser" "^7.21.9"
|
||||||
"@babel/types" "^7.21.5"
|
"@babel/types" "^7.21.5"
|
||||||
|
|
||||||
"@babel/traverse@^7.21.5", "@babel/traverse@^7.7.2":
|
"@babel/traverse@^7.22.1", "@babel/traverse@^7.7.2":
|
||||||
version "7.21.5"
|
version "7.22.1"
|
||||||
resolved "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.21.5.tgz#ad22361d352a5154b498299d523cf72998a4b133"
|
resolved "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.22.1.tgz#bd22c50b1439cfcfc2fa137b7fdf6c06787456e9"
|
||||||
integrity sha512-AhQoI3YjWi6u/y/ntv7k48mcrCXmus0t79J9qPNlk/lAsFlCiJ047RmbfMOawySTHtywXhbXgpx/8nXMYd+oFw==
|
integrity sha512-lAWkdCoUFnmwLBhIRLciFntGYsIIoC6vIbN8zrLPqBnJmPu7Z6nzqnKd7FsxQUNAvZfVZ0x6KdNvNp8zWIOHSQ==
|
||||||
dependencies:
|
dependencies:
|
||||||
"@babel/code-frame" "^7.21.4"
|
"@babel/code-frame" "^7.21.4"
|
||||||
"@babel/generator" "^7.21.5"
|
"@babel/generator" "^7.22.0"
|
||||||
"@babel/helper-environment-visitor" "^7.21.5"
|
"@babel/helper-environment-visitor" "^7.22.1"
|
||||||
"@babel/helper-function-name" "^7.21.0"
|
"@babel/helper-function-name" "^7.21.0"
|
||||||
"@babel/helper-hoist-variables" "^7.18.6"
|
"@babel/helper-hoist-variables" "^7.18.6"
|
||||||
"@babel/helper-split-export-declaration" "^7.18.6"
|
"@babel/helper-split-export-declaration" "^7.18.6"
|
||||||
"@babel/parser" "^7.21.5"
|
"@babel/parser" "^7.22.0"
|
||||||
"@babel/types" "^7.21.5"
|
"@babel/types" "^7.22.0"
|
||||||
debug "^4.1.0"
|
debug "^4.1.0"
|
||||||
globals "^11.1.0"
|
globals "^11.1.0"
|
||||||
|
|
||||||
"@babel/types@^7.0.0", "@babel/types@^7.18.6", "@babel/types@^7.20.7", "@babel/types@^7.21.0", "@babel/types@^7.21.4", "@babel/types@^7.21.5", "@babel/types@^7.3.3":
|
"@babel/types@^7.0.0", "@babel/types@^7.18.6", "@babel/types@^7.20.7", "@babel/types@^7.21.0", "@babel/types@^7.21.4", "@babel/types@^7.21.5", "@babel/types@^7.22.0", "@babel/types@^7.22.3", "@babel/types@^7.3.3":
|
||||||
version "7.21.5"
|
version "7.22.3"
|
||||||
resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.21.5.tgz#18dfbd47c39d3904d5db3d3dc2cc80bedb60e5b6"
|
resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.22.3.tgz#0cc6af178b91490acaeb4a2f70dcbf27cdf3d8f3"
|
||||||
integrity sha512-m4AfNvVF2mVC/F7fDEdH2El3HzUg9It/XsCxZiOTTA3m3qYfcSVSbTfM6Q9xG+hYDniZssYhlXKKUMD5m8tF4Q==
|
integrity sha512-P3na3xIQHTKY4L0YOG7pM8M8uoUIB910WQaSiiMCZUC2Cy8XFEQONGABFnHWBa2gpGKODTAJcNhi5Zk0sLRrzg==
|
||||||
dependencies:
|
dependencies:
|
||||||
"@babel/helper-string-parser" "^7.21.5"
|
"@babel/helper-string-parser" "^7.21.5"
|
||||||
"@babel/helper-validator-identifier" "^7.19.1"
|
"@babel/helper-validator-identifier" "^7.19.1"
|
||||||
@@ -764,9 +764,9 @@
|
|||||||
"@types/braces" "*"
|
"@types/braces" "*"
|
||||||
|
|
||||||
"@types/node@*":
|
"@types/node@*":
|
||||||
version "20.2.4"
|
version "20.2.5"
|
||||||
resolved "https://registry.yarnpkg.com/@types/node/-/node-20.2.4.tgz#e6c3345f7ed9c6df41fdc288a94e2633167bc15d"
|
resolved "https://registry.yarnpkg.com/@types/node/-/node-20.2.5.tgz#26d295f3570323b2837d322180dfbf1ba156fefb"
|
||||||
integrity sha512-ni5f8Xlf4PwnT/Z3f0HURc3ZSw8UyrqMqmM3L5ysa7VjHu8c3FOmIo1nKCcLrV/OAmtf3N4kFna/aJqxsfEtnA==
|
integrity sha512-JJulVEQXmiY9Px5axXHeYGLSjhkZEnD+MDPDGbCbIAbMslkKwmygtZFy1X6s/075Yo94sf8GuSlFfPzysQrWZQ==
|
||||||
|
|
||||||
"@types/node@20.2.1":
|
"@types/node@20.2.1":
|
||||||
version "20.2.1"
|
version "20.2.1"
|
||||||
@@ -1119,14 +1119,14 @@ braces@^3.0.2:
|
|||||||
fill-range "^7.0.1"
|
fill-range "^7.0.1"
|
||||||
|
|
||||||
browserslist@^4.21.0, browserslist@^4.21.3:
|
browserslist@^4.21.0, browserslist@^4.21.3:
|
||||||
version "4.21.5"
|
version "4.21.6"
|
||||||
resolved "https://registry.yarnpkg.com/browserslist/-/browserslist-4.21.5.tgz#75c5dae60063ee641f977e00edd3cfb2fb7af6a7"
|
resolved "https://registry.yarnpkg.com/browserslist/-/browserslist-4.21.6.tgz#18ab9830a5a61806a909a4717f85665792e7f267"
|
||||||
integrity sha512-tUkiguQGW7S3IhB7N+c2MV/HZPSCPAAiYBZXLsBhFB/PCy6ZKKsZrmBayHV9fdGV/ARIfJ14NkxKzRDjvp7L6w==
|
integrity sha512-PF07dKGXKR+/bljJzCB6rAYtHEu21TthLxmJagtQizx+rwiqdRDBO5971Xu1N7MgcMLi4+mr4Cnl76x7O3DHtA==
|
||||||
dependencies:
|
dependencies:
|
||||||
caniuse-lite "^1.0.30001449"
|
caniuse-lite "^1.0.30001489"
|
||||||
electron-to-chromium "^1.4.284"
|
electron-to-chromium "^1.4.411"
|
||||||
node-releases "^2.0.8"
|
node-releases "^2.0.12"
|
||||||
update-browserslist-db "^1.0.10"
|
update-browserslist-db "^1.0.11"
|
||||||
|
|
||||||
bs-logger@0.x:
|
bs-logger@0.x:
|
||||||
version "0.2.6"
|
version "0.2.6"
|
||||||
@@ -1170,7 +1170,7 @@ camelcase@^6.2.0:
|
|||||||
resolved "https://registry.yarnpkg.com/camelcase/-/camelcase-6.3.0.tgz#5685b95eb209ac9c0c177467778c9c84df58ba9a"
|
resolved "https://registry.yarnpkg.com/camelcase/-/camelcase-6.3.0.tgz#5685b95eb209ac9c0c177467778c9c84df58ba9a"
|
||||||
integrity sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA==
|
integrity sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA==
|
||||||
|
|
||||||
caniuse-lite@^1.0.30001449:
|
caniuse-lite@^1.0.30001489:
|
||||||
version "1.0.30001489"
|
version "1.0.30001489"
|
||||||
resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001489.tgz#ca82ee2d4e4dbf2bd2589c9360d3fcc2c7ba3bd8"
|
resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001489.tgz#ca82ee2d4e4dbf2bd2589c9360d3fcc2c7ba3bd8"
|
||||||
integrity sha512-x1mgZEXK8jHIfAxm+xgdpHpk50IN3z3q3zP261/WS+uvePxW8izXuCu6AHz0lkuYTlATDehiZ/tNyYBdSQsOUQ==
|
integrity sha512-x1mgZEXK8jHIfAxm+xgdpHpk50IN3z3q3zP261/WS+uvePxW8izXuCu6AHz0lkuYTlATDehiZ/tNyYBdSQsOUQ==
|
||||||
@@ -1371,10 +1371,10 @@ doctrine@^3.0.0:
|
|||||||
dependencies:
|
dependencies:
|
||||||
esutils "^2.0.2"
|
esutils "^2.0.2"
|
||||||
|
|
||||||
electron-to-chromium@^1.4.284:
|
electron-to-chromium@^1.4.411:
|
||||||
version "1.4.408"
|
version "1.4.411"
|
||||||
resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.4.408.tgz#73e657a24bd0b7481d68c943dded0d097b0d0a52"
|
resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.4.411.tgz#8cb7787f0442fcb4209590e9951bdb482caa93b2"
|
||||||
integrity sha512-vjeaj0u/UYnzA/CIdGXzzcxRLCqRwREYc9YfaWInjIEr7/XPttZ6ShpyqapchEy0S2r6LpLjDBTnNj7ZxnxJKg==
|
integrity sha512-5VXLW4Qw89vM2WTICHua/y8v7fKGDRVa2VPOtBB9IpLvW316B+xd8yD1wTmLPY2ot/00P/qt87xdolj4aG/Lzg==
|
||||||
|
|
||||||
emittery@^0.13.1:
|
emittery@^0.13.1:
|
||||||
version "0.13.1"
|
version "0.13.1"
|
||||||
@@ -2945,7 +2945,7 @@ node-int64@^0.4.0:
|
|||||||
resolved "https://registry.yarnpkg.com/node-int64/-/node-int64-0.4.0.tgz#87a9065cdb355d3182d8f94ce11188b825c68a3b"
|
resolved "https://registry.yarnpkg.com/node-int64/-/node-int64-0.4.0.tgz#87a9065cdb355d3182d8f94ce11188b825c68a3b"
|
||||||
integrity sha512-O5lz91xSOeoXP6DulyHfllpq+Eg00MWitZIbtPfoSEvqIHdl5gfcY6hYzDWnj0qD5tz52PI08u9qUvSVeUBeHw==
|
integrity sha512-O5lz91xSOeoXP6DulyHfllpq+Eg00MWitZIbtPfoSEvqIHdl5gfcY6hYzDWnj0qD5tz52PI08u9qUvSVeUBeHw==
|
||||||
|
|
||||||
node-releases@^2.0.8:
|
node-releases@^2.0.12:
|
||||||
version "2.0.12"
|
version "2.0.12"
|
||||||
resolved "https://registry.yarnpkg.com/node-releases/-/node-releases-2.0.12.tgz#35627cc224a23bfb06fb3380f2b3afaaa7eb1039"
|
resolved "https://registry.yarnpkg.com/node-releases/-/node-releases-2.0.12.tgz#35627cc224a23bfb06fb3380f2b3afaaa7eb1039"
|
||||||
integrity sha512-QzsYKWhXTWx8h1kIvqfnC++o0pEmpRQA/aenALsL2F4pqNVr7YzcdMlDij5WBnwftRbJCNJL/O7zdKaxKPHqgQ==
|
integrity sha512-QzsYKWhXTWx8h1kIvqfnC++o0pEmpRQA/aenALsL2F4pqNVr7YzcdMlDij5WBnwftRbJCNJL/O7zdKaxKPHqgQ==
|
||||||
@@ -3572,7 +3572,7 @@ unbox-primitive@^1.0.2:
|
|||||||
has-symbols "^1.0.3"
|
has-symbols "^1.0.3"
|
||||||
which-boxed-primitive "^1.0.2"
|
which-boxed-primitive "^1.0.2"
|
||||||
|
|
||||||
update-browserslist-db@^1.0.10:
|
update-browserslist-db@^1.0.11:
|
||||||
version "1.0.11"
|
version "1.0.11"
|
||||||
resolved "https://registry.yarnpkg.com/update-browserslist-db/-/update-browserslist-db-1.0.11.tgz#9a2a641ad2907ae7b3616506f4b977851db5b940"
|
resolved "https://registry.yarnpkg.com/update-browserslist-db/-/update-browserslist-db-1.0.11.tgz#9a2a641ad2907ae7b3616506f4b977851db5b940"
|
||||||
integrity sha512-dCwEFf0/oT85M1fHBg4F0jtLwJrutGoHSQXCh7u4o2t1drG+c0a9Flnqww6XUKSfQMPpJBRjU8d4RXB09qtvaA==
|
integrity sha512-dCwEFf0/oT85M1fHBg4F0jtLwJrutGoHSQXCh7u4o2t1drG+c0a9Flnqww6XUKSfQMPpJBRjU8d4RXB09qtvaA==
|
||||||
|
|||||||
Reference in New Issue
Block a user