Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
5d978e6
Bump TS to 5.9.2
fabioh8010 Aug 5, 2025
f9db206
Update GH Actions
fabioh8010 Aug 8, 2025
c7857a4
Fix tests/ui/GroupChatNameTests.tsx
fabioh8010 Aug 8, 2025
08b5c7c
Fix src/pages/workspace/reportFields/ReportFieldsListValuesPage.tsx
fabioh8010 Aug 8, 2025
94c6623
Fix src/pages/settings/Profile/ProfileAvatar.tsx
fabioh8010 Aug 8, 2025
ed31d1e
Fix src/pages/RestrictedAction/Workspace/WorkspaceAdminRestrictedActi…
fabioh8010 Aug 8, 2025
93a8942
Fix src/pages/ReimbursementAccount/USD/BankInfo/subSteps/Plaid.tsx
fabioh8010 Aug 8, 2025
be9d13f
Fix src/pages/media/AttachmentModalScreen/routes/WorkspaceAvatarModal…
fabioh8010 Aug 8, 2025
3b9f03d
Fix src/pages/EnablePayments/AddBankAccount/substeps/PlaidStep.tsx
fabioh8010 Aug 8, 2025
5ce5968
Fix src/libs/actions/Welcome/index.ts
fabioh8010 Aug 8, 2025
15090d2
Fix src/hooks/useIndicatorStatus.ts
fabioh8010 Aug 8, 2025
75f4ec4
Fix src/hooks/useAccountTabIndicatorStatus.ts
fabioh8010 Aug 8, 2025
bf32dd6
Fix scripts/utils/TSCompilerUtils.ts
fabioh8010 Aug 8, 2025
c3ec916
Fix tests/unit/ValidationUtilsTest.ts
fabioh8010 Aug 8, 2025
37b133d
Merge branch 'main' into feature/bump-ts-to-5.9.2
fabioh8010 Aug 13, 2025
4568039
Fix src/Expensify.tsx
fabioh8010 Aug 13, 2025
1a3409a
Fix src/hooks/usePaymentOptions.ts
fabioh8010 Aug 13, 2025
cece121
Fix prettier
fabioh8010 Aug 13, 2025
677d846
Fix src/hooks/useSelectedTransactionsActions.ts
fabioh8010 Aug 13, 2025
de2b86b
Fix src/libs/SearchAutocompleteUtils.ts
fabioh8010 Aug 13, 2025
f1525cd
Fix src/pages/NewChatSelectorPage.tsx
fabioh8010 Aug 13, 2025
2d64ef3
Fix src/pages/home/report/useReportUnreadMessageScrollTracking.ts
fabioh8010 Aug 13, 2025
ccbe1e8
Fix src/pages/iou/request/IOURequestStartPage.tsx
fabioh8010 Aug 13, 2025
898f852
Fix src/pages/ReimbursementAccount/NonUSD/BeneficialOwnerInfo/Benefic…
fabioh8010 Aug 13, 2025
e1dbf45
Fix src/pages/Search/SearchAdvancedFiltersPage/SearchFiltersTagPage.tsx
fabioh8010 Aug 13, 2025
7bcd200
Fix src/pages/workspace/upgrade/WorkspaceUpgradePage.tsx
fabioh8010 Aug 13, 2025
e94c707
Fix TS error
fabioh8010 Aug 14, 2025
432a4e9
Merge remote-tracking branch 'origin/main' into feature/bump-ts-to-5.9.2
fabioh8010 Aug 14, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
80 changes: 54 additions & 26 deletions .github/actions/javascript/authorChecklist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -15252,13 +15252,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
}) : function(o, v) {
o["default"] = v;
});
var __importStar = (this && this.__importStar) || function (mod) {
if (mod && mod.__esModule) return mod;
var result = {};
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
__setModuleDefault(result, mod);
return result;
};
var __importStar = (this && this.__importStar) || (function () {
var ownKeys = function(o) {
ownKeys = Object.getOwnPropertyNames || function (o) {
var ar = [];
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
return ar;
};
return ownKeys(o);
};
return function (mod) {
if (mod && mod.__esModule) return mod;
var result = {};
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
__setModuleDefault(result, mod);
return result;
};
})();
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Expand Down Expand Up @@ -15428,18 +15438,28 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
}) : function(o, v) {
o["default"] = v;
});
var __importStar = (this && this.__importStar) || function (mod) {
if (mod && mod.__esModule) return mod;
var result = {};
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
__setModuleDefault(result, mod);
return result;
};
var __importStar = (this && this.__importStar) || (function () {
var ownKeys = function(o) {
ownKeys = Object.getOwnPropertyNames || function (o) {
var ar = [];
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
return ar;
};
return ownKeys(o);
};
return function (mod) {
if (mod && mod.__esModule) return mod;
var result = {};
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
__setModuleDefault(result, mod);
return result;
};
})();
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", ({ value: true }));
exports.detectReactComponent = void 0;
exports.detectReactComponent = detectReactComponent;
const github = __importStar(__nccwpck_require__(5438));
const parser_1 = __nccwpck_require__(5026);
const traverse_1 = __importDefault(__nccwpck_require__(1380));
Expand Down Expand Up @@ -15498,7 +15518,6 @@ function detectReactComponent(code, filename) {
});
return isReactComponent;
}
exports.detectReactComponent = detectReactComponent;
function nodeBase64ToUtf8(data) {
return Buffer.from(data, 'base64').toString('utf-8');
}
Expand Down Expand Up @@ -15629,13 +15648,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
}) : function(o, v) {
o["default"] = v;
});
var __importStar = (this && this.__importStar) || function (mod) {
if (mod && mod.__esModule) return mod;
var result = {};
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
__setModuleDefault(result, mod);
return result;
};
var __importStar = (this && this.__importStar) || (function () {
var ownKeys = function(o) {
ownKeys = Object.getOwnPropertyNames || function (o) {
var ar = [];
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
return ar;
};
return ownKeys(o);
};
return function (mod) {
if (mod && mod.__esModule) return mod;
var result = {};
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
__setModuleDefault(result, mod);
return result;
};
})();
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Expand Down Expand Up @@ -16228,11 +16257,10 @@ exports["default"] = arrayDifference;
"use strict";

