Skip to content

Commit 9e7fbc9

Browse files
authored
Merge branch 'main' into krishna2323/issue/68432
2 parents 2d02167 + 2e79b66 commit 9e7fbc9

326 files changed

Lines changed: 11849 additions & 4677 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/actions/javascript/authorChecklist/index.js

Lines changed: 55 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -15252,13 +15252,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
1525215252
}) : function(o, v) {
1525315253
o["default"] = v;
1525415254
});
15255-
var __importStar = (this && this.__importStar) || function (mod) {
15256-
if (mod && mod.__esModule) return mod;
15257-
var result = {};
15258-
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
15259-
__setModuleDefault(result, mod);
15260-
return result;
15261-
};
15255+
var __importStar = (this && this.__importStar) || (function () {
15256+
var ownKeys = function(o) {
15257+
ownKeys = Object.getOwnPropertyNames || function (o) {
15258+
var ar = [];
15259+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
15260+
return ar;
15261+
};
15262+
return ownKeys(o);
15263+
};
15264+
return function (mod) {
15265+
if (mod && mod.__esModule) return mod;
15266+
var result = {};
15267+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
15268+
__setModuleDefault(result, mod);
15269+
return result;
15270+
};
15271+
})();
1526215272
var __importDefault = (this && this.__importDefault) || function (mod) {
1526315273
return (mod && mod.__esModule) ? mod : { "default": mod };
1526415274
};
@@ -15428,18 +15438,28 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
1542815438
}) : function(o, v) {
1542915439
o["default"] = v;
1543015440
});
15431-
var __importStar = (this && this.__importStar) || function (mod) {
15432-
if (mod && mod.__esModule) return mod;
15433-
var result = {};
15434-
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
15435-
__setModuleDefault(result, mod);
15436-
return result;
15437-
};
15441+
var __importStar = (this && this.__importStar) || (function () {
15442+
var ownKeys = function(o) {
15443+
ownKeys = Object.getOwnPropertyNames || function (o) {
15444+
var ar = [];
15445+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
15446+
return ar;
15447+
};
15448+
return ownKeys(o);
15449+
};
15450+
return function (mod) {
15451+
if (mod && mod.__esModule) return mod;
15452+
var result = {};
15453+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
15454+
__setModuleDefault(result, mod);
15455+
return result;
15456+
};
15457+
})();
1543815458
var __importDefault = (this && this.__importDefault) || function (mod) {
1543915459
return (mod && mod.__esModule) ? mod : { "default": mod };
1544015460
};
1544115461
Object.defineProperty(exports, "__esModule", ({ value: true }));
15442-
exports.detectReactComponent = void 0;
15462+
exports.detectReactComponent = detectReactComponent;
1544315463
const github = __importStar(__nccwpck_require__(5438));
1544415464
const parser_1 = __nccwpck_require__(5026);
1544515465
const traverse_1 = __importDefault(__nccwpck_require__(1380));
@@ -15498,7 +15518,6 @@ function detectReactComponent(code, filename) {
1549815518
});
1549915519
return isReactComponent;
1550015520
}
15501-
exports.detectReactComponent = detectReactComponent;
1550215521
function nodeBase64ToUtf8(data) {
1550315522
return Buffer.from(data, 'base64').toString('utf-8');
1550415523
}
@@ -15629,13 +15648,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
1562915648
}) : function(o, v) {
1563015649
o["default"] = v;
1563115650
});
15632-
var __importStar = (this && this.__importStar) || function (mod) {
15633-
if (mod && mod.__esModule) return mod;
15634-
var result = {};
15635-
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
15636-
__setModuleDefault(result, mod);
15637-
return result;
15638-
};
15651+
var __importStar = (this && this.__importStar) || (function () {
15652+
var ownKeys = function(o) {
15653+
ownKeys = Object.getOwnPropertyNames || function (o) {
15654+
var ar = [];
15655+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
15656+
return ar;
15657+
};
15658+
return ownKeys(o);
15659+
};
15660+
return function (mod) {
15661+
if (mod && mod.__esModule) return mod;
15662+
var result = {};
15663+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
15664+
__setModuleDefault(result, mod);
15665+
return result;
15666+
};
15667+
})();
1563915668
var __importDefault = (this && this.__importDefault) || function (mod) {
1564015669
return (mod && mod.__esModule) ? mod : { "default": mod };
1564115670
};
@@ -15879,12 +15908,9 @@ class GithubUtils {
1587915908
issueBody += `**Mobile-Expensify Changes:** https://github.com/${CONST_1.default.GITHUB_OWNER}/${CONST_1.default.MOBILE_EXPENSIFY_REPO}/compare/production...staging\r\n`;
1588015909
}
1588115910
issueBody += '\r\n';
15882-
// Warn deployers about potential bugs with the new process
15883-
issueBody +=
15884-
'> 💡 **Deployer FYI:** This checklist was generated using a new process. PR list from original method and detail logging can be found in the most recent [deploy workflow](https://github.com/Expensify/App/actions/workflows/deploy.yml) labeled `staging`, in the `createChecklist` action. Please tag @Julesssss with any issues.\r\n\r\n';
1588515911
// PR list
1588615912
if (sortedPRList.length > 0) {
15887-
issueBody += '\r\n**This release contains changes from the following pull requests:**\r\n';
15913+
issueBody += '**This release contains changes from the following pull requests:**\r\n';
1588815914
sortedPRList.forEach((URL) => {
1588915915
issueBody += verifiedOrNoQAPRs.includes(URL) ? '- [x]' : '- [ ]';
1589015916
issueBody += ` ${URL}\r\n`;
@@ -16228,11 +16254,10 @@ exports["default"] = arrayDifference;
1622816254
"use strict";
1622916255

1623016256
Object.defineProperty(exports, "__esModule", ({ value: true }));
16231-
exports.isEmptyObject = void 0;
16257+
exports.isEmptyObject = isEmptyObject;
1623216258
function isEmptyObject(obj) {
1623316259
return Object.keys(obj ?? {}).length === 0;
1623416260
}
16235-
exports.isEmptyObject = isEmptyObject;
1623616261

1623716262

1623816263
/***/ }),
@@ -16243,6 +16268,7 @@ exports.isEmptyObject = isEmptyObject;
1624316268
"use strict";
1624416269

1624516270
Object.defineProperty(exports, "__esModule", ({ value: true }));
16271+
exports["default"] = promiseSome;
1624616272
/**
1624716273
* Like _.some but for promises. It short-circuts after a promise fulfills with a value that passes the test implemented by provided function.
1624816274
* It does not wait for the other promises to complete once it finds one.
@@ -16263,7 +16289,6 @@ function promiseSome(promises, callbackFn) {
1626316289
Promise.allSettled(promises).then(() => reject());
1626416290
});
1626516291
}
16266-
exports["default"] = promiseSome;
1626716292

1626816293

1626916294
/***/ }),

