diff --git a/patches/@oceanbase-odc__ob-parser-js@3.0.5.patch b/patches/@oceanbase-odc__ob-parser-js@3.0.5.patch new file mode 100644 index 000000000..3cd3a4c2c --- /dev/null +++ b/patches/@oceanbase-odc__ob-parser-js@3.0.5.patch @@ -0,0 +1,70 @@ +diff --git a/esm/formatter/core/Tokenizer.js b/esm/formatter/core/Tokenizer.js +index 756c580bd34cb81f9ba4c6ef8467c26bff084f19..5a5dd790be069608864787b8f3c73591d6e8ba57 100644 +--- a/esm/formatter/core/Tokenizer.js ++++ b/esm/formatter/core/Tokenizer.js +@@ -18,6 +18,7 @@ var Tokenizer = /** @class */ (function () { + function Tokenizer(cfg) { + this.WHITESPACE_REGEX = /^(\s+)/; + this.NUMBER_REGEX = /^((-\s*)?[0-9]+(\.[0-9]+)?|0x[0-9a-fA-F]+|0b[01]+)\b/; ++ this.BIT_HEX_LITERAL_REGEX = /^([xXbB]'[^']*')/; + this.OPERATOR_REGEX = /^(!=|<=>|<>|==|=>|<=|>=|:=|!<|!>|\|\||::|->>|->|~~\*|~~|!~~\*|!~~|~\*|!~\*|!~|<<|>>|.)/; + this.BLOCK_COMMENT_REGEX = /^(\/\*[^]*?(?:\*\/|$))/; + this.LINE_COMMENT_REGEX = this.createLineCommentRegex(cfg.lineCommentTypes); +@@ -117,6 +118,7 @@ var Tokenizer = /** @class */ (function () { + Tokenizer.prototype.getNextToken = function (input, previousToken) { + return this.getWhitespaceToken(input) || + this.getCommentToken(input) || ++ this.getBitHexLiteralToken(input) || + this.getStringToken(input) || + this.getOpenParenToken(input) || + this.getCloseParenToken(input) || +@@ -211,6 +213,14 @@ var Tokenizer = /** @class */ (function () { + var key = _a.key, quoteChar = _a.quoteChar; + return key.replace(new RegExp(escapeRegExp("\\") + quoteChar, "g"), quoteChar); + }; ++ // MySQL/OB bit and hex string literals: b'0', B'1', x'1A', X'FF' ++ Tokenizer.prototype.getBitHexLiteralToken = function (input) { ++ return this.getTokenOnFirstMatch({ ++ input: input, ++ type: tokenTypes.NUMBER, ++ regex: this.BIT_HEX_LITERAL_REGEX ++ }); ++ }; + // Decimal, binary, or hex numbers + Tokenizer.prototype.getNumberToken = function (input) { + return this.getTokenOnFirstMatch({ +diff --git a/lib/formatter/core/Tokenizer.js b/lib/formatter/core/Tokenizer.js +index bc63503c5c602baa9387dfd50b9636682bed7eda..33a94b68d96601919bb55ba3bde7393f026d38e3 100644 +--- a/lib/formatter/core/Tokenizer.js ++++ b/lib/formatter/core/Tokenizer.js +@@ -23,6 +23,7 @@ var Tokenizer = /** @class */ (function () { + function Tokenizer(cfg) { + this.WHITESPACE_REGEX = /^(\s+)/; + this.NUMBER_REGEX = /^((-\s*)?[0-9]+(\.[0-9]+)?|0x[0-9a-fA-F]+|0b[01]+)\b/; ++ this.BIT_HEX_LITERAL_REGEX = /^([xXbB]'[^']*')/; + this.OPERATOR_REGEX = /^(!=|<=>|<>|==|=>|<=|>=|:=|!<|!>|\|\||::|->>|->|~~\*|~~|!~~\*|!~~|~\*|!~\*|!~|<<|>>|.)/; + this.BLOCK_COMMENT_REGEX = /^(\/\*[^]*?(?:\*\/|$))/; + this.LINE_COMMENT_REGEX = this.createLineCommentRegex(cfg.lineCommentTypes); +@@ -122,6 +123,7 @@ var Tokenizer = /** @class */ (function () { + Tokenizer.prototype.getNextToken = function (input, previousToken) { + return this.getWhitespaceToken(input) || + this.getCommentToken(input) || ++ this.getBitHexLiteralToken(input) || + this.getStringToken(input) || + this.getOpenParenToken(input) || + this.getCloseParenToken(input) || +@@ -216,6 +218,14 @@ var Tokenizer = /** @class */ (function () { + var key = _a.key, quoteChar = _a.quoteChar; + return key.replace(new RegExp((0, escapeRegExp_1.default)("\\") + quoteChar, "g"), quoteChar); + }; ++ // MySQL/OB bit and hex string literals: b'0', B'1', x'1A', X'FF' ++ Tokenizer.prototype.getBitHexLiteralToken = function (input) { ++ return this.getTokenOnFirstMatch({ ++ input: input, ++ type: tokenTypes_1.default.NUMBER, ++ regex: this.BIT_HEX_LITERAL_REGEX ++ }); ++ }; + // Decimal, binary, or hex numbers + Tokenizer.prototype.getNumberToken = function (input) { + return this.getTokenOnFirstMatch({ diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 86442dc58..9d7813c39 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -7,6 +7,11 @@ settings: overrides: '@types/react': ^16.0.0 +patchedDependencies: + '@oceanbase-odc/ob-parser-js@3.0.5': + hash: 13ad0e8a91224daa30b4583eec51544a2bcd2099f5b0acfcbe6f7a89ad12b691 + path: patches/@oceanbase-odc__ob-parser-js@3.0.5.patch + importers: .: @@ -46,7 +51,7 @@ importers: version: 2.1.4(chokidar@3.6.0)(encoding@0.1.13)(prettier@2.8.8)(typescript@4.9.5) '@oceanbase-odc/ob-parser-js': specifier: ^3.0.5 - version: 3.0.5 + version: 3.0.5(patch_hash=13ad0e8a91224daa30b4583eec51544a2bcd2099f5b0acfcbe6f7a89ad12b691) '@oceanbase-odc/ob-react-data-grid': specifier: ^4.0.0 version: 4.0.0(antd@5.25.4(date-fns@2.30.0)(luxon@3.6.1)(moment@2.30.1)(react-dom@17.0.2(react@17.0.2))(react@17.0.2))(lodash@4.17.21)(react-dnd-html5-backend@11.1.3)(react-dnd@11.1.3(react-dom@17.0.2(react@17.0.2))(react@17.0.2))(react-dom@17.0.2(react@17.0.2))(react@17.0.2) @@ -64,7 +69,7 @@ importers: version: 3.0.0 '@umijs/max': specifier: ^4.0.66 - version: 4.4.11(@babel/core@7.23.6)(@types/node@9.6.61)(@types/react-dom@16.9.25(@types/react@16.14.65))(@types/react@16.14.65)(dva@2.5.0-beta.2(react-dom@17.0.2(react@17.0.2))(react@17.0.2))(lightningcss@1.22.1)(prettier@2.8.8)(rc-field-form@2.7.0(react-dom@17.0.2(react@17.0.2))(react@17.0.2))(react-dom@17.0.2(react@17.0.2))(react@17.0.2)(rollup@3.29.5)(sugarss@2.0.0)(terser@5.40.0)(type-fest@0.21.3)(typescript@4.9.5)(webpack@4.47.0) + version: 4.4.11(@babel/core@7.27.4)(@types/node@9.6.61)(@types/react-dom@16.9.25(@types/react@16.14.65))(@types/react@16.14.65)(dva@2.5.0-beta.2(react-dom@17.0.2(react@17.0.2))(react@17.0.2))(lightningcss@1.22.1)(prettier@2.8.8)(rc-field-form@2.7.0(react-dom@17.0.2(react@17.0.2))(react@17.0.2))(react-dom@17.0.2(react@17.0.2))(react@17.0.2)(rollup@3.29.5)(sugarss@2.0.0)(terser@5.40.0)(type-fest@0.21.3)(typescript@4.9.5)(webpack@4.47.0) adm-zip: specifier: ^0.5.5 version: 0.5.16 @@ -2277,42 +2282,49 @@ packages: engines: {node: '>= 10'} cpu: [arm64] os: [linux] + libc: [glibc] '@napi-rs/nice-linux-arm64-musl@1.0.1': resolution: {integrity: sha512-wG8fa2VKuWM4CfjOjjRX9YLIbysSVV1S3Kgm2Fnc67ap/soHBeYZa6AGMeR5BJAylYRjnoVOzV19Cmkco3QEPw==} engines: {node: '>= 10'} cpu: [arm64] os: [linux] + libc: [musl] '@napi-rs/nice-linux-ppc64-gnu@1.0.1': resolution: {integrity: sha512-lxQ9WrBf0IlNTCA9oS2jg/iAjQyTI6JHzABV664LLrLA/SIdD+I1i3Mjf7TsnoUbgopBcCuDztVLfJ0q9ubf6Q==} engines: {node: '>= 10'} cpu: [ppc64] os: [linux] + libc: [glibc] '@napi-rs/nice-linux-riscv64-gnu@1.0.1': resolution: {integrity: sha512-3xs69dO8WSWBb13KBVex+yvxmUeEsdWexxibqskzoKaWx9AIqkMbWmE2npkazJoopPKX2ULKd8Fm9veEn0g4Ig==} engines: {node: '>= 10'} cpu: [riscv64] os: [linux] + libc: [glibc] '@napi-rs/nice-linux-s390x-gnu@1.0.1': resolution: {integrity: sha512-lMFI3i9rlW7hgToyAzTaEybQYGbQHDrpRkg+1gJWEpH0PLAQoZ8jiY0IzakLfNWnVda1eTYYlxxFYzW8Rqczkg==} engines: {node: '>= 10'} cpu: [s390x] os: [linux] + libc: [glibc] '@napi-rs/nice-linux-x64-gnu@1.0.1': resolution: {integrity: sha512-XQAJs7DRN2GpLN6Fb+ZdGFeYZDdGl2Fn3TmFlqEL5JorgWKrQGRUrpGKbgZ25UeZPILuTKJ+OowG2avN8mThBA==} engines: {node: '>= 10'} cpu: [x64] os: [linux] + libc: [glibc] '@napi-rs/nice-linux-x64-musl@1.0.1': resolution: {integrity: sha512-/rodHpRSgiI9o1faq9SZOp/o2QkKQg7T+DK0R5AkbnI/YxvAIEHf2cngjYzLMQSQgUhxym+LFr+UGZx4vK4QdQ==} engines: {node: '>= 10'} cpu: [x64] os: [linux] + libc: [musl] '@napi-rs/nice-win32-arm64-msvc@1.0.1': resolution: {integrity: sha512-rEcz9vZymaCB3OqEXoHnp9YViLct8ugF+6uO5McifTedjq4QMQs3DHz35xBEGhH3gJWEsXMUbzazkz5KNM5YUg==} @@ -2563,56 +2575,67 @@ packages: resolution: {integrity: sha512-JWnrj8qZgLWRNHr7NbpdnrQ8kcg09EBBq8jVOjmtlB3c8C6IrynAJSMhMVGME4YfTJzIkJqvSUSVJRqkDnu/aA==} cpu: [arm] os: [linux] + libc: [glibc] '@rollup/rollup-linux-arm-musleabihf@4.48.0': resolution: {integrity: sha512-9xu92F0TxuMH0tD6tG3+GtngwdgSf8Bnz+YcsPG91/r5Vgh5LNofO48jV55priA95p3c92FLmPM7CvsVlnSbGQ==} cpu: [arm] os: [linux] + libc: [musl] '@rollup/rollup-linux-arm64-gnu@4.48.0': resolution: {integrity: sha512-NLtvJB5YpWn7jlp1rJiY0s+G1Z1IVmkDuiywiqUhh96MIraC0n7XQc2SZ1CZz14shqkM+XN2UrfIo7JB6UufOA==} cpu: [arm64] os: [linux] + libc: [glibc] '@rollup/rollup-linux-arm64-musl@4.48.0': resolution: {integrity: sha512-QJ4hCOnz2SXgCh+HmpvZkM+0NSGcZACyYS8DGbWn2PbmA0e5xUk4bIP8eqJyNXLtyB4gZ3/XyvKtQ1IFH671vQ==} cpu: [arm64] os: [linux] + libc: [musl] '@rollup/rollup-linux-loongarch64-gnu@4.48.0': resolution: {integrity: sha512-Pk0qlGJnhILdIC5zSKQnprFjrGmjfDM7TPZ0FKJxRkoo+kgMRAg4ps1VlTZf8u2vohSicLg7NP+cA5qE96PaFg==} cpu: [loong64] os: [linux] + libc: [glibc] '@rollup/rollup-linux-ppc64-gnu@4.48.0': resolution: {integrity: sha512-/dNFc6rTpoOzgp5GKoYjT6uLo8okR/Chi2ECOmCZiS4oqh3mc95pThWma7Bgyk6/WTEvjDINpiBCuecPLOgBLQ==} cpu: [ppc64] os: [linux] + libc: [glibc] '@rollup/rollup-linux-riscv64-gnu@4.48.0': resolution: {integrity: sha512-YBwXsvsFI8CVA4ej+bJF2d9uAeIiSkqKSPQNn0Wyh4eMDY4wxuSp71BauPjQNCKK2tD2/ksJ7uhJ8X/PVY9bHQ==} cpu: [riscv64] os: [linux] + libc: [glibc] '@rollup/rollup-linux-riscv64-musl@4.48.0': resolution: {integrity: sha512-FI3Rr2aGAtl1aHzbkBIamsQyuauYtTF9SDUJ8n2wMXuuxwchC3QkumZa1TEXYIv/1AUp1a25Kwy6ONArvnyeVQ==} cpu: [riscv64] os: [linux] + libc: [musl] '@rollup/rollup-linux-s390x-gnu@4.48.0': resolution: {integrity: sha512-Dx7qH0/rvNNFmCcIRe1pyQ9/H0XO4v/f0SDoafwRYwc2J7bJZ5N4CHL/cdjamISZ5Cgnon6iazAVRFlxSoHQnQ==} cpu: [s390x] os: [linux] + libc: [glibc] '@rollup/rollup-linux-x64-gnu@4.48.0': resolution: {integrity: sha512-GUdZKTeKBq9WmEBzvFYuC88yk26vT66lQV8D5+9TgkfbewhLaTHRNATyzpQwwbHIfJvDJ3N9WJ90wK/uR3cy3Q==} cpu: [x64] os: [linux] + libc: [glibc] '@rollup/rollup-linux-x64-musl@4.48.0': resolution: {integrity: sha512-ao58Adz/v14MWpQgYAb4a4h3fdw73DrDGtaiF7Opds5wNyEQwtO6M9dBh89nke0yoZzzaegq6J/EXs7eBebG8A==} cpu: [x64] os: [linux] + libc: [musl] '@rollup/rollup-win32-arm64-msvc@4.48.0': resolution: {integrity: sha512-kpFno46bHtjZVdRIOxqaGeiABiToo2J+st7Yce+aiAoo1H0xPi2keyQIP04n2JjDVuxBN6bSz9R6RdTK5hIppw==} @@ -2841,24 +2864,28 @@ packages: engines: {node: '>=10'} cpu: [arm64] os: [linux] + libc: [glibc] '@swc/core-linux-arm64-musl@1.11.29': resolution: {integrity: sha512-PwjB10BC0N+Ce7RU/L23eYch6lXFHz7r3NFavIcwDNa/AAqywfxyxh13OeRy+P0cg7NDpWEETWspXeI4Ek8otw==} engines: {node: '>=10'} cpu: [arm64] os: [linux] + libc: [musl] '@swc/core-linux-x64-gnu@1.11.29': resolution: {integrity: sha512-i62vBVoPaVe9A3mc6gJG07n0/e7FVeAvdD9uzZTtGLiuIfVfIBta8EMquzvf+POLycSk79Z6lRhGPZPJPYiQaA==} engines: {node: '>=10'} cpu: [x64] os: [linux] + libc: [glibc] '@swc/core-linux-x64-musl@1.11.29': resolution: {integrity: sha512-YER0XU1xqFdK0hKkfSVX1YIyCvMDI7K07GIpefPvcfyNGs38AXKhb2byySDjbVxkdl4dycaxxhRyhQ2gKSlsFQ==} engines: {node: '>=10'} cpu: [x64] os: [linux] + libc: [musl] '@swc/core-win32-arm64-msvc@1.11.29': resolution: {integrity: sha512-po+WHw+k9g6FAg5IJ+sMwtA/fIUL3zPQ4m/uJgONBATCVnDDkyW6dBA49uHNVtSEvjvhuD8DVWdFP847YTcITw==} @@ -3513,24 +3540,28 @@ packages: engines: {node: '>= 10'} cpu: [arm64] os: [linux] + libc: [glibc] '@umijs/es-module-parser-linux-arm64-musl@0.0.7': resolution: {integrity: sha512-cqQffARWkmQ3n1RYNKZR3aD6X8YaP6u1maASjDgPQOpZMAlv/OSDrM/7iGujWTs0PD0haockNG9/DcP6lgPHMw==} engines: {node: '>= 10'} cpu: [arm64] os: [linux] + libc: [musl] '@umijs/es-module-parser-linux-x64-gnu@0.0.7': resolution: {integrity: sha512-PHrKHtT665Za0Ydjch4ACrNpRU+WIIden12YyF1CtMdhuLDSoU6UfdhF3NoDbgEUcXVDX/ftOqmj0SbH3R1uew==} engines: {node: '>= 10'} cpu: [x64] os: [linux] + libc: [glibc] '@umijs/es-module-parser-linux-x64-musl@0.0.7': resolution: {integrity: sha512-cyZvUK5lcECLWzLp/eU1lFlCETcz+LEb+wrdARQSST1dgoIGZsT4cqM1WzYmdZNk3o883tiZizLt58SieEiHBQ==} engines: {node: '>= 10'} cpu: [x64] os: [linux] + libc: [musl] '@umijs/es-module-parser-win32-arm64-msvc@0.0.7': resolution: {integrity: sha512-V7WxnUI88RboSl0RWLNQeKBT7EDW35fW6Tn92zqtoHHxrhAIL9DtDyvC8REP4qTxeZ6Oej/Ax5I6IjsLx3yTOg==} @@ -3575,24 +3606,28 @@ packages: engines: {node: '>= 10'} cpu: [arm64] os: [linux] + libc: [glibc] '@umijs/mako-linux-arm64-musl@0.11.10': resolution: {integrity: sha512-kqI1Jw6IHtDwrcsqPZrYxsV3pHzZyOR+6fCFnF5MSURnXbUbJb6Rk66VsKKpMqbyfsEO6nt0WT9FrRBlFvRU2A==} engines: {node: '>= 10'} cpu: [arm64] os: [linux] + libc: [musl] '@umijs/mako-linux-x64-gnu@0.11.10': resolution: {integrity: sha512-jlhXVvWJuumMmiE3z3ViugOMx9ZasNM1anng0PsusCgDwfy0IOfGzfwfwagqtzfsC5MwyRcfnRQyDdbfbroaSA==} engines: {node: '>= 10'} cpu: [x64] os: [linux] + libc: [glibc] '@umijs/mako-linux-x64-musl@0.11.10': resolution: {integrity: sha512-SLV/PRdL12dFEKlQGenW3OboZXmdYi25y+JblgVJLBhpdxZrHFqpCsTZn4L3hVEhyl0/ksR1iY0wtfK3urR29g==} engines: {node: '>= 10'} cpu: [x64] os: [linux] + libc: [musl] '@umijs/mako-win32-ia32-msvc@0.11.10': resolution: {integrity: sha512-quCWpVl7yQjG+ccGhkF81GxO3orXdPW1OZWXWxJgOI0uPk7Hczh2EYMEVqqQGbi/83eJ1e3iE1jRTl/+2eHryQ==} @@ -7314,24 +7349,28 @@ packages: engines: {node: '>= 12.0.0'} cpu: [arm64] os: [linux] + libc: [glibc] lightningcss-linux-arm64-musl@1.22.1: resolution: {integrity: sha512-MCV6RuRpzXbunvzwY644iz8cw4oQxvW7oer9xPkdadYqlEyiJJ6wl7FyJOH7Q6ZYH4yjGAUCvxDBxPbnDu9ZVg==} engines: {node: '>= 12.0.0'} cpu: [arm64] os: [linux] + libc: [musl] lightningcss-linux-x64-gnu@1.22.1: resolution: {integrity: sha512-RjNgpdM20VUXgV7us/VmlO3Vn2ZRiDnc3/bUxCVvySZWPiVPprpqW/QDWuzkGa+NCUf6saAM5CLsZLSxncXJwg==} engines: {node: '>= 12.0.0'} cpu: [x64] os: [linux] + libc: [glibc] lightningcss-linux-x64-musl@1.22.1: resolution: {integrity: sha512-ZgO4C7Rd6Hv/5MnyY2KxOYmIlzk4rplVolDt3NbkNR8DndnyX0Q5IR4acJWNTBICQ21j3zySzKbcJaiJpk/4YA==} engines: {node: '>= 12.0.0'} cpu: [x64] os: [linux] + libc: [musl] lightningcss-win32-x64-msvc@1.22.1: resolution: {integrity: sha512-4pozV4eyD0MDET41ZLHAeBo+H04Nm2UEYIk5w/ts40231dRFV7E0cjwbnZvSoc1DXFgecAhiC0L16ruv/ZDCpg==} @@ -12020,24 +12059,14 @@ snapshots: dependencies: '@babel/core': 7.27.4 - '@babel/plugin-syntax-async-generators@7.8.4(@babel/core@7.23.6)': - dependencies: - '@babel/core': 7.23.6 - '@babel/helper-plugin-utils': 7.27.1 - '@babel/plugin-syntax-async-generators@7.8.4(@babel/core@7.27.4)': dependencies: '@babel/core': 7.27.4 '@babel/helper-plugin-utils': 7.27.1 - '@babel/plugin-syntax-bigint@7.8.3(@babel/core@7.23.6)': - dependencies: - '@babel/core': 7.23.6 - '@babel/helper-plugin-utils': 7.27.1 - - '@babel/plugin-syntax-class-properties@7.12.13(@babel/core@7.23.6)': + '@babel/plugin-syntax-bigint@7.8.3(@babel/core@7.27.4)': dependencies: - '@babel/core': 7.23.6 + '@babel/core': 7.27.4 '@babel/helper-plugin-utils': 7.27.1 '@babel/plugin-syntax-class-properties@7.12.13(@babel/core@7.27.4)': @@ -12045,9 +12074,9 @@ snapshots: '@babel/core': 7.27.4 '@babel/helper-plugin-utils': 7.27.1 - '@babel/plugin-syntax-class-static-block@7.14.5(@babel/core@7.23.6)': + '@babel/plugin-syntax-class-static-block@7.14.5(@babel/core@7.27.4)': dependencies: - '@babel/core': 7.23.6 + '@babel/core': 7.27.4 '@babel/helper-plugin-utils': 7.27.1 '@babel/plugin-syntax-decorators@7.27.1(@babel/core@7.27.4)': @@ -12079,29 +12108,19 @@ snapshots: '@babel/core': 7.27.4 '@babel/helper-plugin-utils': 7.27.1 - '@babel/plugin-syntax-import-attributes@7.27.1(@babel/core@7.23.6)': - dependencies: - '@babel/core': 7.23.6 - '@babel/helper-plugin-utils': 7.27.1 - '@babel/plugin-syntax-import-attributes@7.27.1(@babel/core@7.27.4)': dependencies: '@babel/core': 7.27.4 '@babel/helper-plugin-utils': 7.27.1 - '@babel/plugin-syntax-import-meta@7.10.4(@babel/core@7.23.6)': - dependencies: - '@babel/core': 7.23.6 - '@babel/helper-plugin-utils': 7.27.1 - - '@babel/plugin-syntax-json-strings@7.8.3(@babel/core@7.23.6)': + '@babel/plugin-syntax-import-meta@7.10.4(@babel/core@7.27.4)': dependencies: - '@babel/core': 7.23.6 + '@babel/core': 7.27.4 '@babel/helper-plugin-utils': 7.27.1 - '@babel/plugin-syntax-jsx@7.27.1(@babel/core@7.23.6)': + '@babel/plugin-syntax-json-strings@7.8.3(@babel/core@7.27.4)': dependencies: - '@babel/core': 7.23.6 + '@babel/core': 7.27.4 '@babel/helper-plugin-utils': 7.27.1 '@babel/plugin-syntax-jsx@7.27.1(@babel/core@7.27.4)': @@ -12109,24 +12128,19 @@ snapshots: '@babel/core': 7.27.4 '@babel/helper-plugin-utils': 7.27.1 - '@babel/plugin-syntax-logical-assignment-operators@7.10.4(@babel/core@7.23.6)': + '@babel/plugin-syntax-logical-assignment-operators@7.10.4(@babel/core@7.27.4)': dependencies: - '@babel/core': 7.23.6 - '@babel/helper-plugin-utils': 7.27.1 - - '@babel/plugin-syntax-nullish-coalescing-operator@7.8.3(@babel/core@7.23.6)': - dependencies: - '@babel/core': 7.23.6 + '@babel/core': 7.27.4 '@babel/helper-plugin-utils': 7.27.1 - '@babel/plugin-syntax-numeric-separator@7.10.4(@babel/core@7.23.6)': + '@babel/plugin-syntax-nullish-coalescing-operator@7.8.3(@babel/core@7.27.4)': dependencies: - '@babel/core': 7.23.6 + '@babel/core': 7.27.4 '@babel/helper-plugin-utils': 7.27.1 - '@babel/plugin-syntax-object-rest-spread@7.8.3(@babel/core@7.23.6)': + '@babel/plugin-syntax-numeric-separator@7.10.4(@babel/core@7.27.4)': dependencies: - '@babel/core': 7.23.6 + '@babel/core': 7.27.4 '@babel/helper-plugin-utils': 7.27.1 '@babel/plugin-syntax-object-rest-spread@7.8.3(@babel/core@7.27.4)': @@ -12134,24 +12148,24 @@ snapshots: '@babel/core': 7.27.4 '@babel/helper-plugin-utils': 7.27.1 - '@babel/plugin-syntax-optional-catch-binding@7.8.3(@babel/core@7.23.6)': + '@babel/plugin-syntax-optional-catch-binding@7.8.3(@babel/core@7.27.4)': dependencies: - '@babel/core': 7.23.6 + '@babel/core': 7.27.4 '@babel/helper-plugin-utils': 7.27.1 - '@babel/plugin-syntax-optional-chaining@7.8.3(@babel/core@7.23.6)': + '@babel/plugin-syntax-optional-chaining@7.8.3(@babel/core@7.27.4)': dependencies: - '@babel/core': 7.23.6 + '@babel/core': 7.27.4 '@babel/helper-plugin-utils': 7.27.1 - '@babel/plugin-syntax-private-property-in-object@7.14.5(@babel/core@7.23.6)': + '@babel/plugin-syntax-private-property-in-object@7.14.5(@babel/core@7.27.4)': dependencies: - '@babel/core': 7.23.6 + '@babel/core': 7.27.4 '@babel/helper-plugin-utils': 7.27.1 - '@babel/plugin-syntax-top-level-await@7.14.5(@babel/core@7.23.6)': + '@babel/plugin-syntax-top-level-await@7.14.5(@babel/core@7.27.4)': dependencies: - '@babel/core': 7.23.6 + '@babel/core': 7.27.4 '@babel/helper-plugin-utils': 7.27.1 '@babel/plugin-syntax-typescript@7.27.1(@babel/core@7.27.4)': @@ -12314,10 +12328,10 @@ snapshots: transitivePeerDependencies: - supports-color - '@babel/plugin-transform-modules-commonjs@7.23.3(@babel/core@7.23.6)': + '@babel/plugin-transform-modules-commonjs@7.23.3(@babel/core@7.27.4)': dependencies: - '@babel/core': 7.23.6 - '@babel/helper-module-transforms': 7.27.3(@babel/core@7.23.6) + '@babel/core': 7.27.4 + '@babel/helper-module-transforms': 7.27.3(@babel/core@7.27.4) '@babel/helper-plugin-utils': 7.27.1 '@babel/helper-simple-access': 7.27.1 transitivePeerDependencies: @@ -13855,7 +13869,7 @@ snapshots: '@oceanbase-odc/monaco-plugin-ob@1.4.2(monaco-editor@0.36.1)': dependencies: - '@oceanbase-odc/ob-parser-js': 3.0.5 + '@oceanbase-odc/ob-parser-js': 3.0.5(patch_hash=13ad0e8a91224daa30b4583eec51544a2bcd2099f5b0acfcbe6f7a89ad12b691) antlr4: 4.8.0 comlink: 4.4.2 monaco-editor: 0.36.1 @@ -13901,7 +13915,7 @@ snapshots: - svelte-eslint-parser - typescript - '@oceanbase-odc/ob-parser-js@3.0.5': + '@oceanbase-odc/ob-parser-js@3.0.5(patch_hash=13ad0e8a91224daa30b4583eec51544a2bcd2099f5b0acfcbe6f7a89ad12b691)': dependencies: antlr4: 4.8.0 lodash: 4.17.21 @@ -15611,14 +15625,14 @@ snapshots: - typescript - webpack - '@umijs/max@4.4.11(@babel/core@7.23.6)(@types/node@9.6.61)(@types/react-dom@16.9.25(@types/react@16.14.65))(@types/react@16.14.65)(dva@2.5.0-beta.2(react-dom@17.0.2(react@17.0.2))(react@17.0.2))(lightningcss@1.22.1)(prettier@2.8.8)(rc-field-form@2.7.0(react-dom@17.0.2(react@17.0.2))(react@17.0.2))(react-dom@17.0.2(react@17.0.2))(react@17.0.2)(rollup@3.29.5)(sugarss@2.0.0)(terser@5.40.0)(type-fest@0.21.3)(typescript@4.9.5)(webpack@4.47.0)': + '@umijs/max@4.4.11(@babel/core@7.27.4)(@types/node@9.6.61)(@types/react-dom@16.9.25(@types/react@16.14.65))(@types/react@16.14.65)(dva@2.5.0-beta.2(react-dom@17.0.2(react@17.0.2))(react@17.0.2))(lightningcss@1.22.1)(prettier@2.8.8)(rc-field-form@2.7.0(react-dom@17.0.2(react@17.0.2))(react@17.0.2))(react-dom@17.0.2(react@17.0.2))(react@17.0.2)(rollup@3.29.5)(sugarss@2.0.0)(terser@5.40.0)(type-fest@0.21.3)(typescript@4.9.5)(webpack@4.47.0)': dependencies: '@umijs/lint': 4.4.11(eslint@8.35.0)(stylelint@14.8.2)(typescript@4.9.5) - '@umijs/plugins': 4.4.11(@babel/core@7.23.6)(@types/react-dom@16.9.25(@types/react@16.14.65))(@types/react@16.14.65)(antd@4.24.16(react-dom@17.0.2(react@17.0.2))(react@17.0.2))(dva@2.5.0-beta.2(react-dom@17.0.2(react@17.0.2))(react@17.0.2))(rc-field-form@2.7.0(react-dom@17.0.2(react@17.0.2))(react@17.0.2))(react-dom@17.0.2(react@17.0.2))(react@17.0.2) + '@umijs/plugins': 4.4.11(@babel/core@7.27.4)(@types/react-dom@16.9.25(@types/react@16.14.65))(@types/react@16.14.65)(antd@4.24.16(react-dom@17.0.2(react@17.0.2))(react@17.0.2))(dva@2.5.0-beta.2(react-dom@17.0.2(react@17.0.2))(react@17.0.2))(rc-field-form@2.7.0(react-dom@17.0.2(react@17.0.2))(react@17.0.2))(react-dom@17.0.2(react@17.0.2))(react@17.0.2) antd: 4.24.16(react-dom@17.0.2(react@17.0.2))(react@17.0.2) eslint: 8.35.0 stylelint: 14.8.2 - umi: 4.4.11(@babel/core@7.23.6)(@types/node@9.6.61)(@types/react@16.14.65)(eslint@8.35.0)(lightningcss@1.22.1)(prettier@2.8.8)(react-dom@17.0.2(react@17.0.2))(react@17.0.2)(rollup@3.29.5)(stylelint@14.8.2)(sugarss@2.0.0)(terser@5.40.0)(type-fest@0.21.3)(typescript@4.9.5)(webpack@4.47.0) + umi: 4.4.11(@babel/core@7.27.4)(@types/node@9.6.61)(@types/react@16.14.65)(eslint@8.35.0)(lightningcss@1.22.1)(prettier@2.8.8)(react-dom@17.0.2(react@17.0.2))(react@17.0.2)(rollup@3.29.5)(stylelint@14.8.2)(sugarss@2.0.0)(terser@5.40.0)(type-fest@0.21.3)(typescript@4.9.5)(webpack@4.47.0) transitivePeerDependencies: - '@babel/core' - '@rspack/core' @@ -15672,7 +15686,7 @@ snapshots: dependencies: tsx: 3.12.2 - '@umijs/plugins@4.4.11(@babel/core@7.23.6)(@types/react-dom@16.9.25(@types/react@16.14.65))(@types/react@16.14.65)(antd@4.24.16(react-dom@17.0.2(react@17.0.2))(react@17.0.2))(dva@2.5.0-beta.2(react-dom@17.0.2(react@17.0.2))(react@17.0.2))(rc-field-form@2.7.0(react-dom@17.0.2(react@17.0.2))(react@17.0.2))(react-dom@17.0.2(react@17.0.2))(react@17.0.2)': + '@umijs/plugins@4.4.11(@babel/core@7.27.4)(@types/react-dom@16.9.25(@types/react@16.14.65))(@types/react@16.14.65)(antd@4.24.16(react-dom@17.0.2(react@17.0.2))(react@17.0.2))(dva@2.5.0-beta.2(react-dom@17.0.2(react@17.0.2))(react@17.0.2))(rc-field-form@2.7.0(react-dom@17.0.2(react@17.0.2))(react@17.0.2))(react-dom@17.0.2(react@17.0.2))(react@17.0.2)': dependencies: '@ahooksjs/use-request': 2.8.15(react@17.0.2) '@ant-design/antd-theme-variable': 1.0.0 @@ -15687,7 +15701,7 @@ snapshots: antd-dayjs-webpack-plugin: 1.0.6(dayjs@1.11.13) axios: 0.27.2 babel-plugin-import: 1.13.8 - babel-plugin-styled-components: 2.1.4(@babel/core@7.23.6)(styled-components@6.1.1(react-dom@17.0.2(react@17.0.2))(react@17.0.2)) + babel-plugin-styled-components: 2.1.4(@babel/core@7.27.4)(styled-components@6.1.1(react-dom@17.0.2(react@17.0.2))(react@17.0.2)) dayjs: 1.11.13 dva-core: 2.0.4(redux@4.2.1) dva-immer: 1.0.2(dva@2.5.0-beta.2(react-dom@17.0.2(react@17.0.2))(react@17.0.2)) @@ -15826,13 +15840,13 @@ snapshots: transitivePeerDependencies: - supports-color - '@umijs/test@4.4.11(@babel/core@7.23.6)': + '@umijs/test@4.4.11(@babel/core@7.27.4)': dependencies: - '@babel/plugin-transform-modules-commonjs': 7.23.3(@babel/core@7.23.6) + '@babel/plugin-transform-modules-commonjs': 7.23.3(@babel/core@7.27.4) '@jest/types': 27.5.1 '@umijs/bundler-utils': 4.4.11 '@umijs/utils': 4.4.11 - babel-jest: 29.7.0(@babel/core@7.23.6) + babel-jest: 29.7.0(@babel/core@7.27.4) esbuild: 0.21.4 identity-obj-proxy: 3.0.0 isomorphic-unfetch: 4.0.2 @@ -16566,13 +16580,13 @@ snapshots: transitivePeerDependencies: - debug - babel-jest@29.7.0(@babel/core@7.23.6): + babel-jest@29.7.0(@babel/core@7.27.4): dependencies: - '@babel/core': 7.23.6 + '@babel/core': 7.27.4 '@jest/transform': 29.7.0 '@types/babel__core': 7.20.5 babel-plugin-istanbul: 6.1.1 - babel-preset-jest: 29.6.3(@babel/core@7.23.6) + babel-preset-jest: 29.6.3(@babel/core@7.27.4) chalk: 4.1.2 graceful-fs: 4.2.11 slash: 3.0.0 @@ -16646,11 +16660,11 @@ snapshots: zod: 3.25.49 zod-validation-error: 2.1.0(zod@3.25.49) - babel-plugin-styled-components@2.1.4(@babel/core@7.23.6)(styled-components@6.1.1(react-dom@17.0.2(react@17.0.2))(react@17.0.2)): + babel-plugin-styled-components@2.1.4(@babel/core@7.27.4)(styled-components@6.1.1(react-dom@17.0.2(react@17.0.2))(react@17.0.2)): dependencies: '@babel/helper-annotate-as-pure': 7.27.3 '@babel/helper-module-imports': 7.27.1 - '@babel/plugin-syntax-jsx': 7.27.1(@babel/core@7.23.6) + '@babel/plugin-syntax-jsx': 7.27.1(@babel/core@7.27.4) lodash: 4.17.21 picomatch: 2.3.1 styled-components: 6.1.1(react-dom@17.0.2(react@17.0.2))(react@17.0.2) @@ -16658,30 +16672,30 @@ snapshots: - '@babel/core' - supports-color - babel-preset-current-node-syntax@1.1.0(@babel/core@7.23.6): + babel-preset-current-node-syntax@1.1.0(@babel/core@7.27.4): dependencies: - '@babel/core': 7.23.6 - '@babel/plugin-syntax-async-generators': 7.8.4(@babel/core@7.23.6) - '@babel/plugin-syntax-bigint': 7.8.3(@babel/core@7.23.6) - '@babel/plugin-syntax-class-properties': 7.12.13(@babel/core@7.23.6) - '@babel/plugin-syntax-class-static-block': 7.14.5(@babel/core@7.23.6) - '@babel/plugin-syntax-import-attributes': 7.27.1(@babel/core@7.23.6) - '@babel/plugin-syntax-import-meta': 7.10.4(@babel/core@7.23.6) - '@babel/plugin-syntax-json-strings': 7.8.3(@babel/core@7.23.6) - '@babel/plugin-syntax-logical-assignment-operators': 7.10.4(@babel/core@7.23.6) - '@babel/plugin-syntax-nullish-coalescing-operator': 7.8.3(@babel/core@7.23.6) - '@babel/plugin-syntax-numeric-separator': 7.10.4(@babel/core@7.23.6) - '@babel/plugin-syntax-object-rest-spread': 7.8.3(@babel/core@7.23.6) - '@babel/plugin-syntax-optional-catch-binding': 7.8.3(@babel/core@7.23.6) - '@babel/plugin-syntax-optional-chaining': 7.8.3(@babel/core@7.23.6) - '@babel/plugin-syntax-private-property-in-object': 7.14.5(@babel/core@7.23.6) - '@babel/plugin-syntax-top-level-await': 7.14.5(@babel/core@7.23.6) - - babel-preset-jest@29.6.3(@babel/core@7.23.6): + '@babel/core': 7.27.4 + '@babel/plugin-syntax-async-generators': 7.8.4(@babel/core@7.27.4) + '@babel/plugin-syntax-bigint': 7.8.3(@babel/core@7.27.4) + '@babel/plugin-syntax-class-properties': 7.12.13(@babel/core@7.27.4) + '@babel/plugin-syntax-class-static-block': 7.14.5(@babel/core@7.27.4) + '@babel/plugin-syntax-import-attributes': 7.27.1(@babel/core@7.27.4) + '@babel/plugin-syntax-import-meta': 7.10.4(@babel/core@7.27.4) + '@babel/plugin-syntax-json-strings': 7.8.3(@babel/core@7.27.4) + '@babel/plugin-syntax-logical-assignment-operators': 7.10.4(@babel/core@7.27.4) + '@babel/plugin-syntax-nullish-coalescing-operator': 7.8.3(@babel/core@7.27.4) + '@babel/plugin-syntax-numeric-separator': 7.10.4(@babel/core@7.27.4) + '@babel/plugin-syntax-object-rest-spread': 7.8.3(@babel/core@7.27.4) + '@babel/plugin-syntax-optional-catch-binding': 7.8.3(@babel/core@7.27.4) + '@babel/plugin-syntax-optional-chaining': 7.8.3(@babel/core@7.27.4) + '@babel/plugin-syntax-private-property-in-object': 7.14.5(@babel/core@7.27.4) + '@babel/plugin-syntax-top-level-await': 7.14.5(@babel/core@7.27.4) + + babel-preset-jest@29.6.3(@babel/core@7.27.4): dependencies: - '@babel/core': 7.23.6 + '@babel/core': 7.27.4 babel-plugin-jest-hoist: 29.6.3 - babel-preset-current-node-syntax: 1.1.0(@babel/core@7.23.6) + babel-preset-current-node-syntax: 1.1.0(@babel/core@7.27.4) bail@1.0.5: {} @@ -24738,7 +24752,7 @@ snapshots: uc.micro@1.0.6: {} - umi@4.4.11(@babel/core@7.23.6)(@types/node@9.6.61)(@types/react@16.14.65)(eslint@8.35.0)(lightningcss@1.22.1)(prettier@2.8.8)(react-dom@17.0.2(react@17.0.2))(react@17.0.2)(rollup@3.29.5)(stylelint@14.8.2)(sugarss@2.0.0)(terser@5.40.0)(type-fest@0.21.3)(typescript@4.9.5)(webpack@4.47.0): + umi@4.4.11(@babel/core@7.27.4)(@types/node@9.6.61)(@types/react@16.14.65)(eslint@8.35.0)(lightningcss@1.22.1)(prettier@2.8.8)(react-dom@17.0.2(react@17.0.2))(react@17.0.2)(rollup@3.29.5)(stylelint@14.8.2)(sugarss@2.0.0)(terser@5.40.0)(type-fest@0.21.3)(typescript@4.9.5)(webpack@4.47.0): dependencies: '@babel/runtime': 7.23.6 '@umijs/bundler-utils': 4.4.11 @@ -24748,7 +24762,7 @@ snapshots: '@umijs/preset-umi': 4.4.11(@types/node@9.6.61)(@types/react@16.14.65)(lightningcss@1.22.1)(rollup@3.29.5)(sugarss@2.0.0)(terser@5.40.0)(type-fest@0.21.3)(typescript@4.9.5)(webpack@4.47.0) '@umijs/renderer-react': 4.4.11(react-dom@17.0.2(react@17.0.2))(react@17.0.2) '@umijs/server': 4.4.11 - '@umijs/test': 4.4.11(@babel/core@7.23.6) + '@umijs/test': 4.4.11(@babel/core@7.27.4) '@umijs/utils': 4.4.11 prettier-plugin-organize-imports: 3.2.4(prettier@2.8.8)(typescript@4.9.5) prettier-plugin-packagejson: 2.4.3(prettier@2.8.8) diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml new file mode 100644 index 000000000..d8488e537 --- /dev/null +++ b/pnpm-workspace.yaml @@ -0,0 +1,2 @@ +patchedDependencies: + '@oceanbase-odc/ob-parser-js@3.0.5': patches/@oceanbase-odc__ob-parser-js@3.0.5.patch