diff --git a/packages/web/package.json b/packages/web/package.json index d2c87d9af4..2180545150 100644 --- a/packages/web/package.json +++ b/packages/web/package.json @@ -55,7 +55,7 @@ "@rollup/plugin-replace": "^4.0.0", "@testing-library/dom": "^9.3.4", "@testing-library/jest-dom": "^6.4.2", - "@tginternal/editor": "^1.15.1", + "@tginternal/editor": "^1.15.2", "@types/jest": "^29.5.12", "@types/react": "^18.2.66", "@types/react-dom": "^18.2.22", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 5c0e8b9dc5..9e94577465 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -680,8 +680,8 @@ importers: specifier: ^6.4.2 version: 6.4.2(@types/jest@29.5.12)(jest@29.7.0) '@tginternal/editor': - specifier: ^1.15.1 - version: 1.15.1(@codemirror/lint@6.8.2)(@codemirror/state@6.4.1)(@codemirror/view@6.34.1) + specifier: ^1.15.2 + version: 1.15.2(@codemirror/lint@6.8.2)(@codemirror/state@6.4.1)(@codemirror/view@6.34.3) '@types/jest': specifier: ^29.5.12 version: 29.5.12 @@ -717,7 +717,7 @@ importers: version: 1.0.6 jest: specifier: ^29.7.0 - version: 29.7.0(@types/node@18.14.6)(ts-node@10.9.1) + version: 29.7.0 jest-environment-jsdom: specifier: ^29.7.0 version: 29.7.0 @@ -750,7 +750,7 @@ importers: version: 10.0.0(react@18.3.1) vite: specifier: ^5.2.0 - version: 5.2.7(@types/node@18.14.6) + version: 5.2.7 vite-plugin-replace: specifier: ^0.1.1 version: 0.1.1(vite@5.2.7) @@ -1898,7 +1898,7 @@ packages: '@babel/traverse': 7.24.1 '@babel/types': 7.24.0 convert-source-map: 2.0.0 - debug: 4.3.4(supports-color@8.1.1) + debug: 4.3.4 gensync: 1.0.0-beta.2 json5: 2.2.3 semver: 6.3.1 @@ -5104,7 +5104,7 @@ packages: resolution: {integrity: sha512-PDFG5DjHxSEjOXk9TQYYVjZDqlZTFaDBfhQixHnQOEVDDNHUbEh/hstAjcQJaA6FQdZTD1hquXTK0rVBLADR1g==} dependencies: '@codemirror/state': 6.4.1 - '@codemirror/view': 6.34.1 + '@codemirror/view': 6.34.3 crelt: 1.0.6 dev: true @@ -5128,8 +5128,8 @@ packages: w3c-keyname: 2.2.8 dev: true - /@codemirror/view@6.34.1: - resolution: {integrity: sha512-t1zK/l9UiRqwUNPm+pdIT0qzJlzuVckbTEMVNFhfWkGiBQClstzg+78vedCvLSX0xJEZ6lwZbPpnljL7L6iwMQ==} + /@codemirror/view@6.34.3: + resolution: {integrity: sha512-Ph5d+u8DxIeSgssXEakaakImkzBV4+slwIbcxl9oc9evexJhImeu/G8TK7+zp+IFK9KuJ0BdSn6kTBJeH2CHvA==} dependencies: '@codemirror/state': 6.4.1 style-mod: 4.1.2 @@ -6730,7 +6730,7 @@ packages: engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} dependencies: ajv: 6.12.6 - debug: 4.3.4(supports-color@8.1.1) + debug: 4.3.4 espree: 9.6.1 globals: 13.24.0 ignore: 5.3.1 @@ -6998,7 +6998,7 @@ packages: engines: {node: '>=10.10.0'} dependencies: '@humanwhocodes/object-schema': 2.0.3 - debug: 4.3.4(supports-color@8.1.1) + debug: 4.3.4 minimatch: 3.1.2 transitivePeerDependencies: - supports-color @@ -7169,6 +7169,49 @@ packages: - supports-color - ts-node + /@jest/core@29.7.0: + resolution: {integrity: sha512-n7aeXWKMnGtDA48y8TLWJPJmLmmZ642Ceo78cYWEpiD7FzDgmNDV/GCVRorPABdXLJZ/9wzzgZAlHjXjxDHGsg==} + engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} + peerDependencies: + node-notifier: ^8.0.1 || ^9.0.0 || ^10.0.0 + peerDependenciesMeta: + node-notifier: + optional: true + dependencies: + '@jest/console': 29.7.0 + '@jest/reporters': 29.7.0 + '@jest/test-result': 29.7.0 + '@jest/transform': 29.7.0 + '@jest/types': 29.6.3 + '@types/node': 18.14.6 + ansi-escapes: 4.3.2 + chalk: 4.1.2 + ci-info: 3.8.0 + exit: 0.1.2 + graceful-fs: 4.2.11 + jest-changed-files: 29.7.0 + jest-config: 29.7.0(@types/node@18.14.6) + jest-haste-map: 29.7.0 + jest-message-util: 29.7.0 + jest-regex-util: 29.6.3 + jest-resolve: 29.7.0 + jest-resolve-dependencies: 29.7.0 + jest-runner: 29.7.0 + jest-runtime: 29.7.0 + jest-snapshot: 29.7.0 + jest-util: 29.7.0 + jest-validate: 29.7.0 + jest-watcher: 29.7.0 + micromatch: 4.0.5 + pretty-format: 29.7.0 + slash: 3.0.0 + strip-ansi: 6.0.1 + transitivePeerDependencies: + - babel-plugin-macros + - supports-color + - ts-node + dev: true + /@jest/core@29.7.0(ts-node@10.8.1): resolution: {integrity: sha512-n7aeXWKMnGtDA48y8TLWJPJmLmmZ642Ceo78cYWEpiD7FzDgmNDV/GCVRorPABdXLJZ/9wzzgZAlHjXjxDHGsg==} engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} @@ -10645,7 +10688,7 @@ packages: chalk: 3.0.0 css.escape: 1.5.1 dom-accessibility-api: 0.6.3 - jest: 29.7.0(@types/node@18.14.6)(ts-node@10.9.1) + jest: 29.7.0 lodash: 4.17.21 redent: 3.0.0 dev: true @@ -10710,8 +10753,8 @@ packages: vue: 3.2.47 dev: true - /@tginternal/editor@1.15.1(@codemirror/lint@6.8.2)(@codemirror/state@6.4.1)(@codemirror/view@6.34.1): - resolution: {integrity: sha512-pdsz7e6L8TRJBYs5KTQnI4JJ3O19NTfRaciLZtzN67fPEqucNFNVAWfpKg92vvpG/roHIMj+Qjw0OiqYIc0nDA==} + /@tginternal/editor@1.15.2(@codemirror/lint@6.8.2)(@codemirror/state@6.4.1)(@codemirror/view@6.34.3): + resolution: {integrity: sha512-Ylb9kSCz/pNP/Xk8taFXaie9i5wHRiFvRYZcZSiAfqeSLjdaUYDBNnHOkTLcb8X8OUibId0SK+bNa8YdqKFozg==} peerDependencies: '@codemirror/lint': ^6.4.2 '@codemirror/state': ^6.4.0 @@ -10719,7 +10762,7 @@ packages: dependencies: '@codemirror/lint': 6.8.2 '@codemirror/state': 6.4.1 - '@codemirror/view': 6.34.1 + '@codemirror/view': 6.34.3 dev: true /@tootallnate/once@1.1.2: @@ -11296,7 +11339,7 @@ packages: '@typescript-eslint/type-utils': 7.5.0(eslint@8.57.0)(typescript@5.3.3) '@typescript-eslint/utils': 7.5.0(eslint@8.57.0)(typescript@5.3.3) '@typescript-eslint/visitor-keys': 7.5.0 - debug: 4.3.4(supports-color@8.1.1) + debug: 4.3.4 eslint: 8.57.0 graphemer: 1.4.0 ignore: 5.3.1 @@ -11410,7 +11453,7 @@ packages: '@typescript-eslint/types': 7.5.0 '@typescript-eslint/typescript-estree': 7.5.0(typescript@5.3.3) '@typescript-eslint/visitor-keys': 7.5.0 - debug: 4.3.4(supports-color@8.1.1) + debug: 4.3.4 eslint: 8.57.0 typescript: 5.3.3 transitivePeerDependencies: @@ -11530,7 +11573,7 @@ packages: dependencies: '@typescript-eslint/typescript-estree': 7.5.0(typescript@5.3.3) '@typescript-eslint/utils': 7.5.0(eslint@8.57.0)(typescript@5.3.3) - debug: 4.3.4(supports-color@8.1.1) + debug: 4.3.4 eslint: 8.57.0 ts-api-utils: 1.0.3(typescript@5.3.3) typescript: 5.3.3 @@ -11656,7 +11699,7 @@ packages: dependencies: '@typescript-eslint/types': 7.5.0 '@typescript-eslint/visitor-keys': 7.5.0 - debug: 4.3.4(supports-color@8.1.1) + debug: 4.3.4 globby: 11.1.0 is-glob: 4.0.3 minimatch: 9.0.3 @@ -11840,7 +11883,7 @@ packages: '@babel/plugin-transform-react-jsx-source': 7.23.3(@babel/core@7.23.9) '@types/babel__core': 7.20.5 react-refresh: 0.14.0 - vite: 5.2.7(@types/node@18.14.6) + vite: 5.2.7 transitivePeerDependencies: - supports-color dev: true @@ -15894,7 +15937,7 @@ packages: sha.js: 2.4.11 dev: true - /create-jest@29.7.0(@types/node@18.14.6)(ts-node@10.9.1): + /create-jest@29.7.0: resolution: {integrity: sha512-Adz2bdH0Vq3F53KEMJOoftQFutWCukm6J24wbPWRO4k1kMY7gS7ds/uoJkNuV8wDCtWWnuwGcJwpWcih+zEW1Q==} engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} hasBin: true @@ -15903,7 +15946,7 @@ packages: chalk: 4.1.2 exit: 0.1.2 graceful-fs: 4.2.11 - jest-config: 29.7.0(@types/node@18.14.6)(ts-node@10.9.1) + jest-config: 29.7.0(@types/node@18.14.6) jest-util: 29.7.0 prompts: 2.4.2 transitivePeerDependencies: @@ -16481,6 +16524,17 @@ packages: ms: 2.1.3 supports-color: 8.1.1 + /debug@4.3.4: + resolution: {integrity: sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==} + engines: {node: '>=6.0'} + peerDependencies: + supports-color: '*' + peerDependenciesMeta: + supports-color: + optional: true + dependencies: + ms: 2.1.2 + /debug@4.3.4(supports-color@8.1.1): resolution: {integrity: sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==} engines: {node: '>=6.0'} @@ -17905,7 +17959,7 @@ packages: ajv: 6.12.6 chalk: 4.1.2 cross-spawn: 7.0.3 - debug: 4.3.4(supports-color@8.1.1) + debug: 4.3.4 doctrine: 3.0.0 escape-string-regexp: 4.0.0 eslint-scope: 7.2.2 @@ -20872,7 +20926,7 @@ packages: - supports-color - ts-node - /jest-cli@29.7.0(@types/node@18.14.6)(ts-node@10.9.1): + /jest-cli@29.7.0: resolution: {integrity: sha512-OVVobw2IubN/GSYsxETi+gOe7Ka59EFMR/twOU3Jb2GnKKeMGJB5SGUUrEz3SFVmJASUdZUzy83sLNNQ2gZslg==} engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} hasBin: true @@ -20882,14 +20936,14 @@ packages: node-notifier: optional: true dependencies: - '@jest/core': 29.7.0(ts-node@10.9.1) + '@jest/core': 29.7.0 '@jest/test-result': 29.7.0 '@jest/types': 29.6.3 chalk: 4.1.2 - create-jest: 29.7.0(@types/node@18.14.6)(ts-node@10.9.1) + create-jest: 29.7.0 exit: 0.1.2 import-local: 3.2.0 - jest-config: 29.7.0(@types/node@18.14.6)(ts-node@10.9.1) + jest-config: 29.7.0(@types/node@18.14.6) jest-util: 29.7.0 jest-validate: 29.7.0 yargs: 17.7.2 @@ -21008,6 +21062,46 @@ packages: transitivePeerDependencies: - supports-color + /jest-config@29.7.0(@types/node@18.14.6): + resolution: {integrity: sha512-uXbpfeQ7R6TZBqI3/TxCU4q4ttk3u0PJeC+E0zbfSoSjq6bJ7buBPxzQPL0ifrkY4DNu4JUdk0ImlBUYi840eQ==} + engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} + peerDependencies: + '@types/node': '*' + ts-node: '>=9.0.0' + peerDependenciesMeta: + '@types/node': + optional: true + ts-node: + optional: true + dependencies: + '@babel/core': 7.25.7 + '@jest/test-sequencer': 29.7.0 + '@jest/types': 29.6.3 + '@types/node': 18.14.6 + babel-jest: 29.7.0(@babel/core@7.25.7) + chalk: 4.1.2 + ci-info: 3.9.0 + deepmerge: 4.3.1 + glob: 7.2.3 + graceful-fs: 4.2.11 + jest-circus: 29.7.0 + jest-environment-node: 29.7.0 + jest-get-type: 29.6.3 + jest-regex-util: 29.6.3 + jest-resolve: 29.7.0 + jest-runner: 29.7.0 + jest-util: 29.7.0 + jest-validate: 29.7.0 + micromatch: 4.0.8 + parse-json: 5.2.0 + pretty-format: 29.7.0 + slash: 3.0.0 + strip-json-comments: 3.1.1 + transitivePeerDependencies: + - babel-plugin-macros + - supports-color + dev: true + /jest-config@29.7.0(@types/node@18.14.6)(ts-node@10.8.1): resolution: {integrity: sha512-uXbpfeQ7R6TZBqI3/TxCU4q4ttk3u0PJeC+E0zbfSoSjq6bJ7buBPxzQPL0ifrkY4DNu4JUdk0ImlBUYi840eQ==} engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} @@ -22195,7 +22289,7 @@ packages: - supports-color - ts-node - /jest@29.7.0(@types/node@18.14.6)(ts-node@10.9.1): + /jest@29.7.0: resolution: {integrity: sha512-NIy3oAFp9shda19hy4HK0HRTWKtPJmGdnvywu01nOqNC2vZg+Z+fvJDxpMQA88eb2I9EcafcdjYgsDthnYTvGw==} engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} hasBin: true @@ -22205,10 +22299,10 @@ packages: node-notifier: optional: true dependencies: - '@jest/core': 29.7.0(ts-node@10.9.1) + '@jest/core': 29.7.0 '@jest/types': 29.6.3 import-local: 3.2.0 - jest-cli: 29.7.0(@types/node@18.14.6)(ts-node@10.9.1) + jest-cli: 29.7.0 transitivePeerDependencies: - '@types/node' - babel-plugin-macros @@ -30357,7 +30451,7 @@ packages: peerDependencies: vite: ^2 dependencies: - vite: 5.2.7(@types/node@18.14.6) + vite: 5.2.7 dev: true /vite@4.0.4(@types/node@18.13.0): @@ -30469,6 +30563,41 @@ packages: fsevents: 2.3.3 dev: true + /vite@5.2.7: + resolution: {integrity: sha512-k14PWOKLI6pMaSzAuGtT+Cf0YmIx12z9YGon39onaJNy8DLBfBJrzg9FQEmkAM5lpHBZs9wksWAsyF/HkpEwJA==} + engines: {node: ^18.0.0 || >=20.0.0} + hasBin: true + peerDependencies: + '@types/node': ^18.0.0 || >=20.0.0 + less: '*' + lightningcss: ^1.21.0 + sass: '*' + stylus: '*' + sugarss: '*' + terser: ^5.4.0 + peerDependenciesMeta: + '@types/node': + optional: true + less: + optional: true + lightningcss: + optional: true + sass: + optional: true + stylus: + optional: true + sugarss: + optional: true + terser: + optional: true + dependencies: + esbuild: 0.20.2 + postcss: 8.4.38 + rollup: 4.14.0 + optionalDependencies: + fsevents: 2.3.3 + dev: true + /vite@5.2.7(@types/node@18.14.6): resolution: {integrity: sha512-k14PWOKLI6pMaSzAuGtT+Cf0YmIx12z9YGon39onaJNy8DLBfBJrzg9FQEmkAM5lpHBZs9wksWAsyF/HkpEwJA==} engines: {node: ^18.0.0 || >=20.0.0}