diff --git a/packages/nocodb/package.json b/packages/nocodb/package.json index 1f3349e3c7..2ebee1ee0b 100644 --- a/packages/nocodb/package.json +++ b/packages/nocodb/package.json @@ -107,7 +107,7 @@ "import-fresh": "^3.2.1", "inflection": "^1.12.0", "ioredis": "^5.3.2", - "ioredis-mock": "^7.1.0", + "ioredis-mock": "^8.8.3", "is-docker": "^2.2.1", "isomorphic-dompurify": "^0.19.0", "jsep": "^1.3.6", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index ca28354820..4367b6a83c 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -569,8 +569,8 @@ importers: specifier: ^5.3.2 version: 5.3.2 ioredis-mock: - specifier: ^7.1.0 - version: 7.1.0(ioredis@5.3.2) + specifier: ^8.8.3 + version: 8.8.3(@types/ioredis-mock@8.2.2)(ioredis@5.3.2) is-docker: specifier: ^2.2.1 version: 2.2.1 @@ -850,7 +850,7 @@ importers: version: 6.3.3 ts-jest: specifier: 29.0.5 - version: 29.0.5(@babel/core@7.22.11)(jest@29.5.0)(typescript@5.2.2) + version: 29.0.5(@babel/core@7.22.10)(jest@29.5.0)(typescript@5.2.2) ts-loader: specifier: ^9.2.3 version: 9.2.3(typescript@5.2.2)(webpack@5.88.2) @@ -2664,29 +2664,6 @@ packages: transitivePeerDependencies: - supports-color - /@babel/core@7.22.11: - resolution: {integrity: sha512-lh7RJrtPdhibbxndr6/xx0w8+CVlY5FJZiaSz908Fpy+G0xkBFTvwLcKJFF4PJxVfGhVWNebikpWGnOoC71juQ==} - engines: {node: '>=6.9.0'} - dependencies: - '@ampproject/remapping': 2.2.1 - '@babel/code-frame': 7.22.10 - '@babel/generator': 7.22.10 - '@babel/helper-compilation-targets': 7.22.10 - '@babel/helper-module-transforms': 7.22.9(@babel/core@7.22.11) - '@babel/helpers': 7.22.11 - '@babel/parser': 7.22.11 - '@babel/template': 7.22.5 - '@babel/traverse': 7.22.11 - '@babel/types': 7.22.11 - convert-source-map: 1.9.0 - debug: 4.3.4(supports-color@8.1.1) - gensync: 1.0.0-beta.2 - json5: 2.2.3 - semver: 6.3.1 - transitivePeerDependencies: - - supports-color - dev: true - /@babel/generator@7.22.10: resolution: {integrity: sha512-79KIf7YiWjjdZ81JnLujDRApWtl7BxTqWD88+FFdQEIOG8LJ0etDOM7CXuIgGJa55sGOwZVwuEsaLEm0PJ5/+A==} engines: {node: '>=6.9.0'} @@ -2774,20 +2751,6 @@ packages: '@babel/helper-split-export-declaration': 7.22.6 '@babel/helper-validator-identifier': 7.22.5 - /@babel/helper-module-transforms@7.22.9(@babel/core@7.22.11): - resolution: {integrity: sha512-t+WA2Xn5K+rTeGtC8jCsdAH52bjggG5TKRuRrAGNM/mjIbO4GxvlLMFOEz9wXY5I2XQ60PMFsAG2WIcG82dQMQ==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': ^7.0.0 - dependencies: - '@babel/core': 7.22.11 - '@babel/helper-environment-visitor': 7.22.5 - '@babel/helper-module-imports': 7.22.5 - '@babel/helper-simple-access': 7.22.5 - '@babel/helper-split-export-declaration': 7.22.6 - '@babel/helper-validator-identifier': 7.22.5 - dev: true - /@babel/helper-optimise-call-expression@7.22.5: resolution: {integrity: sha512-HBwaojN0xFRx4yIvpwGqxiV2tUfl7401jlok564NgB9EHS1y6QT17FmKWm4ztqjeVdXLuC4fSvHc5ePpQjoTbw==} engines: {node: '>=6.9.0'} @@ -2853,17 +2816,6 @@ packages: transitivePeerDependencies: - supports-color - /@babel/helpers@7.22.11: - resolution: {integrity: sha512-vyOXC8PBWaGc5h7GMsNx68OH33cypkEDJCHvYVVgVbbxJDROYVtexSk0gK5iCF1xNjRIN2s8ai7hwkWDq5szWg==} - engines: {node: '>=6.9.0'} - dependencies: - '@babel/template': 7.22.5 - '@babel/traverse': 7.22.11 - '@babel/types': 7.22.11 - transitivePeerDependencies: - - supports-color - dev: true - /@babel/highlight@7.22.10: resolution: {integrity: sha512-78aUtVcT7MUscr0K5mIEnkwxPE0MaxkR5RxRwuHaQ+JuU5AmTPhY+do2mdzVTnIJJpyBglql2pehuBIWHug+WQ==} engines: {node: '>=6.9.0'} @@ -3064,24 +3016,6 @@ packages: transitivePeerDependencies: - supports-color - /@babel/traverse@7.22.11: - resolution: {integrity: sha512-mzAenteTfomcB7mfPtyi+4oe5BZ6MXxWcn4CX+h4IRJ+OOGXBrWU6jDQavkQI9Vuc5P+donFabBfFCcmWka9lQ==} - engines: {node: '>=6.9.0'} - dependencies: - '@babel/code-frame': 7.22.10 - '@babel/generator': 7.22.10 - '@babel/helper-environment-visitor': 7.22.5 - '@babel/helper-function-name': 7.22.5 - '@babel/helper-hoist-variables': 7.22.5 - '@babel/helper-split-export-declaration': 7.22.6 - '@babel/parser': 7.22.11 - '@babel/types': 7.22.11 - debug: 4.3.4(supports-color@8.1.1) - globals: 11.12.0 - transitivePeerDependencies: - - supports-color - dev: true - /@babel/types@7.22.10: resolution: {integrity: sha512-obaoigiLrlDZ7TUQln/8m4mSqIW2QFeOrCQc9r+xsaHGNoplVNYlRVpsfE8Vj35GEm2ZH4ZhrNYogs/3fj85kg==} engines: {node: '>=6.9.0'} @@ -4487,6 +4421,10 @@ packages: '@intlify/core-base': 9.2.2 '@intlify/shared': 9.2.2 + /@ioredis/as-callback@3.0.0: + resolution: {integrity: sha512-Kqv1rZ3WbgOrS+hgzJ5xG5WQuhvzzSTRYvNeyPMLOAM78MHSnuKI20JeJGbpuAt//LCuP0vsexZcorqW7kWhJg==} + dev: false + /@ioredis/commands@1.2.0: resolution: {integrity: sha512-Sx1pU8EM64o2BrqNpEO1CNLtKQwyhuXuqyfH7oGKCk+1a33d2r5saW8zNwm3j6BTExtjrv2BxTgzzkMwts6vGg==} @@ -6852,6 +6790,14 @@ packages: '@types/node': 20.3.1 dev: true + /@types/ioredis-mock@8.2.2: + resolution: {integrity: sha512-bnbPHOjxy4TUDjRh61MMoK2QvDNZqrMDXJYrEDZP/HPFvBubR24CQ0DBi5lgWhLxG4lvVsXPRDXtZ03+JgonoQ==} + dependencies: + ioredis: 5.3.2 + transitivePeerDependencies: + - supports-color + dev: false + /@types/istanbul-lib-coverage@2.0.4: resolution: {integrity: sha512-z/QT1XN4K4KYuslS23k62yDIDLwLFkzxOuMplDtObz0+y7VqJCaO2o+SPwHCvLFZh7xazvvoor2tA/hPz9ee7g==} dev: true @@ -14240,17 +14186,20 @@ packages: engines: {node: '>=8'} dev: false - /ioredis-mock@7.1.0(ioredis@5.3.2): - resolution: {integrity: sha512-Qq71Xf1ACz/k/DHF9ZH9owROLQSYGWGk/nOKIl1220mMuWRNWwLfgIxdK4KimuzZGNFpZLfN7QDAHrVjEfS0LA==} - engines: {node: '>=12'} + /ioredis-mock@8.8.3(@types/ioredis-mock@8.2.2)(ioredis@5.3.2): + resolution: {integrity: sha512-LkF17WIyYkPfUhvp0fjIZ+HKhILEoq1J2b71vv+9EOW054UlkySVEvgQ2RolXM+eI759MteHtXQvv0oRn0lkUg==} + engines: {node: '>=12.22'} peerDependencies: - ioredis: 4.x + '@types/ioredis-mock': ^8 + ioredis: ^5 dependencies: + '@ioredis/as-callback': 3.0.0 + '@ioredis/commands': 1.2.0 + '@types/ioredis-mock': 8.2.2 fengari: 0.1.4 fengari-interop: 0.1.3(fengari@0.1.4) ioredis: 5.3.2 - redis-commands: 1.7.0 - standard-as-callback: 2.1.0 + semver: 7.5.4 dev: false /ioredis@4.28.5: @@ -21178,7 +21127,7 @@ packages: engines: {node: '>=14.0.0'} dev: false - /ts-jest@29.0.5(@babel/core@7.22.11)(jest@29.5.0)(typescript@5.2.2): + /ts-jest@29.0.5(@babel/core@7.22.10)(jest@29.5.0)(typescript@5.2.2): resolution: {integrity: sha512-PL3UciSgIpQ7f6XjVOmbi96vmDHUqAyqDr8YxzopDqX3kfgYtX1cuNeBjP+L9sFXi6nzsGGA6R3fP3DDDJyrxA==} engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} hasBin: true @@ -21199,7 +21148,7 @@ packages: esbuild: optional: true dependencies: - '@babel/core': 7.22.11 + '@babel/core': 7.22.10 bs-logger: 0.2.6 fast-json-stable-stringify: 2.1.0 jest: 29.5.0(@types/node@20.3.1)(ts-node@10.9.1)