Skip to content

Commit

Permalink
chore: upgrade risk dependence
Browse files Browse the repository at this point in the history
  • Loading branch information
tea-artist committed Nov 14, 2024
1 parent d8ea5b0 commit 0310e25
Show file tree
Hide file tree
Showing 13 changed files with 21,102 additions and 16,678 deletions.
3 changes: 2 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,5 +34,6 @@
"pattern": "./packages/*/"
}
],
"vitest.maximumConfigs": 10
"vitest.maximumConfigs": 10,
"makefile.configureOnOpen": false
}
18 changes: 9 additions & 9 deletions apps/nestjs-backend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@
"@types/pause": "0.1.3",
"@types/sharedb": "3.3.10",
"@types/ws": "8.5.10",
"@vitest/coverage-v8": "1.4.0",
"@vitest/coverage-v8": "2.1.5",
"copy-webpack-plugin": "12.0.2",
"cross-env": "7.0.3",
"dotenv-flow": "4.1.0",
Expand All @@ -103,9 +103,9 @@
"ts-node": "10.9.2",
"typescript": "5.4.3",
"unplugin-swc": "1.4.4",
"vite-tsconfig-paths": "4.3.2",
"vitest": "1.6.0",
"vitest-mock-extended": "1.3.1",
"vite-tsconfig-paths": "5.1.2",
"vitest": "2.1.5",
"vitest-mock-extended": "2.0.2",
"webpack": "5.91.0"
},
"dependencies": {
Expand Down Expand Up @@ -145,7 +145,7 @@
"@teamwork/websocket-json-stream": "2.0.0",
"@types/papaparse": "5.3.14",
"ajv": "8.12.0",
"axios": "1.6.8",
"axios": "1.7.7",
"bcrypt": "5.1.1",
"bullmq": "5.21.2",
"class-transformer": "0.5.1",
Expand All @@ -156,12 +156,12 @@
"date-fns-tz": "2.0.1",
"dayjs": "1.11.10",
"esbuild": "0.23.0",
"express": "4.19.1",
"express": "4.21.1",
"express-session": "1.18.0",
"fs-extra": "11.2.0",
"handlebars": "4.7.8",
"helmet": "7.1.0",
"http-proxy-middleware": "3.0.2",
"http-proxy-middleware": "3.0.3",
"ioredis": "5.4.1",
"is-port-reachable": "3.1.0",
"joi": "17.12.2",
Expand Down Expand Up @@ -199,8 +199,8 @@
"sharp": "0.33.3",
"transliteration": "2.3.5",
"ts-pattern": "5.0.8",
"ws": "8.16.0",
"xlsx": "https://cdn.sheetjs.com/xlsx-0.20.1/xlsx-0.20.1.tgz",
"ws": "8.18.0",
"xlsx": "https://cdn.sheetjs.com/xlsx-0.20.3/xlsx-0.20.3.tgz",
"zod": "3.22.4",
"zod-validation-error": "3.0.3"
}
Expand Down
12 changes: 8 additions & 4 deletions apps/nestjs-backend/src/tracing.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,16 @@ const otelSDK = new NodeSDK({

export default otelSDK;

process.on('SIGTERM', () => {
const shutdownHandler = () => {
otelSDK
.shutdown()
.then(
() => console.log('SDK shut down successfully'),
(err) => console.log('Error shutting down SDK', err)
() => console.log('OTEL shut down successfully'),
(err) => console.log('Error shutting down OTEL', err)
)
.finally(() => process.exit(0));
});
};

// Handle both SIGTERM and SIGINT
process.on('SIGTERM', shutdownHandler);
process.on('SIGINT', shutdownHandler);
4 changes: 2 additions & 2 deletions apps/nestjs-backend/test/computed-user-field.e2e-spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ describe('Computed user field (e2e)', () => {
title: userName,
});

expect(records.data.records[0].fields[formulaField.id]).toMatchObject(userName);
expect(records.data.records[0].fields[formulaField.id]).toEqual(userName);

expect(records.data.records[1].fields[lastModifiedByField.id]).toBeUndefined();

Expand All @@ -159,7 +159,7 @@ describe('Computed user field (e2e)', () => {
title: userName,
});

expect(updatedRecord.data.fields[formulaField.id]).toMatchObject(userName);
expect(updatedRecord.data.fields[formulaField.id]).toEqual(userName);
});

