From 673a91d447a3ed2b26f4b249563aed26d187ab65 Mon Sep 17 00:00:00 2001 From: Cali Castle Date: Sat, 22 Oct 2022 12:51:35 +0800 Subject: [PATCH] fix(react): nanoid version downgrade --- packages/react/CHANGELOG.md | 6 +++++ packages/react/package.json | 4 +-- pnpm-lock.yaml | 53 ++++++++++++++++--------------------- 3 files changed, 31 insertions(+), 32 deletions(-) diff --git a/packages/react/CHANGELOG.md b/packages/react/CHANGELOG.md index acc3684..b32c0dd 100644 --- a/packages/react/CHANGELOG.md +++ b/packages/react/CHANGELOG.md @@ -1,5 +1,11 @@ # @zolplay/react +## 0.2.1 + +### Patch Changes + +- Fixed nanoid import issue + ## 0.2.0 ### Minor Changes diff --git a/packages/react/package.json b/packages/react/package.json index e28beec..694aa8e 100644 --- a/packages/react/package.json +++ b/packages/react/package.json @@ -1,6 +1,6 @@ { "name": "@zolplay/react", - "version": "0.2.0", + "version": "0.2.1", "main": "dist/index.js", "types": "dist/index.d.ts", "module": "dist/index.mjs", @@ -20,7 +20,7 @@ "@stitches/react": "^1.2.8", "@zolplay/config": "workspace:*", "@zolplay/utils": "workspace:*", - "nanoid": "^4.0.0", + "nanoid": "^3.0.0", "react": "^18.0.0", "react-dom": "^18.0.0", "string-hash": "^1.1.3", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index cc2d5d4..c6fbddd 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -17,7 +17,7 @@ importers: eslint: 8.25.0 prettier: 2.7.1 tsup: 6.3.0_typescript@4.8.4 - turbo: 1.5.6 + turbo: 1.6.1 typescript: 4.8.4 vitest: 0.24.3 @@ -87,7 +87,7 @@ importers: '@zolplay/tsconfig': workspace:* '@zolplay/utils': workspace:* jsdom: ^20.0.1 - nanoid: ^4.0.0 + nanoid: ^3.0.0 react: ^18.0.0 react-dom: ^18.0.0 string-hash: ^1.1.3 @@ -99,7 +99,7 @@ importers: '@stitches/react': 1.2.8_react@18.2.0 '@zolplay/config': link:../config '@zolplay/utils': link:../utils - nanoid: 4.0.0 + nanoid: 3.3.4 react: 18.2.0 react-dom: 18.2.0_react@18.2.0 string-hash: 1.1.3 @@ -3400,13 +3400,6 @@ packages: resolution: {integrity: sha512-MqBkQh/OHTS2egovRtLk45wEyNXwF+cokD+1YPf9u5VfJiRdAiRwB2froX5Co9Rh20xs4siNPm8naNotSD6RBw==} engines: {node: ^10 || ^12 || ^13.7 || ^14 || >=15.0.1} hasBin: true - dev: true - - /nanoid/4.0.0: - resolution: {integrity: sha512-IgBP8piMxe/gf73RTQx7hmnhwz0aaEXYakvqZyE302IXW3HyVNhdNGC+O2MwMAVhLEnvXlvKtGbtJf6wvHihCg==} - engines: {node: ^14 || ^16 || >=18} - hasBin: true - dev: false /natural-compare/1.4.0: resolution: {integrity: sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==} @@ -4368,65 +4361,65 @@ packages: yargs: 17.6.0 dev: false - /turbo-darwin-64/1.5.6: - resolution: {integrity: sha512-CWdXMwenBS2+QXIR2Czx7JPnAcoMzWx/QwTDcHVxZyeayMHgz8Oq5AHCtfaHDSfV8YhD3xa0GLSk6+cFt+W8BQ==} + /turbo-darwin-64/1.6.1: + resolution: {integrity: sha512-xsItJ/hmnd6R8V60cCe0RAZQjO+En/LVXVkZhiw0Fyfxoo+iKcAA4sVeWkaL+cg5sQd5UWlWfD1EOKbHDjVb9Q==} cpu: [x64] os: [darwin] requiresBuild: true dev: true optional: true - /turbo-darwin-arm64/1.5.6: - resolution: {integrity: sha512-c/aXgW9JuXT2bJSKf01pdSDQKnrdcdj3WFKmKiVldb9We6eqFzI0fLHBK97k5LM/OesmRMfCMQ2Cv2DU8RqBAA==} + /turbo-darwin-arm64/1.6.1: + resolution: {integrity: sha512-wRfAJWCLYB29IGTx6sF6QvexK/89AbAgnfYA5yVcuUJT+xz2/zLeGcOODQBCnP4rB+vX5ipXLY0XjkLGl+z6fA==} cpu: [arm64] os: [darwin] requiresBuild: true dev: true optional: true - /turbo-linux-64/1.5.6: - resolution: {integrity: sha512-y/jNF7SG+XJEwk2GxIqy3g4dj/a0PgZKDGyOkp24qp4KBRcHBl6dI1ZEfNed30EhEqmW4F5Dr7IpeCZoqgbrMg==} + /turbo-linux-64/1.6.1: + resolution: {integrity: sha512-NZ88muC3hHbWW/cBgl9DFFbyzDcFVvZHQBXKTwVA8l2yLOOvesX+aQ2Knr4Pxu9Kb0F3t6ABsOSf8SbI7CpJsg==} cpu: [x64] os: [linux] requiresBuild: true dev: true optional: true - /turbo-linux-arm64/1.5.6: - resolution: {integrity: sha512-FRcxPtW7eFrbR3QaYBVX8cK7i+2Cerqi6F0t5ulcq+d1OGSdSW3l35rPPyJdwCzCy+k/S9sBcyCV0RtbS6RKCQ==} + /turbo-linux-arm64/1.6.1: + resolution: {integrity: sha512-HDgx+0ozqMpoDBOSzWz43nYMDp/+giEz8+vmLOB6mTQU/9IlZQVwachzwkqLRsJyBUhYALBlWGcuRWO3KqXMmg==} cpu: [arm64] os: [linux] requiresBuild: true dev: true optional: true - /turbo-windows-64/1.5.6: - resolution: {integrity: sha512-/5KIExY7zbrbeL5fhKGuO85u5VtJ3Ue4kI0MbYCNnTGe7a10yTYkwswgtGihsgEF4AW0Nm0159aHmXZS2Le8IA==} + /turbo-windows-64/1.6.1: + resolution: {integrity: sha512-jnR0V0YBlFJKEoAeq0GQFLmZ1UNl6vh+RHTHX546+o5jKcE6nfp9oTOEwtR0PLutiuxxDDm6roAc+9mSfycffw==} cpu: [x64] os: [win32] requiresBuild: true dev: true optional: true - /turbo-windows-arm64/1.5.6: - resolution: {integrity: sha512-p+LQN9O39+rZuOAyc6BzyVGvdEKo+v+XmtdeyZsZpfj4xuOLtsEptW1w6cUD439u0YcPknuccGq1MQ0lXQ6Xuw==} + /turbo-windows-arm64/1.6.1: + resolution: {integrity: sha512-vOqw/iPgLjkwpni2vNFK9YO19lN9QZ8JG8v1unvL09/rnXyKpHygrYECj+efJptEVJKBG2xLIauJYmZ/2LV1Uw==} cpu: [arm64] os: [win32] requiresBuild: true dev: true optional: true - /turbo/1.5.6: - resolution: {integrity: sha512-xJO/fhiMo4lI62iGR9OgUfJTC9tnnuoMwNC52IfvvBDEPlA8RWGMS8SFpDVG9bNCXvVRrtUTNJXMe6pJWBiOTA==} + /turbo/1.6.1: + resolution: {integrity: sha512-CkcJo17cbwfTzmxtxJo2AbbeVqaz1yQotBUqVwZDdcrVSNKci2nvw+JHJ3sy/z9YY9xOJmoRaZifbkja3UXUWA==} hasBin: true requiresBuild: true optionalDependencies: - turbo-darwin-64: 1.5.6 - turbo-darwin-arm64: 1.5.6 - turbo-linux-64: 1.5.6 - turbo-linux-arm64: 1.5.6 - turbo-windows-64: 1.5.6 - turbo-windows-arm64: 1.5.6 + turbo-darwin-64: 1.6.1 + turbo-darwin-arm64: 1.6.1 + turbo-linux-64: 1.6.1 + turbo-linux-arm64: 1.6.1 + turbo-windows-64: 1.6.1 + turbo-windows-arm64: 1.6.1 dev: true /type-check/0.3.2: