From 639f58fade4db08b9dc54a2f23b2d203e5c374dd Mon Sep 17 00:00:00 2001 From: Wenzhao Hu Date: Wed, 10 Apr 2024 21:07:19 +0800 Subject: [PATCH] ci: add no barrel import lint (#1857) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * ci: add no barrel import lint * fix: fix type error * chore: fix lint --------- Co-authored-by: 白熱 --- .github/workflows/ci-lint.yml | 2 +- eslint.config.js | 3 + package.json | 1 + .../__tests__/array-value-divided.spec.ts | 2 +- .../__tests__/array-value-minus.spec.ts | 2 +- .../__tests__/array-value-multiply.spec.ts | 2 +- .../__tests__/array-value-plus.spec.ts | 2 +- .../date/date/__tests__/index.spec.ts | 2 +- .../date/day/__tests__/index.spec.ts | 2 +- .../date/edate/__tests__/index.spec.ts | 2 +- .../date/month/__tests__/index.spec.ts | 2 +- .../date/today/__tests__/index.spec.ts | 2 +- .../date/year/__tests__/index.spec.ts | 2 +- .../isblank/__tests__/index.spec.ts | 2 +- .../information/iserr/__tests__/index.spec.ts | 2 +- .../iserror/__tests__/index.spec.ts | 2 +- .../islogical/__tests__/index.spec.ts | 2 +- .../information/isna/__tests__/index.spec.ts | 2 +- .../isnontext/__tests__/index.spec.ts | 2 +- .../isnumber/__tests__/index.spec.ts | 2 +- .../information/isref/__tests__/index.spec.ts | 2 +- .../src/functions/information/isref/index.ts | 2 +- .../istext/__tests__/index.spec.ts | 2 +- .../logical/and/__tests__/index.spec.ts | 2 +- .../logical/if/__tests__/index.spec.ts | 2 +- .../logical/iferror/__tests__/index.spec.ts | 2 +- .../logical/makearray/__test__/index.spec.ts | 2 +- .../logical/or/__tests__/index.spec.ts | 4 +- .../lookup/address/__tests__/index.spec.ts | 2 +- .../lookup/column/__tests__/index.spec.ts | 2 +- .../lookup/columns/__tests__/index.spec.ts | 2 +- .../lookup/hlookup/__tests__/index.spec.ts | 2 +- .../lookup/index/__test__/index.spec.ts | 2 +- .../lookup/indirect/__test__/index.spec.ts | 2 +- .../lookup/lookup/__tests__/index.spec.ts | 2 +- .../lookup/match/__tests__/index.spec.ts | 2 +- .../lookup/offset/__tests__/index.spec.ts | 2 +- .../lookup/row/__tests__/index.spec.ts | 2 +- .../lookup/rows/__tests__/index.spec.ts | 2 +- .../lookup/vlookup/__tests__/index.spec.ts | 2 +- .../lookup/xlookup/__tests__/index.spec.ts | 2 +- .../lookup/xmatch/__tests__/index.spec.ts | 2 +- .../math/abs/__tests__/index.spec.ts | 2 +- .../math/acos/__tests__/index.spec.ts | 2 +- .../math/acosh/__tests__/index.spec.ts | 2 +- .../math/acot/__tests__/index.spec.ts | 2 +- .../math/mod/__tests__/index.spec.ts | 2 +- .../math/power/__tests__/index.spec.ts | 2 +- .../math/product/__tests__/index.spec.ts | 4 +- .../src/functions/math/product/index.ts | 2 +- .../math/subtotal/__tests__/index.spec.ts | 2 +- .../src/functions/math/subtotal/index.ts | 2 +- .../math/sum/__tests__/index.spec.ts | 4 +- .../math/sumif/__tests__/index.spec.ts | 2 +- .../math/sumifs/__tests__/index.spec.ts | 2 +- .../average/__tests__/index.spec.ts | 4 +- .../statistical/count/__tests__/index.spec.ts | 4 +- .../counta/__tests__/index.spec.ts | 4 +- .../statistical/max/__tests__/index.spec.ts | 4 +- .../statistical/min/__tests__/index.spec.ts | 4 +- .../stdev-p/__tests__/index.spec.ts | 4 +- .../stdev-s/__tests__/index.spec.ts | 4 +- .../stdeva/__tests__/index.spec.ts | 4 +- .../stdevpa/__tests__/index.spec.ts | 4 +- .../statistical/var-p/__tests__/index.spec.ts | 4 +- .../statistical/var-s/__tests__/index.spec.ts | 4 +- .../statistical/vara/__tests__/index.spec.ts | 4 +- .../statistical/varpa/__tests__/index.spec.ts | 4 +- .../text/concatenate/__tests__/index.spec.ts | 2 +- .../functions/text/len/__test__/index.spec.ts | 2 +- .../text/lenb/__test__/index.spec.ts | 2 +- .../text/text/__test__/index.spec.ts | 2 +- .../src/services/dropdown-manager.service.ts | 10 +- .../src/services/hover-manager.service.ts | 2 +- .../commands/utils/handle-merge-operation.ts | 5 +- pnpm-lock.yaml | 285 ++++++++---------- 76 files changed, 234 insertions(+), 244 deletions(-) diff --git a/.github/workflows/ci-lint.yml b/.github/workflows/ci-lint.yml index 1b79554532..cace06fe81 100644 --- a/.github/workflows/ci-lint.yml +++ b/.github/workflows/ci-lint.yml @@ -25,7 +25,7 @@ jobs: uses: ./.github/actions/setup-node - name: 🌡️ Run ESLint - run: pnpm run lint + run: pnpm lint --quiet typecheck: runs-on: ubuntu-latest diff --git a/eslint.config.js b/eslint.config.js index ab38cc93fc..f9d4997f5e 100644 --- a/eslint.config.js +++ b/eslint.config.js @@ -1,5 +1,6 @@ import antfu from '@antfu/eslint-config'; import header from 'eslint-plugin-header'; +import barrel from 'eslint-plugin-no-barrel-import'; import { baseRules, typescriptPreset } from '@univerjs/shared/eslint'; export default antfu({ @@ -25,8 +26,10 @@ export default antfu({ ignores: ['**/*.d.ts', '**/vite.config.ts', 'playwright.config.ts'], plugins: { header, + barrel, }, rules: { + 'barrel/no-barrel-import': 2, 'header/header': [ 2, 'block', diff --git a/package.json b/package.json index df79bafaa5..f7617bb495 100644 --- a/package.json +++ b/package.json @@ -56,6 +56,7 @@ "eslint": "^8.57.0", "eslint-plugin-format": "^0.1.0", "eslint-plugin-header": "^3.1.1", + "eslint-plugin-no-barrel-import": "^0.0.2", "eslint-plugin-react": "^7.34.1", "eslint-plugin-react-hooks": "^4.6.0", "eslint-plugin-react-refresh": "^0.4.6", diff --git a/packages/engine-formula/src/engine/value-object/__tests__/array-value-divided.spec.ts b/packages/engine-formula/src/engine/value-object/__tests__/array-value-divided.spec.ts index 5cf3ec4a0a..732e36772f 100644 --- a/packages/engine-formula/src/engine/value-object/__tests__/array-value-divided.spec.ts +++ b/packages/engine-formula/src/engine/value-object/__tests__/array-value-divided.spec.ts @@ -18,7 +18,7 @@ import { describe, expect, it } from 'vitest'; import { ArrayValueObject, transformToValueObject } from '../array-value-object'; import { NumberValueObject } from '../primitive-object'; -import { ErrorType } from '../../..'; +import { ErrorType } from '../../../basics/error-type'; describe('ArrayValueObject divided method test', () => { describe('Divided', () => { diff --git a/packages/engine-formula/src/engine/value-object/__tests__/array-value-minus.spec.ts b/packages/engine-formula/src/engine/value-object/__tests__/array-value-minus.spec.ts index baee6ac1ba..38852ae57c 100644 --- a/packages/engine-formula/src/engine/value-object/__tests__/array-value-minus.spec.ts +++ b/packages/engine-formula/src/engine/value-object/__tests__/array-value-minus.spec.ts @@ -18,7 +18,7 @@ import { describe, expect, it } from 'vitest'; import { ArrayValueObject, transformToValueObject } from '../array-value-object'; import { NumberValueObject } from '../primitive-object'; -import { ErrorType } from '../../..'; +import { ErrorType } from '../../../basics/error-type'; describe('ArrayValueObject minus method test', () => { describe('Minus', () => { diff --git a/packages/engine-formula/src/engine/value-object/__tests__/array-value-multiply.spec.ts b/packages/engine-formula/src/engine/value-object/__tests__/array-value-multiply.spec.ts index 5418754419..dab14ed361 100644 --- a/packages/engine-formula/src/engine/value-object/__tests__/array-value-multiply.spec.ts +++ b/packages/engine-formula/src/engine/value-object/__tests__/array-value-multiply.spec.ts @@ -18,7 +18,7 @@ import { describe, expect, it } from 'vitest'; import { ArrayValueObject, transformToValueObject } from '../array-value-object'; import { NumberValueObject } from '../primitive-object'; -import { ErrorType } from '../../..'; +import { ErrorType } from '../../../basics/error-type'; describe('ArrayValueObject multiply method test', () => { describe('Multiply', () => { diff --git a/packages/engine-formula/src/engine/value-object/__tests__/array-value-plus.spec.ts b/packages/engine-formula/src/engine/value-object/__tests__/array-value-plus.spec.ts index 4b1c616f6d..c175cd87db 100644 --- a/packages/engine-formula/src/engine/value-object/__tests__/array-value-plus.spec.ts +++ b/packages/engine-formula/src/engine/value-object/__tests__/array-value-plus.spec.ts @@ -18,7 +18,7 @@ import { describe, expect, it } from 'vitest'; import { ArrayValueObject, transformToValueObject } from '../array-value-object'; import { NumberValueObject } from '../primitive-object'; -import { ErrorType } from '../../..'; +import { ErrorType } from '../../../basics/error-type'; describe('ArrayValueObject plus method test', () => { describe('Plus', () => { diff --git a/packages/engine-formula/src/functions/date/date/__tests__/index.spec.ts b/packages/engine-formula/src/functions/date/date/__tests__/index.spec.ts index 6b919b6c93..e4f74af8cc 100644 --- a/packages/engine-formula/src/functions/date/date/__tests__/index.spec.ts +++ b/packages/engine-formula/src/functions/date/date/__tests__/index.spec.ts @@ -17,7 +17,7 @@ import { describe, expect, it } from 'vitest'; import { FUNCTION_NAMES_DATE } from '../../function-names'; -import { DateFunction } from '..'; +import { DateFunction } from '../index'; import { NumberValueObject } from '../../../../engine/value-object/primitive-object'; import { ArrayValueObject, transformToValue, transformToValueObject } from '../../../../engine/value-object/array-value-object'; import { ErrorType } from '../../../../basics/error-type'; diff --git a/packages/engine-formula/src/functions/date/day/__tests__/index.spec.ts b/packages/engine-formula/src/functions/date/day/__tests__/index.spec.ts index b1fa982ca3..37cd5e91ea 100644 --- a/packages/engine-formula/src/functions/date/day/__tests__/index.spec.ts +++ b/packages/engine-formula/src/functions/date/day/__tests__/index.spec.ts @@ -17,7 +17,7 @@ import { describe, expect, it } from 'vitest'; import { FUNCTION_NAMES_DATE } from '../../function-names'; -import { Day } from '..'; +import { Day } from '../index'; import { NumberValueObject, StringValueObject } from '../../../../engine/value-object/primitive-object'; import { ArrayValueObject, transformToValue, transformToValueObject } from '../../../../engine/value-object/array-value-object'; diff --git a/packages/engine-formula/src/functions/date/edate/__tests__/index.spec.ts b/packages/engine-formula/src/functions/date/edate/__tests__/index.spec.ts index fea4a7f07a..70087da526 100644 --- a/packages/engine-formula/src/functions/date/edate/__tests__/index.spec.ts +++ b/packages/engine-formula/src/functions/date/edate/__tests__/index.spec.ts @@ -17,7 +17,7 @@ import { describe, expect, it } from 'vitest'; import { FUNCTION_NAMES_DATE } from '../../function-names'; -import { Edate } from '..'; +import { Edate } from '../index'; import { NumberValueObject } from '../../../../engine/value-object/primitive-object'; import { ArrayValueObject, transformToValue, transformToValueObject } from '../../../../engine/value-object/array-value-object'; diff --git a/packages/engine-formula/src/functions/date/month/__tests__/index.spec.ts b/packages/engine-formula/src/functions/date/month/__tests__/index.spec.ts index c32458c9db..935d766122 100644 --- a/packages/engine-formula/src/functions/date/month/__tests__/index.spec.ts +++ b/packages/engine-formula/src/functions/date/month/__tests__/index.spec.ts @@ -17,7 +17,7 @@ import { describe, expect, it } from 'vitest'; import { FUNCTION_NAMES_DATE } from '../../function-names'; -import { Month } from '..'; +import { Month } from '../index'; import { NumberValueObject, StringValueObject } from '../../../../engine/value-object/primitive-object'; import { ArrayValueObject, transformToValue, transformToValueObject } from '../../../../engine/value-object/array-value-object'; diff --git a/packages/engine-formula/src/functions/date/today/__tests__/index.spec.ts b/packages/engine-formula/src/functions/date/today/__tests__/index.spec.ts index 66dfd1eb49..91e57f2435 100644 --- a/packages/engine-formula/src/functions/date/today/__tests__/index.spec.ts +++ b/packages/engine-formula/src/functions/date/today/__tests__/index.spec.ts @@ -17,7 +17,7 @@ import { describe, expect, it, vi } from 'vitest'; import { FUNCTION_NAMES_DATE } from '../../function-names'; -import { Today } from '..'; +import { Today } from '../index'; import { NumberValueObject } from '../../../../engine/value-object/primitive-object'; import { ErrorType } from '../../../../basics/error-type'; diff --git a/packages/engine-formula/src/functions/date/year/__tests__/index.spec.ts b/packages/engine-formula/src/functions/date/year/__tests__/index.spec.ts index 14af9ddcb7..60ccf7531b 100644 --- a/packages/engine-formula/src/functions/date/year/__tests__/index.spec.ts +++ b/packages/engine-formula/src/functions/date/year/__tests__/index.spec.ts @@ -17,7 +17,7 @@ import { describe, expect, it } from 'vitest'; import { FUNCTION_NAMES_DATE } from '../../function-names'; -import { Year } from '..'; +import { Year } from '../index'; import { NumberValueObject, StringValueObject } from '../../../../engine/value-object/primitive-object'; import { ArrayValueObject, transformToValue, transformToValueObject } from '../../../../engine/value-object/array-value-object'; diff --git a/packages/engine-formula/src/functions/information/isblank/__tests__/index.spec.ts b/packages/engine-formula/src/functions/information/isblank/__tests__/index.spec.ts index 3f11912077..4ef33eb1b1 100644 --- a/packages/engine-formula/src/functions/information/isblank/__tests__/index.spec.ts +++ b/packages/engine-formula/src/functions/information/isblank/__tests__/index.spec.ts @@ -21,7 +21,7 @@ import { BooleanValueObject, NullValueObject, NumberValueObject, StringValueObje import { ArrayValueObject, transformToValue, transformToValueObject } from '../../../../engine/value-object/array-value-object'; import { ErrorValueObject } from '../../../../engine/value-object/base-value-object'; import { ErrorType } from '../../../../basics/error-type'; -import { Isblank } from '..'; +import { Isblank } from '../index'; describe('Test isblank function', () => { const textFunction = new Isblank(FUNCTION_NAMES_INFORMATION.ISBLANK); diff --git a/packages/engine-formula/src/functions/information/iserr/__tests__/index.spec.ts b/packages/engine-formula/src/functions/information/iserr/__tests__/index.spec.ts index 539c6d26a2..85a070467b 100644 --- a/packages/engine-formula/src/functions/information/iserr/__tests__/index.spec.ts +++ b/packages/engine-formula/src/functions/information/iserr/__tests__/index.spec.ts @@ -20,7 +20,7 @@ import { FUNCTION_NAMES_INFORMATION } from '../../function-names'; import { ArrayValueObject, transformToValue, transformToValueObject } from '../../../../engine/value-object/array-value-object'; import { ErrorValueObject } from '../../../../engine/value-object/base-value-object'; import { ErrorType } from '../../../../basics/error-type'; -import { Iserr } from '..'; +import { Iserr } from '../index'; describe('Test iserr function', () => { const textFunction = new Iserr(FUNCTION_NAMES_INFORMATION.ISERR); diff --git a/packages/engine-formula/src/functions/information/iserror/__tests__/index.spec.ts b/packages/engine-formula/src/functions/information/iserror/__tests__/index.spec.ts index 9063d90ca7..acc13143d5 100644 --- a/packages/engine-formula/src/functions/information/iserror/__tests__/index.spec.ts +++ b/packages/engine-formula/src/functions/information/iserror/__tests__/index.spec.ts @@ -20,7 +20,7 @@ import { FUNCTION_NAMES_INFORMATION } from '../../function-names'; import { ArrayValueObject, transformToValue, transformToValueObject } from '../../../../engine/value-object/array-value-object'; import { ErrorValueObject } from '../../../../engine/value-object/base-value-object'; import { ErrorType } from '../../../../basics/error-type'; -import { Iserror } from '..'; +import { Iserror } from '../index'; describe('Test iserror function', () => { const textFunction = new Iserror(FUNCTION_NAMES_INFORMATION.ISERROR); diff --git a/packages/engine-formula/src/functions/information/islogical/__tests__/index.spec.ts b/packages/engine-formula/src/functions/information/islogical/__tests__/index.spec.ts index 43c76dafc4..ba5524f278 100644 --- a/packages/engine-formula/src/functions/information/islogical/__tests__/index.spec.ts +++ b/packages/engine-formula/src/functions/information/islogical/__tests__/index.spec.ts @@ -19,7 +19,7 @@ import { describe, expect, it } from 'vitest'; import { FUNCTION_NAMES_INFORMATION } from '../../function-names'; import { ArrayValueObject, transformToValue, transformToValueObject } from '../../../../engine/value-object/array-value-object'; import { ErrorType } from '../../../../basics/error-type'; -import { Islogical } from '..'; +import { Islogical } from '../index'; import { BooleanValueObject } from '../../../../engine/value-object/primitive-object'; describe('Test islogical function', () => { diff --git a/packages/engine-formula/src/functions/information/isna/__tests__/index.spec.ts b/packages/engine-formula/src/functions/information/isna/__tests__/index.spec.ts index 5e10afc5bc..890d9cabd1 100644 --- a/packages/engine-formula/src/functions/information/isna/__tests__/index.spec.ts +++ b/packages/engine-formula/src/functions/information/isna/__tests__/index.spec.ts @@ -20,7 +20,7 @@ import { FUNCTION_NAMES_INFORMATION } from '../../function-names'; import { ArrayValueObject, transformToValue, transformToValueObject } from '../../../../engine/value-object/array-value-object'; import { ErrorValueObject } from '../../../../engine/value-object/base-value-object'; import { ErrorType } from '../../../../basics/error-type'; -import { Isna } from '..'; +import { Isna } from '../index'; describe('Test isna function', () => { const textFunction = new Isna(FUNCTION_NAMES_INFORMATION.ISNA); diff --git a/packages/engine-formula/src/functions/information/isnontext/__tests__/index.spec.ts b/packages/engine-formula/src/functions/information/isnontext/__tests__/index.spec.ts index bec8c5a59e..e8a19ae363 100644 --- a/packages/engine-formula/src/functions/information/isnontext/__tests__/index.spec.ts +++ b/packages/engine-formula/src/functions/information/isnontext/__tests__/index.spec.ts @@ -19,7 +19,7 @@ import { describe, expect, it } from 'vitest'; import { FUNCTION_NAMES_INFORMATION } from '../../function-names'; import { ArrayValueObject, transformToValue, transformToValueObject } from '../../../../engine/value-object/array-value-object'; import { ErrorType } from '../../../../basics/error-type'; -import { Isnontext } from '..'; +import { Isnontext } from '../index'; import { StringValueObject } from '../../../../engine/value-object/primitive-object'; describe('Test isnontext function', () => { diff --git a/packages/engine-formula/src/functions/information/isnumber/__tests__/index.spec.ts b/packages/engine-formula/src/functions/information/isnumber/__tests__/index.spec.ts index a6a77f0585..15b7b4f183 100644 --- a/packages/engine-formula/src/functions/information/isnumber/__tests__/index.spec.ts +++ b/packages/engine-formula/src/functions/information/isnumber/__tests__/index.spec.ts @@ -19,7 +19,7 @@ import { describe, expect, it } from 'vitest'; import { FUNCTION_NAMES_INFORMATION } from '../../function-names'; import { ArrayValueObject, transformToValue, transformToValueObject } from '../../../../engine/value-object/array-value-object'; import { ErrorType } from '../../../../basics/error-type'; -import { Isnumber } from '..'; +import { Isnumber } from '../index'; import { NumberValueObject } from '../../../../engine/value-object/primitive-object'; describe('Test isnumber function', () => { diff --git a/packages/engine-formula/src/functions/information/isref/__tests__/index.spec.ts b/packages/engine-formula/src/functions/information/isref/__tests__/index.spec.ts index d32a71ba83..685e705186 100644 --- a/packages/engine-formula/src/functions/information/isref/__tests__/index.spec.ts +++ b/packages/engine-formula/src/functions/information/isref/__tests__/index.spec.ts @@ -31,7 +31,7 @@ import { createFunctionTestBed } from '../../../__tests__/create-function-test-b import { FUNCTION_NAMES_INFORMATION } from '../../function-names'; import type { BaseValueObject, ErrorValueObject } from '../../../../engine/value-object/base-value-object'; import type { ArrayValueObject } from '../../../../engine/value-object/array-value-object'; -import { Isref } from '..'; +import { Isref } from '../index'; const getTestWorkbookData = (): IWorkbookData => { return { diff --git a/packages/engine-formula/src/functions/information/isref/index.ts b/packages/engine-formula/src/functions/information/isref/index.ts index 26ed41778d..25c525de19 100644 --- a/packages/engine-formula/src/functions/information/isref/index.ts +++ b/packages/engine-formula/src/functions/information/isref/index.ts @@ -14,9 +14,9 @@ * limitations under the License. */ -import { BooleanValueObject } from '../../..'; import { ErrorType } from '../../../basics/error-type'; import { type BaseValueObject, ErrorValueObject } from '../../../engine/value-object/base-value-object'; +import { BooleanValueObject } from '../../../engine/value-object/primitive-object'; import { BaseFunction } from '../../base-function'; export class Isref extends BaseFunction { diff --git a/packages/engine-formula/src/functions/information/istext/__tests__/index.spec.ts b/packages/engine-formula/src/functions/information/istext/__tests__/index.spec.ts index 7c92ecb527..1a0f80a3fc 100644 --- a/packages/engine-formula/src/functions/information/istext/__tests__/index.spec.ts +++ b/packages/engine-formula/src/functions/information/istext/__tests__/index.spec.ts @@ -19,7 +19,7 @@ import { describe, expect, it } from 'vitest'; import { FUNCTION_NAMES_INFORMATION } from '../../function-names'; import { ArrayValueObject, transformToValue, transformToValueObject } from '../../../../engine/value-object/array-value-object'; import { ErrorType } from '../../../../basics/error-type'; -import { Istext } from '..'; +import { Istext } from '../index'; import { StringValueObject } from '../../../../engine/value-object/primitive-object'; describe('Test istext function', () => { diff --git a/packages/engine-formula/src/functions/logical/and/__tests__/index.spec.ts b/packages/engine-formula/src/functions/logical/and/__tests__/index.spec.ts index 6dd7dd4af5..d0ffe0fb7e 100644 --- a/packages/engine-formula/src/functions/logical/and/__tests__/index.spec.ts +++ b/packages/engine-formula/src/functions/logical/and/__tests__/index.spec.ts @@ -17,7 +17,7 @@ import { describe, expect, it } from 'vitest'; import { FUNCTION_NAMES_LOGICAL } from '../../function-names'; -import { And } from '..'; +import { And } from '../index'; import { ArrayValueObject, transformToValueObject } from '../../../../engine/value-object/array-value-object'; import { BooleanValueObject, NullValueObject, NumberValueObject, StringValueObject } from '../../../../engine/value-object/primitive-object'; diff --git a/packages/engine-formula/src/functions/logical/if/__tests__/index.spec.ts b/packages/engine-formula/src/functions/logical/if/__tests__/index.spec.ts index 0ceb88793f..af7d039162 100644 --- a/packages/engine-formula/src/functions/logical/if/__tests__/index.spec.ts +++ b/packages/engine-formula/src/functions/logical/if/__tests__/index.spec.ts @@ -17,7 +17,7 @@ import { describe, expect, it } from 'vitest'; import { FUNCTION_NAMES_LOGICAL } from '../../function-names'; -import { If } from '..'; +import { If } from '../index'; import { ArrayValueObject, transformToValue, transformToValueObject } from '../../../../engine/value-object/array-value-object'; import { BooleanValueObject, NumberValueObject, StringValueObject } from '../../../../engine/value-object/primitive-object'; diff --git a/packages/engine-formula/src/functions/logical/iferror/__tests__/index.spec.ts b/packages/engine-formula/src/functions/logical/iferror/__tests__/index.spec.ts index d318bb98f3..50303a2b3a 100644 --- a/packages/engine-formula/src/functions/logical/iferror/__tests__/index.spec.ts +++ b/packages/engine-formula/src/functions/logical/iferror/__tests__/index.spec.ts @@ -17,7 +17,7 @@ import { describe, expect, it } from 'vitest'; import { FUNCTION_NAMES_LOGICAL } from '../../function-names'; -import { Iferror } from '..'; +import { Iferror } from '../index'; import { ArrayValueObject, transformToValue, transformToValueObject } from '../../../../engine/value-object/array-value-object'; import { NumberValueObject, StringValueObject } from '../../../../engine/value-object/primitive-object'; import { ErrorValueObject } from '../../../../engine/value-object/base-value-object'; diff --git a/packages/engine-formula/src/functions/logical/makearray/__test__/index.spec.ts b/packages/engine-formula/src/functions/logical/makearray/__test__/index.spec.ts index a319b5dbbf..57b5427348 100644 --- a/packages/engine-formula/src/functions/logical/makearray/__test__/index.spec.ts +++ b/packages/engine-formula/src/functions/logical/makearray/__test__/index.spec.ts @@ -29,7 +29,7 @@ import { FUNCTION_NAMES_META } from '../../../meta/function-names'; import { Multiply } from '../../../meta/multiply'; import { FUNCTION_NAMES_LOGICAL } from '../../function-names'; import { Lambda } from '../../lambda'; -import { Makearray } from '..'; +import { Makearray } from '../index'; import type { BaseValueObject } from '../../../../engine/value-object/base-value-object'; describe('Test makearray', () => { diff --git a/packages/engine-formula/src/functions/logical/or/__tests__/index.spec.ts b/packages/engine-formula/src/functions/logical/or/__tests__/index.spec.ts index 801fbfa8dd..186cbb90b0 100644 --- a/packages/engine-formula/src/functions/logical/or/__tests__/index.spec.ts +++ b/packages/engine-formula/src/functions/logical/or/__tests__/index.spec.ts @@ -17,10 +17,10 @@ import { describe, expect, it } from 'vitest'; import { FUNCTION_NAMES_LOGICAL } from '../../function-names'; -import { Or } from '..'; import { ArrayValueObject, transformToValueObject } from '../../../../engine/value-object/array-value-object'; import { BooleanValueObject, NullValueObject, NumberValueObject, StringValueObject } from '../../../../engine/value-object/primitive-object'; -import { ErrorType } from '../../../..'; +import { ErrorType } from '../../../../basics/error-type'; +import { Or } from '../index'; describe('Test or function', () => { const textFunction = new Or(FUNCTION_NAMES_LOGICAL.OR); diff --git a/packages/engine-formula/src/functions/lookup/address/__tests__/index.spec.ts b/packages/engine-formula/src/functions/lookup/address/__tests__/index.spec.ts index 4ab06278d1..52407bff73 100644 --- a/packages/engine-formula/src/functions/lookup/address/__tests__/index.spec.ts +++ b/packages/engine-formula/src/functions/lookup/address/__tests__/index.spec.ts @@ -24,7 +24,7 @@ import { StringValueObject, } from '../../../../engine/value-object/primitive-object'; import { FUNCTION_NAMES_LOOKUP } from '../../function-names'; -import { Address } from '..'; +import { Address } from '../index'; describe('Test address', () => { const textFunction = new Address(FUNCTION_NAMES_LOOKUP.ADDRESS); diff --git a/packages/engine-formula/src/functions/lookup/column/__tests__/index.spec.ts b/packages/engine-formula/src/functions/lookup/column/__tests__/index.spec.ts index 785c878829..dae3685391 100644 --- a/packages/engine-formula/src/functions/lookup/column/__tests__/index.spec.ts +++ b/packages/engine-formula/src/functions/lookup/column/__tests__/index.spec.ts @@ -27,7 +27,7 @@ import { IFunctionService } from '../../../../services/function.service'; import { IFormulaRuntimeService } from '../../../../services/runtime.service'; import { createFunctionTestBed } from '../../../__tests__/create-function-test-bed'; import { FUNCTION_NAMES_LOOKUP } from '../../function-names'; -import { Column } from '..'; +import { Column } from '../index'; import type { BaseValueObject, ErrorValueObject } from '../../../../engine/value-object/base-value-object'; import { ErrorType } from '../../../../basics/error-type'; import type { ArrayValueObject } from '../../../../engine/value-object/array-value-object'; diff --git a/packages/engine-formula/src/functions/lookup/columns/__tests__/index.spec.ts b/packages/engine-formula/src/functions/lookup/columns/__tests__/index.spec.ts index 24e47a669c..efb45c0c35 100644 --- a/packages/engine-formula/src/functions/lookup/columns/__tests__/index.spec.ts +++ b/packages/engine-formula/src/functions/lookup/columns/__tests__/index.spec.ts @@ -27,7 +27,7 @@ import { IFunctionService } from '../../../../services/function.service'; import { IFormulaRuntimeService } from '../../../../services/runtime.service'; import { createFunctionTestBed } from '../../../__tests__/create-function-test-bed'; import { FUNCTION_NAMES_LOOKUP } from '../../function-names'; -import { Columns } from '..'; +import { Columns } from '../index'; import type { BaseValueObject, ErrorValueObject } from '../../../../engine/value-object/base-value-object'; import { ErrorType } from '../../../../basics/error-type'; diff --git a/packages/engine-formula/src/functions/lookup/hlookup/__tests__/index.spec.ts b/packages/engine-formula/src/functions/lookup/hlookup/__tests__/index.spec.ts index 9d71d02b87..347f193d41 100644 --- a/packages/engine-formula/src/functions/lookup/hlookup/__tests__/index.spec.ts +++ b/packages/engine-formula/src/functions/lookup/hlookup/__tests__/index.spec.ts @@ -21,7 +21,7 @@ import { ArrayValueObject } from '../../../../engine/value-object/array-value-ob import type { BaseValueObject } from '../../../../engine/value-object/base-value-object'; import { NumberValueObject } from '../../../../engine/value-object/primitive-object'; import { FUNCTION_NAMES_LOOKUP } from '../../function-names'; -import { Hlookup } from '..'; +import { Hlookup } from '../index'; const arrayValueObject1 = ArrayValueObject.create(/*ts*/ `{ 1,2,3,4,5,6,7,8; diff --git a/packages/engine-formula/src/functions/lookup/index/__test__/index.spec.ts b/packages/engine-formula/src/functions/lookup/index/__test__/index.spec.ts index cf6b1e3fe8..68a9403886 100644 --- a/packages/engine-formula/src/functions/lookup/index/__test__/index.spec.ts +++ b/packages/engine-formula/src/functions/lookup/index/__test__/index.spec.ts @@ -29,7 +29,7 @@ import { IFunctionService } from '../../../../services/function.service'; import { IFormulaRuntimeService } from '../../../../services/runtime.service'; import { createFunctionTestBed, getObjectValue } from '../../../__tests__/create-function-test-bed'; import { FUNCTION_NAMES_LOOKUP } from '../../function-names'; -import { Index } from '..'; +import { Index } from '../index'; import { ErrorType } from '../../../../basics/error-type'; const getTestWorkbookData = (): IWorkbookData => { diff --git a/packages/engine-formula/src/functions/lookup/indirect/__test__/index.spec.ts b/packages/engine-formula/src/functions/lookup/indirect/__test__/index.spec.ts index 7ef6e6a75c..2fce8b3aee 100644 --- a/packages/engine-formula/src/functions/lookup/indirect/__test__/index.spec.ts +++ b/packages/engine-formula/src/functions/lookup/indirect/__test__/index.spec.ts @@ -32,7 +32,7 @@ import { createFunctionTestBed } from '../../../__tests__/create-function-test-b import { FUNCTION_NAMES_META } from '../../../meta/function-names'; import { Multiply } from '../../../meta/multiply'; import { FUNCTION_NAMES_LOOKUP } from '../../function-names'; -import { Indirect } from '..'; +import { Indirect } from '../index'; describe('Test indirect', () => { // const textFunction = new Makearray(FUNCTION_NAMES_LOGICAL.MAKEARRAY); diff --git a/packages/engine-formula/src/functions/lookup/lookup/__tests__/index.spec.ts b/packages/engine-formula/src/functions/lookup/lookup/__tests__/index.spec.ts index c144bc05ca..07a089ce40 100644 --- a/packages/engine-formula/src/functions/lookup/lookup/__tests__/index.spec.ts +++ b/packages/engine-formula/src/functions/lookup/lookup/__tests__/index.spec.ts @@ -21,7 +21,7 @@ import { ArrayValueObject } from '../../../../engine/value-object/array-value-ob import type { BaseValueObject } from '../../../../engine/value-object/base-value-object'; import { NumberValueObject, StringValueObject } from '../../../../engine/value-object/primitive-object'; import { FUNCTION_NAMES_LOOKUP } from '../../function-names'; -import { Lookup } from '..'; +import { Lookup } from '../index'; const arrayValueObject1 = ArrayValueObject.create(/*ts*/ `{ 1, "First"; diff --git a/packages/engine-formula/src/functions/lookup/match/__tests__/index.spec.ts b/packages/engine-formula/src/functions/lookup/match/__tests__/index.spec.ts index 4031d67f66..ba6730ca2c 100644 --- a/packages/engine-formula/src/functions/lookup/match/__tests__/index.spec.ts +++ b/packages/engine-formula/src/functions/lookup/match/__tests__/index.spec.ts @@ -21,7 +21,7 @@ import { NumberValueObject, } from '../../../../engine/value-object/primitive-object'; import { FUNCTION_NAMES_LOOKUP } from '../../function-names'; -import { Match } from '..'; +import { Match } from '../index'; import { ErrorType } from '../../../../basics/error-type'; describe('Test match', () => { diff --git a/packages/engine-formula/src/functions/lookup/offset/__tests__/index.spec.ts b/packages/engine-formula/src/functions/lookup/offset/__tests__/index.spec.ts index 1839e1110a..d6dffce880 100644 --- a/packages/engine-formula/src/functions/lookup/offset/__tests__/index.spec.ts +++ b/packages/engine-formula/src/functions/lookup/offset/__tests__/index.spec.ts @@ -29,7 +29,7 @@ import { IFunctionService } from '../../../../services/function.service'; import { IFormulaRuntimeService } from '../../../../services/runtime.service'; import { createFunctionTestBed, getObjectValue } from '../../../__tests__/create-function-test-bed'; import { FUNCTION_NAMES_LOOKUP } from '../../function-names'; -import { Offset } from '..'; +import { Offset } from '../index'; import { ErrorType } from '../../../../basics/error-type'; const getTestWorkbookData = (): IWorkbookData => { diff --git a/packages/engine-formula/src/functions/lookup/row/__tests__/index.spec.ts b/packages/engine-formula/src/functions/lookup/row/__tests__/index.spec.ts index d62a7db44d..ab91e99038 100644 --- a/packages/engine-formula/src/functions/lookup/row/__tests__/index.spec.ts +++ b/packages/engine-formula/src/functions/lookup/row/__tests__/index.spec.ts @@ -27,7 +27,7 @@ import { IFunctionService } from '../../../../services/function.service'; import { IFormulaRuntimeService } from '../../../../services/runtime.service'; import { createFunctionTestBed } from '../../../__tests__/create-function-test-bed'; import { FUNCTION_NAMES_LOOKUP } from '../../function-names'; -import { Row } from '..'; +import { Row } from '../index'; import type { BaseValueObject, ErrorValueObject } from '../../../../engine/value-object/base-value-object'; import type { ArrayValueObject } from '../../../../engine/value-object/array-value-object'; import { ErrorType } from '../../../../basics/error-type'; diff --git a/packages/engine-formula/src/functions/lookup/rows/__tests__/index.spec.ts b/packages/engine-formula/src/functions/lookup/rows/__tests__/index.spec.ts index cccfe01798..afd8487d7a 100644 --- a/packages/engine-formula/src/functions/lookup/rows/__tests__/index.spec.ts +++ b/packages/engine-formula/src/functions/lookup/rows/__tests__/index.spec.ts @@ -27,7 +27,7 @@ import { IFunctionService } from '../../../../services/function.service'; import { IFormulaRuntimeService } from '../../../../services/runtime.service'; import { createFunctionTestBed } from '../../../__tests__/create-function-test-bed'; import { FUNCTION_NAMES_LOOKUP } from '../../function-names'; -import { Rows } from '..'; +import { Rows } from '../index'; import type { BaseValueObject, ErrorValueObject } from '../../../../engine/value-object/base-value-object'; import { ErrorType } from '../../../../basics/error-type'; diff --git a/packages/engine-formula/src/functions/lookup/vlookup/__tests__/index.spec.ts b/packages/engine-formula/src/functions/lookup/vlookup/__tests__/index.spec.ts index 66a0da6af0..d8b8e1c36b 100644 --- a/packages/engine-formula/src/functions/lookup/vlookup/__tests__/index.spec.ts +++ b/packages/engine-formula/src/functions/lookup/vlookup/__tests__/index.spec.ts @@ -21,7 +21,7 @@ import { ArrayValueObject } from '../../../../engine/value-object/array-value-ob import type { BaseValueObject } from '../../../../engine/value-object/base-value-object'; import { NumberValueObject, StringValueObject } from '../../../../engine/value-object/primitive-object'; import { FUNCTION_NAMES_LOOKUP } from '../../function-names'; -import { Vlookup } from '..'; +import { Vlookup } from '../index'; import { getObjectValue } from '../../../__tests__/create-function-test-bed'; const arrayValueObject1 = ArrayValueObject.create(/*ts*/ `{ diff --git a/packages/engine-formula/src/functions/lookup/xlookup/__tests__/index.spec.ts b/packages/engine-formula/src/functions/lookup/xlookup/__tests__/index.spec.ts index 8c3ed1c223..64647cf4d7 100644 --- a/packages/engine-formula/src/functions/lookup/xlookup/__tests__/index.spec.ts +++ b/packages/engine-formula/src/functions/lookup/xlookup/__tests__/index.spec.ts @@ -24,7 +24,7 @@ import { StringValueObject, } from '../../../../engine/value-object/primitive-object'; import { FUNCTION_NAMES_LOOKUP } from '../../function-names'; -import { Xlookup } from '..'; +import { Xlookup } from '../index'; const arrayValueObject1 = ArrayValueObject.create(/*ts*/ `{ 1, "First", 100, 89; diff --git a/packages/engine-formula/src/functions/lookup/xmatch/__tests__/index.spec.ts b/packages/engine-formula/src/functions/lookup/xmatch/__tests__/index.spec.ts index 379349d384..ce2f3e771e 100644 --- a/packages/engine-formula/src/functions/lookup/xmatch/__tests__/index.spec.ts +++ b/packages/engine-formula/src/functions/lookup/xmatch/__tests__/index.spec.ts @@ -19,7 +19,7 @@ import { describe, expect, it } from 'vitest'; import { ArrayValueObject } from '../../../../engine/value-object/array-value-object'; import { FUNCTION_NAMES_LOOKUP } from '../../function-names'; -import { Xmatch } from '..'; +import { Xmatch } from '../index'; import { NumberValueObject, StringValueObject } from '../../../../engine/value-object/primitive-object'; const arrayValueObject1 = ArrayValueObject.create(/*ts*/ `{ diff --git a/packages/engine-formula/src/functions/math/abs/__tests__/index.spec.ts b/packages/engine-formula/src/functions/math/abs/__tests__/index.spec.ts index ef010516a6..c7f88f0f70 100644 --- a/packages/engine-formula/src/functions/math/abs/__tests__/index.spec.ts +++ b/packages/engine-formula/src/functions/math/abs/__tests__/index.spec.ts @@ -17,7 +17,7 @@ import { describe, expect, it } from 'vitest'; import { FUNCTION_NAMES_MATH } from '../../function-names'; -import { Abs } from '..'; +import { Abs } from '../index'; import { NumberValueObject, StringValueObject } from '../../../../engine/value-object/primitive-object'; import { ArrayValueObject, transformToValue, transformToValueObject } from '../../../../engine/value-object/array-value-object'; diff --git a/packages/engine-formula/src/functions/math/acos/__tests__/index.spec.ts b/packages/engine-formula/src/functions/math/acos/__tests__/index.spec.ts index f86ef52d4a..25bd62aa60 100644 --- a/packages/engine-formula/src/functions/math/acos/__tests__/index.spec.ts +++ b/packages/engine-formula/src/functions/math/acos/__tests__/index.spec.ts @@ -17,7 +17,7 @@ import { describe, expect, it } from 'vitest'; import { FUNCTION_NAMES_MATH } from '../../function-names'; -import { Acos } from '..'; +import { Acos } from '../index'; import { NumberValueObject, StringValueObject } from '../../../../engine/value-object/primitive-object'; import { ArrayValueObject, transformToValue, transformToValueObject } from '../../../../engine/value-object/array-value-object'; diff --git a/packages/engine-formula/src/functions/math/acosh/__tests__/index.spec.ts b/packages/engine-formula/src/functions/math/acosh/__tests__/index.spec.ts index 60a46ea1f0..7ae1c8066c 100644 --- a/packages/engine-formula/src/functions/math/acosh/__tests__/index.spec.ts +++ b/packages/engine-formula/src/functions/math/acosh/__tests__/index.spec.ts @@ -17,7 +17,7 @@ import { describe, expect, it } from 'vitest'; import { FUNCTION_NAMES_MATH } from '../../function-names'; -import { Acosh } from '..'; +import { Acosh } from '../index'; import { NumberValueObject, StringValueObject } from '../../../../engine/value-object/primitive-object'; import { ArrayValueObject, transformToValue, transformToValueObject } from '../../../../engine/value-object/array-value-object'; diff --git a/packages/engine-formula/src/functions/math/acot/__tests__/index.spec.ts b/packages/engine-formula/src/functions/math/acot/__tests__/index.spec.ts index 2755b58a15..9557e5f805 100644 --- a/packages/engine-formula/src/functions/math/acot/__tests__/index.spec.ts +++ b/packages/engine-formula/src/functions/math/acot/__tests__/index.spec.ts @@ -17,7 +17,7 @@ import { describe, expect, it } from 'vitest'; import { FUNCTION_NAMES_MATH } from '../../function-names'; -import { Acot } from '..'; +import { Acot } from '../index'; import { NumberValueObject, StringValueObject } from '../../../../engine/value-object/primitive-object'; import { ArrayValueObject, transformToValue, transformToValueObject } from '../../../../engine/value-object/array-value-object'; diff --git a/packages/engine-formula/src/functions/math/mod/__tests__/index.spec.ts b/packages/engine-formula/src/functions/math/mod/__tests__/index.spec.ts index f94cf4f56b..175e85b2c7 100644 --- a/packages/engine-formula/src/functions/math/mod/__tests__/index.spec.ts +++ b/packages/engine-formula/src/functions/math/mod/__tests__/index.spec.ts @@ -17,7 +17,7 @@ import { describe, expect, it } from 'vitest'; import { FUNCTION_NAMES_MATH } from '../../function-names'; -import { Mod } from '..'; +import { Mod } from '../index'; import { NumberValueObject, StringValueObject } from '../../../../engine/value-object/primitive-object'; import { ArrayValueObject, transformToValue, transformToValueObject } from '../../../../engine/value-object/array-value-object'; import { ErrorType } from '../../../../basics/error-type'; diff --git a/packages/engine-formula/src/functions/math/power/__tests__/index.spec.ts b/packages/engine-formula/src/functions/math/power/__tests__/index.spec.ts index 1e719b540e..5fe40e968e 100644 --- a/packages/engine-formula/src/functions/math/power/__tests__/index.spec.ts +++ b/packages/engine-formula/src/functions/math/power/__tests__/index.spec.ts @@ -17,7 +17,7 @@ import { describe, expect, it } from 'vitest'; import { FUNCTION_NAMES_MATH } from '../../function-names'; -import { Power } from '..'; +import { Power } from '../index'; import { NumberValueObject, StringValueObject } from '../../../../engine/value-object/primitive-object'; import { ArrayValueObject, transformToValue, transformToValueObject } from '../../../../engine/value-object/array-value-object'; import { ErrorType } from '../../../../basics/error-type'; diff --git a/packages/engine-formula/src/functions/math/product/__tests__/index.spec.ts b/packages/engine-formula/src/functions/math/product/__tests__/index.spec.ts index dd5810fb5e..ab27c2f4d7 100644 --- a/packages/engine-formula/src/functions/math/product/__tests__/index.spec.ts +++ b/packages/engine-formula/src/functions/math/product/__tests__/index.spec.ts @@ -17,11 +17,11 @@ import { describe, expect, it } from 'vitest'; import { FUNCTION_NAMES_MATH } from '../../function-names'; -import { Product } from '..'; import { BooleanValueObject, NullValueObject, NumberValueObject, StringValueObject } from '../../../../engine/value-object/primitive-object'; import { ArrayValueObject, transformToValueObject } from '../../../../engine/value-object/array-value-object'; import { ErrorType } from '../../../../basics/error-type'; -import { ErrorValueObject } from '../../../..'; +import { Product } from '../index'; +import { ErrorValueObject } from '../../../../engine/value-object/base-value-object'; describe('Test product function', () => { const textFunction = new Product(FUNCTION_NAMES_MATH.PRODUCT); diff --git a/packages/engine-formula/src/functions/math/product/index.ts b/packages/engine-formula/src/functions/math/product/index.ts index 04e8825bd3..2b580bf819 100644 --- a/packages/engine-formula/src/functions/math/product/index.ts +++ b/packages/engine-formula/src/functions/math/product/index.ts @@ -14,8 +14,8 @@ * limitations under the License. */ -import type { ArrayValueObject } from '../../..'; import { ErrorType } from '../../../basics/error-type'; +import type { ArrayValueObject } from '../../../engine/value-object/array-value-object'; import { type BaseValueObject, ErrorValueObject } from '../../../engine/value-object/base-value-object'; import { NumberValueObject } from '../../../engine/value-object/primitive-object'; import { BaseFunction } from '../../base-function'; diff --git a/packages/engine-formula/src/functions/math/subtotal/__tests__/index.spec.ts b/packages/engine-formula/src/functions/math/subtotal/__tests__/index.spec.ts index 0e9faf9ab1..625a262232 100644 --- a/packages/engine-formula/src/functions/math/subtotal/__tests__/index.spec.ts +++ b/packages/engine-formula/src/functions/math/subtotal/__tests__/index.spec.ts @@ -29,7 +29,7 @@ import { IFunctionService } from '../../../../services/function.service'; import { IFormulaRuntimeService } from '../../../../services/runtime.service'; import { createFunctionTestBed } from '../../../__tests__/create-function-test-bed'; import { FUNCTION_NAMES_MATH } from '../../function-names'; -import { Subtotal } from '..'; +import { Subtotal } from '../index'; import type { BaseValueObject, ErrorValueObject } from '../../../../engine/value-object/base-value-object'; import { ErrorType } from '../../../../basics/error-type'; import type { ArrayValueObject } from '../../../../engine/value-object/array-value-object'; diff --git a/packages/engine-formula/src/functions/math/subtotal/index.ts b/packages/engine-formula/src/functions/math/subtotal/index.ts index 0ff0f8b58c..f1a46ae8a3 100644 --- a/packages/engine-formula/src/functions/math/subtotal/index.ts +++ b/packages/engine-formula/src/functions/math/subtotal/index.ts @@ -22,7 +22,7 @@ import { type BaseValueObject, ErrorValueObject } from '../../../engine/value-ob import { BaseFunction } from '../../base-function'; import { createNewArray } from '../../../engine/utils/array-object'; import { NumberValueObject } from '../../../engine/value-object/primitive-object'; -import type { ArrayValueObject } from '../../..'; +import type { ArrayValueObject } from '../../../engine/value-object/array-value-object'; enum FunctionNum { AVERAGE = 1, diff --git a/packages/engine-formula/src/functions/math/sum/__tests__/index.spec.ts b/packages/engine-formula/src/functions/math/sum/__tests__/index.spec.ts index 2387e3e5cd..912772030e 100644 --- a/packages/engine-formula/src/functions/math/sum/__tests__/index.spec.ts +++ b/packages/engine-formula/src/functions/math/sum/__tests__/index.spec.ts @@ -17,11 +17,11 @@ import { describe, expect, it } from 'vitest'; import { FUNCTION_NAMES_MATH } from '../../function-names'; -import { Sum } from '..'; +import { Sum } from '../index'; import { BooleanValueObject, NullValueObject, NumberValueObject, StringValueObject } from '../../../../engine/value-object/primitive-object'; import { ArrayValueObject, transformToValueObject } from '../../../../engine/value-object/array-value-object'; import { ErrorType } from '../../../../basics/error-type'; -import { ErrorValueObject } from '../../../..'; +import { ErrorValueObject } from '../../../../engine/value-object/base-value-object'; describe('Test sum function', () => { const textFunction = new Sum(FUNCTION_NAMES_MATH.SUM); diff --git a/packages/engine-formula/src/functions/math/sumif/__tests__/index.spec.ts b/packages/engine-formula/src/functions/math/sumif/__tests__/index.spec.ts index 2f139528d3..33746442cb 100644 --- a/packages/engine-formula/src/functions/math/sumif/__tests__/index.spec.ts +++ b/packages/engine-formula/src/functions/math/sumif/__tests__/index.spec.ts @@ -18,7 +18,7 @@ import { describe, expect, it } from 'vitest'; import { ArrayValueObject, transformToValue } from '../../../../engine/value-object/array-value-object'; import { FUNCTION_NAMES_MATH } from '../../function-names'; -import { Sumif } from '..'; +import { Sumif } from '../index'; import { StringValueObject } from '../../../../engine/value-object/primitive-object'; describe('Test sumif function', () => { diff --git a/packages/engine-formula/src/functions/math/sumifs/__tests__/index.spec.ts b/packages/engine-formula/src/functions/math/sumifs/__tests__/index.spec.ts index 8ce100f8f6..2c3e773c26 100644 --- a/packages/engine-formula/src/functions/math/sumifs/__tests__/index.spec.ts +++ b/packages/engine-formula/src/functions/math/sumifs/__tests__/index.spec.ts @@ -18,7 +18,7 @@ import { describe, expect, it } from 'vitest'; import { ArrayValueObject, transformToValue } from '../../../../engine/value-object/array-value-object'; import { FUNCTION_NAMES_MATH } from '../../function-names'; -import { Sumifs } from '..'; +import { Sumifs } from '../index'; import { NumberValueObject, StringValueObject } from '../../../../engine/value-object/primitive-object'; describe('Test sumifs function', () => { diff --git a/packages/engine-formula/src/functions/statistical/average/__tests__/index.spec.ts b/packages/engine-formula/src/functions/statistical/average/__tests__/index.spec.ts index bf173e4335..b5fbaca585 100644 --- a/packages/engine-formula/src/functions/statistical/average/__tests__/index.spec.ts +++ b/packages/engine-formula/src/functions/statistical/average/__tests__/index.spec.ts @@ -17,11 +17,11 @@ import { describe, expect, it } from 'vitest'; import { FUNCTION_NAMES_STATISTICAL } from '../../function-names'; -import { Average } from '..'; +import { Average } from '../index'; import { BooleanValueObject, NullValueObject, NumberValueObject, StringValueObject } from '../../../../engine/value-object/primitive-object'; import { ArrayValueObject, transformToValueObject } from '../../../../engine/value-object/array-value-object'; import { ErrorType } from '../../../../basics/error-type'; -import { ErrorValueObject } from '../../../..'; +import { ErrorValueObject } from '../../../../engine/value-object/base-value-object'; describe('Test average function', () => { const textFunction = new Average(FUNCTION_NAMES_STATISTICAL.AVERAGE); diff --git a/packages/engine-formula/src/functions/statistical/count/__tests__/index.spec.ts b/packages/engine-formula/src/functions/statistical/count/__tests__/index.spec.ts index aa632946f9..e3345b9852 100644 --- a/packages/engine-formula/src/functions/statistical/count/__tests__/index.spec.ts +++ b/packages/engine-formula/src/functions/statistical/count/__tests__/index.spec.ts @@ -17,11 +17,11 @@ import { describe, expect, it } from 'vitest'; import { FUNCTION_NAMES_STATISTICAL } from '../../function-names'; -import { Count } from '..'; +import { Count } from '../index'; import { BooleanValueObject, NullValueObject, NumberValueObject, StringValueObject } from '../../../../engine/value-object/primitive-object'; import { ArrayValueObject, transformToValueObject } from '../../../../engine/value-object/array-value-object'; import { ErrorType } from '../../../../basics/error-type'; -import { ErrorValueObject } from '../../../..'; +import { ErrorValueObject } from '../../../../engine/value-object/base-value-object'; describe('Test count function', () => { const textFunction = new Count(FUNCTION_NAMES_STATISTICAL.COUNT); diff --git a/packages/engine-formula/src/functions/statistical/counta/__tests__/index.spec.ts b/packages/engine-formula/src/functions/statistical/counta/__tests__/index.spec.ts index 1dc0965cab..ea30f7a488 100644 --- a/packages/engine-formula/src/functions/statistical/counta/__tests__/index.spec.ts +++ b/packages/engine-formula/src/functions/statistical/counta/__tests__/index.spec.ts @@ -17,11 +17,11 @@ import { describe, expect, it } from 'vitest'; import { FUNCTION_NAMES_STATISTICAL } from '../../function-names'; -import { Counta } from '..'; +import { Counta } from '../index'; import { BooleanValueObject, NullValueObject, NumberValueObject, StringValueObject } from '../../../../engine/value-object/primitive-object'; import { ArrayValueObject, transformToValueObject } from '../../../../engine/value-object/array-value-object'; import { ErrorType } from '../../../../basics/error-type'; -import { ErrorValueObject } from '../../../..'; +import { ErrorValueObject } from '../../../../engine/value-object/base-value-object'; describe('Test counta function', () => { const textFunction = new Counta(FUNCTION_NAMES_STATISTICAL.COUNTA); diff --git a/packages/engine-formula/src/functions/statistical/max/__tests__/index.spec.ts b/packages/engine-formula/src/functions/statistical/max/__tests__/index.spec.ts index 23eb0c90d6..69f70c7f6d 100644 --- a/packages/engine-formula/src/functions/statistical/max/__tests__/index.spec.ts +++ b/packages/engine-formula/src/functions/statistical/max/__tests__/index.spec.ts @@ -17,11 +17,11 @@ import { describe, expect, it } from 'vitest'; import { FUNCTION_NAMES_STATISTICAL } from '../../function-names'; -import { Max } from '..'; +import { Max } from '../index'; import { BooleanValueObject, NullValueObject, NumberValueObject, StringValueObject } from '../../../../engine/value-object/primitive-object'; import { ArrayValueObject, transformToValueObject } from '../../../../engine/value-object/array-value-object'; import { ErrorType } from '../../../../basics/error-type'; -import { ErrorValueObject } from '../../../..'; +import { ErrorValueObject } from '../../../../engine/value-object/base-value-object'; describe('Test max function', () => { const textFunction = new Max(FUNCTION_NAMES_STATISTICAL.MAX); diff --git a/packages/engine-formula/src/functions/statistical/min/__tests__/index.spec.ts b/packages/engine-formula/src/functions/statistical/min/__tests__/index.spec.ts index 63eefe3b28..dd25f3a432 100644 --- a/packages/engine-formula/src/functions/statistical/min/__tests__/index.spec.ts +++ b/packages/engine-formula/src/functions/statistical/min/__tests__/index.spec.ts @@ -17,11 +17,11 @@ import { describe, expect, it } from 'vitest'; import { FUNCTION_NAMES_STATISTICAL } from '../../function-names'; -import { Min } from '..'; +import { Min } from '../index'; import { BooleanValueObject, NullValueObject, NumberValueObject, StringValueObject } from '../../../../engine/value-object/primitive-object'; import { ArrayValueObject, transformToValueObject } from '../../../../engine/value-object/array-value-object'; import { ErrorType } from '../../../../basics/error-type'; -import { ErrorValueObject } from '../../../..'; +import { ErrorValueObject } from '../../../../engine/value-object/base-value-object'; describe('Test min function', () => { const textFunction = new Min(FUNCTION_NAMES_STATISTICAL.MIN); diff --git a/packages/engine-formula/src/functions/statistical/stdev-p/__tests__/index.spec.ts b/packages/engine-formula/src/functions/statistical/stdev-p/__tests__/index.spec.ts index fd0f857a24..83f6065e7c 100644 --- a/packages/engine-formula/src/functions/statistical/stdev-p/__tests__/index.spec.ts +++ b/packages/engine-formula/src/functions/statistical/stdev-p/__tests__/index.spec.ts @@ -17,11 +17,11 @@ import { describe, expect, it } from 'vitest'; import { FUNCTION_NAMES_STATISTICAL } from '../../function-names'; -import { StdevP } from '..'; +import { StdevP } from '../index'; import { BooleanValueObject, NullValueObject, NumberValueObject, StringValueObject } from '../../../../engine/value-object/primitive-object'; import { ArrayValueObject, transformToValueObject } from '../../../../engine/value-object/array-value-object'; import { ErrorType } from '../../../../basics/error-type'; -import { ErrorValueObject } from '../../../..'; +import { ErrorValueObject } from '../../../../engine/value-object/base-value-object'; describe('Test stdev.p function', () => { const textFunction = new StdevP(FUNCTION_NAMES_STATISTICAL.STDEV_P); diff --git a/packages/engine-formula/src/functions/statistical/stdev-s/__tests__/index.spec.ts b/packages/engine-formula/src/functions/statistical/stdev-s/__tests__/index.spec.ts index 7c1c651a87..617a2b4e75 100644 --- a/packages/engine-formula/src/functions/statistical/stdev-s/__tests__/index.spec.ts +++ b/packages/engine-formula/src/functions/statistical/stdev-s/__tests__/index.spec.ts @@ -17,11 +17,11 @@ import { describe, expect, it } from 'vitest'; import { FUNCTION_NAMES_STATISTICAL } from '../../function-names'; -import { StdevS } from '..'; +import { StdevS } from '../index'; import { BooleanValueObject, NullValueObject, NumberValueObject, StringValueObject } from '../../../../engine/value-object/primitive-object'; import { ArrayValueObject, transformToValueObject } from '../../../../engine/value-object/array-value-object'; import { ErrorType } from '../../../../basics/error-type'; -import { ErrorValueObject } from '../../../..'; +import { ErrorValueObject } from '../../../../engine/value-object/base-value-object'; describe('Test stdev.s function', () => { const textFunction = new StdevS(FUNCTION_NAMES_STATISTICAL.STDEV_S); diff --git a/packages/engine-formula/src/functions/statistical/stdeva/__tests__/index.spec.ts b/packages/engine-formula/src/functions/statistical/stdeva/__tests__/index.spec.ts index 72cc47c4d8..a762932ccd 100644 --- a/packages/engine-formula/src/functions/statistical/stdeva/__tests__/index.spec.ts +++ b/packages/engine-formula/src/functions/statistical/stdeva/__tests__/index.spec.ts @@ -17,11 +17,11 @@ import { describe, expect, it } from 'vitest'; import { FUNCTION_NAMES_STATISTICAL } from '../../function-names'; -import { Stdeva } from '..'; +import { Stdeva } from '../index'; import { BooleanValueObject, NullValueObject, NumberValueObject, StringValueObject } from '../../../../engine/value-object/primitive-object'; import { ArrayValueObject, transformToValueObject } from '../../../../engine/value-object/array-value-object'; import { ErrorType } from '../../../../basics/error-type'; -import { ErrorValueObject } from '../../../..'; +import { ErrorValueObject } from '../../../../engine/value-object/base-value-object'; describe('Test stdeva function', () => { const textFunction = new Stdeva(FUNCTION_NAMES_STATISTICAL.STDEVA); diff --git a/packages/engine-formula/src/functions/statistical/stdevpa/__tests__/index.spec.ts b/packages/engine-formula/src/functions/statistical/stdevpa/__tests__/index.spec.ts index 9ae854de1e..8e82441af6 100644 --- a/packages/engine-formula/src/functions/statistical/stdevpa/__tests__/index.spec.ts +++ b/packages/engine-formula/src/functions/statistical/stdevpa/__tests__/index.spec.ts @@ -17,11 +17,11 @@ import { describe, expect, it } from 'vitest'; import { FUNCTION_NAMES_STATISTICAL } from '../../function-names'; -import { Stdevpa } from '..'; +import { Stdevpa } from '../index'; import { BooleanValueObject, NullValueObject, NumberValueObject, StringValueObject } from '../../../../engine/value-object/primitive-object'; import { ArrayValueObject, transformToValueObject } from '../../../../engine/value-object/array-value-object'; import { ErrorType } from '../../../../basics/error-type'; -import { ErrorValueObject } from '../../../..'; +import { ErrorValueObject } from '../../../../engine/value-object/base-value-object'; describe('Test stdevpa function', () => { const textFunction = new Stdevpa(FUNCTION_NAMES_STATISTICAL.STDEVPA); diff --git a/packages/engine-formula/src/functions/statistical/var-p/__tests__/index.spec.ts b/packages/engine-formula/src/functions/statistical/var-p/__tests__/index.spec.ts index 2813fb9308..9ff634e86b 100644 --- a/packages/engine-formula/src/functions/statistical/var-p/__tests__/index.spec.ts +++ b/packages/engine-formula/src/functions/statistical/var-p/__tests__/index.spec.ts @@ -17,11 +17,11 @@ import { describe, expect, it } from 'vitest'; import { FUNCTION_NAMES_STATISTICAL } from '../../function-names'; -import { VarP } from '..'; +import { VarP } from '../index'; import { BooleanValueObject, NullValueObject, NumberValueObject, StringValueObject } from '../../../../engine/value-object/primitive-object'; import { ArrayValueObject, transformToValueObject } from '../../../../engine/value-object/array-value-object'; import { ErrorType } from '../../../../basics/error-type'; -import { ErrorValueObject } from '../../../..'; +import { ErrorValueObject } from '../../../../engine/value-object/base-value-object'; describe('Test var.p function', () => { const textFunction = new VarP(FUNCTION_NAMES_STATISTICAL.VAR_P); diff --git a/packages/engine-formula/src/functions/statistical/var-s/__tests__/index.spec.ts b/packages/engine-formula/src/functions/statistical/var-s/__tests__/index.spec.ts index bf29351061..fd435482bd 100644 --- a/packages/engine-formula/src/functions/statistical/var-s/__tests__/index.spec.ts +++ b/packages/engine-formula/src/functions/statistical/var-s/__tests__/index.spec.ts @@ -17,11 +17,11 @@ import { describe, expect, it } from 'vitest'; import { FUNCTION_NAMES_STATISTICAL } from '../../function-names'; -import { VarS } from '..'; +import { VarS } from '../index'; import { BooleanValueObject, NullValueObject, NumberValueObject, StringValueObject } from '../../../../engine/value-object/primitive-object'; import { ArrayValueObject, transformToValueObject } from '../../../../engine/value-object/array-value-object'; import { ErrorType } from '../../../../basics/error-type'; -import { ErrorValueObject } from '../../../..'; +import { ErrorValueObject } from '../../../../engine/value-object/base-value-object'; describe('Test var.s function', () => { const textFunction = new VarS(FUNCTION_NAMES_STATISTICAL.VAR_S); diff --git a/packages/engine-formula/src/functions/statistical/vara/__tests__/index.spec.ts b/packages/engine-formula/src/functions/statistical/vara/__tests__/index.spec.ts index af5efecf87..a957841ed4 100644 --- a/packages/engine-formula/src/functions/statistical/vara/__tests__/index.spec.ts +++ b/packages/engine-formula/src/functions/statistical/vara/__tests__/index.spec.ts @@ -17,11 +17,11 @@ import { describe, expect, it } from 'vitest'; import { FUNCTION_NAMES_STATISTICAL } from '../../function-names'; -import { Vara } from '..'; +import { Vara } from '../index'; import { BooleanValueObject, NullValueObject, NumberValueObject, StringValueObject } from '../../../../engine/value-object/primitive-object'; import { ArrayValueObject, transformToValueObject } from '../../../../engine/value-object/array-value-object'; import { ErrorType } from '../../../../basics/error-type'; -import { ErrorValueObject } from '../../../..'; +import { ErrorValueObject } from '../../../../engine/value-object/base-value-object'; describe('Test vara function', () => { const textFunction = new Vara(FUNCTION_NAMES_STATISTICAL.VARA); diff --git a/packages/engine-formula/src/functions/statistical/varpa/__tests__/index.spec.ts b/packages/engine-formula/src/functions/statistical/varpa/__tests__/index.spec.ts index 3237c348ac..d3f175d97a 100644 --- a/packages/engine-formula/src/functions/statistical/varpa/__tests__/index.spec.ts +++ b/packages/engine-formula/src/functions/statistical/varpa/__tests__/index.spec.ts @@ -17,11 +17,11 @@ import { describe, expect, it } from 'vitest'; import { FUNCTION_NAMES_STATISTICAL } from '../../function-names'; -import { Varpa } from '..'; +import { Varpa } from '../index'; import { BooleanValueObject, NullValueObject, NumberValueObject, StringValueObject } from '../../../../engine/value-object/primitive-object'; import { ArrayValueObject, transformToValueObject } from '../../../../engine/value-object/array-value-object'; import { ErrorType } from '../../../../basics/error-type'; -import { ErrorValueObject } from '../../../..'; +import { ErrorValueObject } from '../../../../engine/value-object/base-value-object'; describe('Test varpa function', () => { const textFunction = new Varpa(FUNCTION_NAMES_STATISTICAL.VARPA); diff --git a/packages/engine-formula/src/functions/text/concatenate/__tests__/index.spec.ts b/packages/engine-formula/src/functions/text/concatenate/__tests__/index.spec.ts index bd59c8df5a..54fb79acca 100644 --- a/packages/engine-formula/src/functions/text/concatenate/__tests__/index.spec.ts +++ b/packages/engine-formula/src/functions/text/concatenate/__tests__/index.spec.ts @@ -17,7 +17,7 @@ import { describe, expect, it } from 'vitest'; import { FUNCTION_NAMES_TEXT } from '../../function-names'; -import { Concatenate } from '..'; +import { Concatenate } from '../index'; import { StringValueObject } from '../../../../engine/value-object/primitive-object'; import { ArrayValueObject, transformToValue, transformToValueObject } from '../../../../engine/value-object/array-value-object'; diff --git a/packages/engine-formula/src/functions/text/len/__test__/index.spec.ts b/packages/engine-formula/src/functions/text/len/__test__/index.spec.ts index 86cd19266c..32a823b7fa 100644 --- a/packages/engine-formula/src/functions/text/len/__test__/index.spec.ts +++ b/packages/engine-formula/src/functions/text/len/__test__/index.spec.ts @@ -17,7 +17,7 @@ import { describe, expect, it } from 'vitest'; import { FUNCTION_NAMES_TEXT } from '../../function-names'; -import { Len } from '..'; +import { Len } from '../index'; import { StringValueObject } from '../../../../engine/value-object/primitive-object'; import { ArrayValueObject, transformToValue, transformToValueObject } from '../../../../engine/value-object/array-value-object'; import { ErrorType } from '../../../../basics/error-type'; diff --git a/packages/engine-formula/src/functions/text/lenb/__test__/index.spec.ts b/packages/engine-formula/src/functions/text/lenb/__test__/index.spec.ts index 70cf5e6e7b..eac1794eb4 100644 --- a/packages/engine-formula/src/functions/text/lenb/__test__/index.spec.ts +++ b/packages/engine-formula/src/functions/text/lenb/__test__/index.spec.ts @@ -17,7 +17,7 @@ import { describe, expect, it } from 'vitest'; import { FUNCTION_NAMES_TEXT } from '../../function-names'; -import { Lenb } from '..'; +import { Lenb } from '../index'; import { StringValueObject } from '../../../../engine/value-object/primitive-object'; import { ArrayValueObject, transformToValue, transformToValueObject } from '../../../../engine/value-object/array-value-object'; import { ErrorType } from '../../../../basics/error-type'; diff --git a/packages/engine-formula/src/functions/text/text/__test__/index.spec.ts b/packages/engine-formula/src/functions/text/text/__test__/index.spec.ts index a9abe360d9..fa732ff5b8 100644 --- a/packages/engine-formula/src/functions/text/text/__test__/index.spec.ts +++ b/packages/engine-formula/src/functions/text/text/__test__/index.spec.ts @@ -17,7 +17,7 @@ import { describe, expect, it } from 'vitest'; import { FUNCTION_NAMES_TEXT } from '../../function-names'; -import { Text } from '..'; +import { Text } from '../index'; import { NumberValueObject, StringValueObject } from '../../../../engine/value-object/primitive-object'; import { transformToValue } from '../../../../engine/value-object/array-value-object'; diff --git a/packages/sheets-data-validation/src/services/dropdown-manager.service.ts b/packages/sheets-data-validation/src/services/dropdown-manager.service.ts index 9fe047b519..6bea15d77e 100644 --- a/packages/sheets-data-validation/src/services/dropdown-manager.service.ts +++ b/packages/sheets-data-validation/src/services/dropdown-manager.service.ts @@ -85,9 +85,8 @@ export class DataValidationDropdownManagerService extends Disposable { this._activeDropdown = param; this._activeDropdown$.next(this._activeDropdown); - const disposableCollection = new DisposableCollection(); const currentRender = this._renderManagerService.getRenderById(DOCS_FORMULA_BAR_EDITOR_UNIT_ID_KEY); - const attachDispose = this._canvasPopupManagerService.attachPopupToCell( + const popupDisposable = this._canvasPopupManagerService.attachPopupToCell( row, col, { @@ -99,8 +98,13 @@ export class DataValidationDropdownManagerService extends Disposable { excludeOutside: [currentRender?.engine.getCanvasElement()].filter(Boolean) as HTMLElement[], } ); - attachDispose && disposableCollection.add(attachDispose); + if (!popupDisposable) { + throw new Error('[DataValidationDropdownManagerService]: cannot show dropdown!'); + } + + const disposableCollection = new DisposableCollection(); + disposableCollection.add(popupDisposable); disposableCollection.add({ dispose: () => { this._activeDropdown?.onHide?.(); diff --git a/packages/sheets-ui/src/services/hover-manager.service.ts b/packages/sheets-ui/src/services/hover-manager.service.ts index 5c3cc93dc2..e6d7068dfd 100644 --- a/packages/sheets-ui/src/services/hover-manager.service.ts +++ b/packages/sheets-ui/src/services/hover-manager.service.ts @@ -20,10 +20,10 @@ import type { ISheetLocation } from '@univerjs/sheets'; import { Inject } from '@wendellhu/redi'; import { distinctUntilChanged, Subject } from 'rxjs'; import { IRenderManagerService, Vector2 } from '@univerjs/engine-render'; -import { ISelectionRenderService } from '..'; import { getCellIndexByOffsetWithMerge } from '../common/utils'; import { ScrollManagerService } from './scroll-manager.service'; import { SheetSkeletonManagerService } from './sheet-skeleton-manager.service'; +import { ISelectionRenderService } from './selection/selection-render.service'; export interface IHoverCellPosition { position: IPosition; diff --git a/packages/sheets/src/commands/utils/handle-merge-operation.ts b/packages/sheets/src/commands/utils/handle-merge-operation.ts index 3c10353148..19d6cc373a 100644 --- a/packages/sheets/src/commands/utils/handle-merge-operation.ts +++ b/packages/sheets/src/commands/utils/handle-merge-operation.ts @@ -18,8 +18,9 @@ import type { IAccessor } from '@wendellhu/redi'; import type { IRange } from '@univerjs/core'; import { Dimension } from '@univerjs/core'; import type { IAddMergeCommandParams } from '../commands/add-worksheet-merge.command'; -import type { ISetSelectionsOperationParams } from '../..'; -import { NORMAL_SELECTION_PLUGIN_NAME, SelectionManagerService, SetSelectionsOperation } from '../..'; +import { NORMAL_SELECTION_PLUGIN_NAME, SelectionManagerService } from '../../services/selection-manager.service'; +import type { ISetSelectionsOperationParams } from '../operations/selection.operation'; +import { SetSelectionsOperation } from '../operations/selection.operation'; export const AddMergeRedoSelectionsOperationFactory = (accessor: IAccessor, params: IAddMergeCommandParams, ranges: IRange[]) => { const selectionManagerService = accessor.get(SelectionManagerService); diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 245700caec..6c42cb5f9d 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -53,6 +53,9 @@ importers: eslint-plugin-header: specifier: ^3.1.1 version: 3.1.1(eslint@8.57.0) + eslint-plugin-no-barrel-import: + specifier: ^0.0.2 + version: 0.0.2(eslint@8.57.0) eslint-plugin-react: specifier: ^7.34.1 version: 7.34.1(eslint@8.57.0) @@ -2805,7 +2808,7 @@ packages: '@babel/core': 7.24.3 clone-deep: 4.0.1 find-cache-dir: 2.1.0 - make-dir: r2.cnpmjs.org/make-dir@2.1.0 + make-dir: 2.1.0 pirates: 4.0.6 source-map-support: 0.5.21 dev: false @@ -3348,7 +3351,7 @@ packages: engines: {node: '>=6'} hasBin: true dependencies: - lodash.camelcase: r2.cnpmjs.org/lodash.camelcase@4.3.0 + lodash.camelcase: 4.3.0 long: 5.2.3 protobufjs: 7.2.6 yargs: 17.7.2 @@ -3585,11 +3588,11 @@ packages: engines: {node: '>=12'} dependencies: string-width: 5.1.2 - string-width-cjs: r2.cnpmjs.org/string-width@4.2.3 + string-width-cjs: /string-width@4.2.3 strip-ansi: 7.1.0 - strip-ansi-cjs: r2.cnpmjs.org/strip-ansi@6.0.1 + strip-ansi-cjs: /strip-ansi@6.0.1 wrap-ansi: 8.1.0 - wrap-ansi-cjs: r2.cnpmjs.org/wrap-ansi@7.0.0 + wrap-ansi-cjs: /wrap-ansi@7.0.0 /@istanbuljs/schema@0.1.3: resolution: {integrity: sha512-ZXRY4jNvVgSVQ8DL3LTcakaAtXwTVUxE81hslsyD2AtoXW/wVob10HkOJ1X/pAlcI7D+2YoZKg5do8G/w6RYgA==} @@ -3869,6 +3872,49 @@ packages: config-chain: 1.1.13 dev: true + /@protobufjs/aspromise@1.1.2: + resolution: {integrity: sha512-j+gKExEuLmKwvz3OgROXtrJ2UG2x8Ch2YZUxahh+s1F2HZ+wAceUNLkvy6zKCPVRkU++ZWQrdxsUeQXmcg4uoQ==} + dev: false + + /@protobufjs/base64@1.1.2: + resolution: {integrity: sha512-AZkcAA5vnN/v4PDqKyMR5lx7hZttPDgClv83E//FMNhR2TMcLUhfRUBHCmSl0oi9zMgDDqRUJkSxO3wm85+XLg==} + dev: false + + /@protobufjs/codegen@2.0.4: + resolution: {integrity: sha512-YyFaikqM5sH0ziFZCN3xDC7zeGaB/d0IUb9CATugHWbd1FRFwWwt4ld4OYMPWu5a3Xe01mGAULCdqhMlPl29Jg==} + dev: false + + /@protobufjs/eventemitter@1.1.0: + resolution: {integrity: sha512-j9ednRT81vYJ9OfVuXG6ERSTdEL1xVsNgqpkxMsbIabzSo3goCjDIveeGv5d03om39ML71RdmrGNjG5SReBP/Q==} + dev: false + + /@protobufjs/fetch@1.1.0: + resolution: {integrity: sha512-lljVXpqXebpsijW71PZaCYeIcE5on1w5DlQy5WH6GLbFryLUrBD4932W/E2BSpfRJWseIL4v/KPgBFxDOIdKpQ==} + dependencies: + '@protobufjs/aspromise': 1.1.2 + '@protobufjs/inquire': 1.1.0 + dev: false + + /@protobufjs/float@1.0.2: + resolution: {integrity: sha512-Ddb+kVXlXst9d+R9PfTIxh1EdNkgoRe5tOX6t01f1lYWOvJnSPDBlG241QLzcyPdoNTsblLUdujGSE4RzrTZGQ==} + dev: false + + /@protobufjs/inquire@1.1.0: + resolution: {integrity: sha512-kdSefcPdruJiFMVSbn801t4vFK7KB/5gd2fYvrxhuJYg8ILrmn9SKSX2tZdV6V+ksulWqS7aXjBcRXl3wHoD9Q==} + dev: false + + /@protobufjs/path@1.1.2: + resolution: {integrity: sha512-6JOcJ5Tm08dOHAbdR3GrvP+yUUfkjG5ePsHYczMFLq3ZmMkAD98cDgcT2iA1lJ9NVwFd4tH/iSSoe44YWkltEA==} + dev: false + + /@protobufjs/pool@1.1.0: + resolution: {integrity: sha512-0kELaGSIDBKvcgS4zkjz1PeddatrjYcmMWOlAuAPwAeccUrPHdUqo/J6LiymHHEiJT5NrF1UVwxY14f+fy4WQw==} + dev: false + + /@protobufjs/utf8@1.1.0: + resolution: {integrity: sha512-Vvn3zZrhQZkkBE8LSuW3em98c0FwgO4nxzv6OdSxPKJIEKY2bGbHn+mhGIPerzI4twdxaP8/0+06HBpwf345Lw==} + dev: false + /@radix-ui/react-compose-refs@1.0.1(@types/react@18.2.73)(react@18.2.0): resolution: {integrity: sha512-fDSBgd44FKHa1FRMU59qBMPFcl2PZE+2nmqunj+BWFyYYjnhIDWL2ItDs3rrbJDQOtzt5nIebLCQc4QRfz6LJw==} peerDependencies: @@ -6979,7 +7025,7 @@ packages: resolution: {integrity: sha512-D5J+kHaVb/wKSFcyyV75uCn8fiY4sV38XJoe4CUyGQ+mOU/fMVYUdH1hJC+CJQ5uY3EnW27SbJYS4X8BiLrAFg==} engines: {node: '>= 10.0'} dependencies: - source-map: r2.cnpmjs.org/source-map@0.6.1 + source-map: 0.6.1 dev: false /clean-regexp@1.0.0: @@ -7971,6 +8017,14 @@ packages: hasBin: true dev: false + /errno@0.1.8: + resolution: {integrity: sha512-dJ6oBr5SQ1VSd9qkk7ByRgb/1SH4JZjCHSW/mr63/QcXO9zLVxvJ6Oy13nio03rxpSnVDDjFor75SjVeZWPW/A==} + hasBin: true + requiresBuild: true + dependencies: + prr: r2.cnpmjs.org/prr@1.0.1 + optional: true + /error-ex@1.3.2: resolution: {integrity: sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g==} dependencies: @@ -8449,7 +8503,7 @@ packages: estraverse: 5.3.0 esutils: 2.0.3 optionalDependencies: - source-map: r2.cnpmjs.org/source-map@0.6.1 + source-map: 0.6.1 /eslint-compat-utils@0.5.0(eslint@8.57.0): resolution: {integrity: sha512-dc6Y8tzEcSYZMHa+CMPLi/hyo1FzNeonbhJL7Ol0ccuKQkwopJcJBA9YL/xmMTLU1eKigXo9vj9nALElWYSowg==} @@ -8648,6 +8702,16 @@ packages: semver: 7.6.0 dev: true + /eslint-plugin-no-barrel-import@0.0.2(eslint@8.57.0): + resolution: {integrity: sha512-J/Jlph1Ps5iOJb745TiScsVd3FHO9acmcqQZ/4P0m4yHtWDpeOXX3kiVcumUigXQuenkYmdRiLR0OmCSyrv6OQ==} + engines: {node: ^14.17.0 || ^16.0.0 || >= 18.0.0} + peerDependencies: + eslint: '>=7' + dependencies: + eslint: 8.57.0 + requireindex: 1.2.0 + dev: true + /eslint-plugin-no-only-tests@3.1.0: resolution: {integrity: sha512-Lf4YW/bL6Un1R6A76pRZyE1dl1vr31G/ev8UzIc/geCgFWyrKil8hVjYqWVKGB/UIGmb6Slzs9T0wNezdSVegw==} engines: {node: '>=5.0.0'} @@ -9156,7 +9220,7 @@ packages: engines: {node: '>=6'} dependencies: commondir: 1.0.1 - make-dir: r2.cnpmjs.org/make-dir@2.1.0 + make-dir: 2.1.0 pkg-dir: 3.0.0 dev: false @@ -9330,6 +9394,14 @@ packages: /fs.realpath@1.0.0: resolution: {integrity: sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==} + /fsevents@2.3.2: + resolution: {integrity: sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==} + engines: {node: ^8.16.0 || ^10.6.0 || >=11.0.0} + os: [darwin] + requiresBuild: true + dev: true + optional: true + /fsevents@2.3.3: resolution: {integrity: sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==} engines: {node: ^8.16.0 || ^10.6.0 || >=11.0.0} @@ -9876,6 +9948,13 @@ packages: resolution: {integrity: sha512-5Fytz/IraMjqpwfd34ke28PTVMjZjJG2MPn5t7OE4eUCUNf8BAa7b5WUS9/Qvr6mwOQS7Mk6vdsMno5he+T8Xw==} engines: {node: '>= 4'} + /image-size@0.5.5: + resolution: {integrity: sha512-6TDAlDPZxUFCv+fuOkIoXT/V/f3Qbq8e37p+YOiYrUv3v9cc3/6x78VdfPgFVaB9dZYeLUfKgHRebpkm/oP2VQ==} + engines: {node: '>=0.10.0'} + hasBin: true + requiresBuild: true + optional: true + /immediate@3.0.6: resolution: {integrity: sha512-XXOFtyqDjNDAQxVfYxuF7g9Il/IbWmmlQg2MYKOH8ExIT1qg6xc4zyS3HaEEATgs1btfzxq15ciUiY7gjSXRGQ==} dev: false @@ -10709,13 +10788,13 @@ packages: parse-node-version: r2.cnpmjs.org/parse-node-version@1.0.1 tslib: 2.6.2 optionalDependencies: - errno: r2.cnpmjs.org/errno@0.1.8 + errno: 0.1.8 graceful-fs: 4.2.11 - image-size: r2.cnpmjs.org/image-size@0.5.5 - make-dir: r2.cnpmjs.org/make-dir@2.1.0 - mime: r2.cnpmjs.org/mime@1.6.0 + image-size: 0.5.5 + make-dir: 2.1.0 + mime: 1.6.0 needle: 3.3.1 - source-map: r2.cnpmjs.org/source-map@0.6.1 + source-map: 0.6.1 /leven@3.1.0: resolution: {integrity: sha512-qsda+H8jTaUaN/x5vzW2rzc+8Rw4TAQ/4KjB46IwK5VH+IlVeeeje/EoZRpiXvIqjFgK84QffqPztGI3VBLG1A==} @@ -10838,7 +10917,6 @@ packages: /lodash.camelcase@4.3.0: resolution: {integrity: sha512-TwuEnCnxbc3rAvhf/LbG7tJUDzhqXyFnv3dtzLOPgCG/hODL7WFnsbwktkD7yUV0RrreP/l1PALq/YSg6VvjlA==} - dev: true /lodash.capitalize@4.2.1: resolution: {integrity: sha512-kZzYOKspf8XVX5AvmQF94gQW0lejFVgb80G85bU4ZWzoJ6C03PQg3coYAUpSTpQWelrZELd3XWgHzw4Ck5kaIw==} @@ -10994,6 +11072,14 @@ packages: source-map-js: 1.2.0 dev: false + /make-dir@2.1.0: + resolution: {integrity: sha512-LS9X+dc8KLxXCb8dni79fLIIUA5VyZoyjSMCwTluaXA0o27cCK0bhXkpgw+sTXVpPy/lSO57ilRixqk0vDmtRA==} + engines: {node: '>=6'} + requiresBuild: true + dependencies: + pify: r2.cnpmjs.org/pify@4.0.1 + semver: 5.7.2 + /make-dir@4.0.0: resolution: {integrity: sha512-hXdUTZYIVOt1Ex//jAQi+wTZZpUpwBj/0QsOzqegb3rGMMeJiSEu5xLHnYfBrRV4RH2+OCSOO95Is/7x1WJ4bw==} engines: {node: '>=10'} @@ -11101,6 +11187,13 @@ packages: dependencies: mime-db: 1.52.0 + /mime@1.6.0: + resolution: {integrity: sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg==} + engines: {node: '>=4'} + hasBin: true + requiresBuild: true + optional: true + /mime@4.0.1: resolution: {integrity: sha512-5lZ5tyrIfliMXzFtkYyekWbtRXObT9OWa8IwQ5uxTBDHucNNwniRqo0yInflj+iYi5CBa6qxadGzGarDfuEOxA==} engines: {node: '>=16'} @@ -11895,7 +11988,7 @@ packages: dependencies: playwright-core: 1.42.1 optionalDependencies: - fsevents: r2.cnpmjs.org/fsevents@2.3.2 + fsevents: 2.3.2 dev: true /pluralize@8.0.0: @@ -12073,16 +12166,16 @@ packages: engines: {node: '>=12.0.0'} requiresBuild: true dependencies: - '@protobufjs/aspromise': r2.cnpmjs.org/@protobufjs/aspromise@1.1.2 - '@protobufjs/base64': r2.cnpmjs.org/@protobufjs/base64@1.1.2 - '@protobufjs/codegen': r2.cnpmjs.org/@protobufjs/codegen@2.0.4 - '@protobufjs/eventemitter': r2.cnpmjs.org/@protobufjs/eventemitter@1.1.0 - '@protobufjs/fetch': r2.cnpmjs.org/@protobufjs/fetch@1.1.0 - '@protobufjs/float': r2.cnpmjs.org/@protobufjs/float@1.0.2 - '@protobufjs/inquire': r2.cnpmjs.org/@protobufjs/inquire@1.1.0 - '@protobufjs/path': r2.cnpmjs.org/@protobufjs/path@1.1.2 - '@protobufjs/pool': r2.cnpmjs.org/@protobufjs/pool@1.1.0 - '@protobufjs/utf8': r2.cnpmjs.org/@protobufjs/utf8@1.1.0 + '@protobufjs/aspromise': 1.1.2 + '@protobufjs/base64': 1.1.2 + '@protobufjs/codegen': 2.0.4 + '@protobufjs/eventemitter': 1.1.0 + '@protobufjs/fetch': 1.1.0 + '@protobufjs/float': 1.0.2 + '@protobufjs/inquire': 1.1.0 + '@protobufjs/path': 1.1.2 + '@protobufjs/pool': 1.1.0 + '@protobufjs/utf8': 1.1.0 '@types/node': 20.12.2 long: 5.2.3 dev: false @@ -12985,6 +13078,11 @@ packages: resolution: {integrity: sha512-Xf0nWe6RseziFMu+Ap9biiUbmplq6S9/p+7w7YXP/JBHhrUDDUhwa+vANyubuqfZWTveU//DYVGsDG7RKL/vEw==} engines: {node: '>=0.10.0'} + /requireindex@1.2.0: + resolution: {integrity: sha512-L9jEkOi3ASd9PYit2cwRfyppc9NoABujTP8/5gFcbERmo5jUoAKovIC3fsF17pkTnGsrByysqX+Kxd2OTNI1ww==} + engines: {node: '>=0.10.5'} + dev: true + /requires-port@1.0.0: resolution: {integrity: sha512-KigOCHcocU3XODJxsu8i/j8T9tzT4adHiecwORRQ0ZZFcp7ahwXuRU1m+yuO90C5ZUyGeGfocHDI14M3L3yDAQ==} dev: true @@ -13440,12 +13538,13 @@ packages: resolution: {integrity: sha512-uBHU3L3czsIyYXKX88fdrGovxdSCoTGDRZ6SYXtSRxLZUzHg5P/66Ht6uoUlHu9EZod+inXhKo3qQgwXUT/y1w==} dependencies: buffer-from: 1.1.2 - source-map: r2.cnpmjs.org/source-map@0.6.1 + source-map: 0.6.1 dev: false /source-map@0.6.1: resolution: {integrity: sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==} engines: {node: '>=0.10.0'} + requiresBuild: true /space-separated-tokens@2.0.2: resolution: {integrity: sha512-PEGlAwrG8yXGXRjW32fGbg66JAlOAwbObuqVoJpv/mRgoWDQfgH1wDPvtzWyUSNAXBGSk8h755YDbbcEy3SH2Q==} @@ -15149,69 +15248,6 @@ packages: commander: 9.5.0 dev: false - r2.cnpmjs.org/@protobufjs/aspromise@1.1.2: - resolution: {integrity: sha512-j+gKExEuLmKwvz3OgROXtrJ2UG2x8Ch2YZUxahh+s1F2HZ+wAceUNLkvy6zKCPVRkU++ZWQrdxsUeQXmcg4uoQ==, tarball: https://r2.cnpmjs.org/@protobufjs/aspromise/-/aspromise-1.1.2.tgz} - name: '@protobufjs/aspromise' - version: 1.1.2 - dev: false - - r2.cnpmjs.org/@protobufjs/base64@1.1.2: - resolution: {integrity: sha512-AZkcAA5vnN/v4PDqKyMR5lx7hZttPDgClv83E//FMNhR2TMcLUhfRUBHCmSl0oi9zMgDDqRUJkSxO3wm85+XLg==, tarball: https://r2.cnpmjs.org/@protobufjs/base64/-/base64-1.1.2.tgz} - name: '@protobufjs/base64' - version: 1.1.2 - dev: false - - r2.cnpmjs.org/@protobufjs/codegen@2.0.4: - resolution: {integrity: sha512-YyFaikqM5sH0ziFZCN3xDC7zeGaB/d0IUb9CATugHWbd1FRFwWwt4ld4OYMPWu5a3Xe01mGAULCdqhMlPl29Jg==, tarball: https://r2.cnpmjs.org/@protobufjs/codegen/-/codegen-2.0.4.tgz} - name: '@protobufjs/codegen' - version: 2.0.4 - dev: false - - r2.cnpmjs.org/@protobufjs/eventemitter@1.1.0: - resolution: {integrity: sha512-j9ednRT81vYJ9OfVuXG6ERSTdEL1xVsNgqpkxMsbIabzSo3goCjDIveeGv5d03om39ML71RdmrGNjG5SReBP/Q==, tarball: https://r2.cnpmjs.org/@protobufjs/eventemitter/-/eventemitter-1.1.0.tgz} - name: '@protobufjs/eventemitter' - version: 1.1.0 - dev: false - - r2.cnpmjs.org/@protobufjs/fetch@1.1.0: - resolution: {integrity: sha512-lljVXpqXebpsijW71PZaCYeIcE5on1w5DlQy5WH6GLbFryLUrBD4932W/E2BSpfRJWseIL4v/KPgBFxDOIdKpQ==, tarball: https://r2.cnpmjs.org/@protobufjs/fetch/-/fetch-1.1.0.tgz} - name: '@protobufjs/fetch' - version: 1.1.0 - dependencies: - '@protobufjs/aspromise': r2.cnpmjs.org/@protobufjs/aspromise@1.1.2 - '@protobufjs/inquire': r2.cnpmjs.org/@protobufjs/inquire@1.1.0 - dev: false - - r2.cnpmjs.org/@protobufjs/float@1.0.2: - resolution: {integrity: sha512-Ddb+kVXlXst9d+R9PfTIxh1EdNkgoRe5tOX6t01f1lYWOvJnSPDBlG241QLzcyPdoNTsblLUdujGSE4RzrTZGQ==, tarball: https://r2.cnpmjs.org/@protobufjs/float/-/float-1.0.2.tgz} - name: '@protobufjs/float' - version: 1.0.2 - dev: false - - r2.cnpmjs.org/@protobufjs/inquire@1.1.0: - resolution: {integrity: sha512-kdSefcPdruJiFMVSbn801t4vFK7KB/5gd2fYvrxhuJYg8ILrmn9SKSX2tZdV6V+ksulWqS7aXjBcRXl3wHoD9Q==, tarball: https://r2.cnpmjs.org/@protobufjs/inquire/-/inquire-1.1.0.tgz} - name: '@protobufjs/inquire' - version: 1.1.0 - dev: false - - r2.cnpmjs.org/@protobufjs/path@1.1.2: - resolution: {integrity: sha512-6JOcJ5Tm08dOHAbdR3GrvP+yUUfkjG5ePsHYczMFLq3ZmMkAD98cDgcT2iA1lJ9NVwFd4tH/iSSoe44YWkltEA==, tarball: https://r2.cnpmjs.org/@protobufjs/path/-/path-1.1.2.tgz} - name: '@protobufjs/path' - version: 1.1.2 - dev: false - - r2.cnpmjs.org/@protobufjs/pool@1.1.0: - resolution: {integrity: sha512-0kELaGSIDBKvcgS4zkjz1PeddatrjYcmMWOlAuAPwAeccUrPHdUqo/J6LiymHHEiJT5NrF1UVwxY14f+fy4WQw==, tarball: https://r2.cnpmjs.org/@protobufjs/pool/-/pool-1.1.0.tgz} - name: '@protobufjs/pool' - version: 1.1.0 - dev: false - - r2.cnpmjs.org/@protobufjs/utf8@1.1.0: - resolution: {integrity: sha512-Vvn3zZrhQZkkBE8LSuW3em98c0FwgO4nxzv6OdSxPKJIEKY2bGbHn+mhGIPerzI4twdxaP8/0+06HBpwf345Lw==, tarball: https://r2.cnpmjs.org/@protobufjs/utf8/-/utf8-1.1.0.tgz} - name: '@protobufjs/utf8' - version: 1.1.0 - dev: false - r2.cnpmjs.org/@types/argparse@1.0.38: resolution: {integrity: sha512-ebDJ9b0e702Yr7pWgB0jzm+CX4Srzz8RcXtLJDJB+BSccqMa36uyH/zUsSYao5+BD1ytv3k3rPYCq4mAE1hsXA==, registry: http://registry.npmjs.org/, tarball: https://r2.cnpmjs.org/@types/argparse/-/argparse-1.0.38.tgz} name: '@types/argparse' @@ -15234,14 +15270,7 @@ packages: name: ansi-regex version: 5.0.1 engines: {node: '>=8'} - - r2.cnpmjs.org/ansi-styles@4.3.0: - resolution: {integrity: sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==, tarball: https://r2.cnpmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz} - name: ansi-styles - version: 4.3.0 - engines: {node: '>=8'} - dependencies: - color-convert: r2.cnpmjs.org/color-convert@2.0.1 + dev: false r2.cnpmjs.org/argparse@1.0.10: resolution: {integrity: sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==, registry: http://registry.npmjs.org/, tarball: https://r2.cnpmjs.org/argparse/-/argparse-1.0.10.tgz} @@ -15273,11 +15302,13 @@ packages: engines: {node: '>=7.0.0'} dependencies: color-name: r2.cnpmjs.org/color-name@1.1.4 + dev: true r2.cnpmjs.org/color-name@1.1.4: resolution: {integrity: sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==, registry: http://registry.npmjs.org/, tarball: https://r2.cnpmjs.org/color-name/-/color-name-1.1.4.tgz} name: color-name version: 1.1.4 + dev: true r2.cnpmjs.org/concat-map@0.0.1: resolution: {integrity: sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==, registry: http://registry.npmjs.org/, tarball: https://r2.cnpmjs.org/concat-map/-/concat-map-0.0.1.tgz} @@ -15315,16 +15346,7 @@ packages: resolution: {integrity: sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==, registry: http://registry.npmjs.org/, tarball: https://r2.cnpmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz} name: emoji-regex version: 8.0.0 - - r2.cnpmjs.org/errno@0.1.8: - resolution: {integrity: sha512-dJ6oBr5SQ1VSd9qkk7ByRgb/1SH4JZjCHSW/mr63/QcXO9zLVxvJ6Oy13nio03rxpSnVDDjFor75SjVeZWPW/A==, tarball: https://r2.cnpmjs.org/errno/-/errno-0.1.8.tgz} - name: errno - version: 0.1.8 - hasBin: true - requiresBuild: true - dependencies: - prr: r2.cnpmjs.org/prr@1.0.1 - optional: true + dev: false r2.cnpmjs.org/execa@5.1.1: resolution: {integrity: sha512-8uSpZZocAZRBAPIEINJj3Lo9HyGitllczc27Eh5YYojjMFMn8yHMDMaUHE2Jqfq05D/wucwI4JGURyXt1vchyg==, registry: http://registry.npmjs.org/, tarball: https://r2.cnpmjs.org/execa/-/execa-5.1.1.tgz} @@ -15365,16 +15387,6 @@ packages: universalify: r2.cnpmjs.org/universalify@0.1.2 dev: false - r2.cnpmjs.org/fsevents@2.3.2: - resolution: {integrity: sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==, tarball: https://r2.cnpmjs.org/fsevents/-/fsevents-2.3.2.tgz} - name: fsevents - version: 2.3.2 - engines: {node: ^8.16.0 || ^10.6.0 || >=11.0.0} - os: [darwin] - requiresBuild: true - dev: true - optional: true - r2.cnpmjs.org/iconv-lite@0.4.24: resolution: {integrity: sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==, registry: http://registry.npmjs.org/, tarball: https://r2.cnpmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz} name: iconv-lite @@ -15394,15 +15406,6 @@ packages: safer-buffer: r2.cnpmjs.org/safer-buffer@2.1.2 optional: true - r2.cnpmjs.org/image-size@0.5.5: - resolution: {integrity: sha512-6TDAlDPZxUFCv+fuOkIoXT/V/f3Qbq8e37p+YOiYrUv3v9cc3/6x78VdfPgFVaB9dZYeLUfKgHRebpkm/oP2VQ==, tarball: https://r2.cnpmjs.org/image-size/-/image-size-0.5.5.tgz} - name: image-size - version: 0.5.5 - engines: {node: '>=0.10.0'} - hasBin: true - requiresBuild: true - optional: true - r2.cnpmjs.org/import-lazy@4.0.0: resolution: {integrity: sha512-rKtvo6a868b5Hu3heneU+L4yEQ4jYKLtjpnPeUdK7h0yzXGmyBTypknlkCvHFBqfX9YlorEiMM6Dnq/5atfHkw==, registry: http://registry.npmjs.org/, tarball: https://r2.cnpmjs.org/import-lazy/-/import-lazy-4.0.0.tgz} name: import-lazy @@ -15415,6 +15418,7 @@ packages: name: is-fullwidth-code-point version: 3.0.0 engines: {node: '>=8'} + dev: false r2.cnpmjs.org/is-what@3.14.1: resolution: {integrity: sha512-sNxgpk9793nzSs7bA6JQJGeIuRBQhAaNGG77kzYQgMkrID+lS6SlK07K5LaptscDlSaIgH+GPFzf+d75FVxozA==, registry: http://registry.npmjs.org/, tarball: https://r2.cnpmjs.org/is-what/-/is-what-3.14.1.tgz} @@ -15446,12 +15450,6 @@ packages: graceful-fs: 4.2.11 dev: false - r2.cnpmjs.org/lodash.camelcase@4.3.0: - resolution: {integrity: sha512-TwuEnCnxbc3rAvhf/LbG7tJUDzhqXyFnv3dtzLOPgCG/hODL7WFnsbwktkD7yUV0RrreP/l1PALq/YSg6VvjlA==, tarball: https://r2.cnpmjs.org/lodash.camelcase/-/lodash.camelcase-4.3.0.tgz} - name: lodash.camelcase - version: 4.3.0 - dev: false - r2.cnpmjs.org/lodash.get@4.4.2: resolution: {integrity: sha512-z+Uw/vLuy6gQe8cfaFWD7p0wVv8fJl3mbzXh33RS+0oW2wvUqiRXiQ69gLWSLpgB5/6sU+r6BlQR0MBILadqTQ==, registry: http://registry.npmjs.org/, tarball: https://r2.cnpmjs.org/lodash.get/-/lodash.get-4.4.2.tgz} name: lodash.get @@ -15485,16 +15483,6 @@ packages: dependencies: yallist: r2.cnpmjs.org/yallist@4.0.0 - r2.cnpmjs.org/make-dir@2.1.0: - resolution: {integrity: sha512-LS9X+dc8KLxXCb8dni79fLIIUA5VyZoyjSMCwTluaXA0o27cCK0bhXkpgw+sTXVpPy/lSO57ilRixqk0vDmtRA==, tarball: https://r2.cnpmjs.org/make-dir/-/make-dir-2.1.0.tgz} - name: make-dir - version: 2.1.0 - engines: {node: '>=6'} - requiresBuild: true - dependencies: - pify: r2.cnpmjs.org/pify@4.0.1 - semver: 5.7.2 - r2.cnpmjs.org/make-dir@3.1.0: resolution: {integrity: sha512-g3FeP20LNwhALb/6Cz6Dd4F2ngze0jz7tbzrD2wAV+o9FeNHe4rL+yK2md0J/fiSf1sa1ADhXqi5+oVwOM/eGw==, registry: http://registry.npmjs.org/, tarball: https://r2.cnpmjs.org/make-dir/-/make-dir-3.1.0.tgz} name: make-dir @@ -15510,6 +15498,7 @@ packages: engines: {node: '>=4'} hasBin: true requiresBuild: true + dev: false r2.cnpmjs.org/ms@2.1.3: resolution: {integrity: sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==, registry: http://registry.npmjs.org/, tarball: https://r2.cnpmjs.org/ms/-/ms-2.1.3.tgz} @@ -15593,6 +15582,7 @@ packages: emoji-regex: r2.cnpmjs.org/emoji-regex@8.0.0 is-fullwidth-code-point: r2.cnpmjs.org/is-fullwidth-code-point@3.0.0 strip-ansi: r2.cnpmjs.org/strip-ansi@6.0.1 + dev: false r2.cnpmjs.org/strip-ansi@6.0.1: resolution: {integrity: sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==, registry: http://registry.npmjs.org/, tarball: https://r2.cnpmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz} @@ -15601,6 +15591,7 @@ packages: engines: {node: '>=8'} dependencies: ansi-regex: r2.cnpmjs.org/ansi-regex@5.0.1 + dev: false r2.cnpmjs.org/strip-json-comments@3.1.1: resolution: {integrity: sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==, registry: http://registry.npmjs.org/, tarball: https://r2.cnpmjs.org/strip-json-comments/-/strip-json-comments-3.1.1.tgz} @@ -15624,16 +15615,6 @@ packages: punycode: 2.3.1 dev: false - r2.cnpmjs.org/wrap-ansi@7.0.0: - resolution: {integrity: sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==, tarball: https://r2.cnpmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz} - name: wrap-ansi - version: 7.0.0 - engines: {node: '>=10'} - dependencies: - ansi-styles: r2.cnpmjs.org/ansi-styles@4.3.0 - string-width: r2.cnpmjs.org/string-width@4.2.3 - strip-ansi: r2.cnpmjs.org/strip-ansi@6.0.1 - r2.cnpmjs.org/yallist@4.0.0: resolution: {integrity: sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==, registry: http://registry.npmjs.org/, tarball: https://r2.cnpmjs.org/yallist/-/yallist-4.0.0.tgz} name: yallist