Object.defineProperty(exports, "__esModule", ({ value: true }));
exports.isEmptyObject = void 0;
exports.isEmptyObject = isEmptyObject;
function isEmptyObject(obj) {
return Object.keys(obj ?? {}).length === 0;
}
exports.isEmptyObject = isEmptyObject;


/***/ }),
Expand All @@ -16243,6 +16271,7 @@ exports.isEmptyObject = isEmptyObject;
"use strict";

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


/***/ }),
Expand Down
63 changes: 40 additions & 23 deletions .github/actions/javascript/awaitStagingDeploys/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -12270,15 +12270,27 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
}) : function(o, v) {
o["default"] = v;
});
var __importStar = (this && this.__importStar) || function (mod) {
if (mod && mod.__esModule) return mod;
var result = {};
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
__setModuleDefault(result, mod);
return result;
};
var __importStar = (this && this.__importStar) || (function () {
var ownKeys = function(o) {
ownKeys = Object.getOwnPropertyNames || function (o) {
var ar = [];
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
return ar;
};
return ownKeys(o);
};
return function (mod) {
if (mod && mod.__esModule) return mod;
var result = {};
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
__setModuleDefault(result, mod);
return result;
};
})();
Object.defineProperty(exports, "__esModule", ({ value: true }));
exports.convertToNumber = exports.getStringInput = exports.getJSONInput = void 0;
exports.getJSONInput = getJSONInput;
exports.getStringInput = getStringInput;
exports.convertToNumber = convertToNumber;
const core = __importStar(__nccwpck_require__(2186));
/**
* Safely parse a JSON input to a GitHub Action.
Expand All @@ -12295,7 +12307,6 @@ function getJSONInput(name, options, defaultValue) {
}
return defaultValue;
}
exports.getJSONInput = getJSONInput;
/**
* Safely access a string input to a GitHub Action, or fall back on a default if the string is empty.
*/
Expand All @@ -12306,7 +12317,6 @@ function getStringInput(name, options, defaultValue) {
}
return input;
}
exports.getStringInput = getStringInput;
/**
* Converts a value to a number, returning 0 for non-numeric values.
*/
Expand All @@ -12323,7 +12333,6 @@ function convertToNumber(value) {
return 0;
}
}
exports.convertToNumber = convertToNumber;


/***/ }),
Expand Down Expand Up @@ -12420,13 +12429,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
}) : function(o, v) {
o["default"] = v;
});
var __importStar = (this && this.__importStar) || function (mod) {
if (mod && mod.__esModule) return mod;
var result = {};
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
__setModuleDefault(result, mod);
return result;
};
var __importStar = (this && this.__importStar) || (function () {
var ownKeys = function(o) {
ownKeys = Object.getOwnPropertyNames || function (o) {
var ar = [];
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
return ar;
};
return ownKeys(o);
};
return function (mod) {
if (mod && mod.__esModule) return mod;
var result = {};
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
__setModuleDefault(result, mod);
return result;
};
})();
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Expand Down Expand Up @@ -13019,11 +13038,10 @@ exports["default"] = arrayDifference;
"use strict";

Object.defineProperty(exports, "__esModule", ({ value: true }));
exports.isEmptyObject = void 0;
exports.isEmptyObject = isEmptyObject;
function isEmptyObject(obj) {
return Object.keys(obj ?? {}).length === 0;
}
exports.isEmptyObject = isEmptyObject;


/***/ }),
Expand All @@ -13034,7 +13052,8 @@ exports.isEmptyObject = isEmptyObject;
"use strict";

