@elastic/monaco-esql 3.1.11 → 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 CHANGED
@@ -20,7 +20,8 @@ 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.
23
+
24
+ There is no need to bump the version manually, release-it does it automatically.
24
25
 
25
26
  ## License
26
27
 
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.11",
3
+ "version": "3.1.13",
4
4
  "private": false,
5
5
  "publishConfig": {
6
6
  "access": "public",
@@ -50,22 +50,23 @@
50
50
  "monaco-editor": "*"
51
51
  },
52
52
  "devDependencies": {
53
- "@biomejs/biome": "2.2.4",
54
- "@chromatic-com/storybook": "4.1.1",
53
+ "@biomejs/biome": "2.3.8",
54
+ "@chromatic-com/storybook": "4.1.3",
55
55
  "@monaco-editor/react": "4.7.0",
56
- "@storybook/addon-docs": "9.1.10",
57
- "@storybook/addon-onboarding": "9.1.10",
58
- "@storybook/addon-vitest": "9.1.10",
59
- "@storybook/react-vite": "9.1.10",
60
- "@types/react": "19.1.13",
61
- "@vitest/browser": "3.2.4",
62
- "@vitest/coverage-v8": "3.2.4",
63
- "monaco-editor": "0.53.0",
64
- "playwright": "1.55.1",
65
- "react": "19.1.1",
66
- "react-dom": "19.1.1",
67
- "storybook": "9.1.10",
68
- "typescript": "5.9.2",
69
- "vitest": "3.2.4"
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
+ "@types/react": "19.2.7",
61
+ "@vitest/browser": "4.0.16",
62
+ "@vitest/browser-playwright": "4.0.16",
63
+ "@vitest/coverage-v8": "4.0.16",
64
+ "monaco-editor": "0.55.1",
65
+ "playwright": "1.57.0",
66
+ "react": "19.2.3",
67
+ "react-dom": "19.2.3",
68
+ "storybook": "10.1.9",
69
+ "typescript": "5.9.3",
70
+ "vitest": "4.0.16"
70
71
  }
71
72
  }