From 8abcf079aed908436e3dd9d8c3206b111e8ea349 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Wed, 26 Apr 2023 17:21:04 +0000 Subject: [PATCH] chore(deps): update logto js sdk monorepo packages to v2 (major) (#3766) chore(deps): update logto js sdk monorepo packages to v2 Co-authored-by: Gao Sun --- packages/console/package.json | 2 +- packages/demo-app/package.json | 2 +- packages/integration-tests/package.json | 4 +- pnpm-lock.yaml | 88 +++++++++++-------------- 4 files changed, 44 insertions(+), 52 deletions(-) diff --git a/packages/console/package.json b/packages/console/package.json index fe87bb1b7..5f560413e 100644 --- a/packages/console/package.json +++ b/packages/console/package.json @@ -31,7 +31,7 @@ "@logto/language-kit": "workspace:^1.0.0", "@logto/phrases": "workspace:^1.2.0", "@logto/phrases-ui": "workspace:^1.2.0", - "@logto/react": "1.1.1", + "@logto/react": "^2.0.0", "@logto/schemas": "workspace:^1.2.2", "@logto/shared": "workspace:^2.0.0", "@mdx-js/react": "^1.6.22", diff --git a/packages/demo-app/package.json b/packages/demo-app/package.json index 17e1f437a..e804e80ed 100644 --- a/packages/demo-app/package.json +++ b/packages/demo-app/package.json @@ -22,7 +22,7 @@ "@logto/core-kit": "workspace:^2.0.0", "@logto/language-kit": "workspace:^1.0.0", "@logto/phrases": "workspace:^1.2.0", - "@logto/react": "1.1.1", + "@logto/react": "^2.0.0", "@logto/schemas": "workspace:^1.2.0", "@parcel/core": "2.8.3", "@parcel/transformer-sass": "2.8.3", diff --git a/packages/integration-tests/package.json b/packages/integration-tests/package.json index 649f30ff3..c626d9e0e 100644 --- a/packages/integration-tests/package.json +++ b/packages/integration-tests/package.json @@ -23,8 +23,8 @@ "devDependencies": { "@jest/types": "^29.1.2", "@logto/connector-kit": "workspace:^1.1.0", - "@logto/js": "1.1.0", - "@logto/node": "1.1.1", + "@logto/js": "^2.0.1", + "@logto/node": "^2.0.0", "@logto/schemas": "workspace:^1.1.0", "@silverhand/eslint-config": "3.0.1", "@silverhand/essentials": "^2.5.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 7dc1ccdd1..e5a348177 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -2787,8 +2787,8 @@ importers: specifier: workspace:^1.2.0 version: link:../phrases-ui '@logto/react': - specifier: 1.1.1 - version: 1.1.1(react@18.2.0) + specifier: ^2.0.0 + version: 2.0.0(react@18.2.0) '@logto/schemas': specifier: workspace:^1.2.2 version: link:../schemas @@ -3322,8 +3322,8 @@ importers: specifier: workspace:^1.2.0 version: link:../phrases '@logto/react': - specifier: 1.1.1 - version: 1.1.1(react@18.2.0) + specifier: ^2.0.0 + version: 2.0.0(react@18.2.0) '@logto/schemas': specifier: workspace:^1.2.0 version: link:../schemas @@ -3406,11 +3406,11 @@ importers: specifier: workspace:^1.1.0 version: link:../toolkit/connector-kit '@logto/js': - specifier: 1.1.0 - version: 1.1.0 + specifier: ^2.0.1 + version: 2.0.1 '@logto/node': - specifier: 1.1.1 - version: 1.1.1 + specifier: ^2.0.0 + version: 2.0.0 '@logto/schemas': specifier: workspace:^1.1.0 version: link:../schemas @@ -7125,52 +7125,49 @@ packages: dev: true optional: true - /@logto/browser@1.1.1: - resolution: {integrity: sha512-igKvNceCMIOzfyLpJSigTYJvJH3tsJmuL4tyK55FHgKPMJdz1HNvw7V5FLHIQTdYe2eltWwQnlTREoYxxdX5Nw==} + /@logto/browser@2.0.0: + resolution: {integrity: sha512-b5trzvdPWk00mk6A6J9GkcjC3fRaqe90lKVLJ2/UAOAtvBCcP/35mcKsdWyHHGP3juVNYCaGWepM3ifhxK+AsA==} dependencies: - '@logto/client': 1.1.1 - '@silverhand/essentials': 1.3.0 + '@logto/client': 2.0.0 + '@silverhand/essentials': 2.6.2 js-base64: 3.7.5 dev: true - /@logto/client@1.1.1: - resolution: {integrity: sha512-RBRny/psJOF920oZQlPk9h207rWArdGe8u6TvWzG7O89lcLdwOKXcCSESHmDIxBpwRriWSHtP//WpDHkdnTCXg==} + /@logto/client@2.0.0: + resolution: {integrity: sha512-iGU/1ObqdxaoqFmkVTypv9tGzmTztgFZdNY4eOt9QJ+Ep83gWILcFSkiDsNFml6RmFxR1NJGyZYdunQE3zbUsg==} dependencies: - '@logto/js': 1.1.0 - '@silverhand/essentials': 1.3.0 + '@logto/js': 2.0.1 + '@silverhand/essentials': 2.6.2 camelcase-keys: 7.0.2 - jose: 4.11.1 - lodash.get: 4.4.2 - lodash.once: 4.1.1 + jose: 4.14.2 dev: true - /@logto/js@1.1.0: - resolution: {integrity: sha512-YW8ou7DifY0T9Pfli3sZG9sdm5UbINcHEi9pkj6pGxVUX5lBWRxT+ZWGgOsRl4KtrPXzg9ivAAJHzyPRwZAf7g==} + /@logto/js@2.0.1: + resolution: {integrity: sha512-0YIf8z33OBjkha/7h0y3C8Zc5DxhJPzJivVXUpFcAzncXbTJaWS5cNHNhvaW2k9YesHLpcCclqgK62gCrdio0g==} dependencies: - '@silverhand/essentials': 1.3.0 + '@silverhand/essentials': 2.6.2 camelcase-keys: 7.0.2 - jose: 4.11.1 - lodash.get: 4.4.2 + jose: 4.14.2 dev: true - /@logto/node@1.1.1: - resolution: {integrity: sha512-PxZrE8T89my0/wMWhthPKC3mvFxAQAdMeLJ0lpXee5JEBMWpO/u9YChoHyxirzYNo0lwGj4dIOSyFICJqNdGtA==} + /@logto/node@2.0.0: + resolution: {integrity: sha512-Rg5vk2NTomVCTK3J/FuxksSl0BN33Ce1XAIRZtG3HwBNk4mapMmx2rbdn5uTGoqQ233R+ByubVPc2k8ulapb+A==} dependencies: - '@logto/client': 1.1.1 - '@silverhand/essentials': 1.3.0 + '@logto/client': 2.0.0 + '@silverhand/essentials': 2.6.2 js-base64: 3.7.5 node-fetch: 2.6.7 transitivePeerDependencies: - encoding dev: true - /@logto/react@1.1.1(react@18.2.0): - resolution: {integrity: sha512-tqWIaRerrO93l7ESjBBgUXxVTQe5bydDeH0rR12RGjaU3m2MQaHJJ3Oajbr4q3qrXXr/IgTRxTRnyXrlYiJb1A==} + /@logto/react@2.0.0(react@18.2.0): + resolution: {integrity: sha512-RI8hqOK2ERfXlo9gloOK7BQFRVYGOM/nVERikh8xcj4SOP0h5MEplmh04t3XRUUMdDn3WJF5vE08zx4GvO5hsQ==} peerDependencies: react: '>=16.8.0 || ^18.0.0' dependencies: - '@logto/browser': 1.1.1 - '@silverhand/essentials': 1.3.0 + '@logto/browser': 2.0.0 + '@silverhand/essentials': 2.6.2 react: 18.2.0 dev: true @@ -8608,18 +8605,15 @@ packages: lodash: 4.17.21 dev: true - /@silverhand/essentials@1.3.0: - resolution: {integrity: sha512-o3cAqwLkKxmv+HCEQfNMpyxrdmv+9Tz69WXB/P2LdzS2ggU6tcOXbxkCMv8K6b0UnGN/PckQSykM7pHnDZZN6w==} - engines: {node: '>=14.15.0', pnpm: '>=6'} - dependencies: - lodash.orderby: 4.6.0 - lodash.pick: 4.4.0 - dev: true - /@silverhand/essentials@2.5.0: resolution: {integrity: sha512-8GgVFAmbo6S0EgsjYXH4aH8a69O7SzEtPFPDpVZmJuGEt8e3ODVx0F2V4rXyC3/SzFbcb2md2gRbA+Z6aTad6g==} engines: {node: ^16.13.0 || ^18.12.0 || ^19.2.0, pnpm: ^7} + /@silverhand/essentials@2.6.2: + resolution: {integrity: sha512-1b5u2BGEa14V3o8XzaE7eL+nuwmQe8c1wqSMcGvq+KAusPPZo9tV4glbfF16Xi/ohv37vUpBGJ2DNf4CfuxBLw==} + engines: {node: ^16.13.0 || ^18.12.0 || ^19.2.0, pnpm: ^8.0.0} + dev: true + /@silverhand/jest-config@3.0.0(jest@29.5.0): resolution: {integrity: sha512-5ezkX1/EVQiL2Y3lMY3jLT00GvyRgNKWAB/LIToVN0BQPnasdzKV6sSn2wrQD6XY3lNvR9TBdZajGmG/jtcRjA==} engines: {node: ^18.12.0} @@ -14420,6 +14414,11 @@ packages: /jose@4.11.1: resolution: {integrity: sha512-YRv4Tk/Wlug8qicwqFNFVEZSdbROCHRAC6qu/i0dyNKr5JQdoa2pIGoS04lLO/jXQX7Z9omoNewYIVIxqZBd9Q==} + dev: false + + /jose@4.14.2: + resolution: {integrity: sha512-Fcbi5lskAiSvs8qhdQBusANZWwyATdp7IxgHJTXiaU74sbVjX9uAw+myDPvI8pNo2wXKHECXCR63hqhRkN/SSQ==} + dev: true /js-base64@3.7.5: resolution: {integrity: sha512-3MEt5DTINKqfScXKfJFrRbxkrnk2AxPWGBL/ycjz4dK8iqiSJ06UxD8jh8xuh6p10TX4t2+7FsBYVxxQbMg+qA==} @@ -15057,14 +15056,7 @@ packages: /lodash.once@4.1.1: resolution: {integrity: sha512-Sb487aTOCr9drQVL8pIxOzVhafOjZN9UU54hiN8PU3uAiSV7lx1yYNpbNmex2PK6dSJoNTSJUUswT651yww3Mg==} - - /lodash.orderby@4.6.0: - resolution: {integrity: sha512-T0rZxKmghOOf5YPnn8EY5iLYeWCpZq8G41FfqoVHH5QDTAFaghJRmAdLiadEDq+ztgM2q5PjA+Z1fOwGrLgmtg==} - dev: true - - /lodash.pick@4.4.0: - resolution: {integrity: sha512-hXt6Ul/5yWjfklSGvLQl8vM//l3FtyHZeuelpzK6mm99pNvN9yTDruNZPEJZD1oWrqo+izBmB7oUfWgcCX7s4Q==} - dev: true + dev: false /lodash.set@4.3.2: resolution: {integrity: sha512-4hNPN5jlm/N/HLMCO43v8BXKq9Z7QdAGc/VGrRD61w8gN9g/6jF9A4L1pbUgBLCffi0w9VsXfTOij5x8iTyFvg==}