Upgrade CodeMirror dependencies (#20618)

GitOrigin-RevId: c1d45e73784fd26db09e9930bc504d2d78c05b12
This commit is contained in:
Alf Eaton 2024-11-07 09:16:17 +00:00 committed by Copybot
parent 9cfec57c1d
commit db8d7a7af0
3 changed files with 111 additions and 113 deletions

197
package-lock.json generated
View file

@ -3285,9 +3285,9 @@
"dev": true "dev": true
}, },
"node_modules/@codemirror/autocomplete": { "node_modules/@codemirror/autocomplete": {
"version": "6.18.0", "version": "6.18.1",
"resolved": "git+ssh://git@github.com/overleaf/codemirror-autocomplete.git#d69a03afc6e29a58eb267084a1e3b5a99ff72cc2", "resolved": "git+ssh://git@github.com/overleaf/codemirror-autocomplete.git#30c8996ee922d44039424347090afa8eafd141bf",
"integrity": "sha512-nks52ChYx6ZrwsJA+0kNK3u2Etylgq9KnxVzT27mzbVprddnv2AHzv9HhX2gpHZbIKE1kalYxMHO9GalyTyrnQ==", "integrity": "sha512-i3JBatB0+4UF9P9QbCOnK4Ari8WVABslr28N+Kf3lLqFsXnJLbaxeFuZqOMBgmHThfAzL708V3v3/NaGGd1GxA==",
"dev": true, "dev": true,
"dependencies": { "dependencies": {
"@codemirror/language": "^6.0.0", "@codemirror/language": "^6.0.0",
@ -3303,9 +3303,9 @@
} }
}, },
"node_modules/@codemirror/commands": { "node_modules/@codemirror/commands": {
"version": "6.6.0", "version": "6.6.2",
"resolved": "https://registry.npmjs.org/@codemirror/commands/-/commands-6.6.0.tgz", "resolved": "https://registry.npmjs.org/@codemirror/commands/-/commands-6.6.2.tgz",
"integrity": "sha512-qnY+b7j1UNcTS31Eenuc/5YJB6gQOzkUoNmJQc0rznwqSRpeaWWpjkWy2C/MPTcePpsKJEM26hXrOXl1+nceXg==", "integrity": "sha512-Fq7eWOl1Rcbrfn6jD8FPCj9Auaxdm5nIK5RYOeW7ughnd/rY5AmPg6b+CfsG39ZHdwiwe8lde3q8uR7CF5S0yQ==",
"dev": true, "dev": true,
"dependencies": { "dependencies": {
"@codemirror/language": "^6.0.0", "@codemirror/language": "^6.0.0",
@ -3372,9 +3372,9 @@
} }
}, },
"node_modules/@codemirror/language": { "node_modules/@codemirror/language": {
"version": "6.10.2", "version": "6.10.3",
"resolved": "https://registry.npmjs.org/@codemirror/language/-/language-6.10.2.tgz", "resolved": "https://registry.npmjs.org/@codemirror/language/-/language-6.10.3.tgz",
"integrity": "sha512-kgbTYTo0Au6dCSc/TFy7fK3fpJmgHDv1sG1KNQKJXVi+xBTEeBPY/M30YXiU6mMXeH+YIDLsbrT4ZwNRdtF+SA==", "integrity": "sha512-kDqEU5sCP55Oabl6E7m5N+vZRoc0iWqgDVhEKifcHzPzjqCegcO4amfrYVL9PmPZpl4G0yjkpTpUO/Ui8CzO8A==",
"dev": true, "dev": true,
"dependencies": { "dependencies": {
"@codemirror/state": "^6.0.0", "@codemirror/state": "^6.0.0",
@ -3386,9 +3386,9 @@
} }
}, },
"node_modules/@codemirror/lint": { "node_modules/@codemirror/lint": {
"version": "6.8.1", "version": "6.8.2",
"resolved": "https://registry.npmjs.org/@codemirror/lint/-/lint-6.8.1.tgz", "resolved": "https://registry.npmjs.org/@codemirror/lint/-/lint-6.8.2.tgz",
"integrity": "sha512-IZ0Y7S4/bpaunwggW2jYqwLuHj0QtESf5xcROewY6+lDNwZ/NzvR4t+vpYgg9m7V8UXLPYqG+lu3DF470E5Oxg==", "integrity": "sha512-PDFG5DjHxSEjOXk9TQYYVjZDqlZTFaDBfhQixHnQOEVDDNHUbEh/hstAjcQJaA6FQdZTD1hquXTK0rVBLADR1g==",
"dev": true, "dev": true,
"dependencies": { "dependencies": {
"@codemirror/state": "^6.0.0", "@codemirror/state": "^6.0.0",
@ -3397,11 +3397,10 @@
} }
}, },
"node_modules/@codemirror/search": { "node_modules/@codemirror/search": {
"version": "6.5.4", "version": "6.5.6",
"resolved": "git+ssh://git@github.com/overleaf/codemirror-search.git#29f7a871969ad64b89341bacbe5d46dda02eee12", "resolved": "git+ssh://git@github.com/overleaf/codemirror-search.git#94f33f7fa6db95dadd3d7aed05c30cdde550835a",
"integrity": "sha512-aMLQYaC/xv/kNkhp49jx24APK4fvxjypcgS7GfFUoLdhx39fDMw3Z4EGl56NDMFCdEJhG8yXk+hyvU+pxEQSfA==", "integrity": "sha512-WLfXeY2r0rhzbiYgqfEk2nlmAh/XmuNrO1t9mOduCuho1zbemdT/keMR2NQWvwJ5k3kGEPD7iAAthmy8Ioc5tA==",
"dev": true, "dev": true,
"license": "MIT",
"dependencies": { "dependencies": {
"@codemirror/state": "^6.0.0", "@codemirror/state": "^6.0.0",
"@codemirror/view": "^6.0.0", "@codemirror/view": "^6.0.0",
@ -3415,9 +3414,9 @@
"dev": true "dev": true
}, },
"node_modules/@codemirror/view": { "node_modules/@codemirror/view": {
"version": "6.32.0", "version": "6.34.0",
"resolved": "https://registry.npmjs.org/@codemirror/view/-/view-6.32.0.tgz", "resolved": "https://registry.npmjs.org/@codemirror/view/-/view-6.34.0.tgz",
"integrity": "sha512-AgVNvED2QTsZp5e3syoHLsrWtwJFYWdx1Vr/m3f4h1ATQz0ax60CfXF3Htdmk69k2MlYZw8gXesnQdHtzyVmAw==", "integrity": "sha512-2vKJ79tOcVfgPYVJM2XjcL1BH5Bsl7/tgn9ilBj3XWeCS5kTRy/NE4FHEj4aMylOl/D3IPNsmZH0WPlB+DyIdA==",
"dev": true, "dev": true,
"dependencies": { "dependencies": {
"@codemirror/state": "^6.4.0", "@codemirror/state": "^6.4.0",
@ -6453,9 +6452,9 @@
} }
}, },
"node_modules/@lezer/generator": { "node_modules/@lezer/generator": {
"version": "1.7.0", "version": "1.7.1",
"resolved": "https://registry.npmjs.org/@lezer/generator/-/generator-1.7.0.tgz", "resolved": "https://registry.npmjs.org/@lezer/generator/-/generator-1.7.1.tgz",
"integrity": "sha512-IJ16tx3biLKlCXUzcK4v8S10AVa2BSM2rB12rtAL6f1hL2TS/HQQlGCoWRvanlL2J4mCYEEIv9uG7n4kVMkVDA==", "integrity": "sha512-MgPJN9Si+ccxzXl3OAmCeZuUKw4XiPl4y664FX/hnnyG9CTqUPq65N3/VGPA2jD23D7QgMTtNqflta+cPN+5mQ==",
"dev": true, "dev": true,
"dependencies": { "dependencies": {
"@lezer/common": "^1.1.0", "@lezer/common": "^1.1.0",
@ -6466,9 +6465,9 @@
} }
}, },
"node_modules/@lezer/highlight": { "node_modules/@lezer/highlight": {
"version": "1.2.0", "version": "1.2.1",
"resolved": "https://registry.npmjs.org/@lezer/highlight/-/highlight-1.2.0.tgz", "resolved": "https://registry.npmjs.org/@lezer/highlight/-/highlight-1.2.1.tgz",
"integrity": "sha512-WrS5Mw51sGrpqjlh3d4/fOwpEV2Hd3YOkp9DBt4k8XZQcoTHZFB7sx030A6OcahF4J1nDQAa3jXlTVVYH50IFA==", "integrity": "sha512-Z5duk4RN/3zuVO7Jq0pGLJ3qynpxUVsh7IbUbGj88+uV2ApSAn6kWg2au3iJb+0Zi7kKtqffIESgNcRXWZWmSA==",
"dev": true, "dev": true,
"dependencies": { "dependencies": {
"@lezer/common": "^1.0.0" "@lezer/common": "^1.0.0"
@ -6495,18 +6494,18 @@
} }
}, },
"node_modules/@lezer/lr": { "node_modules/@lezer/lr": {
"version": "1.4.1", "version": "1.4.2",
"resolved": "https://registry.npmjs.org/@lezer/lr/-/lr-1.4.1.tgz", "resolved": "https://registry.npmjs.org/@lezer/lr/-/lr-1.4.2.tgz",
"integrity": "sha512-CHsKq8DMKBf9b3yXPDIU4DbH+ZJd/sJdYOW2llbW/HudP5u0VS6Bfq1hLYfgU7uAYGFIyGGQIsSOXGPEErZiJw==", "integrity": "sha512-pu0K1jCIdnQ12aWNaAVU5bzi7Bd1w54J3ECgANPmYLtQKP0HBj2cE/5coBD66MT10xbtIuUr7tg0Shbsvk0mDA==",
"dev": true, "dev": true,
"dependencies": { "dependencies": {
"@lezer/common": "^1.0.0" "@lezer/common": "^1.0.0"
} }
}, },
"node_modules/@lezer/markdown": { "node_modules/@lezer/markdown": {
"version": "1.3.0", "version": "1.3.1",
"resolved": "https://registry.npmjs.org/@lezer/markdown/-/markdown-1.3.0.tgz", "resolved": "https://registry.npmjs.org/@lezer/markdown/-/markdown-1.3.1.tgz",
"integrity": "sha512-ErbEQ15eowmJUyT095e9NJc3BI9yZ894fjSDtHftD0InkfUBGgnKSU6dvan9jqsZuNHg2+ag/1oyDRxNsENupQ==", "integrity": "sha512-DGlzU/i8DC8k0uz1F+jeePrkATl0jWakauTzftMQOcbaMkHbNSRki/4E2tOzJWsVpoKYhe7iTJ03aepdwVUXUA==",
"dev": true, "dev": true,
"dependencies": { "dependencies": {
"@lezer/common": "^1.0.0", "@lezer/common": "^1.0.0",
@ -8697,7 +8696,6 @@
"resolved": "git+ssh://git@github.com/overleaf/codemirror-emacs.git#4394c03858f27053f8768258e9493866e06e938e", "resolved": "git+ssh://git@github.com/overleaf/codemirror-emacs.git#4394c03858f27053f8768258e9493866e06e938e",
"integrity": "sha512-5rEKNeFfYPi3ytelXa5IIXnRu5Wvpzz80W1xa9k7gorC2wHlFRveIiIeXdwcQQw92pe5cT5vtpldLLZW5xcAIg==", "integrity": "sha512-5rEKNeFfYPi3ytelXa5IIXnRu5Wvpzz80W1xa9k7gorC2wHlFRveIiIeXdwcQQw92pe5cT5vtpldLLZW5xcAIg==",
"dev": true, "dev": true,
"license": "MIT",
"peerDependencies": { "peerDependencies": {
"@codemirror/autocomplete": "^6.0.2", "@codemirror/autocomplete": "^6.0.2",
"@codemirror/commands": "^6.0.0", "@codemirror/commands": "^6.0.0",
@ -8707,11 +8705,10 @@
} }
}, },
"node_modules/@replit/codemirror-indentation-markers": { "node_modules/@replit/codemirror-indentation-markers": {
"version": "6.4.0", "version": "6.5.3",
"resolved": "git+ssh://git@github.com/overleaf/codemirror-indentation-markers.git#1b1f93c0bcd04293aea6986aa2275185b2c56803", "resolved": "git+ssh://git@github.com/overleaf/codemirror-indentation-markers.git#78264032eb286bc47871569ae87bff5ca1c6c161",
"integrity": "sha512-33syzlJuFicLpTzJR0Z8d5jqGFmKae5UxiwDdvHzLzQUKvVxc+9Pu7v1Yigf+wWqufPmt0DE2ub/amBB8HcmIw==", "integrity": "sha512-M64D1BO2iLWI0ByW4oiiRj104pulG+07FZOz+NfkJMY2zmrbsidKii/8Ibwmp7kEuWY1n7STtTtWxqZZB/HsjA==",
"dev": true, "dev": true,
"license": "MIT",
"peerDependencies": { "peerDependencies": {
"@codemirror/language": "^6.0.0", "@codemirror/language": "^6.0.0",
"@codemirror/state": "^6.0.0", "@codemirror/state": "^6.0.0",
@ -8719,9 +8716,9 @@
} }
}, },
"node_modules/@replit/codemirror-vim": { "node_modules/@replit/codemirror-vim": {
"version": "6.1.0", "version": "6.2.1",
"resolved": "git+ssh://git@github.com/overleaf/codemirror-vim.git#51ce0933e95705268256467fbbbcce5999ed3624", "resolved": "git+ssh://git@github.com/overleaf/codemirror-vim.git#1bef138382d948018f3f9b8a4d7a70ab61774e4b",
"integrity": "sha512-cdp9t2IY1gHPwW3khJAxb9ffay6af9BLE0ZNCsq/SK6dj5TTwqoxT4N6aXJC+05spYlqcLRIlsqIJ1QrU5KUKw==", "integrity": "sha512-ATm1ZFJptmNcNlGKMFsCFQv41PYKBlDwC5pPKpceSEwws0yX2pS1FrV/cMikT9Ylw15s3grYUibYX3ObHZq8sQ==",
"dev": true, "dev": true,
"peerDependencies": { "peerDependencies": {
"@codemirror/commands": "^6.0.0", "@codemirror/commands": "^6.0.0",
@ -41432,20 +41429,20 @@
"@babel/preset-react": "^7.24.7", "@babel/preset-react": "^7.24.7",
"@babel/preset-typescript": "^7.24.7", "@babel/preset-typescript": "^7.24.7",
"@babel/register": "^7.24.6", "@babel/register": "^7.24.6",
"@codemirror/autocomplete": "github:overleaf/codemirror-autocomplete#v6.18.0-overleaf-1", "@codemirror/autocomplete": "github:overleaf/codemirror-autocomplete#30c8996ee922d44039424347090afa8eafd141bf",
"@codemirror/commands": "^6.6.0", "@codemirror/commands": "^6.6.2",
"@codemirror/lang-markdown": "^6.2.5", "@codemirror/lang-markdown": "^6.2.5",
"@codemirror/language": "^6.10.2", "@codemirror/language": "^6.10.3",
"@codemirror/lint": "^6.8.1", "@codemirror/lint": "^6.8.2",
"@codemirror/search": "github:overleaf/codemirror-search#29f7a871969ad64b89341bacbe5d46dda02eee12", "@codemirror/search": "github:overleaf/codemirror-search#94f33f7fa6db95dadd3d7aed05c30cdde550835a",
"@codemirror/state": "^6.4.1", "@codemirror/state": "^6.4.1",
"@codemirror/view": "^6.32.0", "@codemirror/view": "^6.34.0",
"@juggle/resize-observer": "^3.3.1", "@juggle/resize-observer": "^3.3.1",
"@lezer/common": "^1.2.1", "@lezer/common": "^1.2.1",
"@lezer/generator": "^1.7.0", "@lezer/generator": "^1.7.1",
"@lezer/highlight": "^1.2.0", "@lezer/highlight": "^1.2.1",
"@lezer/lr": "^1.4.1", "@lezer/lr": "^1.4.2",
"@lezer/markdown": "^1.3.0", "@lezer/markdown": "^1.3.1",
"@opentelemetry/api": "^1.4.1", "@opentelemetry/api": "^1.4.1",
"@opentelemetry/auto-instrumentations-web": "^0.33.1", "@opentelemetry/auto-instrumentations-web": "^0.33.1",
"@opentelemetry/context-zone": "^1.15.2", "@opentelemetry/context-zone": "^1.15.2",
@ -41466,8 +41463,8 @@
"@pollyjs/core": "^6.0.6", "@pollyjs/core": "^6.0.6",
"@pollyjs/persister-fs": "^6.0.6", "@pollyjs/persister-fs": "^6.0.6",
"@replit/codemirror-emacs": "overleaf/codemirror-emacs#4394c03858f27053f8768258e9493866e06e938e", "@replit/codemirror-emacs": "overleaf/codemirror-emacs#4394c03858f27053f8768258e9493866e06e938e",
"@replit/codemirror-indentation-markers": "overleaf/codemirror-indentation-markers#1b1f93c0bcd04293aea6986aa2275185b2c56803", "@replit/codemirror-indentation-markers": "overleaf/codemirror-indentation-markers#78264032eb286bc47871569ae87bff5ca1c6c161",
"@replit/codemirror-vim": "overleaf/codemirror-vim#51ce0933e95705268256467fbbbcce5999ed3624", "@replit/codemirror-vim": "overleaf/codemirror-vim#1bef138382d948018f3f9b8a4d7a70ab61774e4b",
"@sentry/browser": "7.46.0", "@sentry/browser": "7.46.0",
"@storybook/addon-a11y": "^8.3.5", "@storybook/addon-a11y": "^8.3.5",
"@storybook/addon-essentials": "^8.3.5", "@storybook/addon-essentials": "^8.3.5",
@ -46335,10 +46332,10 @@
"dev": true "dev": true
}, },
"@codemirror/autocomplete": { "@codemirror/autocomplete": {
"version": "git+ssh://git@github.com/overleaf/codemirror-autocomplete.git#d69a03afc6e29a58eb267084a1e3b5a99ff72cc2", "version": "git+ssh://git@github.com/overleaf/codemirror-autocomplete.git#30c8996ee922d44039424347090afa8eafd141bf",
"integrity": "sha512-nks52ChYx6ZrwsJA+0kNK3u2Etylgq9KnxVzT27mzbVprddnv2AHzv9HhX2gpHZbIKE1kalYxMHO9GalyTyrnQ==", "integrity": "sha512-i3JBatB0+4UF9P9QbCOnK4Ari8WVABslr28N+Kf3lLqFsXnJLbaxeFuZqOMBgmHThfAzL708V3v3/NaGGd1GxA==",
"dev": true, "dev": true,
"from": "@codemirror/autocomplete@github:overleaf/codemirror-autocomplete#v6.18.0-overleaf-1", "from": "@codemirror/autocomplete@github:overleaf/codemirror-autocomplete#30c8996ee922d44039424347090afa8eafd141bf",
"requires": { "requires": {
"@codemirror/language": "^6.0.0", "@codemirror/language": "^6.0.0",
"@codemirror/state": "^6.0.0", "@codemirror/state": "^6.0.0",
@ -46347,9 +46344,9 @@
} }
}, },
"@codemirror/commands": { "@codemirror/commands": {
"version": "6.6.0", "version": "6.6.2",
"resolved": "https://registry.npmjs.org/@codemirror/commands/-/commands-6.6.0.tgz", "resolved": "https://registry.npmjs.org/@codemirror/commands/-/commands-6.6.2.tgz",
"integrity": "sha512-qnY+b7j1UNcTS31Eenuc/5YJB6gQOzkUoNmJQc0rznwqSRpeaWWpjkWy2C/MPTcePpsKJEM26hXrOXl1+nceXg==", "integrity": "sha512-Fq7eWOl1Rcbrfn6jD8FPCj9Auaxdm5nIK5RYOeW7ughnd/rY5AmPg6b+CfsG39ZHdwiwe8lde3q8uR7CF5S0yQ==",
"dev": true, "dev": true,
"requires": { "requires": {
"@codemirror/language": "^6.0.0", "@codemirror/language": "^6.0.0",
@ -46416,9 +46413,9 @@
} }
}, },
"@codemirror/language": { "@codemirror/language": {
"version": "6.10.2", "version": "6.10.3",
"resolved": "https://registry.npmjs.org/@codemirror/language/-/language-6.10.2.tgz", "resolved": "https://registry.npmjs.org/@codemirror/language/-/language-6.10.3.tgz",
"integrity": "sha512-kgbTYTo0Au6dCSc/TFy7fK3fpJmgHDv1sG1KNQKJXVi+xBTEeBPY/M30YXiU6mMXeH+YIDLsbrT4ZwNRdtF+SA==", "integrity": "sha512-kDqEU5sCP55Oabl6E7m5N+vZRoc0iWqgDVhEKifcHzPzjqCegcO4amfrYVL9PmPZpl4G0yjkpTpUO/Ui8CzO8A==",
"dev": true, "dev": true,
"requires": { "requires": {
"@codemirror/state": "^6.0.0", "@codemirror/state": "^6.0.0",
@ -46430,9 +46427,9 @@
} }
}, },
"@codemirror/lint": { "@codemirror/lint": {
"version": "6.8.1", "version": "6.8.2",
"resolved": "https://registry.npmjs.org/@codemirror/lint/-/lint-6.8.1.tgz", "resolved": "https://registry.npmjs.org/@codemirror/lint/-/lint-6.8.2.tgz",
"integrity": "sha512-IZ0Y7S4/bpaunwggW2jYqwLuHj0QtESf5xcROewY6+lDNwZ/NzvR4t+vpYgg9m7V8UXLPYqG+lu3DF470E5Oxg==", "integrity": "sha512-PDFG5DjHxSEjOXk9TQYYVjZDqlZTFaDBfhQixHnQOEVDDNHUbEh/hstAjcQJaA6FQdZTD1hquXTK0rVBLADR1g==",
"dev": true, "dev": true,
"requires": { "requires": {
"@codemirror/state": "^6.0.0", "@codemirror/state": "^6.0.0",
@ -46441,10 +46438,10 @@
} }
}, },
"@codemirror/search": { "@codemirror/search": {
"version": "git+ssh://git@github.com/overleaf/codemirror-search.git#29f7a871969ad64b89341bacbe5d46dda02eee12", "version": "git+ssh://git@github.com/overleaf/codemirror-search.git#94f33f7fa6db95dadd3d7aed05c30cdde550835a",
"integrity": "sha512-aMLQYaC/xv/kNkhp49jx24APK4fvxjypcgS7GfFUoLdhx39fDMw3Z4EGl56NDMFCdEJhG8yXk+hyvU+pxEQSfA==", "integrity": "sha512-WLfXeY2r0rhzbiYgqfEk2nlmAh/XmuNrO1t9mOduCuho1zbemdT/keMR2NQWvwJ5k3kGEPD7iAAthmy8Ioc5tA==",
"dev": true, "dev": true,
"from": "@codemirror/search@github:overleaf/codemirror-search#29f7a871969ad64b89341bacbe5d46dda02eee12", "from": "@codemirror/search@github:overleaf/codemirror-search#94f33f7fa6db95dadd3d7aed05c30cdde550835a",
"requires": { "requires": {
"@codemirror/state": "^6.0.0", "@codemirror/state": "^6.0.0",
"@codemirror/view": "^6.0.0", "@codemirror/view": "^6.0.0",
@ -46458,9 +46455,9 @@
"dev": true "dev": true
}, },
"@codemirror/view": { "@codemirror/view": {
"version": "6.32.0", "version": "6.34.0",
"resolved": "https://registry.npmjs.org/@codemirror/view/-/view-6.32.0.tgz", "resolved": "https://registry.npmjs.org/@codemirror/view/-/view-6.34.0.tgz",
"integrity": "sha512-AgVNvED2QTsZp5e3syoHLsrWtwJFYWdx1Vr/m3f4h1ATQz0ax60CfXF3Htdmk69k2MlYZw8gXesnQdHtzyVmAw==", "integrity": "sha512-2vKJ79tOcVfgPYVJM2XjcL1BH5Bsl7/tgn9ilBj3XWeCS5kTRy/NE4FHEj4aMylOl/D3IPNsmZH0WPlB+DyIdA==",
"dev": true, "dev": true,
"requires": { "requires": {
"@codemirror/state": "^6.4.0", "@codemirror/state": "^6.4.0",
@ -48420,9 +48417,9 @@
} }
}, },
"@lezer/generator": { "@lezer/generator": {
"version": "1.7.0", "version": "1.7.1",
"resolved": "https://registry.npmjs.org/@lezer/generator/-/generator-1.7.0.tgz", "resolved": "https://registry.npmjs.org/@lezer/generator/-/generator-1.7.1.tgz",
"integrity": "sha512-IJ16tx3biLKlCXUzcK4v8S10AVa2BSM2rB12rtAL6f1hL2TS/HQQlGCoWRvanlL2J4mCYEEIv9uG7n4kVMkVDA==", "integrity": "sha512-MgPJN9Si+ccxzXl3OAmCeZuUKw4XiPl4y664FX/hnnyG9CTqUPq65N3/VGPA2jD23D7QgMTtNqflta+cPN+5mQ==",
"dev": true, "dev": true,
"requires": { "requires": {
"@lezer/common": "^1.1.0", "@lezer/common": "^1.1.0",
@ -48430,9 +48427,9 @@
} }
}, },
"@lezer/highlight": { "@lezer/highlight": {
"version": "1.2.0", "version": "1.2.1",
"resolved": "https://registry.npmjs.org/@lezer/highlight/-/highlight-1.2.0.tgz", "resolved": "https://registry.npmjs.org/@lezer/highlight/-/highlight-1.2.1.tgz",
"integrity": "sha512-WrS5Mw51sGrpqjlh3d4/fOwpEV2Hd3YOkp9DBt4k8XZQcoTHZFB7sx030A6OcahF4J1nDQAa3jXlTVVYH50IFA==", "integrity": "sha512-Z5duk4RN/3zuVO7Jq0pGLJ3qynpxUVsh7IbUbGj88+uV2ApSAn6kWg2au3iJb+0Zi7kKtqffIESgNcRXWZWmSA==",
"dev": true, "dev": true,
"requires": { "requires": {
"@lezer/common": "^1.0.0" "@lezer/common": "^1.0.0"
@ -48459,18 +48456,18 @@
} }
}, },
"@lezer/lr": { "@lezer/lr": {
"version": "1.4.1", "version": "1.4.2",
"resolved": "https://registry.npmjs.org/@lezer/lr/-/lr-1.4.1.tgz", "resolved": "https://registry.npmjs.org/@lezer/lr/-/lr-1.4.2.tgz",
"integrity": "sha512-CHsKq8DMKBf9b3yXPDIU4DbH+ZJd/sJdYOW2llbW/HudP5u0VS6Bfq1hLYfgU7uAYGFIyGGQIsSOXGPEErZiJw==", "integrity": "sha512-pu0K1jCIdnQ12aWNaAVU5bzi7Bd1w54J3ECgANPmYLtQKP0HBj2cE/5coBD66MT10xbtIuUr7tg0Shbsvk0mDA==",
"dev": true, "dev": true,
"requires": { "requires": {
"@lezer/common": "^1.0.0" "@lezer/common": "^1.0.0"
} }
}, },
"@lezer/markdown": { "@lezer/markdown": {
"version": "1.3.0", "version": "1.3.1",
"resolved": "https://registry.npmjs.org/@lezer/markdown/-/markdown-1.3.0.tgz", "resolved": "https://registry.npmjs.org/@lezer/markdown/-/markdown-1.3.1.tgz",
"integrity": "sha512-ErbEQ15eowmJUyT095e9NJc3BI9yZ894fjSDtHftD0InkfUBGgnKSU6dvan9jqsZuNHg2+ag/1oyDRxNsENupQ==", "integrity": "sha512-DGlzU/i8DC8k0uz1F+jeePrkATl0jWakauTzftMQOcbaMkHbNSRki/4E2tOzJWsVpoKYhe7iTJ03aepdwVUXUA==",
"dev": true, "dev": true,
"requires": { "requires": {
"@lezer/common": "^1.0.0", "@lezer/common": "^1.0.0",
@ -50927,23 +50924,23 @@
"@babel/preset-react": "^7.24.7", "@babel/preset-react": "^7.24.7",
"@babel/preset-typescript": "^7.24.7", "@babel/preset-typescript": "^7.24.7",
"@babel/register": "^7.24.6", "@babel/register": "^7.24.6",
"@codemirror/autocomplete": "github:overleaf/codemirror-autocomplete#v6.18.0-overleaf-1", "@codemirror/autocomplete": "github:overleaf/codemirror-autocomplete#30c8996ee922d44039424347090afa8eafd141bf",
"@codemirror/commands": "^6.6.0", "@codemirror/commands": "^6.6.2",
"@codemirror/lang-markdown": "^6.2.5", "@codemirror/lang-markdown": "^6.2.5",
"@codemirror/language": "^6.10.2", "@codemirror/language": "^6.10.3",
"@codemirror/lint": "^6.8.1", "@codemirror/lint": "^6.8.2",
"@codemirror/search": "github:overleaf/codemirror-search#29f7a871969ad64b89341bacbe5d46dda02eee12", "@codemirror/search": "github:overleaf/codemirror-search#94f33f7fa6db95dadd3d7aed05c30cdde550835a",
"@codemirror/state": "^6.4.1", "@codemirror/state": "^6.4.1",
"@codemirror/view": "^6.32.0", "@codemirror/view": "^6.34.0",
"@contentful/rich-text-html-renderer": "^16.0.2", "@contentful/rich-text-html-renderer": "^16.0.2",
"@contentful/rich-text-types": "^16.0.2", "@contentful/rich-text-types": "^16.0.2",
"@google-cloud/bigquery": "^6.0.1", "@google-cloud/bigquery": "^6.0.1",
"@juggle/resize-observer": "^3.3.1", "@juggle/resize-observer": "^3.3.1",
"@lezer/common": "^1.2.1", "@lezer/common": "^1.2.1",
"@lezer/generator": "^1.7.0", "@lezer/generator": "^1.7.1",
"@lezer/highlight": "^1.2.0", "@lezer/highlight": "^1.2.1",
"@lezer/lr": "^1.4.1", "@lezer/lr": "^1.4.2",
"@lezer/markdown": "^1.3.0", "@lezer/markdown": "^1.3.1",
"@node-oauth/oauth2-server": "^5.1.0", "@node-oauth/oauth2-server": "^5.1.0",
"@node-saml/passport-saml": "^4.0.4", "@node-saml/passport-saml": "^4.0.4",
"@opentelemetry/api": "^1.4.1", "@opentelemetry/api": "^1.4.1",
@ -50975,8 +50972,8 @@
"@pollyjs/core": "^6.0.6", "@pollyjs/core": "^6.0.6",
"@pollyjs/persister-fs": "^6.0.6", "@pollyjs/persister-fs": "^6.0.6",
"@replit/codemirror-emacs": "overleaf/codemirror-emacs#4394c03858f27053f8768258e9493866e06e938e", "@replit/codemirror-emacs": "overleaf/codemirror-emacs#4394c03858f27053f8768258e9493866e06e938e",
"@replit/codemirror-indentation-markers": "overleaf/codemirror-indentation-markers#1b1f93c0bcd04293aea6986aa2275185b2c56803", "@replit/codemirror-indentation-markers": "overleaf/codemirror-indentation-markers#78264032eb286bc47871569ae87bff5ca1c6c161",
"@replit/codemirror-vim": "overleaf/codemirror-vim#51ce0933e95705268256467fbbbcce5999ed3624", "@replit/codemirror-vim": "overleaf/codemirror-vim#1bef138382d948018f3f9b8a4d7a70ab61774e4b",
"@sentry/browser": "7.46.0", "@sentry/browser": "7.46.0",
"@slack/webhook": "^7.0.2", "@slack/webhook": "^7.0.2",
"@storybook/addon-a11y": "^8.3.5", "@storybook/addon-a11y": "^8.3.5",
@ -53323,23 +53320,23 @@
}, },
"@replit/codemirror-emacs": { "@replit/codemirror-emacs": {
"version": "git+ssh://git@github.com/overleaf/codemirror-emacs.git#4394c03858f27053f8768258e9493866e06e938e", "version": "git+ssh://git@github.com/overleaf/codemirror-emacs.git#4394c03858f27053f8768258e9493866e06e938e",
"integrity": "sha512-5rEKNeFfYPi3ytelXa5IIXnRu5Wvpzz80W1xa9k7gorC2wHlFRveIiIeXdwcQQw92pe5cT5vtpldLLZW5xcAIg==", "integrity": "sha512-AICzRfLjUzVcNyeM1tzNoIWhOjKgyfRuTKQeDJbNKSvafHMODpwC+augb97xcYYyHRRNUpPO3umroY92CGJyhA==",
"dev": true, "dev": true,
"from": "@replit/codemirror-emacs@overleaf/codemirror-emacs#4394c03858f27053f8768258e9493866e06e938e", "from": "@replit/codemirror-emacs@overleaf/codemirror-emacs#4394c03858f27053f8768258e9493866e06e938e",
"requires": {} "requires": {}
}, },
"@replit/codemirror-indentation-markers": { "@replit/codemirror-indentation-markers": {
"version": "git+ssh://git@github.com/overleaf/codemirror-indentation-markers.git#1b1f93c0bcd04293aea6986aa2275185b2c56803", "version": "git+ssh://git@github.com/overleaf/codemirror-indentation-markers.git#78264032eb286bc47871569ae87bff5ca1c6c161",
"integrity": "sha512-33syzlJuFicLpTzJR0Z8d5jqGFmKae5UxiwDdvHzLzQUKvVxc+9Pu7v1Yigf+wWqufPmt0DE2ub/amBB8HcmIw==", "integrity": "sha512-M64D1BO2iLWI0ByW4oiiRj104pulG+07FZOz+NfkJMY2zmrbsidKii/8Ibwmp7kEuWY1n7STtTtWxqZZB/HsjA==",
"dev": true, "dev": true,
"from": "@replit/codemirror-indentation-markers@overleaf/codemirror-indentation-markers#1b1f93c0bcd04293aea6986aa2275185b2c56803", "from": "@replit/codemirror-indentation-markers@overleaf/codemirror-indentation-markers#78264032eb286bc47871569ae87bff5ca1c6c161",
"requires": {} "requires": {}
}, },
"@replit/codemirror-vim": { "@replit/codemirror-vim": {
"version": "git+ssh://git@github.com/overleaf/codemirror-vim.git#51ce0933e95705268256467fbbbcce5999ed3624", "version": "git+ssh://git@github.com/overleaf/codemirror-vim.git#1bef138382d948018f3f9b8a4d7a70ab61774e4b",
"integrity": "sha512-cdp9t2IY1gHPwW3khJAxb9ffay6af9BLE0ZNCsq/SK6dj5TTwqoxT4N6aXJC+05spYlqcLRIlsqIJ1QrU5KUKw==", "integrity": "sha512-ATm1ZFJptmNcNlGKMFsCFQv41PYKBlDwC5pPKpceSEwws0yX2pS1FrV/cMikT9Ylw15s3grYUibYX3ObHZq8sQ==",
"dev": true, "dev": true,
"from": "@replit/codemirror-vim@overleaf/codemirror-vim#51ce0933e95705268256467fbbbcce5999ed3624", "from": "@replit/codemirror-vim@overleaf/codemirror-vim#1bef138382d948018f3f9b8a4d7a70ab61774e4b",
"requires": {} "requires": {}
}, },
"@restart/hooks": { "@restart/hooks": {

View file

@ -48,7 +48,7 @@ export const extendRequiredParameter = (
} }
) => { ) => {
if (typeof change.insert !== 'string') { if (typeof change.insert !== 'string') {
return change change.insert = change.insert.toString()
} }
const argumentNode = ancestorNodeOfType(state, change.from, '$Argument') const argumentNode = ancestorNodeOfType(state, change.from, '$Argument')
@ -96,6 +96,7 @@ export const extendRequiredParameter = (
) )
} }
} }
change.insert = state.toText(change.insert)
return change return change
} }

View file

@ -177,20 +177,20 @@
"@babel/preset-react": "^7.24.7", "@babel/preset-react": "^7.24.7",
"@babel/preset-typescript": "^7.24.7", "@babel/preset-typescript": "^7.24.7",
"@babel/register": "^7.24.6", "@babel/register": "^7.24.6",
"@codemirror/autocomplete": "github:overleaf/codemirror-autocomplete#v6.18.0-overleaf-1", "@codemirror/autocomplete": "github:overleaf/codemirror-autocomplete#30c8996ee922d44039424347090afa8eafd141bf",
"@codemirror/commands": "^6.6.0", "@codemirror/commands": "^6.6.2",
"@codemirror/lang-markdown": "^6.2.5", "@codemirror/lang-markdown": "^6.2.5",
"@codemirror/language": "^6.10.2", "@codemirror/language": "^6.10.3",
"@codemirror/lint": "^6.8.1", "@codemirror/lint": "^6.8.2",
"@codemirror/search": "github:overleaf/codemirror-search#29f7a871969ad64b89341bacbe5d46dda02eee12", "@codemirror/search": "github:overleaf/codemirror-search#94f33f7fa6db95dadd3d7aed05c30cdde550835a",
"@codemirror/state": "^6.4.1", "@codemirror/state": "^6.4.1",
"@codemirror/view": "^6.32.0", "@codemirror/view": "^6.34.0",
"@juggle/resize-observer": "^3.3.1", "@juggle/resize-observer": "^3.3.1",
"@lezer/common": "^1.2.1", "@lezer/common": "^1.2.1",
"@lezer/generator": "^1.7.0", "@lezer/generator": "^1.7.1",
"@lezer/highlight": "^1.2.0", "@lezer/highlight": "^1.2.1",
"@lezer/lr": "^1.4.1", "@lezer/lr": "^1.4.2",
"@lezer/markdown": "^1.3.0", "@lezer/markdown": "^1.3.1",
"@opentelemetry/api": "^1.4.1", "@opentelemetry/api": "^1.4.1",
"@opentelemetry/auto-instrumentations-web": "^0.33.1", "@opentelemetry/auto-instrumentations-web": "^0.33.1",
"@opentelemetry/context-zone": "^1.15.2", "@opentelemetry/context-zone": "^1.15.2",
@ -211,8 +211,8 @@
"@pollyjs/core": "^6.0.6", "@pollyjs/core": "^6.0.6",
"@pollyjs/persister-fs": "^6.0.6", "@pollyjs/persister-fs": "^6.0.6",
"@replit/codemirror-emacs": "overleaf/codemirror-emacs#4394c03858f27053f8768258e9493866e06e938e", "@replit/codemirror-emacs": "overleaf/codemirror-emacs#4394c03858f27053f8768258e9493866e06e938e",
"@replit/codemirror-indentation-markers": "overleaf/codemirror-indentation-markers#1b1f93c0bcd04293aea6986aa2275185b2c56803", "@replit/codemirror-indentation-markers": "overleaf/codemirror-indentation-markers#78264032eb286bc47871569ae87bff5ca1c6c161",
"@replit/codemirror-vim": "overleaf/codemirror-vim#51ce0933e95705268256467fbbbcce5999ed3624", "@replit/codemirror-vim": "overleaf/codemirror-vim#1bef138382d948018f3f9b8a4d7a70ab61774e4b",
"@sentry/browser": "7.46.0", "@sentry/browser": "7.46.0",
"@storybook/addon-a11y": "^8.3.5", "@storybook/addon-a11y": "^8.3.5",
"@storybook/addon-essentials": "^8.3.5", "@storybook/addon-essentials": "^8.3.5",