.github/actions/javascript/awaitStagingDeploys/index.js

Lines changed: 41 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -12270,15 +12270,27 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
1227012270
}) : function(o, v) {
1227112271
o["default"] = v;
1227212272
});
12273-
var __importStar = (this && this.__importStar) || function (mod) {
12274-
if (mod && mod.__esModule) return mod;
12275-
var result = {};
12276-
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
12277-
__setModuleDefault(result, mod);
12278-
return result;
12279-
};
12273+
var __importStar = (this && this.__importStar) || (function () {
12274+
var ownKeys = function(o) {
12275+
ownKeys = Object.getOwnPropertyNames || function (o) {
12276+
var ar = [];
12277+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
12278+
return ar;
12279+
};
12280+
return ownKeys(o);
12281+
};
12282+
return function (mod) {
12283+
if (mod && mod.__esModule) return mod;
12284+
var result = {};
12285+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
12286+
__setModuleDefault(result, mod);
12287+
return result;
12288+
};
12289+
})();
1228012290
Object.defineProperty(exports, "__esModule", ({ value: true }));
12281-
exports.convertToNumber = exports.getStringInput = exports.getJSONInput = void 0;
12291+
exports.getJSONInput = getJSONInput;
12292+
exports.getStringInput = getStringInput;
12293+
exports.convertToNumber = convertToNumber;
1228212294
const core = __importStar(__nccwpck_require__(2186));
1228312295
/**
1228412296
* Safely parse a JSON input to a GitHub Action.
@@ -12295,7 +12307,6 @@ function getJSONInput(name, options, defaultValue) {
1229512307
}
1229612308
return defaultValue;
1229712309
}
12298-
exports.getJSONInput = getJSONInput;
1229912310
/**
1230012311
* Safely access a string input to a GitHub Action, or fall back on a default if the string is empty.
1230112312
*/
@@ -12306,7 +12317,6 @@ function getStringInput(name, options, defaultValue) {
1230612317
}
1230712318
return input;
1230812319
}
12309-
exports.getStringInput = getStringInput;
1231012320
/**
1231112321
* Converts a value to a number, returning 0 for non-numeric values.
1231212322
*/
@@ -12323,7 +12333,6 @@ function convertToNumber(value) {
1232312333
return 0;
1232412334
}
1232512335
}
12326-
exports.convertToNumber = convertToNumber;
1232712336

