Skip to content

Commit 76264b2

Browse files
fix: update dependency google-spreadsheet to v5 (#512)
* fix: update dependency google-spreadsheet to v5 * make necessary code changes to upgrade to spreadsheet v4 and then v5
1 parent 05713d1 commit 76264b2

File tree

11 files changed

+221
-195
lines changed

11 files changed

+221
-195
lines changed

jest.config.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ module.exports = {
88
clearMocks: true,
99
moduleNameMapper: {
1010
'^@utils/log$': '<rootDir>/src/utils/__mocks__/logMock.ts',
11+
'^google-spreadsheet$': '<rootDir>/src/__mocks__/google-spreadsheet.ts',
12+
'^google-auth-library$': '<rootDir>/src/__mocks__/google-auth-library.ts',
1113
// TSConfig Paths need to be last
1214
...pathsToModuleNameMapper(compilerOptions.paths, { prefix: '<rootDir>/' }),
1315
},

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,8 @@
5252
"dependencies": {
5353
"@slack/bolt": "4.6.0",
5454
"dotenv": "17.2.3",
55-
"google-spreadsheet": "3.3.0",
55+
"google-auth-library": "^10.5.0",
56+
"google-spreadsheet": "5.0.2",
5657
"lock": "1.1.0",
5758
"node-cron": "4.2.1",
5859
"tsup": "8.5.1"

0 commit comments

Comments
 (0)