From e55dc8396d24d9661151c29d446e6f2fa5837f97 Mon Sep 17 00:00:00 2001 From: Andy Wang <41224501+andy-t-wang@users.noreply.github.com> Date: Wed, 10 Jul 2024 10:14:14 +0200 Subject: [PATCH] build: update outdated packages (#262) * update prettier * update framer --- packages/react/package.json | 4 +- pnpm-lock.yaml | 110 ++++++++++-------------------------- 2 files changed, 32 insertions(+), 82 deletions(-) diff --git a/packages/react/package.json b/packages/react/package.json index 1478b8b..c92f24c 100644 --- a/packages/react/package.json +++ b/packages/react/package.json @@ -65,7 +65,7 @@ "@tailwindcss/forms": "^0.5.7", "@worldcoin/idkit-core": "workspace:*", "copy-to-clipboard": "^3.3.3", - "framer-motion": "^7.10.3", + "framer-motion": "^11.2.14", "qrcode": "^1.5.3", "react-shadow": "^19.1.0", "zustand": "^4.5.4" @@ -88,7 +88,7 @@ "eslint-plugin-react-hooks": "^4.6.2", "eslint-plugin-tailwindcss": "^3.17.4", "postcss": "^8.4.39", - "prettier": "^2.8.8", + "prettier": "^3.3.2", "prettier-plugin-sort-imports-desc": "^1.0.0", "react": "18.2.0", "react-dom": "18.2.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 558c9d4..9df9cbc 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -108,8 +108,8 @@ importers: specifier: ^3.3.3 version: 3.3.3 framer-motion: - specifier: ^7.10.3 - version: 7.10.3(react-dom@18.2.0(react@18.2.0))(react@18.2.0) + specifier: ^11.2.14 + version: 11.2.14(@emotion/is-prop-valid@0.8.8)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) qrcode: specifier: ^1.5.3 version: 1.5.3 @@ -158,7 +158,7 @@ importers: version: 6.9.0(eslint@8.54.0) eslint-plugin-prettier: specifier: ^4.2.1 - version: 4.2.1(eslint-config-prettier@8.10.0(eslint@8.54.0))(eslint@8.54.0)(prettier@2.8.8) + version: 4.2.1(eslint-config-prettier@8.10.0(eslint@8.54.0))(eslint@8.54.0)(prettier@3.3.2) eslint-plugin-react: specifier: ^7.34.3 version: 7.34.3(eslint@8.54.0) @@ -172,8 +172,8 @@ importers: specifier: ^8.4.39 version: 8.4.39 prettier: - specifier: ^2.8.8 - version: 2.8.8 + specifier: ^3.3.2 + version: 3.3.2 prettier-plugin-sort-imports-desc: specifier: ^1.0.0 version: 1.0.0 @@ -647,24 +647,6 @@ packages: '@mdn/browser-compat-data@5.5.37': resolution: {integrity: sha512-qmNiN25IDZVIhZQZ72e4J4Aw4kJDSHGPnNuC6xOCFcDgQHftU2dsFyQlRWrVQJGC9M2WC23u/b3PyEBW0av1ow==} - '@motionone/animation@10.18.0': - resolution: {integrity: sha512-9z2p5GFGCm0gBsZbi8rVMOAJCtw1WqBTIPw3ozk06gDvZInBPIsQcHgYogEJ4yuHJ+akuW8g1SEIOpTOvYs8hw==} - - '@motionone/dom@10.18.0': - resolution: {integrity: sha512-bKLP7E0eyO4B2UaHBBN55tnppwRnaE3KFfh3Ps9HhnAkar3Cb69kUCJY9as8LrccVYKgHA+JY5dOQqJLOPhF5A==} - - '@motionone/easing@10.18.0': - resolution: {integrity: sha512-VcjByo7XpdLS4o9T8t99JtgxkdMcNWD3yHU/n6CLEz3bkmKDRZyYQ/wmSf6daum8ZXqfUAgFeCZSpJZIMxaCzg==} - - '@motionone/generators@10.18.0': - resolution: {integrity: sha512-+qfkC2DtkDj4tHPu+AFKVfR/C30O1vYdvsGYaR13W/1cczPrrcjdvYCj0VLFuRMN+lP1xvpNZHCRNM4fBzn1jg==} - - '@motionone/types@10.17.1': - resolution: {integrity: sha512-KaC4kgiODDz8hswCrS0btrVrzyU2CSQKO7Ps90ibBVSQmjkrt2teqta6/sOG59v7+dPnKMAg13jyqtMKV2yJ7A==} - - '@motionone/utils@10.18.0': - resolution: {integrity: sha512-3XVF7sgyTSI2KWvTf6uLlBJ5iAgRgmvp3bpuOiQJvInd4nZ19ET8lX5unn30SlmRH7hXbBbH+Gxd0m0klJ3Xtw==} - '@next/env@14.0.2': resolution: {integrity: sha512-HAW1sljizEaduEOes/m84oUqeIDAUYBR1CDwu2tobNlNDFP3cSm9d6QsOsGeNlIppU1p/p1+bWbYCbvwjFiceA==} @@ -2055,11 +2037,19 @@ packages: fraction.js@4.3.7: resolution: {integrity: sha512-ZsDfxO51wGAXREY55a7la9LScWpwv9RxIrYABrlvOFBlH/ShPnrtsXeuUIfXKKOVicNxQ+o8JTbJvjS4M89yew==} - framer-motion@7.10.3: - resolution: {integrity: sha512-k2ccYeZNSpPg//HTaqrU+4pRq9f9ZpaaN7rr0+Rx5zA4wZLbk547wtDzge2db1sB+1mnJ6r59P4xb+aEIi/W+w==} + framer-motion@11.2.14: + resolution: {integrity: sha512-0Nwg++Jymj4Yn7LFKH/nKuGrgVZTEIgIbLjl+LBBFBEzNd4rX+n3z/doqjEbvjk1xcmsim9h7du2+LTYdQTULw==} peerDependencies: + '@emotion/is-prop-valid': '*' react: ^18.0.0 react-dom: ^18.0.0 + peerDependenciesMeta: + '@emotion/is-prop-valid': + optional: true + react: + optional: true + react-dom: + optional: true fs-extra@8.1.0: resolution: {integrity: sha512-yhlQgA6mnOJUKOsRUFsgJdQCvkKhcz8tlZG5HBQfReYZy46OwLcY+Zia0mtdHsOo9y/hP+CxMN0TU9QxoOtG4g==} @@ -2229,9 +2219,6 @@ packages: resolution: {integrity: sha512-F/1DnUGPopORZi0ni+CvrCgHQ5FyEAHRLSApuYWMmrbSwoN2Mn/7k+Gl38gJnR7yyDZk6WLXwiGod1JOWNDKGw==} hasBin: true - hey-listen@1.0.8: - resolution: {integrity: sha512-COpmrF2NOg4TBWUJ5UVyaCU2A88wEMkUPK4hNqyCkqHbxT92BbvfjoSozkAIIm6XhicGlJHhFdullInrdhwU8Q==} - html-encoding-sniffer@3.0.0: resolution: {integrity: sha512-oWv4T4yJ52iKrufjnyZPkrN0CH3QnrUqdB6In1g5Fe1mia8GmF36gnfNySxoZtxD5+NmYw1EElVXiBk93UeskA==} engines: {node: '>=12'} @@ -2918,6 +2905,11 @@ packages: engines: {node: '>=10.13.0'} hasBin: true + prettier@3.3.2: + resolution: {integrity: sha512-rAVeHYMcv8ATV5d508CFdn+8/pHPpXeIid1DdrPwXnaAdH7cqjVbpJaT5eq4yRAFU/lsbwYwSF/n5iNrdJHPQA==} + engines: {node: '>=14'} + hasBin: true + progress@2.0.3: resolution: {integrity: sha512-7PiHtLll5LdnKIMw100I+8xJXR5gW2QwWYkT6iJva0bXitZKa/XMrSbdmg3r2Xnaidz9Qumd0VPaMrZlF9V9sA==} engines: {node: '>=0.4.0'} @@ -3438,9 +3430,6 @@ packages: tsconfig-paths@3.15.0: resolution: {integrity: sha512-2Ac2RgzDe/cn48GvOe3M+o82pEFewD3UPbyoUHHdKasHwJKjds4fLXWf/Ux5kATBKN20oaFGu+jbElp1pos0mg==} - tslib@2.4.0: - resolution: {integrity: sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==} - tslib@2.6.2: resolution: {integrity: sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q==} @@ -4109,41 +4098,6 @@ snapshots: '@mdn/browser-compat-data@5.5.37': {} - '@motionone/animation@10.18.0': - dependencies: - '@motionone/easing': 10.18.0 - '@motionone/types': 10.17.1 - '@motionone/utils': 10.18.0 - tslib: 2.4.0 - - '@motionone/dom@10.18.0': - dependencies: - '@motionone/animation': 10.18.0 - '@motionone/generators': 10.18.0 - '@motionone/types': 10.17.1 - '@motionone/utils': 10.18.0 - hey-listen: 1.0.8 - tslib: 2.4.0 - - '@motionone/easing@10.18.0': - dependencies: - '@motionone/utils': 10.18.0 - tslib: 2.4.0 - - '@motionone/generators@10.18.0': - dependencies: - '@motionone/types': 10.17.1 - '@motionone/utils': 10.18.0 - tslib: 2.4.0 - - '@motionone/types@10.17.1': {} - - '@motionone/utils@10.18.0': - dependencies: - '@motionone/types': 10.17.1 - hey-listen: 1.0.8 - tslib: 2.4.0 - '@next/env@14.0.2': {} '@next/eslint-plugin-next@13.5.5': @@ -4876,7 +4830,7 @@ snapshots: ast-types@0.13.4: dependencies: - tslib: 2.6.2 + tslib: 2.6.3 async@2.6.4: dependencies: @@ -5647,10 +5601,10 @@ snapshots: safe-regex-test: 1.0.3 string.prototype.includes: 2.0.0 - eslint-plugin-prettier@4.2.1(eslint-config-prettier@8.10.0(eslint@8.54.0))(eslint@8.54.0)(prettier@2.8.8): + eslint-plugin-prettier@4.2.1(eslint-config-prettier@8.10.0(eslint@8.54.0))(eslint@8.54.0)(prettier@3.3.2): dependencies: eslint: 8.54.0 - prettier: 2.8.8 + prettier: 3.3.2 prettier-linter-helpers: 1.0.0 optionalDependencies: eslint-config-prettier: 8.10.0(eslint@8.54.0) @@ -5931,15 +5885,13 @@ snapshots: fraction.js@4.3.7: {} - framer-motion@7.10.3(react-dom@18.2.0(react@18.2.0))(react@18.2.0): + framer-motion@11.2.14(@emotion/is-prop-valid@0.8.8)(react-dom@18.2.0(react@18.2.0))(react@18.2.0): dependencies: - '@motionone/dom': 10.18.0 - hey-listen: 1.0.8 - react: 18.2.0 - react-dom: 18.2.0(react@18.2.0) - tslib: 2.4.0 + tslib: 2.6.3 optionalDependencies: '@emotion/is-prop-valid': 0.8.8 + react: 18.2.0 + react-dom: 18.2.0(react@18.2.0) fs-extra@8.1.0: dependencies: @@ -6132,8 +6084,6 @@ snapshots: he@1.2.0: {} - hey-listen@1.0.8: {} - html-encoding-sniffer@3.0.0: dependencies: whatwg-encoding: 2.0.0 @@ -6823,6 +6773,8 @@ snapshots: prettier@2.8.8: {} + prettier@3.3.2: {} + progress@2.0.3: {} prop-types@15.8.1: @@ -7063,7 +7015,7 @@ snapshots: rxjs@7.8.1: dependencies: - tslib: 2.6.2 + tslib: 2.6.3 safe-array-concat@1.0.1: dependencies: @@ -7478,8 +7430,6 @@ snapshots: minimist: 1.2.8 strip-bom: 3.0.0 - tslib@2.4.0: {} - tslib@2.6.2: {} tslib@2.6.3: {}