1232812337

1232912338
/***/ }),
@@ -12420,13 +12429,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
1242012429
}) : function(o, v) {
1242112430
o["default"] = v;
1242212431
});
12423-
var __importStar = (this && this.__importStar) || function (mod) {
12424-
if (mod && mod.__esModule) return mod;
12425-
var result = {};
12426-
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
12427-
__setModuleDefault(result, mod);
12428-
return result;
12429-
};
12432+
var __importStar = (this && this.__importStar) || (function () {
12433+
var ownKeys = function(o) {
12434+
ownKeys = Object.getOwnPropertyNames || function (o) {
12435+
var ar = [];
12436+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
12437+
return ar;
12438+
};
12439+
return ownKeys(o);
12440+
};
12441+
return function (mod) {
12442+
if (mod && mod.__esModule) return mod;
12443+
var result = {};
12444+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
12445+
__setModuleDefault(result, mod);
12446+
return result;
12447+
};
12448+
})();
1243012449
var __importDefault = (this && this.__importDefault) || function (mod) {
1243112450
return (mod && mod.__esModule) ? mod : { "default": mod };
1243212451
};
@@ -12670,12 +12689,9 @@ class GithubUtils {
1267012689
issueBody += `**Mobile-Expensify Changes:** https://github.com/${CONST_1.default.GITHUB_OWNER}/${CONST_1.default.MOBILE_EXPENSIFY_REPO}/compare/production...staging\r\n`;
1267112690
}
1267212691
issueBody += '\r\n';
12673-
// Warn deployers about potential bugs with the new process
12674-
issueBody +=
12675-
'> 💡 **Deployer FYI:** This checklist was generated using a new process. PR list from original method and detail logging can be found in the most recent [deploy workflow](https://github.com/Expensify/App/actions/workflows/deploy.yml) labeled `staging`, in the `createChecklist` action. Please tag @Julesssss with any issues.\r\n\r\n';
1267612692
// PR list
1267712693
if (sortedPRList.length > 0) {
12678-
issueBody += '\r\n**This release contains changes from the following pull requests:**\r\n';
12694+
issueBody += '**This release contains changes from the following pull requests:**\r\n';
1267912695
sortedPRList.forEach((URL) => {
1268012696
issueBody += verifiedOrNoQAPRs.includes(URL) ? '- [x]' : '- [ ]';
1268112697
issueBody += ` ${URL}\r\n`;
@@ -13019,11 +13035,10 @@ exports["default"] = arrayDifference;
1301913035
"use strict";
1302013036

1302113037
Object.defineProperty(exports, "__esModule", ({ value: true }));
13022-
exports.isEmptyObject = void 0;
13038+
exports.isEmptyObject = isEmptyObject;
1302313039
function isEmptyObject(obj) {
1302413040
return Object.keys(obj ?? {}).length === 0;
1302513041
}
13026-
exports.isEmptyObject = isEmptyObject;
1302713042

1302813043

1302913044
/***/ }),
@@ -13034,7 +13049,8 @@ exports.isEmptyObject = isEmptyObject;
1303413049
"use strict";
1303513050

1303613051
Object.defineProperty(exports, "__esModule", ({ value: true }));
13037-
exports.promiseDoWhile = exports.promiseWhile = void 0;
13052+
exports.promiseWhile = promiseWhile;
13053+
exports.promiseDoWhile = promiseDoWhile;
1303813054
/**
1303913055
* Simulates a while loop where the condition is determined by the result of a Promise.
1304013056
*/
@@ -13061,7 +13077,6 @@ function promiseWhile(condition, action) {
1306113077
loop();
1306213078
});
1306313079
}
13064-
exports.promiseWhile = promiseWhile;
1306513080
/**
1306613081
* Simulates a do-while loop where the condition is determined by the result of a Promise.
1306713082
*/
@@ -13078,7 +13093,6 @@ function promiseDoWhile(condition, action) {
1307813093
.catch(reject);
1307913094
});
1308013095
}
13081-
exports.promiseDoWhile = promiseDoWhile;
1308213096

1308313097

1308413098
/***/ }),

0 commit comments

Comments
 (0)