Skip to content

Commit 8fd43a7

Browse files
authored
chore(deps): update dependencies (#425)
1 parent 7650bc5 commit 8fd43a7

File tree

30 files changed

+3401
-4206
lines changed

30 files changed

+3401
-4206
lines changed

package.json

+6-11
Original file line numberDiff line numberDiff line change
@@ -12,18 +12,13 @@
1212
},
1313
"devDependencies": {
1414
"@vitejs/plugin-react": "4.2.1",
15-
"@vitest/coverage-v8": "^1.3.1",
16-
"@vitest/ui": "1.3.1",
15+
"@vitest/coverage-v8": "^1.4.0",
16+
"@vitest/ui": "1.4.0",
1717
"prettier": "^3.2.5",
18-
"prettier-plugin-tailwindcss": "^0.5.11",
18+
"prettier-plugin-tailwindcss": "^0.5.13",
1919
"react-refresh": "^0.14.0",
20-
"typescript": "5.3.3",
21-
"vite-tsconfig-paths": "^4.3.1",
22-
"vitest": "1.3.1"
23-
},
24-
"pnpm": {
25-
"patchedDependencies": {
26-
27-
}
20+
"typescript": "5.4.4",
21+
"vite-tsconfig-paths": "^4.3.2",
22+
"vitest": "1.4.0"
2823
}
2924
}

packages/app-builder/package.json

