Skip to content

Commit

Permalink
maj deps
Browse files Browse the repository at this point in the history
  • Loading branch information
JabX committed Jan 22, 2025
1 parent e38727c commit ea4f0b9
Show file tree
Hide file tree
Showing 7 changed files with 30 additions and 30 deletions.
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,16 +40,16 @@
"@rollup/plugin-typescript": "12.1.2",
"css-tree": "3.1.0",
"lerna": "8.1.9",
"postcss": "8.4.49",
"postcss": "8.5.1",
"react": "18.3.1",
"react-docgen-typescript": "2.2.2",
"react-dom": "18.3.1",
"rollup": "4.30.0",
"rollup": "4.31.0",
"rollup-plugin-copy-glob": "0.4.1",
"rollup-plugin-postcss": "4.0.2",
"rollup-plugin-preserve-shebang": "1.0.1",
"tslib": "2.8.1",
"typescript": "5.7.2",
"vitest": "2.1.8"
"typescript": "5.7.3",
"vitest": "3.0.3"
}
}
4 changes: 2 additions & 2 deletions packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,6 @@
"mobx": "6.13.5",
"mobx-utils": "6.1.0",
"tslib": "2.8.1",
"uuid": "11.0.4"
"uuid": "11.0.5"
}
}
}
10 changes: 5 additions & 5 deletions packages/docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@
},
"devDependencies": {
"@focus4/tooling": "11.22.0",
"@storybook/addon-essentials": "8.4.7",
"@storybook/blocks": "8.4.7",
"@storybook/react-vite": "8.4.7",
"storybook": "8.4.7",
"@storybook/addon-essentials": "8.5.0",
"@storybook/blocks": "8.5.0",
"@storybook/react-vite": "8.5.0",
"storybook": "8.5.0",
"storybook-dark-mode": "4.0.2"
}
}
}
6 changes: 3 additions & 3 deletions packages/forms/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
},
"devDependencies": {
"@focus4/tooling": "11.22.0",
"@testing-library/react": "16.1.0",
"jsdom": "25.0.1"
"@testing-library/react": "16.2.0",
"jsdom": "26.0.0"
}
}
}
8 changes: 4 additions & 4 deletions packages/stores/src/entity/store/form.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,11 +68,11 @@ export function nodeToFormNode<E = any>(node: StoreListNode<E> | StoreNode<E>, p
);

(node as any).dispose = function dispose() {
if (isFormListNode(node)) {
if (isFormListNode<E>(node)) {
node.forEach(item => item.dispose());
node._dispose();
} else {
for (const entry in node) {
for (const entry in node as StoreNode<E>) {
if (entry === "sourceNode") {
continue;
}
Expand Down Expand Up @@ -189,7 +189,7 @@ export function nodeToFormNode<E = any>(node: StoreListNode<E> | StoreNode<E>, p
onSourceSplice();
onRemove();
};
} else if (isFormNode(node)) {
} else if (isFormNode<E>(node)) {
for (const entry in node) {
if (entry === "sourceNode") {
continue;
Expand Down Expand Up @@ -318,7 +318,7 @@ function addFormFieldProperties(field: BuildingFormEntityField, parentNode: Form
function setSourceNode(node: FormListNode | FormNode, sourceNode: StoreListNode | StoreNode) {
if (sourceNode && node !== sourceNode) {
(node as any).sourceNode = sourceNode;
for (const key in node) {
for (const key in node as FormNode) {
const item = (node as any)[key];
const sourceItem = (sourceNode as any)[key];
if (isAnyFormNode(item) && isAnyStoreNode(item)) {
Expand Down
6 changes: 3 additions & 3 deletions packages/stores/src/entity/store/store.ts
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ export function clearNode<E>(this: StoreListNode<E>): StoreListNode<E>;
export function clearNode<E>(this: StoreListNode<E> | StoreNode<E>) {
runInAction(() => {
// Cas du noeud de liste : On vide simplement la liste.
if (isStoreListNode(this)) {
if (isStoreListNode<E>(this)) {
this.clear();
} else {
// Cas du noeud simple, on parcourt chaque champ.
Expand Down Expand Up @@ -235,9 +235,9 @@ export function setNode<E>(
}
self[i].set(item);
});
} else if (isStoreNode(this) && isObject(value)) {
} else if (isStoreNode<E>(this) && isObject(value)) {
// On affecte chaque valeur du noeud avec la valeur demandée (si elle existe), et on réappelle `setNode` si la valeur n'est pas primitive.
for (const item in value) {
for (const item in value as EntityToType<E>) {
const itemEntry = (this as any)[item];
const itemValue = (value as any)[item];
if (itemEntry) {
Expand Down
18 changes: 9 additions & 9 deletions packages/tooling/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,23 +21,23 @@
"@types/postcss-modules-extract-imports": "3.0.5",
"@types/postcss-modules-local-by-default": "4.0.2",
"@types/postcss-modules-scope": "3.0.4",
"@typescript-eslint/eslint-plugin": "8.19.1",
"@typescript-eslint/parser": "8.19.1",
"@typescript-eslint/eslint-plugin": "8.21.0",
"@typescript-eslint/parser": "8.21.0",
"@vitejs/plugin-react": "4.3.4",
"eslint": "8.57.0",
"eslint-config-prettier": "9.1.0",
"eslint-config-prettier": "10.0.1",
"eslint-plugin-import": "2.31.0",
"eslint-plugin-only-warn": "1.1.0",
"eslint-plugin-react": "7.37.3",
"glob": "11.0.0",
"eslint-plugin-react": "7.37.4",
"glob": "11.0.1",
"lodash": "4.17.21",
"postcss": "8.4.49",
"postcss": "8.5.1",
"postcss-modules-extract-imports": "3.1.0",
"postcss-modules-local-by-default": "4.2.0",
"postcss-modules-scope": "3.2.1",
"postcss-nesting": "13.0.1",
"typescript": "5.7.2",
"vite": "6.0.7",
"typescript": "5.7.3",
"vite": "6.0.11",
"vite-plugin-checker": "0.8.0"
}
}
}

0 comments on commit ea4f0b9

Please sign in to comment.