@n8n/codemirror-lang-sql 1.0.0
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/.github/workflows/dispatch.yml +16 -0
- package/CHANGELOG.md +148 -0
- package/LICENSE +21 -0
- package/README.md +9 -0
- package/dist/index.cjs +723 -0
- package/dist/index.d.ts +196 -0
- package/dist/index.js +706 -0
- package/package.json +42 -0
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
name: Trigger CI
|
|
2
|
+
on: push
|
|
3
|
+
|
|
4
|
+
jobs:
|
|
5
|
+
build:
|
|
6
|
+
name: Dispatch to main repo
|
|
7
|
+
runs-on: ubuntu-latest
|
|
8
|
+
steps:
|
|
9
|
+
- name: Emit repository_dispatch
|
|
10
|
+
uses: mvasigh/dispatch-action@main
|
|
11
|
+
with:
|
|
12
|
+
# You should create a personal access token and store it in your repository
|
|
13
|
+
token: ${{ secrets.DISPATCH_AUTH }}
|
|
14
|
+
repo: dev
|
|
15
|
+
owner: codemirror
|
|
16
|
+
event_type: push
|
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,148 @@
|
|
|
1
|
+
## 6.5.0 (2023-05-16)
|
|
2
|
+
|
|
3
|
+
### New features
|
|
4
|
+
|
|
5
|
+
Dialect objects now have a public `spec` property holding their configuration.
|
|
6
|
+
|
|
7
|
+
## 6.4.1 (2023-04-13)
|
|
8
|
+
|
|
9
|
+
### Bug fixes
|
|
10
|
+
|
|
11
|
+
Fix a bug where tokenizing of block comments got confused when nested comment start/end markers appeared directly next to each other.
|
|
12
|
+
|
|
13
|
+
## 6.4.0 (2023-01-23)
|
|
14
|
+
|
|
15
|
+
### Bug fixes
|
|
16
|
+
|
|
17
|
+
Fix syntax tree node names for curly and square brackets, which had their names swapped.
|
|
18
|
+
|
|
19
|
+
### New features
|
|
20
|
+
|
|
21
|
+
The new `schemas` config option can be used to provide custom completion objects for schema completions.
|
|
22
|
+
|
|
23
|
+
## 6.3.3 (2022-11-14)
|
|
24
|
+
|
|
25
|
+
### Bug fixes
|
|
26
|
+
|
|
27
|
+
Fix tokenizing of double-`$` strings in SQL dialects that support them.
|
|
28
|
+
|
|
29
|
+
## 6.3.2 (2022-10-24)
|
|
30
|
+
|
|
31
|
+
### Bug fixes
|
|
32
|
+
|
|
33
|
+
Make sure the language object has a name.
|
|
34
|
+
|
|
35
|
+
## 6.3.1 (2022-10-17)
|
|
36
|
+
|
|
37
|
+
### Bug fixes
|
|
38
|
+
|
|
39
|
+
Fix tokenizing of `--` line comments.
|
|
40
|
+
|
|
41
|
+
## 6.3.0 (2022-08-23)
|
|
42
|
+
|
|
43
|
+
### New features
|
|
44
|
+
|
|
45
|
+
Schema-based completion now understands basic table alias syntax, and will take it into account when looking up completions.
|
|
46
|
+
|
|
47
|
+
## 6.2.0 (2022-08-14)
|
|
48
|
+
|
|
49
|
+
### New features
|
|
50
|
+
|
|
51
|
+
The new `unquotedBitLiterals` dialect option controls whether `0b01` syntax is recognized.
|
|
52
|
+
|
|
53
|
+
Dialects now allow a `treatBitsAsBytes` option to allow any characters inside quoted strings prefixed with `b`.
|
|
54
|
+
|
|
55
|
+
## 6.1.0 (2022-08-05)
|
|
56
|
+
|
|
57
|
+
### New features
|
|
58
|
+
|
|
59
|
+
The new `doubleDollarQuotedStrings` options to SQL dialects allows parsing of text delimited by `$$` as strings. Regenerate readme
|
|
60
|
+
|
|
61
|
+
## 6.0.0 (2022-06-08)
|
|
62
|
+
|
|
63
|
+
### Breaking changes
|
|
64
|
+
|
|
65
|
+
Update dependencies to 6.0.0
|
|
66
|
+
|
|
67
|
+
## 0.20.4 (2022-05-30)
|
|
68
|
+
|
|
69
|
+
### New features
|
|
70
|
+
|
|
71
|
+
Schema completion descriptions may now include dots in table names to indicate nested schemas.
|
|
72
|
+
|
|
73
|
+
## 0.20.3 (2022-05-27)
|
|
74
|
+
|
|
75
|
+
### Bug fixes
|
|
76
|
+
|
|
77
|
+
Fix a bug where the slash at the end of block comments wasn't considered part of the comment token.
|
|
78
|
+
|
|
79
|
+
## 0.20.2 (2022-05-24)
|
|
80
|
+
|
|
81
|
+
### Bug fixes
|
|
82
|
+
|
|
83
|
+
Fix an infinite recursion bug in `schemaCompletionSource`.
|
|
84
|
+
|
|
85
|
+
## 0.20.1 (2022-05-24)
|
|
86
|
+
|
|
87
|
+
### Breaking changes
|
|
88
|
+
|
|
89
|
+
The `schemaCompletion` and `keywordCompletion` exports, which returned extensions, have been replaced with `schemaCompletionSource` and `keywordCompletionSource`, which return completion sources. The old exports will remain available until the next major version.
|
|
90
|
+
|
|
91
|
+
## 0.20.0 (2022-04-20)
|
|
92
|
+
|
|
93
|
+
### Bug fixes
|
|
94
|
+
|
|
95
|
+
Fix autocompletion on columns when the table name is written with upper-case letters. Move to @lezer/highlight
|
|
96
|
+
|
|
97
|
+
## 0.19.4 (2021-10-28)
|
|
98
|
+
|
|
99
|
+
### Bug fixes
|
|
100
|
+
|
|
101
|
+
Remove duplicate keywords/types in dialect configurations.
|
|
102
|
+
|
|
103
|
+
Fix a bug that caused characters directly before a space to be tokenized incorrectly.
|
|
104
|
+
|
|
105
|
+
## 0.19.3 (2021-08-21)
|
|
106
|
+
|
|
107
|
+
### Bug fixes
|
|
108
|
+
|
|
109
|
+
Fix a bug that broke tokenization of keywords.
|
|
110
|
+
|
|
111
|
+
## 0.19.2 (2021-08-11)
|
|
112
|
+
|
|
113
|
+
## 0.19.1 (2021-08-11)
|
|
114
|
+
|
|
115
|
+
### Bug fixes
|
|
116
|
+
|
|
117
|
+
Fix incorrect versions for @lezer dependencies.
|
|
118
|
+
|
|
119
|
+
## 0.19.0 (2021-08-11)
|
|
120
|
+
|
|
121
|
+
### Breaking changes
|
|
122
|
+
|
|
123
|
+
Update dependencies to 0.19.0
|
|
124
|
+
|
|
125
|
+
## 0.18.0 (2021-03-03)
|
|
126
|
+
|
|
127
|
+
### Breaking changes
|
|
128
|
+
|
|
129
|
+
Update dependencies to 0.18.
|
|
130
|
+
|
|
131
|
+
## 0.17.2 (2021-02-01)
|
|
132
|
+
|
|
133
|
+
### Bug fixes
|
|
134
|
+
|
|
135
|
+
Fix bad syntax tree creation when the input ends with an unfinished quoted identifier.
|
|
136
|
+
|
|
137
|
+
## 0.17.1 (2021-01-06)
|
|
138
|
+
|
|
139
|
+
### New features
|
|
140
|
+
|
|
141
|
+
The package now also exports a CommonJS module.
|
|
142
|
+
|
|
143
|
+
## 0.17.0 (2020-12-29)
|
|
144
|
+
|
|
145
|
+
### Breaking changes
|
|
146
|
+
|
|
147
|
+
First numbered release.
|
|
148
|
+
|
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (C) 2018-2021 by Marijn Haverbeke <marijn@haverbeke.berlin> and others
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in
|
|
13
|
+
all copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
21
|
+
THE SOFTWARE.
|