+35-35
Original file line numberDiff line numberDiff line change
@@ -19,23 +19,23 @@
1919
"license": "ISC",
2020
"devDependencies": {
2121
"@marble/eslint-config": "workspace:*",
22-
"@remix-run/dev": "^2.7.2",
23-
"@segment/analytics-next": "^1.64.0",
24-
"@sentry/cli": "^2.28.6",
22+
"@remix-run/dev": "^2.8.1",
23+
"@segment/analytics-next": "^1.66.0",
24+
"@sentry/cli": "^2.31.0",
2525
"@types/autosuggest-highlight": "^3.2.3",
26-
"@types/qs": "^6.9.12",
27-
"@types/react": "18.2.60",
28-
"@types/react-dom": "18.2.19",
26+
"@types/qs": "^6.9.14",
27+
"@types/react": "18.2.75",
28+
"@types/react-dom": "18.2.24",
2929
"@types/swagger-ui-react": "^4.18.3",
30-
"eslint-plugin-tailwindcss": "^3.14.3",
30+
"eslint-plugin-tailwindcss": "^3.15.1",
3131
"jsdom": "24.0.0",
3232
"ora": "^8.0.1",
33-
"postcss": "^8.4.35",
34-
"tailwindcss": "3.4.1",
35-
"tsx": "^4.7.1"
33+
"postcss": "^8.4.38",
34+
"tailwindcss": "3.4.3",
35+
"tsx": "^4.7.2"
3636
},
3737
"dependencies": {
38-
"@ariakit/react": "^0.3.12",
38+
"@ariakit/react": "^0.4.5",
3939
"@conform-to/react": "^0.9.1",
4040
"@conform-to/zod": "^0.9.1",
4141
"@hookform/devtools": "^4.3.1",
@@ -55,47 +55,47 @@
5555
"@radix-ui/react-slot": "^1.0.2",
5656
"@radix-ui/react-switch": "^1.0.3",
5757
"@radix-ui/react-tooltip": "^1.0.7",
58-
"@remix-run/node": "^2.7.2",
59-
"@remix-run/react": "^2.7.2",
60-
"@remix-run/serve": "^2.7.2",
61-
"@remix-run/server-runtime": "^2.7.2",
58+
"@remix-run/node": "^2.8.1",
59+
"@remix-run/react": "^2.8.1",
60+
"@remix-run/serve": "^2.8.1",
61+
"@remix-run/server-runtime": "^2.8.1",
6262
"@segment/snippet": "^5.2.1",
63-
"@sentry/integrations": "^7.103.0",
64-
"@sentry/remix": "^7.103.0",
65-
"@tanstack/react-table": "^8.13.0",
66-
"@tanstack/react-virtual": "3.1.3",
63+
"@sentry/integrations": "^7.109.0",
64+
"@sentry/remix": "^7.109.0",
65+
"@tanstack/react-table": "^8.15.3",
66+
"@tanstack/react-virtual": "3.2.0",
6767
"autosuggest-highlight": "^3.3.4",
6868
"class-variance-authority": "^0.7.0",
6969
"clsx": "^2.1.0",
70-
"cronstrue": "^2.48.0",
70+
"cronstrue": "^2.49.0",
7171
"crypto-js": "^4.2.0",
72-
"date-fns": "^3.3.1",
73-
"firebase": "^10.8.0",
74-
"i18next": "^23.10.0",
75-
"i18next-browser-languagedetector": "^7.2.0",
72+
"date-fns": "^3.6.0",
73+
"firebase": "^10.10.0",
74+
"i18next": "^23.11.1",
75+
"i18next-browser-languagedetector": "^7.2.1",
7676
"i18next-fs-backend": "^2.3.1",
7777
"i18next-http-backend": "^2.5.0",
78-
"isbot": "^5.1.1",
78+
"isbot": "^5.1.4",
7979
"marble-api": "workspace:*",
8080
"match-sorter": "^6.3.4",
81-
"nanoid": "^5.0.6",
81+
"nanoid": "^5.0.7",
8282
"oazapfts": "^5.0.1",
83-
"qs": "^6.11.2",
83+
"qs": "^6.12.0",
8484
"react": "^18.2.0",
8585
"react-day-picker": "^8.10.0",
8686
"react-dom": "^18.2.0",
8787
"react-dropzone": "^14.2.3",
88-
"react-hook-form": "^7.50.1",
88+
"react-hook-form": "^7.51.2",
8989
"react-hot-toast": "^2.4.1",
90-
"react-i18next": "^14.0.5",
91-
"remeda": "^1.45.2",
92-
"remix": "^2.7.2",
90+
"react-i18next": "^14.1.0",
91+
"remeda": "^1.58.0",
92+
"remix": "^2.8.1",
9393
"remix-flat-routes": "^0.6.4",
94-
"remix-i18next": "^6.0.1",
95-
"remix-utils": "^7.5.0",
94+
"remix-i18next": "^6.1.0",
95+
"remix-utils": "^7.6.0",
9696
"short-uuid": "^4.2.2",
97-
"swagger-ui-react": "^5.11.8",
98-
"temporal-polyfill": "^0.2.2",
97+
"swagger-ui-react": "^5.15.0",
98+
"temporal-polyfill": "^0.2.4",
9999
"tiny-invariant": "^1.3.3",
100100
"typescript-utils": "workspace:*",
101101
"ui-design-system": "workspace:*",

packages/app-builder/src/components/Decisions/DecisionsList.tsx

+37-38
Original file line numberDiff line numberDiff line change
@@ -95,8 +95,40 @@ export function DecisionsList({
9595
const { t } = useTranslation(decisionsI18n);
9696
const language = useFormatLanguage();
9797

98-
const columns = useMemo(() => {
99-
const columns = [
98+
const columns = useMemo(
99+
() => [
100+
...(selectable
101+
? [
102+
columnHelper.display({
103+
id: 'select',
104+
header: ({ table }) => (
105+
<Checkbox
106+
checked={
107+
table.getIsAllPageRowsSelected()
108+
? true
109+
: table.getIsSomeRowsSelected()
110+
? 'indeterminate'
111+
: false
112+
}
113+
onClick={table.getToggleAllRowsSelectedHandler()}
114+
/>
115+
),
116+
cell: ({ row }) => (
117+
<Checkbox
118+
className="isolate"
119+
checked={row.getIsSelected()}
120+
onClick={(e) => {
121+
e.stopPropagation();
122+
row.getToggleSelectedHandler()(e);
123+
}}
124+
/>
125+
),
126+
size: 58,
127+
enableResizing: false,
128+
}),
129+
]
130+
: []),
131+
100132
columnHelper.accessor((row) => row.createdAt, {
101133
id: 'created_at',
102134
header: t('decisions:created_at'),
@@ -189,42 +221,9 @@ export function DecisionsList({
189221
<Outcome border="square" size="big" outcome={getValue()} />
190222
),
191223
}),
192-
];
193-
194-
if (selectable) {
195-
columns.unshift(
196-
columnHelper.display({
197-
id: 'select',
198-
header: ({ table }) => (
199-
<Checkbox
200-
checked={
201-
table.getIsAllPageRowsSelected()
202-
? true
203-
: table.getIsSomeRowsSelected()
204-
? 'indeterminate'
205-
: false
206-
}
207-
onClick={table.getToggleAllRowsSelectedHandler()}
208-
/>
209-
),
210-
cell: ({ row }) => (
211-
<Checkbox
212-
className="isolate"
213-
checked={row.getIsSelected()}
214-
onClick={(e) => {
215-
e.stopPropagation();
216-
row.getToggleSelectedHandler()(e);
217-
}}
218-
/>
219-
),
220-
size: 58,
221-
enableResizing: false,
222-
}),
223-
);
224-
}
225-
226-
return columns;
227-
}, [t, selectable, language]);
224+
],
225+
[t, selectable, language],
226+
);
228227

229228
const { table, getBodyProps, rows, getContainerProps } = useVirtualTable({
230229
data: decisions,

packages/app-builder/src/components/Decisions/TriggerObjectDetail.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ export const TriggerObjectDetail = ({
1717
const language = useFormatLanguage();
1818

1919
const parsedTriggerObject = useMemo(
20-
() => R.pipe(triggerObject, R.mapValues(parseUnknownData), R.toPairs()),
20+
() => R.pipe(triggerObject, R.mapValues(parseUnknownData), R.entries()),
2121
[triggerObject],
2222
);
2323

packages/app-builder/src/components/Scenario/AstBuilder/AstBuilderNode/Operand/OperandEditor/OperandEditorDiscoveryResults.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ export function OperandEditorDiscoveryResults({
6262

6363
return R.pipe(
6464
discoveryResultsConfig,
65-
R.toPairs.strict(),
65+
R.entries.strict(),
6666
R.map(([operandType, Getter]) => {
6767
return (
6868
<Getter
@@ -153,7 +153,7 @@ const FieldGroupGetter: GroupGetter = ({
153153
}
154154
}),
155155
R.mapValues((value) => R.sortBy(value, (o) => o.displayName)),
156-
R.toPairs(),
156+
R.entries(),
157157
);
158158
}, [options]);
159159

packages/app-builder/src/models/data-model.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ function adaptFieldDto(dataModelFieldsDto: {
8787
[key: string]: DataModelFieldDto;
8888
}): DataModelField[] {
8989
return R.pipe(
90-
R.toPairs(dataModelFieldsDto),
90+
R.entries(dataModelFieldsDto),
9191
R.map(([name, field]) => ({
9292
id: field.id || '', // temp hack until we have ids in all the datamodels
9393
name: name,
@@ -105,7 +105,7 @@ function adaptLinkToSingleDto(linksToSingleDto: {
105105
[key: string]: LinkToSingleDto;
106106
}): LinksToSingle[] {
107107
return R.pipe(
108-
R.toPairs(linksToSingleDto),
108+
R.entries(linksToSingleDto),
109109
R.map(([linkName, linkToSingleDto]) => ({
110110
linkName,
111111
linkedTableName: linkToSingleDto.linked_table_name,
@@ -117,7 +117,7 @@ function adaptLinkToSingleDto(linksToSingleDto: {
117117

118118
export function adaptDataModelDto(dataModelDto: DataModelDto): TableModel[] {
119119
return R.pipe(
120-
R.toPairs(dataModelDto.tables),
120+
R.entries(dataModelDto.tables),
121121
R.map(([tableName, tableDto]) => ({
122122
id: tableDto.id || '', // temp hack until we have ids in all the datamodels
123123
name: tableName,

packages/app-builder/src/models/editable-ast-node.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -599,7 +599,7 @@ export function stringifyAstNode(
599599
);
600600

601601
const namedChildrenArgs = R.pipe(
602-
R.toPairs(astNode.namedChildren),
602+
R.entries(astNode.namedChildren),
603603
R.map(([name, child]) => `${name}: ${stringifyAstNode(t, child, config)}`),
604604
R.join(', '),
605605
);

packages/app-builder/src/routes/_builder+/settings+/users.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ export async function loader({ request }: LoaderFunctionArgs) {
3434
value,
3535
R.groupBy((v) => v.role),
3636
R.mapValues((v) => v.length),
37-
R.toPairs(),
37+
R.entries(),
3838
),
3939
),
4040
);

packages/app-builder/src/routes/ressources+/cases+/edit-tags.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ export function EditCaseTags({
134134
setCaseTagIds(selectedValues);
135135
}}
136136
onOpenChange={(open) => {
137-
if (!open && !R.equals(defaultCaseTagIds, caseTagIds))
137+
if (!open && !R.isDeepEqual(defaultCaseTagIds, caseTagIds))
138138
form.ref.current?.requestSubmit();
139139
}}
140140
>

packages/app-builder/src/services/editor/FindAndReplaceNode.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ export function findAndReplaceNode(
2222
);
2323

2424
const namedChildren = R.pipe(
25-
R.toPairs(node.namedChildren),
25+
R.entries(node.namedChildren),
2626
R.map(([key, child]) => {
2727
const newChild = findAndReplaceNode(nodeIdToReplace, fn, child, node);
2828
return newChild === null ? null : ([key, newChild] as const);

packages/app-builder/src/services/editor/ast-editor.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ export function hasArgumentNameErrorsFromParent<VM extends ValidationViewModel>(
104104
): boolean {
105105
if (!viewModel.parent) return false;
106106
const namedChild = R.pipe(
107-
R.toPairs(viewModel.parent.namedChildren),
107+
R.entries(viewModel.parent.namedChildren),
108108
R.find(([_, child]) => child.nodeId == viewModel.nodeId),
109109
);
110110
if (!namedChild) return false;
@@ -118,7 +118,7 @@ export function findArgumentNameErrorsFromParent<
118118
>(viewModel: VM): EvaluationError[] {
119119
if (!viewModel.parent) return [];
120120
const namedChild = R.pipe(
121-
R.toPairs(viewModel.parent.namedChildren),
121+
R.entries(viewModel.parent.namedChildren),
122122
R.find(([_, child]) => child.nodeId == viewModel.nodeId),
123123
);
124124
if (!namedChild) return [];

packages/app-builder/src/services/validation/scenario-validation-error-messages.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ export function adaptEvaluationErrorViewModels(
9696

9797
const expectedErrorVMs = R.pipe(
9898
expectedErrors,
99-
R.toPairs.strict(),
99+
R.entries.strict(),
100100
R.map(([error, evaluationErrors]) => ({
101101
error,
102102
count: evaluationErrors.length,

packages/app-builder/src/tests/setup/i18next.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ export const i18nextTest = (await i18next.use(initReactI18next).init({
3939
...i18nConfig,
4040
lng: 'en',
4141
fallbackLng: 'en',
42-
debug: true,
42+
debug: false, // set to true to see more logs
4343
resources,
4444
// cf https://github.com/i18next/react-i18next/issues/1699
4545
// eslint-disable-next-line @typescript-eslint/no-explicit-any

packages/eslint-config/package.json

+6-6
Original file line numberDiff line numberDiff line change
@@ -7,18 +7,18 @@
77
"react.js"
88
],
99
"devDependencies": {
10-
"@typescript-eslint/eslint-plugin": "^7.1.0",
11-
"@typescript-eslint/parser": "^7.1.0",
10+
"@typescript-eslint/eslint-plugin": "^7.6.0",
11+
"@typescript-eslint/parser": "^7.6.0",
1212
"eslint": "~8.57.0",
1313
"eslint-config-prettier": "9.1.0",
1414
"eslint-import-resolver-typescript": "^3.6.1",
1515
"eslint-plugin-import": "^2.29.1",
16-
"eslint-plugin-jest": "^27.9.0",
17-
"eslint-plugin-jest-dom": "^5.1.0",
16+
"eslint-plugin-jest": "^28.2.0",
17+
"eslint-plugin-jest-dom": "^5.2.0",
1818
"eslint-plugin-jsx-a11y": "6.8.0",
19-
"eslint-plugin-react": "7.33.2",
19+
"eslint-plugin-react": "7.34.1",
2020
"eslint-plugin-react-hooks": "^4.6.0",
21-
"eslint-plugin-react-refresh": "^0.4.5",
21+
"eslint-plugin-react-refresh": "^0.4.6",
2222
"eslint-plugin-simple-import-sort": "^12.0.0",
2323
"eslint-plugin-storybook": "^0.8.0",
2424
"eslint-plugin-testing-library": "^6.2.0"

packages/marble-api/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@
1212
},
1313
"devDependencies": {
1414
"@marble/eslint-config": "workspace:*",
15-
"@types/node": "20.11.21",
15+
"@types/node": "20.12.7",
1616
"ora": "^8.0.1",
1717
"tailwind-preset": "^1.0.8",
18-
"tsx": "^4.7.1"
18+
"tsx": "^4.7.2"
1919
},
2020
"dependencies": {
2121
"@faker-js/faker": "^8.4.1",

packages/tailwind-preset/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
},
1111
"devDependencies": {
1212
"@marble/eslint-config": "workspace:*",
13-
"tailwindcss": "3.4.1",
14-
"tailwindcss-radix": "^2.8.0"
13+
"tailwindcss": "3.4.3",
14+
"tailwindcss-radix": "^3.0.3"
1515
},
1616
"license": "ISC"
1717
}

0 commit comments

Comments
 (0)