@elastic/monaco-esql 3.1.12 → 3.1.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +0 -1
- package/lib/monarch.js +6 -0
- package/package.json +12 -12
package/README.md
CHANGED
|
@@ -20,7 +20,6 @@ monaco.languages.setMonarchTokensProvider("esql", monarchLanguage);
|
|
|
20
20
|
## Releasing
|
|
21
21
|
|
|
22
22
|
To release a new version add a `publish` label to the PR.
|
|
23
|
-
Or you can run the `Release` Github action manually from Github web.
|
|
24
23
|
|
|
25
24
|
There is no need to bump the version manually, release-it does it automatically.
|
|
26
25
|
|
package/lib/monarch.js
CHANGED
|
@@ -183,8 +183,14 @@ const create = (deps = {}) => {
|
|
|
183
183
|
],
|
|
184
184
|
// Triple double-quoted strings: """str"""
|
|
185
185
|
string_triple: [
|
|
186
|
+
// Needed to avoid poping on these cases: | WHERE KQL("""log.level:"warning""""),
|
|
187
|
+
// without this it will pop on warning""", leaving ") as invalid tokens.
|
|
188
|
+
[/"(?=""")/, "string.triple"],
|
|
189
|
+
// End string_triple when """ is found
|
|
186
190
|
[/"""/, "string.triple", "@pop"],
|
|
191
|
+
// The following two rules match the string content, contemplating the apearance of isolated quotes.
|
|
187
192
|
[/[^"]+/, "string.triple"],
|
|
193
|
+
[/"/, "string.triple"],
|
|
188
194
|
],
|
|
189
195
|
// Backtick quoted "strings". ES|QL does not have back-tick "strings"
|
|
190
196
|
// *per se*, but column parts can have backtick-escaped parts.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elastic/monaco-esql",
|
|
3
|
-
"version": "3.1.
|
|
3
|
+
"version": "3.1.13",
|
|
4
4
|
"private": false,
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public",
|
|
@@ -53,20 +53,20 @@
|
|
|
53
53
|
"@biomejs/biome": "2.3.8",
|
|
54
54
|
"@chromatic-com/storybook": "4.1.3",
|
|
55
55
|
"@monaco-editor/react": "4.7.0",
|
|
56
|
-
"@storybook/addon-docs": "10.1.
|
|
57
|
-
"@storybook/addon-onboarding": "10.1.
|
|
58
|
-
"@storybook/addon-vitest": "10.1.
|
|
59
|
-
"@storybook/react-vite": "10.1.
|
|
56
|
+
"@storybook/addon-docs": "10.1.9",
|
|
57
|
+
"@storybook/addon-onboarding": "10.1.9",
|
|
58
|
+
"@storybook/addon-vitest": "10.1.9",
|
|
59
|
+
"@storybook/react-vite": "10.1.9",
|
|
60
60
|
"@types/react": "19.2.7",
|
|
61
|
-
"@vitest/browser": "4.0.
|
|
62
|
-
"@vitest/browser-playwright": "4.0.
|
|
63
|
-
"@vitest/coverage-v8": "4.0.
|
|
61
|
+
"@vitest/browser": "4.0.16",
|
|
62
|
+
"@vitest/browser-playwright": "4.0.16",
|
|
63
|
+
"@vitest/coverage-v8": "4.0.16",
|
|
64
64
|
"monaco-editor": "0.55.1",
|
|
65
65
|
"playwright": "1.57.0",
|
|
66
|
-
"react": "19.2.
|
|
67
|
-
"react-dom": "19.2.
|
|
68
|
-
"storybook": "10.1.
|
|
66
|
+
"react": "19.2.3",
|
|
67
|
+
"react-dom": "19.2.3",
|
|
68
|
+
"storybook": "10.1.9",
|
|
69
69
|
"typescript": "5.9.3",
|
|
70
|
-
"vitest": "4.0.
|
|
70
|
+
"vitest": "4.0.16"
|
|
71
71
|
}
|
|
72
72
|
}
|