Object.defineProperty(exports, "__esModule", ({ value: true }));
exports.promiseDoWhile = exports.promiseWhile = void 0;
exports.promiseWhile = promiseWhile;
exports.promiseDoWhile = promiseDoWhile;
/**
* Simulates a while loop where the condition is determined by the result of a Promise.
*/
Expand All @@ -13061,7 +13080,6 @@ function promiseWhile(condition, action) {
loop();
});
}
exports.promiseWhile = promiseWhile;
/**
* Simulates a do-while loop where the condition is determined by the result of a Promise.
*/
Expand All @@ -13078,7 +13096,6 @@ function promiseDoWhile(condition, action) {
.catch(reject);
});
}
exports.promiseDoWhile = promiseDoWhile;


/***/ }),
Expand Down
59 changes: 39 additions & 20 deletions .github/actions/javascript/bumpVersion/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3392,13 +3392,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
}) : function(o, v) {
o["default"] = v;
});
var __importStar = (this && this.__importStar) || function (mod) {
if (mod && mod.__esModule) return mod;
var result = {};
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
__setModuleDefault(result, mod);
return result;
};
var __importStar = (this && this.__importStar) || (function () {
var ownKeys = function(o) {
ownKeys = Object.getOwnPropertyNames || function (o) {
var ar = [];
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
return ar;
};
return ownKeys(o);
};
return function (mod) {
if (mod && mod.__esModule) return mod;
var result = {};
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
__setModuleDefault(result, mod);
return result;
};
})();
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Expand Down Expand Up @@ -3437,7 +3447,9 @@ exports["default"] = run;
"use strict";

Object.defineProperty(exports, "__esModule", ({ value: true }));
exports.getPreviousVersion = exports.incrementPatch = exports.incrementMinor = exports.SEMANTIC_VERSION_LEVELS = exports.MAX_INCREMENTS = exports.incrementVersion = exports.getVersionStringFromNumber = exports.getVersionNumberFromString = exports.isValidSemverLevel = void 0;
exports.incrementPatch = exports.incrementMinor = exports.SEMANTIC_VERSION_LEVELS = exports.MAX_INCREMENTS = exports.incrementVersion = exports.getVersionStringFromNumber = exports.getVersionNumberFromString = void 0;
exports.isValidSemverLevel = isValidSemverLevel;
exports.getPreviousVersion = getPreviousVersion;
const SEMANTIC_VERSION_LEVELS = {
MAJOR: 'MAJOR',
MINOR: 'MINOR',
Expand All @@ -3450,7 +3462,6 @@ exports.MAX_INCREMENTS = MAX_INCREMENTS;
function isValidSemverLevel(str) {
return Object.keys(SEMANTIC_VERSION_LEVELS).includes(str);
}
exports.isValidSemverLevel = isValidSemverLevel;
/**
* Transforms a versions string into a number
*/
Expand Down Expand Up @@ -3531,7 +3542,6 @@ function getPreviousVersion(currentVersion, level) {
}
return getVersionStringFromNumber(major, minor, patch, build - 1);
}
exports.getPreviousVersion = getPreviousVersion;


/***/ }),
Expand All @@ -3557,18 +3567,29 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
}) : function(o, v) {
o["default"] = v;
});
var __importStar = (this && this.__importStar) || function (mod) {
if (mod && mod.__esModule) return mod;
var result = {};
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
__setModuleDefault(result, mod);
return result;
};
var __importStar = (this && this.__importStar) || (function () {
var ownKeys = function(o) {
ownKeys = Object.getOwnPropertyNames || function (o) {
var ar = [];
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
return ar;
};
return ownKeys(o);
};
return function (mod) {
if (mod && mod.__esModule) return mod;
var result = {};
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
__setModuleDefault(result, mod);
return result;
};
})();
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", ({ value: true }));
exports.generateAndroidVersionCode = exports.updateAndroid = void 0;
exports.updateAndroid = updateAndroid;
exports.generateAndroidVersionCode = generateAndroidVersionCode;
const child_process_1 = __nccwpck_require__(2081);
const fs_1 = __nccwpck_require__(7147);
const path_1 = __importDefault(__nccwpck_require__(1017));
Expand Down Expand Up @@ -3626,7 +3647,6 @@ function padToTwoDigits(value) {
function generateAndroidVersionCode(npmVersion, prefix) {
return ''.concat(prefix, padToTwoDigits((0, major_1.default)(npmVersion) ?? 0), padToTwoDigits((0, minor_1.default)(npmVersion) ?? 0), padToTwoDigits((0, patch_1.default)(npmVersion) ?? 0), padToTwoDigits(Number((0, prerelease_1.default)(npmVersion)) ?? 0));
}
exports.generateAndroidVersionCode = generateAndroidVersionCode;
/**
* Update the Android native versions in E/App and the Mobile-Expensify submodule.
*/
Expand Down Expand Up @@ -3665,7 +3685,6 @@ async function updateAndroid(version) {
throw new Error('Error updating Android');
}
}
exports.updateAndroid = updateAndroid;
/**
* Update the iOS native versions in E/App and the Mobile-Expensify submodule.
*/
Expand Down
Loading
Loading