File tree Expand file tree Collapse file tree 6 files changed +18
-25
lines changed
Expand file tree Collapse file tree 6 files changed +18
-25
lines changed Original file line number Diff line number Diff line change @@ -53848,7 +53848,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
5384853848Object.defineProperty(exports, "__esModule", ({ value: true }));
5384953849exports.getChangedAllFiles = getChangedAllFiles;
5385053850exports.findNearestPackageJson = findNearestPackageJson;
53851- const path_1 = __importDefault (__nccwpck_require__(1017));
53851+ const path = __importStar (__nccwpck_require__(1017));
5385253852const core = __importStar(__nccwpck_require__(6108));
5385353853const github = __importStar(__nccwpck_require__(1645));
5385453854const fs_extra_1 = __importDefault(__nccwpck_require__(77));
@@ -53884,13 +53884,13 @@ function getChangedAllFiles(_a) {
5388453884 });
5388553885}
5388653886function findNearestPackageJson(filePath) {
53887- let currentDir = path_1.default .dirname(filePath);
53888- while (currentDir !== path_1.default .parse(currentDir).root) {
53889- const packageJsonPath = path_1.default .join(currentDir, 'package.json');
53887+ let currentDir = path .dirname(filePath);
53888+ while (currentDir !== path .parse(currentDir).root) {
53889+ const packageJsonPath = path .join(currentDir, 'package.json');
5389053890 if (fs_extra_1.default.existsSync(packageJsonPath)) {
5389153891 return packageJsonPath;
5389253892 }
53893- currentDir = path_1.default .dirname(currentDir);
53893+ currentDir = path .dirname(currentDir);
5389453894 }
5389553895 return undefined;
5389653896}
Original file line number Diff line number Diff line change @@ -34094,7 +34094,7 @@ var __asyncValues = (this && this.__asyncValues) || function (o) {
3409434094Object.defineProperty(exports, "__esModule", ({ value: true }));
3409534095exports.getChangedAllFiles = getChangedAllFiles;
3409634096exports.findNearestPackageJson = findNearestPackageJson;
34097- const path_1 = __nccwpck_require__(1017);
34097+ const path = __nccwpck_require__(1017);
3409834098const core = __nccwpck_require__(6108);
3409934099const github = __nccwpck_require__(1645);
3410034100const fs_extra_1 = __nccwpck_require__(77);
@@ -34130,13 +34130,13 @@ function getChangedAllFiles(_a) {
3413034130 });
3413134131}
3413234132function findNearestPackageJson(filePath) {
34133- let currentDir = path_1.default .dirname(filePath);
34134- while (currentDir !== path_1.default .parse(currentDir).root) {
34135- const packageJsonPath = path_1.default .join(currentDir, 'package.json');
34133+ let currentDir = path .dirname(filePath);
34134+ while (currentDir !== path .parse(currentDir).root) {
34135+ const packageJsonPath = path .join(currentDir, 'package.json');
3413634136 if (fs_extra_1.default.existsSync(packageJsonPath)) {
3413734137 return packageJsonPath;
3413834138 }
34139- currentDir = path_1.default .dirname(currentDir);
34139+ currentDir = path .dirname(currentDir);
3414034140 }
3414134141 return undefined;
3414234142}
Original file line number Diff line number Diff line change 1- import path from 'path'
1+ import * as path from 'path'
22
33import * as core from '@actions/core'
44import * as github from '@actions/github'
Original file line number Diff line number Diff line change 3737 "@types/node" : " ^20.14.9" ,
3838 "@types/fs-extra" : " ^8.0.0"
3939 },
40- "packageManager" : " pnpm@9.4.0 " ,
40+ "packageManager" : " pnpm@9.13.2 " ,
4141 "dependencies" : {
4242 "@actions/core" : " ^1.10.1" ,
4343 "@actions/github" : " ^6.0.0" ,
Original file line number Diff line number Diff line change @@ -63779,7 +63779,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
6377963779Object.defineProperty(exports, "__esModule", ({ value: true }));
6378063780exports.getChangedAllFiles = getChangedAllFiles;
6378163781exports.findNearestPackageJson = findNearestPackageJson;
63782- const path_1 = __importDefault (__nccwpck_require__(71017));
63782+ const path = __importStar (__nccwpck_require__(71017));
6378363783const core = __importStar(__nccwpck_require__(6108));
6378463784const github = __importStar(__nccwpck_require__(31645));
6378563785const fs_extra_1 = __importDefault(__nccwpck_require__(20077));
@@ -63815,13 +63815,13 @@ function getChangedAllFiles(_a) {
6381563815 });
6381663816}
6381763817function findNearestPackageJson(filePath) {
63818- let currentDir = path_1.default .dirname(filePath);
63819- while (currentDir !== path_1.default .parse(currentDir).root) {
63820- const packageJsonPath = path_1.default .join(currentDir, 'package.json');
63818+ let currentDir = path .dirname(filePath);
63819+ while (currentDir !== path .parse(currentDir).root) {
63820+ const packageJsonPath = path .join(currentDir, 'package.json');
6382163821 if (fs_extra_1.default.existsSync(packageJsonPath)) {
6382263822 return packageJsonPath;
6382363823 }
63824- currentDir = path_1.default .dirname(currentDir);
63824+ currentDir = path .dirname(currentDir);
6382563825 }
6382663826 return undefined;
6382763827}
You can’t perform that action at this time.
0 commit comments