From c3399523e052982d288cce7889627e837892d671 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Piotr=20Po=C5=9Bpiech?= <37746259+piotrpospiech@users.noreply.github.com> Date: Thu, 31 Oct 2024 15:30:04 +0100 Subject: [PATCH 1/5] Updated supported version of React in AntD theme (#1380) --- packages/uniforms-antd/package.json | 2 +- pnpm-lock.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/uniforms-antd/package.json b/packages/uniforms-antd/package.json index 88c8b77ff..fcfd163c3 100644 --- a/packages/uniforms-antd/package.json +++ b/packages/uniforms-antd/package.json @@ -33,7 +33,7 @@ ], "peerDependencies": { "antd": "^5.0.0", - "react": "^18.0.0 || ^17.0.0 || ^16.8.0", + "react": "^18.0.0 || ^17.0.0 || ^16.9.0", "uniforms": "4.0.0-beta.2" }, "dependencies": { diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 81fdaa124..7318c5e95 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -121,7 +121,7 @@ importers: specifier: ^4.0.0 version: 4.17.21 react: - specifier: ^18.0.0 || ^17.0.0 || ^16.8.0 + specifier: ^18.0.0 || ^17.0.0 || ^16.9.0 version: 18.3.1 tslib: specifier: 2.8.0 From 0058825dbe485bf1cf908c1b447eecb1da8db6fc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Piotr=20Po=C5=9Bpiech?= <37746259+piotrpospiech@users.noreply.github.com> Date: Thu, 31 Oct 2024 15:31:23 +0100 Subject: [PATCH 2/5] Update MUI to v6 (#1381) --- packages/uniforms-mui/package.json | 2 +- pnpm-lock.yaml | 147 ++++++++++++++++------------- reproductions/package.json | 2 +- 3 files changed, 83 insertions(+), 68 deletions(-) diff --git a/packages/uniforms-mui/package.json b/packages/uniforms-mui/package.json index 15ef7ce5e..f835fb96b 100644 --- a/packages/uniforms-mui/package.json +++ b/packages/uniforms-mui/package.json @@ -30,7 +30,7 @@ "src/*.tsx" ], "peerDependencies": { - "@mui/material": "^5.0.0", + "@mui/material": "^6.0.0", "react": "^18.0.0 || ^17.0.0", "uniforms": "4.0.0-beta.2" }, diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 7318c5e95..339a0075a 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -334,8 +334,8 @@ importers: packages/uniforms-mui: dependencies: '@mui/material': - specifier: ^5.0.0 - version: 5.16.7(@emotion/react@11.7.1(@babel/core@7.25.9)(@types/react@18.3.12)(react@18.3.1))(@emotion/styled@11.6.0(@babel/core@7.25.9)(@emotion/react@11.7.1(@babel/core@7.25.9)(@types/react@18.3.12)(react@18.3.1))(@types/react@18.3.12)(react@18.3.1))(@types/react@18.3.12)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + specifier: ^6.0.0 + version: 6.1.6(@emotion/react@11.7.1(@babel/core@7.25.9)(@types/react@18.3.12)(react@18.3.1))(@emotion/styled@11.6.0(@babel/core@7.25.9)(@emotion/react@11.7.1(@babel/core@7.25.9)(@types/react@18.3.12)(react@18.3.1))(@types/react@18.3.12)(react@18.3.1))(@types/react@18.3.12)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) invariant: specifier: ^2.0.0 version: 2.2.4 @@ -451,8 +451,8 @@ importers: specifier: ^11 version: 11.6.0(@babel/core@7.25.9)(@emotion/react@11.7.1(@babel/core@7.25.9)(@types/react@18.3.12)(react@18.3.1))(@types/react@18.3.12)(react@18.3.1) '@mui/material': - specifier: ^5 - version: 5.16.7(@emotion/react@11.7.1(@babel/core@7.25.9)(@types/react@18.3.12)(react@18.3.1))(@emotion/styled@11.6.0(@babel/core@7.25.9)(@emotion/react@11.7.1(@babel/core@7.25.9)(@types/react@18.3.12)(react@18.3.1))(@types/react@18.3.12)(react@18.3.1))(@types/react@18.3.12)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + specifier: ^6 + version: 6.1.6(@emotion/react@11.7.1(@babel/core@7.25.9)(@types/react@18.3.12)(react@18.3.1))(@emotion/styled@11.6.0(@babel/core@7.25.9)(@emotion/react@11.7.1(@babel/core@7.25.9)(@types/react@18.3.12)(react@18.3.1))(@types/react@18.3.12)(react@18.3.1))(@types/react@18.3.12)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) '@types/react': specifier: ^18 version: 18.3.12 @@ -892,6 +892,10 @@ packages: resolution: {integrity: sha512-4zpTHZ9Cm6L9L+uIqghQX8ZXg8HKFcjYO3qHoO8zTmRm6HQUJ8SSJ+KRvbMBZn0EGVlT4DRYeQ/6hjlyXBh+Kg==} engines: {node: '>=6.9.0'} + '@babel/runtime@7.26.0': + resolution: {integrity: sha512-FDSOghenHTiToteC/QRlv2q3DhPZ/oOXTBoirfWNx1Cx3TMVcGWQtMMmQcSvb/JjpNeGzx8Pq/b4fKEJuWm1sw==} + engines: {node: '>=6.9.0'} + '@babel/template@7.25.9': resolution: {integrity: sha512-9DGttpmPvIxBb/2uwpVo3dqJ+O6RooAFOS+lB+xDqoE2PVCE8nfoHMdZLpfCQRLwvohzXISPZcgxt80xLfsuwg==} engines: {node: '>=6.9.0'} @@ -1175,57 +1179,60 @@ packages: cpu: [x64] os: [win32] - '@mui/core-downloads-tracker@5.16.7': - resolution: {integrity: sha512-RtsCt4Geed2/v74sbihWzzRs+HsIQCfclHeORh5Ynu2fS4icIKozcSubwuG7vtzq2uW3fOR1zITSP84TNt2GoQ==} + '@mui/core-downloads-tracker@6.1.6': + resolution: {integrity: sha512-nz1SlR9TdBYYPz4qKoNasMPRiGb4PaIHFkzLzhju0YVYS5QSuFF2+n7CsiHMIDcHv3piPu/xDWI53ruhOqvZwQ==} - '@mui/material@5.16.7': - resolution: {integrity: sha512-cwwVQxBhK60OIOqZOVLFt55t01zmarKJiJUWbk0+8s/Ix5IaUzAShqlJchxsIQ4mSrWqgcKCCXKtIlG5H+/Jmg==} - engines: {node: '>=12.0.0'} + '@mui/material@6.1.6': + resolution: {integrity: sha512-1yvejiQ/601l5AK3uIdUlAVElyCxoqKnl7QA+2oFB/2qYPWfRwDgavW/MoywS5Y2gZEslcJKhe0s2F3IthgFgw==} + engines: {node: '>=14.0.0'} peerDependencies: '@emotion/react': ^11.5.0 '@emotion/styled': ^11.3.0 - '@types/react': ^17.0.0 || ^18.0.0 - react: ^17.0.0 || ^18.0.0 - react-dom: ^17.0.0 || ^18.0.0 + '@mui/material-pigment-css': ^6.1.6 + '@types/react': ^17.0.0 || ^18.0.0 || ^19.0.0 + react: ^17.0.0 || ^18.0.0 || ^19.0.0 + react-dom: ^17.0.0 || ^18.0.0 || ^19.0.0 peerDependenciesMeta: '@emotion/react': optional: true '@emotion/styled': optional: true + '@mui/material-pigment-css': + optional: true '@types/react': optional: true - '@mui/private-theming@5.16.6': - resolution: {integrity: sha512-rAk+Rh8Clg7Cd7shZhyt2HGTTE5wYKNSJ5sspf28Fqm/PZ69Er9o6KX25g03/FG2dfpg5GCwZh/xOojiTfm3hw==} - engines: {node: '>=12.0.0'} + '@mui/private-theming@6.1.6': + resolution: {integrity: sha512-ioAiFckaD/fJSnTrUMWgjl9HYBWt7ixCh7zZw7gDZ+Tae7NuprNV6QJK95EidDT7K0GetR2rU3kAeIR61Myttw==} + engines: {node: '>=14.0.0'} peerDependencies: - '@types/react': ^17.0.0 || ^18.0.0 - react: ^17.0.0 || ^18.0.0 + '@types/react': ^17.0.0 || ^18.0.0 || ^19.0.0 + react: ^17.0.0 || ^18.0.0 || ^19.0.0 peerDependenciesMeta: '@types/react': optional: true - '@mui/styled-engine@5.16.6': - resolution: {integrity: sha512-zaThmS67ZmtHSWToTiHslbI8jwrmITcN93LQaR2lKArbvS7Z3iLkwRoiikNWutx9MBs8Q6okKvbZq1RQYB3v7g==} - engines: {node: '>=12.0.0'} + '@mui/styled-engine@6.1.6': + resolution: {integrity: sha512-I+yS1cSuSvHnZDBO7e7VHxTWpj+R7XlSZvTC4lS/OIbUNJOMMSd3UDP6V2sfwzAdmdDNBi7NGCRv2SZ6O9hGDA==} + engines: {node: '>=14.0.0'} peerDependencies: '@emotion/react': ^11.4.1 '@emotion/styled': ^11.3.0 - react: ^17.0.0 || ^18.0.0 + react: ^17.0.0 || ^18.0.0 || ^19.0.0 peerDependenciesMeta: '@emotion/react': optional: true '@emotion/styled': optional: true - '@mui/system@5.16.7': - resolution: {integrity: sha512-Jncvs/r/d/itkxh7O7opOunTqbbSSzMTHzZkNLM+FjAOg+cYAZHrPDlYe1ZGKUYORwwb2XexlWnpZp0kZ4AHuA==} - engines: {node: '>=12.0.0'} + '@mui/system@6.1.6': + resolution: {integrity: sha512-qOf1VUE9wK8syiB0BBCp82oNBAVPYdj4Trh+G1s+L+ImYiKlubWhhqlnvWt3xqMevR+D2h1CXzA1vhX2FvA+VQ==} + engines: {node: '>=14.0.0'} peerDependencies: '@emotion/react': ^11.5.0 '@emotion/styled': ^11.3.0 - '@types/react': ^17.0.0 || ^18.0.0 - react: ^17.0.0 || ^18.0.0 + '@types/react': ^17.0.0 || ^18.0.0 || ^19.0.0 + react: ^17.0.0 || ^18.0.0 || ^19.0.0 peerDependenciesMeta: '@emotion/react': optional: true @@ -1234,20 +1241,20 @@ packages: '@types/react': optional: true - '@mui/types@7.2.18': - resolution: {integrity: sha512-uvK9dWeyCJl/3ocVnTOS6nlji/Knj8/tVqVX03UVTpdmTJYu/s4jtDd9Kvv0nRGE0CUSNW1UYAci7PYypjealg==} + '@mui/types@7.2.19': + resolution: {integrity: sha512-6XpZEM/Q3epK9RN8ENoXuygnqUQxE+siN/6rGRi2iwJPgBUR25mphYQ9ZI87plGh58YoZ5pp40bFvKYOCDJ3tA==} peerDependencies: '@types/react': ^17.0.0 || ^18.0.0 || ^19.0.0 peerDependenciesMeta: '@types/react': optional: true - '@mui/utils@5.16.6': - resolution: {integrity: sha512-tWiQqlhxAt3KENNiSRL+DIn9H5xNVK6Jjf70x3PnfQPz1MPBdh7yyIcAyVBT9xiw7hP3SomRhPR7hzBMBCjqEA==} - engines: {node: '>=12.0.0'} + '@mui/utils@6.1.6': + resolution: {integrity: sha512-sBS6D9mJECtELASLM+18WUcXF6RH3zNxBRFeyCRg8wad6NbyNrdxLuwK+Ikvc38sTZwBzAz691HmSofLqHd9sQ==} + engines: {node: '>=14.0.0'} peerDependencies: - '@types/react': ^17.0.0 || ^18.0.0 - react: ^17.0.0 || ^18.0.0 + '@types/react': ^17.0.0 || ^18.0.0 || ^19.0.0 + react: ^17.0.0 || ^18.0.0 || ^19.0.0 peerDependenciesMeta: '@types/react': optional: true @@ -6143,6 +6150,10 @@ snapshots: dependencies: regenerator-runtime: 0.14.1 + '@babel/runtime@7.26.0': + dependencies: + regenerator-runtime: 0.14.1 + '@babel/template@7.25.9': dependencies: '@babel/code-frame': 7.25.9 @@ -6538,15 +6549,15 @@ snapshots: '@msgpackr-extract/msgpackr-extract-win32-x64@3.0.3': optional: true - '@mui/core-downloads-tracker@5.16.7': {} + '@mui/core-downloads-tracker@6.1.6': {} - '@mui/material@5.16.7(@emotion/react@11.7.1(@babel/core@7.25.9)(@types/react@18.3.12)(react@18.3.1))(@emotion/styled@11.6.0(@babel/core@7.25.9)(@emotion/react@11.7.1(@babel/core@7.25.9)(@types/react@18.3.12)(react@18.3.1))(@types/react@18.3.12)(react@18.3.1))(@types/react@18.3.12)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': + '@mui/material@6.1.6(@emotion/react@11.7.1(@babel/core@7.25.9)(@types/react@18.3.12)(react@18.3.1))(@emotion/styled@11.6.0(@babel/core@7.25.9)(@emotion/react@11.7.1(@babel/core@7.25.9)(@types/react@18.3.12)(react@18.3.1))(@types/react@18.3.12)(react@18.3.1))(@types/react@18.3.12)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': dependencies: - '@babel/runtime': 7.25.9 - '@mui/core-downloads-tracker': 5.16.7 - '@mui/system': 5.16.7(@emotion/react@11.7.1(@babel/core@7.25.9)(@types/react@18.3.12)(react@18.3.1))(@emotion/styled@11.6.0(@babel/core@7.25.9)(@emotion/react@11.7.1(@babel/core@7.25.9)(@types/react@18.3.12)(react@18.3.1))(@types/react@18.3.12)(react@18.3.1))(@types/react@18.3.12)(react@18.3.1) - '@mui/types': 7.2.18(@types/react@18.3.12) - '@mui/utils': 5.16.6(@types/react@18.3.12)(react@18.3.1) + '@babel/runtime': 7.26.0 + '@mui/core-downloads-tracker': 6.1.6 + '@mui/system': 6.1.6(@emotion/react@11.7.1(@babel/core@7.25.9)(@types/react@18.3.12)(react@18.3.1))(@emotion/styled@11.6.0(@babel/core@7.25.9)(@emotion/react@11.7.1(@babel/core@7.25.9)(@types/react@18.3.12)(react@18.3.1))(@types/react@18.3.12)(react@18.3.1))(@types/react@18.3.12)(react@18.3.1) + '@mui/types': 7.2.19(@types/react@18.3.12) + '@mui/utils': 6.1.6(@types/react@18.3.12)(react@18.3.1) '@popperjs/core': 2.11.8 '@types/react-transition-group': 4.4.11 clsx: 2.1.1 @@ -6561,19 +6572,21 @@ snapshots: '@emotion/styled': 11.6.0(@babel/core@7.25.9)(@emotion/react@11.7.1(@babel/core@7.25.9)(@types/react@18.3.12)(react@18.3.1))(@types/react@18.3.12)(react@18.3.1) '@types/react': 18.3.12 - '@mui/private-theming@5.16.6(@types/react@18.3.12)(react@18.3.1)': + '@mui/private-theming@6.1.6(@types/react@18.3.12)(react@18.3.1)': dependencies: - '@babel/runtime': 7.25.9 - '@mui/utils': 5.16.6(@types/react@18.3.12)(react@18.3.1) + '@babel/runtime': 7.26.0 + '@mui/utils': 6.1.6(@types/react@18.3.12)(react@18.3.1) prop-types: 15.8.1 react: 18.3.1 optionalDependencies: '@types/react': 18.3.12 - '@mui/styled-engine@5.16.6(@emotion/react@11.7.1(@babel/core@7.25.9)(@types/react@18.3.12)(react@18.3.1))(@emotion/styled@11.6.0(@babel/core@7.25.9)(@emotion/react@11.7.1(@babel/core@7.25.9)(@types/react@18.3.12)(react@18.3.1))(@types/react@18.3.12)(react@18.3.1))(react@18.3.1)': + '@mui/styled-engine@6.1.6(@emotion/react@11.7.1(@babel/core@7.25.9)(@types/react@18.3.12)(react@18.3.1))(@emotion/styled@11.6.0(@babel/core@7.25.9)(@emotion/react@11.7.1(@babel/core@7.25.9)(@types/react@18.3.12)(react@18.3.1))(@types/react@18.3.12)(react@18.3.1))(react@18.3.1)': dependencies: - '@babel/runtime': 7.25.9 + '@babel/runtime': 7.26.0 '@emotion/cache': 11.13.1 + '@emotion/serialize': 1.3.2 + '@emotion/sheet': 1.4.0 csstype: 3.1.3 prop-types: 15.8.1 react: 18.3.1 @@ -6581,13 +6594,13 @@ snapshots: '@emotion/react': 11.7.1(@babel/core@7.25.9)(@types/react@18.3.12)(react@18.3.1) '@emotion/styled': 11.6.0(@babel/core@7.25.9)(@emotion/react@11.7.1(@babel/core@7.25.9)(@types/react@18.3.12)(react@18.3.1))(@types/react@18.3.12)(react@18.3.1) - '@mui/system@5.16.7(@emotion/react@11.7.1(@babel/core@7.25.9)(@types/react@18.3.12)(react@18.3.1))(@emotion/styled@11.6.0(@babel/core@7.25.9)(@emotion/react@11.7.1(@babel/core@7.25.9)(@types/react@18.3.12)(react@18.3.1))(@types/react@18.3.12)(react@18.3.1))(@types/react@18.3.12)(react@18.3.1)': + '@mui/system@6.1.6(@emotion/react@11.7.1(@babel/core@7.25.9)(@types/react@18.3.12)(react@18.3.1))(@emotion/styled@11.6.0(@babel/core@7.25.9)(@emotion/react@11.7.1(@babel/core@7.25.9)(@types/react@18.3.12)(react@18.3.1))(@types/react@18.3.12)(react@18.3.1))(@types/react@18.3.12)(react@18.3.1)': dependencies: - '@babel/runtime': 7.25.9 - '@mui/private-theming': 5.16.6(@types/react@18.3.12)(react@18.3.1) - '@mui/styled-engine': 5.16.6(@emotion/react@11.7.1(@babel/core@7.25.9)(@types/react@18.3.12)(react@18.3.1))(@emotion/styled@11.6.0(@babel/core@7.25.9)(@emotion/react@11.7.1(@babel/core@7.25.9)(@types/react@18.3.12)(react@18.3.1))(@types/react@18.3.12)(react@18.3.1))(react@18.3.1) - '@mui/types': 7.2.18(@types/react@18.3.12) - '@mui/utils': 5.16.6(@types/react@18.3.12)(react@18.3.1) + '@babel/runtime': 7.26.0 + '@mui/private-theming': 6.1.6(@types/react@18.3.12)(react@18.3.1) + '@mui/styled-engine': 6.1.6(@emotion/react@11.7.1(@babel/core@7.25.9)(@types/react@18.3.12)(react@18.3.1))(@emotion/styled@11.6.0(@babel/core@7.25.9)(@emotion/react@11.7.1(@babel/core@7.25.9)(@types/react@18.3.12)(react@18.3.1))(@types/react@18.3.12)(react@18.3.1))(react@18.3.1) + '@mui/types': 7.2.19(@types/react@18.3.12) + '@mui/utils': 6.1.6(@types/react@18.3.12)(react@18.3.1) clsx: 2.1.1 csstype: 3.1.3 prop-types: 15.8.1 @@ -6597,14 +6610,14 @@ snapshots: '@emotion/styled': 11.6.0(@babel/core@7.25.9)(@emotion/react@11.7.1(@babel/core@7.25.9)(@types/react@18.3.12)(react@18.3.1))(@types/react@18.3.12)(react@18.3.1) '@types/react': 18.3.12 - '@mui/types@7.2.18(@types/react@18.3.12)': + '@mui/types@7.2.19(@types/react@18.3.12)': optionalDependencies: '@types/react': 18.3.12 - '@mui/utils@5.16.6(@types/react@18.3.12)(react@18.3.1)': + '@mui/utils@6.1.6(@types/react@18.3.12)(react@18.3.1)': dependencies: - '@babel/runtime': 7.25.9 - '@mui/types': 7.2.18(@types/react@18.3.12) + '@babel/runtime': 7.26.0 + '@mui/types': 7.2.19(@types/react@18.3.12) '@types/prop-types': 15.7.13 clsx: 2.1.1 prop-types: 15.8.1 @@ -6719,7 +6732,7 @@ snapshots: '@parcel/source-map': 2.1.1 '@parcel/types': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13) '@parcel/utils': 2.12.0 - '@parcel/workers': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13)) + '@parcel/workers': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13) abortcontroller-polyfill: 1.7.5 base-x: 3.0.10 browserslist: 4.24.2 @@ -6747,7 +6760,7 @@ snapshots: '@parcel/types': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13) '@parcel/utils': 2.12.0 '@parcel/watcher': 2.4.1 - '@parcel/workers': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13)) + '@parcel/workers': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13) transitivePeerDependencies: - '@swc/helpers' @@ -6821,7 +6834,7 @@ snapshots: '@parcel/plugin': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13)) '@parcel/rust': 2.12.0 '@parcel/utils': 2.12.0 - '@parcel/workers': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13)) + '@parcel/workers': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13) '@parcel/optimizer-svgo@2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))': dependencies: @@ -6853,7 +6866,7 @@ snapshots: '@parcel/node-resolver-core': 3.3.0(@parcel/core@2.12.0(@swc/helpers@0.5.13)) '@parcel/types': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13) '@parcel/utils': 2.12.0 - '@parcel/workers': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13)) + '@parcel/workers': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13) '@swc/core': 1.7.40(@swc/helpers@0.5.13) semver: 7.6.3 transitivePeerDependencies: @@ -7042,7 +7055,7 @@ snapshots: '@parcel/core': 2.12.0(@swc/helpers@0.5.13) '@parcel/plugin': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13)) '@parcel/utils': 2.12.0 - '@parcel/workers': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13)) + '@parcel/workers': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13) nullthrows: 1.1.1 '@parcel/transformer-js@2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))': @@ -7053,7 +7066,7 @@ snapshots: '@parcel/rust': 2.12.0 '@parcel/source-map': 2.1.1 '@parcel/utils': 2.12.0 - '@parcel/workers': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13)) + '@parcel/workers': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13) '@swc/helpers': 0.5.13 browserslist: 4.24.2 nullthrows: 1.1.1 @@ -7126,7 +7139,7 @@ snapshots: '@parcel/fs': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13) '@parcel/package-manager': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13) '@parcel/source-map': 2.1.1 - '@parcel/workers': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13)) + '@parcel/workers': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13) utility-types: 3.11.0 transitivePeerDependencies: - '@parcel/core' @@ -7199,7 +7212,7 @@ snapshots: '@parcel/watcher-win32-ia32': 2.4.1 '@parcel/watcher-win32-x64': 2.4.1 - '@parcel/workers@2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))': + '@parcel/workers@2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13)': dependencies: '@parcel/core': 2.12.0(@swc/helpers@0.5.13) '@parcel/diagnostic': 2.12.0 @@ -7208,6 +7221,8 @@ snapshots: '@parcel/types': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13) '@parcel/utils': 2.12.0 nullthrows: 1.1.1 + transitivePeerDependencies: + - '@swc/helpers' '@pkgr/core@0.1.1': {} @@ -8542,7 +8557,7 @@ snapshots: date-fns@2.30.0: dependencies: - '@babel/runtime': 7.25.9 + '@babel/runtime': 7.26.0 optional: true dayjs@1.11.13: {} @@ -8633,7 +8648,7 @@ snapshots: dom-helpers@5.2.1: dependencies: - '@babel/runtime': 7.25.9 + '@babel/runtime': 7.26.0 csstype: 3.1.3 dom-serializer@0.2.2: @@ -11012,7 +11027,7 @@ snapshots: react-transition-group@4.4.5(react-dom@18.3.1(react@18.3.1))(react@18.3.1): dependencies: - '@babel/runtime': 7.25.9 + '@babel/runtime': 7.26.0 dom-helpers: 5.2.1 loose-envify: 1.4.0 prop-types: 15.8.1 diff --git a/reproductions/package.json b/reproductions/package.json index ce94236f4..42d70cf03 100644 --- a/reproductions/package.json +++ b/reproductions/package.json @@ -8,7 +8,7 @@ "dependencies": { "@emotion/react": "^11", "@emotion/styled": "^11", - "@mui/material": "^5", + "@mui/material": "^6", "@types/react-dom": "^18", "@types/react": "^18", "@types/simpl-schema": "^1", From d79dbb222538d0a88652797d227197c4f4249af1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Piotr=20Po=C5=9Bpiech?= <37746259+piotrpospiech@users.noreply.github.com> Date: Thu, 31 Oct 2024 15:36:39 +0100 Subject: [PATCH 3/5] updated version to 4.0.0-beta.3 --- CHANGELOG.md | 5 +++++ packages/uniforms-antd/package.json | 4 ++-- packages/uniforms-bootstrap4/package.json | 4 ++-- packages/uniforms-bootstrap5/package.json | 4 ++-- packages/uniforms-bridge-json-schema/package.json | 4 ++-- packages/uniforms-bridge-simple-schema-2/package.json | 4 ++-- packages/uniforms-bridge-zod/package.json | 4 ++-- packages/uniforms-mui/package.json | 4 ++-- packages/uniforms-semantic/package.json | 4 ++-- packages/uniforms-unstyled/package.json | 4 ++-- packages/uniforms/package.json | 2 +- 11 files changed, 24 insertions(+), 19 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 983becfba..df2876b0e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,8 @@ +## [v4.0.0-beta.3](https://github.com/vazco/uniforms/tree/v4.0.0-beta.3) (2024-10-31) + +- **Added:** Update MUI to v6 [\#1381](https://github.com/vazco/uniforms/pull/1381) +- **Fixed:** Updated supported version of React in AntD theme [\#1380](https://github.com/vazco/uniforms/pull/1380) + ## [v4.0.0-beta.2](https://github.com/vazco/uniforms/tree/v4.0.0-beta.2) (2024-10-29) - **Fixed:** Fixed `tslib` issue [\#1378](https://github.com/vazco/uniforms/pull/1378) diff --git a/packages/uniforms-antd/package.json b/packages/uniforms-antd/package.json index fcfd163c3..7f69c7e33 100644 --- a/packages/uniforms-antd/package.json +++ b/packages/uniforms-antd/package.json @@ -1,6 +1,6 @@ { "name": "uniforms-antd", - "version": "4.0.0-beta.2", + "version": "4.0.0-beta.3", "license": "MIT", "main": "./cjs/index.js", "module": "./esm/index.js", @@ -34,7 +34,7 @@ "peerDependencies": { "antd": "^5.0.0", "react": "^18.0.0 || ^17.0.0 || ^16.9.0", - "uniforms": "4.0.0-beta.2" + "uniforms": "4.0.0-beta.3" }, "dependencies": { "classnames": "^2.0.0", diff --git a/packages/uniforms-bootstrap4/package.json b/packages/uniforms-bootstrap4/package.json index 14d1d07b1..c0fc87d8d 100644 --- a/packages/uniforms-bootstrap4/package.json +++ b/packages/uniforms-bootstrap4/package.json @@ -1,6 +1,6 @@ { "name": "uniforms-bootstrap4", - "version": "4.0.0-beta.2", + "version": "4.0.0-beta.3", "license": "MIT", "main": "./cjs/index.js", "module": "./esm/index.js", @@ -29,7 +29,7 @@ ], "peerDependencies": { "react": "^18.0.0 || ^17.0.0 || ^16.8.0", - "uniforms": "4.0.0-beta.2" + "uniforms": "4.0.0-beta.3" }, "dependencies": { "classnames": "^2.0.0", diff --git a/packages/uniforms-bootstrap5/package.json b/packages/uniforms-bootstrap5/package.json index 10aa11f8b..52281f9e6 100644 --- a/packages/uniforms-bootstrap5/package.json +++ b/packages/uniforms-bootstrap5/package.json @@ -1,6 +1,6 @@ { "name": "uniforms-bootstrap5", - "version": "4.0.0-beta.2", + "version": "4.0.0-beta.3", "license": "MIT", "main": "./cjs/index.js", "module": "./esm/index.js", @@ -29,7 +29,7 @@ ], "peerDependencies": { "react": "^18.0.0 || ^17.0.0 || ^16.8.0", - "uniforms": "4.0.0-beta.2" + "uniforms": "4.0.0-beta.3" }, "dependencies": { "classnames": "^2.0.0", diff --git a/packages/uniforms-bridge-json-schema/package.json b/packages/uniforms-bridge-json-schema/package.json index c919fbd4b..9e306928b 100644 --- a/packages/uniforms-bridge-json-schema/package.json +++ b/packages/uniforms-bridge-json-schema/package.json @@ -1,6 +1,6 @@ { "name": "uniforms-bridge-json-schema", - "version": "4.0.0-beta.2", + "version": "4.0.0-beta.3", "license": "MIT", "main": "./cjs/index.js", "module": "./esm/index.js", @@ -33,7 +33,7 @@ "src/*.tsx" ], "peerDependencies": { - "uniforms": "4.0.0-beta.2" + "uniforms": "4.0.0-beta.3" }, "dependencies": { "invariant": "^2.0.0", diff --git a/packages/uniforms-bridge-simple-schema-2/package.json b/packages/uniforms-bridge-simple-schema-2/package.json index fec093694..05933e76e 100644 --- a/packages/uniforms-bridge-simple-schema-2/package.json +++ b/packages/uniforms-bridge-simple-schema-2/package.json @@ -1,6 +1,6 @@ { "name": "uniforms-bridge-simple-schema-2", - "version": "4.0.0-beta.2", + "version": "4.0.0-beta.3", "license": "MIT", "main": "./cjs/index.js", "module": "./esm/index.js", @@ -39,7 +39,7 @@ }, "peerDependencies": { "simpl-schema": "^1.0.0 || ^0.0.4", - "uniforms": "4.0.0-beta.2" + "uniforms": "4.0.0-beta.3" }, "devDependencies": { "@types/invariant": "2.2.37", diff --git a/packages/uniforms-bridge-zod/package.json b/packages/uniforms-bridge-zod/package.json index 365e38db2..13a471778 100644 --- a/packages/uniforms-bridge-zod/package.json +++ b/packages/uniforms-bridge-zod/package.json @@ -1,6 +1,6 @@ { "name": "uniforms-bridge-zod", - "version": "4.0.0-beta.2", + "version": "4.0.0-beta.3", "license": "MIT", "main": "./cjs/index.js", "module": "./esm/index.js", @@ -39,7 +39,7 @@ }, "peerDependencies": { "zod": "^3.0.0", - "uniforms": "4.0.0-beta.2" + "uniforms": "4.0.0-beta.3" }, "devDependencies": { "@types/invariant": "2.2.37", diff --git a/packages/uniforms-mui/package.json b/packages/uniforms-mui/package.json index f835fb96b..e3c701456 100644 --- a/packages/uniforms-mui/package.json +++ b/packages/uniforms-mui/package.json @@ -1,6 +1,6 @@ { "name": "uniforms-mui", - "version": "4.0.0-beta.2", + "version": "4.0.0-beta.3", "license": "MIT", "main": "./cjs/index.js", "module": "./esm/index.js", @@ -32,7 +32,7 @@ "peerDependencies": { "@mui/material": "^6.0.0", "react": "^18.0.0 || ^17.0.0", - "uniforms": "4.0.0-beta.2" + "uniforms": "4.0.0-beta.3" }, "dependencies": { "invariant": "^2.0.0", diff --git a/packages/uniforms-semantic/package.json b/packages/uniforms-semantic/package.json index 2fdb355eb..7204a7da3 100644 --- a/packages/uniforms-semantic/package.json +++ b/packages/uniforms-semantic/package.json @@ -1,6 +1,6 @@ { "name": "uniforms-semantic", - "version": "4.0.0-beta.2", + "version": "4.0.0-beta.3", "license": "MIT", "main": "./cjs/index.js", "module": "./esm/index.js", @@ -29,7 +29,7 @@ ], "peerDependencies": { "react": "^18.0.0 || ^17.0.0 || ^16.8.0", - "uniforms": "4.0.0-beta.2" + "uniforms": "4.0.0-beta.3" }, "dependencies": { "classnames": "^2.0.0", diff --git a/packages/uniforms-unstyled/package.json b/packages/uniforms-unstyled/package.json index ad0f57066..95d32abf8 100644 --- a/packages/uniforms-unstyled/package.json +++ b/packages/uniforms-unstyled/package.json @@ -1,6 +1,6 @@ { "name": "uniforms-unstyled", - "version": "4.0.0-beta.2", + "version": "4.0.0-beta.3", "license": "MIT", "main": "./cjs/index.js", "module": "./esm/index.js", @@ -28,7 +28,7 @@ ], "peerDependencies": { "react": "^18.0.0 || ^17.0.0 || ^16.8.0", - "uniforms": "4.0.0-beta.2" + "uniforms": "4.0.0-beta.3" }, "dependencies": { "invariant": "^2.0.0", diff --git a/packages/uniforms/package.json b/packages/uniforms/package.json index 618af0e1b..ab8351339 100644 --- a/packages/uniforms/package.json +++ b/packages/uniforms/package.json @@ -1,6 +1,6 @@ { "name": "uniforms", - "version": "4.0.0-beta.2", + "version": "4.0.0-beta.3", "license": "MIT", "main": "./cjs/index.js", "module": "./esm/index.js", From ba543d16b702079fb18d6c6d6d08258723b743be Mon Sep 17 00:00:00 2001 From: Sassan Haradji Date: Mon, 18 Nov 2024 17:58:09 +0330 Subject: [PATCH 4/5] Add support for nested ZodEffects (#1382) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Piotr Pośpiech <37746259+piotrpospiech@users.noreply.github.com> --- .../__tests__/ZodBridge.ts | 104 ++++++++++++++++-- packages/uniforms-bridge-zod/src/ZodBridge.ts | 11 +- 2 files changed, 97 insertions(+), 18 deletions(-) diff --git a/packages/uniforms-bridge-zod/__tests__/ZodBridge.ts b/packages/uniforms-bridge-zod/__tests__/ZodBridge.ts index ae11c541d..9d26d18bc 100644 --- a/packages/uniforms-bridge-zod/__tests__/ZodBridge.ts +++ b/packages/uniforms-bridge-zod/__tests__/ZodBridge.ts @@ -10,6 +10,7 @@ import { enum as enum_, function as function_, instanceof as instanceof_, + infer as infer_, intersection, lazy, literal, @@ -43,7 +44,8 @@ describe('ZodBridge', () => { it('works with simple types', () => { const schema = object({ a: string(), b: number() }); - const bridge = new ZodBridge({ schema }); + type SchemaType = infer_; + const bridge = new ZodBridge({ schema }); const error = bridge.getValidator()({}); const issues = error?.issues; expect(bridge.getError('a', error)).toBe(issues?.[0]); @@ -52,7 +54,8 @@ describe('ZodBridge', () => { it('works with arrays', () => { const schema = object({ a: array(array(string())) }); - const bridge = new ZodBridge({ schema }); + type SchemaType = infer_; + const bridge = new ZodBridge({ schema }); const error = bridge.getValidator()({ a: [['x', 'y', 0], [1]] }); const issues = error?.issues; expect(bridge.getError('a', error)).toBe(null); @@ -65,7 +68,8 @@ describe('ZodBridge', () => { it('works with nested objects', () => { const schema = object({ a: object({ b: object({ c: string() }) }) }); - const bridge = new ZodBridge({ schema }); + type SchemaType = infer_; + const bridge = new ZodBridge({ schema }); const error = bridge.getValidator()({ a: { b: { c: 1 } } }); const issues = error?.issues; expect(bridge.getError('a', error)).toBe(null); @@ -84,11 +88,36 @@ describe('ZodBridge', () => { path: ['b'], }); - const bridge = new ZodBridge({ schema }); + type SchemaType = infer_; + const bridge = new ZodBridge({ schema }); const error = bridge.getValidator()({ a: 'a', b: 'b' }); expect(error?.issues?.[0]?.message).toBe(errorMessage); }); + it('works with chained refined schema', () => { + const firstErrorMessage = 'Different values'; + const secondErrorMessage = 'Different results'; + + const schema = object({ + a: number(), + b: number(), + }) + .refine(({ a, b }) => a === b, { + message: firstErrorMessage, + path: ['b'], + }) + .refine(({ a, b }) => a % 2 === b % 3, { + message: secondErrorMessage, + path: ['b'], + }); + + type SchemaType = infer_; + const bridge = new ZodBridge({ schema }); + const error = bridge.getValidator()({ a: 1, b: 2 }); + expect(error?.issues?.[0]?.message).toBe(firstErrorMessage); + expect(error?.issues?.[1]?.message).toBe(secondErrorMessage); + }); + it('works with super refined schema', () => { const errorMessage = 'Different values'; @@ -104,10 +133,43 @@ describe('ZodBridge', () => { } }); - const bridge = new ZodBridge({ schema }); + type SchemaType = infer_; + const bridge = new ZodBridge({ schema }); const error = bridge.getValidator()({ a: 'a', b: 'b' }); expect(error?.issues?.[0]?.message).toBe(errorMessage); }); + + it('works with chained super refined schema', () => { + const firstErrorMessage = 'Different values'; + const secondErrorMessage = 'Different results'; + + const schema = object({ + a: number(), + b: number(), + }) + .superRefine((val, ctx) => { + if (val.a !== val.b) { + ctx.addIssue({ + code: ZodIssueCode.custom, + message: firstErrorMessage, + }); + } + }) + .superRefine((val, ctx) => { + if (val.a % 2 !== val.b % 3) { + ctx.addIssue({ + code: ZodIssueCode.custom, + message: secondErrorMessage, + }); + } + }); + + type SchemaType = infer_; + const bridge = new ZodBridge({ schema }); + const error = bridge.getValidator()({ a: 1, b: 2 }); + expect(error?.issues?.[0]?.message).toBe(firstErrorMessage); + expect(error?.issues?.[1]?.message).toBe(secondErrorMessage); + }); }); describe('#getErrorMessage', () => { @@ -120,7 +182,8 @@ describe('ZodBridge', () => { it('works with simple types', () => { const schema = object({ a: string(), b: number() }); - const bridge = new ZodBridge({ schema }); + type SchemaType = infer_; + const bridge = new ZodBridge({ schema }); const error = bridge.getValidator()({}); const issues = error?.issues; expect(bridge.getErrorMessage('a', error)).toBe(issues?.[0].message); @@ -129,7 +192,8 @@ describe('ZodBridge', () => { it('works with arrays', () => { const schema = object({ a: array(array(string())) }); - const bridge = new ZodBridge({ schema }); + type SchemaType = infer_; + const bridge = new ZodBridge({ schema }); const error = bridge.getValidator()({ a: [['x', 'y', 0], [1]] }); const issues = error?.issues; expect(bridge.getErrorMessage('a', error)).toBe(''); @@ -142,7 +206,8 @@ describe('ZodBridge', () => { it('works with nested objects', () => { const schema = object({ a: object({ b: object({ c: string() }) }) }); - const bridge = new ZodBridge({ schema }); + type SchemaType = infer_; + const bridge = new ZodBridge({ schema }); const error = bridge.getValidator()({ a: { b: { c: 1 } } }); const issues = error?.issues; expect(bridge.getErrorMessage('a', error)).toBe(''); @@ -167,7 +232,8 @@ describe('ZodBridge', () => { it('works with simple types', () => { const schema = object({ a: string(), b: number() }); - const bridge = new ZodBridge({ schema }); + type SchemaType = infer_; + const bridge = new ZodBridge({ schema }); const error = bridge.getValidator()({}); const messages = ['A: Required', 'B: Required']; expect(bridge.getErrorMessages(error)).toEqual(messages); @@ -175,7 +241,8 @@ describe('ZodBridge', () => { it('works with arrays', () => { const schema = object({ a: array(array(string())) }); - const bridge = new ZodBridge({ schema }); + type SchemaType = infer_; + const bridge = new ZodBridge({ schema }); const error = bridge.getValidator()({ a: [['x', 'y', 0], [1]] }); const messages = [ 'A (0, 2): Expected string, received number', @@ -186,7 +253,8 @@ describe('ZodBridge', () => { it('works with nested objects', () => { const schema = object({ a: object({ b: object({ c: string() }) }) }); - const bridge = new ZodBridge({ schema }); + type SchemaType = infer_; + const bridge = new ZodBridge({ schema }); const error = bridge.getValidator()({ a: { b: { c: 1 } } }); const messages = ['C: Expected string, received number']; expect(bridge.getErrorMessages(error)).toEqual(messages); @@ -244,6 +312,17 @@ describe('ZodBridge', () => { const bridge = new ZodBridge({ schema }); expect(bridge.getField('')).toBe(schema._def.schema); }); + + it('works with nested ZodEffects', () => { + const schema = object({}) + .refine(data => data) + .refine(data => data) + .refine(data => data); + const bridge = new ZodBridge({ schema }); + expect(bridge.getField('')).toBe( + schema._def.schema._def.schema._def.schema, + ); + }); }); describe('#getInitialValue', () => { @@ -686,7 +765,8 @@ describe('ZodBridge', () => { describe('#getValidator', () => { it('return a function', () => { const schema = object({}); - const bridge = new ZodBridge({ schema }); + type SchemaType = infer_; + const bridge = new ZodBridge({ schema }); const validator = bridge.getValidator(); expect(validator).toEqual(expect.any(Function)); expect(validator({})).toEqual(null); diff --git a/packages/uniforms-bridge-zod/src/ZodBridge.ts b/packages/uniforms-bridge-zod/src/ZodBridge.ts index ec3da0af0..ef6d14592 100644 --- a/packages/uniforms-bridge-zod/src/ZodBridge.ts +++ b/packages/uniforms-bridge-zod/src/ZodBridge.ts @@ -17,7 +17,6 @@ import { ZodNumberDef, ZodObject, ZodOptional, - ZodRawShape, ZodString, ZodType, } from 'zod'; @@ -55,15 +54,15 @@ type Option = { value: Value; }; -export default class ZodBridge extends Bridge { - schema: ZodObject | ZodEffects>; +export default class ZodBridge extends Bridge { + schema: ZodType; provideDefaultLabelFromFieldName: boolean; constructor({ schema, provideDefaultLabelFromFieldName = true, }: { - schema: ZodObject | ZodEffects>; + schema: ZodType; provideDefaultLabelFromFieldName?: boolean; }) { super(); @@ -108,8 +107,8 @@ export default class ZodBridge extends Bridge { getField(name: string) { let field: ZodType = this.schema; - if (this.schema instanceof ZodEffects) { - field = this.schema._def.schema; + while (field instanceof ZodEffects) { + field = field.innerType(); } for (const key of joinName(null, name)) { From d606503e384fb429cba2ab321e9836d3b09476ba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Piotr=20Po=C5=9Bpiech?= <37746259+piotrpospiech@users.noreply.github.com> Date: Mon, 18 Nov 2024 15:35:26 +0100 Subject: [PATCH 5/5] updated version to 4.0.0-beta.4 --- CHANGELOG.md | 4 ++++ packages/uniforms-antd/package.json | 4 ++-- packages/uniforms-bootstrap4/package.json | 4 ++-- packages/uniforms-bootstrap5/package.json | 4 ++-- packages/uniforms-bridge-json-schema/package.json | 4 ++-- packages/uniforms-bridge-simple-schema-2/package.json | 4 ++-- packages/uniforms-bridge-zod/package.json | 4 ++-- packages/uniforms-mui/package.json | 4 ++-- packages/uniforms-semantic/package.json | 4 ++-- packages/uniforms-unstyled/package.json | 4 ++-- packages/uniforms/package.json | 2 +- 11 files changed, 23 insertions(+), 19 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index df2876b0e..3b9d92503 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +## [v4.0.0-beta.4](https://github.com/vazco/uniforms/tree/v4.0.0-beta.3) (2024-11-18) + +- **Added:** Support for nested ZodEffects [\#1382](https://github.com/vazco/uniforms/pull/1382) + ## [v4.0.0-beta.3](https://github.com/vazco/uniforms/tree/v4.0.0-beta.3) (2024-10-31) - **Added:** Update MUI to v6 [\#1381](https://github.com/vazco/uniforms/pull/1381) diff --git a/packages/uniforms-antd/package.json b/packages/uniforms-antd/package.json index 7f69c7e33..0aeba5375 100644 --- a/packages/uniforms-antd/package.json +++ b/packages/uniforms-antd/package.json @@ -1,6 +1,6 @@ { "name": "uniforms-antd", - "version": "4.0.0-beta.3", + "version": "4.0.0-beta.4", "license": "MIT", "main": "./cjs/index.js", "module": "./esm/index.js", @@ -34,7 +34,7 @@ "peerDependencies": { "antd": "^5.0.0", "react": "^18.0.0 || ^17.0.0 || ^16.9.0", - "uniforms": "4.0.0-beta.3" + "uniforms": "4.0.0-beta.4" }, "dependencies": { "classnames": "^2.0.0", diff --git a/packages/uniforms-bootstrap4/package.json b/packages/uniforms-bootstrap4/package.json index c0fc87d8d..9d23cf743 100644 --- a/packages/uniforms-bootstrap4/package.json +++ b/packages/uniforms-bootstrap4/package.json @@ -1,6 +1,6 @@ { "name": "uniforms-bootstrap4", - "version": "4.0.0-beta.3", + "version": "4.0.0-beta.4", "license": "MIT", "main": "./cjs/index.js", "module": "./esm/index.js", @@ -29,7 +29,7 @@ ], "peerDependencies": { "react": "^18.0.0 || ^17.0.0 || ^16.8.0", - "uniforms": "4.0.0-beta.3" + "uniforms": "4.0.0-beta.4" }, "dependencies": { "classnames": "^2.0.0", diff --git a/packages/uniforms-bootstrap5/package.json b/packages/uniforms-bootstrap5/package.json index 52281f9e6..95a26cd1b 100644 --- a/packages/uniforms-bootstrap5/package.json +++ b/packages/uniforms-bootstrap5/package.json @@ -1,6 +1,6 @@ { "name": "uniforms-bootstrap5", - "version": "4.0.0-beta.3", + "version": "4.0.0-beta.4", "license": "MIT", "main": "./cjs/index.js", "module": "./esm/index.js", @@ -29,7 +29,7 @@ ], "peerDependencies": { "react": "^18.0.0 || ^17.0.0 || ^16.8.0", - "uniforms": "4.0.0-beta.3" + "uniforms": "4.0.0-beta.4" }, "dependencies": { "classnames": "^2.0.0", diff --git a/packages/uniforms-bridge-json-schema/package.json b/packages/uniforms-bridge-json-schema/package.json index 9e306928b..a71f1a04a 100644 --- a/packages/uniforms-bridge-json-schema/package.json +++ b/packages/uniforms-bridge-json-schema/package.json @@ -1,6 +1,6 @@ { "name": "uniforms-bridge-json-schema", - "version": "4.0.0-beta.3", + "version": "4.0.0-beta.4", "license": "MIT", "main": "./cjs/index.js", "module": "./esm/index.js", @@ -33,7 +33,7 @@ "src/*.tsx" ], "peerDependencies": { - "uniforms": "4.0.0-beta.3" + "uniforms": "4.0.0-beta.4" }, "dependencies": { "invariant": "^2.0.0", diff --git a/packages/uniforms-bridge-simple-schema-2/package.json b/packages/uniforms-bridge-simple-schema-2/package.json index 05933e76e..85f1232ea 100644 --- a/packages/uniforms-bridge-simple-schema-2/package.json +++ b/packages/uniforms-bridge-simple-schema-2/package.json @@ -1,6 +1,6 @@ { "name": "uniforms-bridge-simple-schema-2", - "version": "4.0.0-beta.3", + "version": "4.0.0-beta.4", "license": "MIT", "main": "./cjs/index.js", "module": "./esm/index.js", @@ -39,7 +39,7 @@ }, "peerDependencies": { "simpl-schema": "^1.0.0 || ^0.0.4", - "uniforms": "4.0.0-beta.3" + "uniforms": "4.0.0-beta.4" }, "devDependencies": { "@types/invariant": "2.2.37", diff --git a/packages/uniforms-bridge-zod/package.json b/packages/uniforms-bridge-zod/package.json index 13a471778..517006964 100644 --- a/packages/uniforms-bridge-zod/package.json +++ b/packages/uniforms-bridge-zod/package.json @@ -1,6 +1,6 @@ { "name": "uniforms-bridge-zod", - "version": "4.0.0-beta.3", + "version": "4.0.0-beta.4", "license": "MIT", "main": "./cjs/index.js", "module": "./esm/index.js", @@ -39,7 +39,7 @@ }, "peerDependencies": { "zod": "^3.0.0", - "uniforms": "4.0.0-beta.3" + "uniforms": "4.0.0-beta.4" }, "devDependencies": { "@types/invariant": "2.2.37", diff --git a/packages/uniforms-mui/package.json b/packages/uniforms-mui/package.json index e3c701456..38f22b903 100644 --- a/packages/uniforms-mui/package.json +++ b/packages/uniforms-mui/package.json @@ -1,6 +1,6 @@ { "name": "uniforms-mui", - "version": "4.0.0-beta.3", + "version": "4.0.0-beta.4", "license": "MIT", "main": "./cjs/index.js", "module": "./esm/index.js", @@ -32,7 +32,7 @@ "peerDependencies": { "@mui/material": "^6.0.0", "react": "^18.0.0 || ^17.0.0", - "uniforms": "4.0.0-beta.3" + "uniforms": "4.0.0-beta.4" }, "dependencies": { "invariant": "^2.0.0", diff --git a/packages/uniforms-semantic/package.json b/packages/uniforms-semantic/package.json index 7204a7da3..2c632dd03 100644 --- a/packages/uniforms-semantic/package.json +++ b/packages/uniforms-semantic/package.json @@ -1,6 +1,6 @@ { "name": "uniforms-semantic", - "version": "4.0.0-beta.3", + "version": "4.0.0-beta.4", "license": "MIT", "main": "./cjs/index.js", "module": "./esm/index.js", @@ -29,7 +29,7 @@ ], "peerDependencies": { "react": "^18.0.0 || ^17.0.0 || ^16.8.0", - "uniforms": "4.0.0-beta.3" + "uniforms": "4.0.0-beta.4" }, "dependencies": { "classnames": "^2.0.0", diff --git a/packages/uniforms-unstyled/package.json b/packages/uniforms-unstyled/package.json index 95d32abf8..5e50cfed3 100644 --- a/packages/uniforms-unstyled/package.json +++ b/packages/uniforms-unstyled/package.json @@ -1,6 +1,6 @@ { "name": "uniforms-unstyled", - "version": "4.0.0-beta.3", + "version": "4.0.0-beta.4", "license": "MIT", "main": "./cjs/index.js", "module": "./esm/index.js", @@ -28,7 +28,7 @@ ], "peerDependencies": { "react": "^18.0.0 || ^17.0.0 || ^16.8.0", - "uniforms": "4.0.0-beta.3" + "uniforms": "4.0.0-beta.4" }, "dependencies": { "invariant": "^2.0.0", diff --git a/packages/uniforms/package.json b/packages/uniforms/package.json index ab8351339..31a7107f1 100644 --- a/packages/uniforms/package.json +++ b/packages/uniforms/package.json @@ -1,6 +1,6 @@ { "name": "uniforms", - "version": "4.0.0-beta.3", + "version": "4.0.0-beta.4", "license": "MIT", "main": "./cjs/index.js", "module": "./esm/index.js",