it('should update formula result depends on a last modified time field', async () => {
Expand Down
4 changes: 2 additions & 2 deletions apps/nestjs-backend/test/undo-redo.e2e-spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1034,12 +1034,12 @@ describe('Undo Redo (e2e)', () => {
await undo(table.id);

const viewsAfterUndo = (await getViewList(table.id)).data;
expect(viewsAfterUndo[0].id).toMatchObject(view.id);
expect(viewsAfterUndo[0].id).equal(view.id);

await redo(table.id);

const viewsAfterRedo = (await getViewList(table.id)).data;
expect(viewsAfterRedo[1].id).toMatchObject(view.id);
expect(viewsAfterRedo[1].id).equal(view.id);
});

describe('modify field constraint', () => {
Expand Down
14 changes: 7 additions & 7 deletions apps/nextjs-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
"@types/react-test-renderer": "18.0.7",
"@types/sharedb": "3.3.10",
"@vitejs/plugin-react-swc": "3.6.0",
"@vitest/coverage-v8": "1.4.0",
"@vitest/coverage-v8": "2.1.5",
"autoprefixer": "10.4.19",
"cross-env": "7.0.3",
"dotenv-flow": "4.1.0",
Expand All @@ -74,7 +74,7 @@
"eslint": "8.57.0",
"eslint-config-next": "14.2.14",
"get-tsconfig": "4.7.3",
"happy-dom": "14.3.6",
"happy-dom": "15.11.6",
"npm-run-all2": "6.1.2",
"postcss": "8.4.38",
"postcss-flexbugs-fixes": "5.0.2",
Expand All @@ -87,8 +87,8 @@
"ts-node": "10.9.2",
"typescript": "5.4.3",
"vite-plugin-svgr": "4.2.0",
"vite-tsconfig-paths": "4.3.2",
"vitest": "1.6.0"
"vite-tsconfig-paths": "5.1.2",
"vitest": "2.1.5"
},
"dependencies": {
"@antv/g6": "4.8.24",
Expand Down Expand Up @@ -124,14 +124,14 @@
"@teable/sdk": "workspace:^",
"@teable/ui-lib": "workspace:^",
"allotment": "1.20.0",
"axios": "1.6.8",
"axios": "1.7.7",
"buffer": "6.0.3",
"class-variance-authority": "0.7.0",
"dayjs": "1.11.10",
"echarts": "5.5.0",
"emoji-mart": "5.5.2",
"eventsource-parser": "1.1.2",
"express": "4.19.1",
"express": "4.21.1",
"filesize": "10.1.1",
"fuse.js": "7.0.0",
"i18next": "23.10.1",
Expand Down Expand Up @@ -165,7 +165,7 @@
"react-responsive-carousel": "3.2.23",
"react-syntax-highlighter": "15.5.0",
"react-textarea-autosize": "8.5.3",
"react-use": "17.5.0",
"react-use": "17.5.1",
"react-virtuoso": "4.7.10",
"recharts": "2.12.3",
"reconnecting-websocket": "4.4.0",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -78,5 +78,5 @@
"pnpm": ">=8.15.0",
"npm": "please-use-pnpm"
},
"packageManager": "pnpm@8.15.5"
"packageManager": "pnpm@9.13.0"
}
8 changes: 4 additions & 4 deletions packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
"@types/color": "3.0.6",
"@types/papaparse": "5.3.14",
"antlr4ts": "0.5.0-alpha.4",
"axios": "1.6.8",
"axios": "1.7.7",
"class-transformer": "0.5.1",
"color": "4.2.3",
"dayjs": "1.11.10",
Expand All @@ -58,7 +58,7 @@
"@teable/eslint-config-bases": "workspace:^",
"@types/lodash": "4.17.0",
"@types/node": "20.9.0",
"@vitest/coverage-v8": "1.4.0",
"@vitest/coverage-v8": "2.1.5",
"antlr4ts-cli": "0.5.0-alpha.4",
"cross-env": "7.0.3",
"es-check": "7.1.1",
Expand All @@ -68,7 +68,7 @@
"rimraf": "5.0.5",
"size-limit": "11.1.2",
"typescript": "5.4.3",
"vite-tsconfig-paths": "4.3.2",
"vitest": "1.6.0"
"vite-tsconfig-paths": "5.1.2",
"vitest": "2.1.5"
}
}
2 changes: 1 addition & 1 deletion packages/icons/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
"@types/fs-extra": "11.0.4",
"@types/node": "20.9.0",
"@types/react": "18.2.69",
"axios": "1.6.8",
"axios": "1.7.7",
"chalk": "5.3.0",
"dotenv": "16.4.5",
"eslint": "8.57.0",
Expand Down
8 changes: 4 additions & 4 deletions packages/openapi/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"@asteasolutions/zod-to-openapi": "6.4.0",
"@teable/core": "workspace:^",
"@types/node": "20.9.0",
"axios": "1.6.8",
"axios": "1.7.7",
"form-data": "4.0.0",
"httpsnippet-lite": "3.0.5",
"openapi-sampler": "1.4.0",
Expand All @@ -40,11 +40,11 @@
},
"devDependencies": {
"@teable/eslint-config-bases": "workspace:^",
"@vitest/coverage-v8": "1.4.0",
"@vitest/coverage-v8": "2.1.5",
"eslint": "8.57.0",
"rimraf": "5.0.5",
"typescript": "5.4.3",
"vite-tsconfig-paths": "4.3.2",
"vitest": "1.6.0"
"vite-tsconfig-paths": "5.1.2",
"vitest": "2.1.5"
}
}
13 changes: 7 additions & 6 deletions packages/sdk/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@
"@udecode/plate-slash-command": "37.0.0",
"@udecode/plate-trailing-block": "37.0.0",
"antlr4ts": "0.5.0-alpha.4",
"axios": "1.6.8",
"axios": "1.7.7",
"class-transformer": "0.5.1",
"class-variance-authority": "0.7.0",
"date-fns": "2.30.0",
Expand All @@ -109,14 +109,14 @@
"react-hammerjs": "1.0.1",
"react-hotkeys-hook": "4.5.0",
"react-textarea-autosize": "8.5.3",
"react-use": "17.5.0",
"react-use": "17.5.1",
"reconnecting-websocket": "4.4.0",
"scroller": "0.0.3",
"sharedb": "4.1.2",
"slate": "0.103.0",
"slate-history": "0.109.0",
"slate-hyperscript": "0.100.0",
"slate-react": "0.109.0",
"slate-react": "0.111.0",
"ts-key-enum": "2.0.12",
"ts-keycode-enum": "1.0.6",
"ts-mixer": "6.0.4",
Expand All @@ -138,10 +138,11 @@
"@types/scroller": "0.1.5",
"@types/sharedb": "3.3.10",
"@vitejs/plugin-react-swc": "3.6.0",
"@vitest/coverage-v8": "1.4.0",
"@vitest/coverage-v8": "2.1.5",
"cross-env": "7.0.3",
"eslint": "8.57.0",
"get-tsconfig": "4.7.3",
"happy-dom": "15.11.6",
"microbundle": "0.15.1",
"npm-run-all2": "6.1.2",
"prettier": "3.2.5",
Expand All @@ -151,7 +152,7 @@
"tailwindcss": "3.4.1",
"typescript": "5.4.3",
"vite-plugin-svgr": "4.2.0",
"vite-tsconfig-paths": "4.3.2",
"vitest": "1.6.0"
"vite-tsconfig-paths": "5.1.2",
"vitest": "2.1.5"
}
}
6 changes: 3 additions & 3 deletions plugins/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,17 +47,17 @@
"react-dom": "18.3.1",
"react-hook-form": "7.51.1",
"react-i18next": "14.1.0",
"react-use": "17.5.0",
"react-use": "17.5.1",
"recharts": "2.12.3",
"zod": "3.22.4",
"zod-i18n-map": "2.27.0"
},
"devDependencies": {
"@types/node": "20.9.0",
"@types/lodash": "4.17.0",
"@types/node": "20.9.0",
"@types/react": "18.2.69",
"@types/react-dom": "18.2.22",
"@univerjs/webpack-plugin": "0.5.0",
"@univerjs/webpack-plugin": "0.5.1",
"eslint": "8.57.0",
"eslint-config-next": "14.2.14",
"postcss": "8.4.38",
Expand Down
Loading

0 comments on commit 0310e25

Please sign in to comment.