-
Notifications
You must be signed in to change notification settings - Fork 80
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Upgrading cuz I think it's a good idea to be on a more recent version. idk what the consequences will be Theres also next 15.something but that came out really recently and next-auth doesn't list it as a compatible version octokit types changed which is why webhookToDyanamo looks different. Functionality should be the same, mostly just type changes + casting, and we have tests after #5869 Cousin to #5862 but does both slightly less and slightly more
- Loading branch information
Showing
9 changed files
with
1,266 additions
and
1,365 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,8 +26,8 @@ | |
"@mui/material": "^5.14.1", | ||
"@mui/x-data-grid": "^5.9.0", | ||
"@mui/x-date-pickers": "^5.0.0-alpha.1", | ||
"@octokit/webhooks": "^9.26.3", | ||
"@octokit/webhooks-types": "^6.5.0", | ||
"@octokit/webhooks": "^13.3.0", | ||
"@octokit/webhooks-types": "^7.6.1", | ||
"@opensearch-project/opensearch": "^2.3.1", | ||
"@rockset/client": "^0.8.9", | ||
"@types/minimist": "^1.2.2", | ||
|
@@ -42,12 +42,12 @@ | |
"lodash": "^4.17.21", | ||
"minimatch": "^9.0.3", | ||
"minimist": "^1.2.6", | ||
"next": "12.1.5", | ||
"next": "14.2.16", | ||
"next-auth": "^4.24.5", | ||
"octokit": "^1.7.1", | ||
"probot": "^12.3.3", | ||
"react": "18.0.0", | ||
"react-dom": "18.0.0", | ||
"react": "^18.3.1", | ||
"react-dom": "^18.3.1", | ||
"react-ga4": "^2.1.0", | ||
"react-icons": "^4.3.1", | ||
"react-linkify-it": "1.0.7", | ||
|
@@ -65,7 +65,7 @@ | |
"devDependencies": { | ||
"@types/argparse": "^2.0.10", | ||
"@types/echarts": "^4.9.14", | ||
"@types/jest": "^27.4.1", | ||
"@types/jest": "^29.5.14", | ||
"@types/jsdom": "^16.2.14", | ||
"@types/lodash": "^4.14.182", | ||
"@types/node": "^17.0.40", | ||
|
@@ -78,11 +78,12 @@ | |
"dotenv": "^16.0.0", | ||
"eslint": "8.13.0", | ||
"eslint-config-next": "12.1.5", | ||
"jest": "^27.5.0", | ||
"jest": "^29.7.0", | ||
"monaco-editor": "^0.33.0", | ||
"nock": "^13.2.6", | ||
"prettier": "2.6.2", | ||
"prettier-plugin-organize-imports": "^3.2.4", | ||
"ts-jest": "^29.2.5", | ||
"typescript": "4.6.3" | ||
}, | ||
"packageManager": "[email protected]+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
// Taken from https://stackoverflow.com/a/77157708 to get around errors like | ||
// `TypeError: Cannot redefine property: searchSimilarFailures` when using | ||
// jest.spyOn when upgrading to node 14.2.16. | ||
// The following Object.defineProperty wrapper will ensure that all esModule exports | ||
// are configurable and can be mocked by Jest. | ||
const objectDefineProperty = Object.defineProperty; | ||
Object.defineProperty = function <T>( | ||
obj: T, | ||
propertyName: PropertyKey, | ||
attributes: PropertyDescriptor & ThisType<any> | ||
): T { | ||
if ((obj as { __esModule?: true })["__esModule"]) { | ||
attributes = { ...attributes, configurable: true }; | ||
} | ||
return objectDefineProperty(obj, propertyName, attributes); | ||
}; | ||
|
||
export {}; |
Oops, something went wrong.