Commit 4bf3be7
authored
HTML compliant CTE support (#5483)
* feat: use default parse5 implementation
* fix: directive-if/template-expression
* chore: fixture updates
* feat: cte validation
* feat: attribute support and validation
* feat: revert fuzzy end brace computation
* feat: additional tests and restructuring
* feat: additional coverage
* fix: perf test syntax
* chore: add comments
* chore: add comments
* fix: decode literals that precede expressions
* fix: turn off feature for compatibility test
* fix: test corrections
* fix: legacy comment1 parent 5ecf556 commit 4bf3be7
File tree
162 files changed
+2212
-4077
lines changed- packages/@lwc
- errors/src/compiler/error-info
- perf-benchmarks-components/src/benchmark/expression
- template-compiler/src
- __tests__/fixtures/expression-complex
- compatibility/directive-if/template-expression
- invalid
- arrow-function-async
- arrow-function-block-body
- assignment-outside-arrow
- await
- bigint-literal
- class-expr
- comma-operator
- comments
- delete-operator
- function-expr
- html-decoding
- experimental-complex-expressions-true-attr
- experimental-complex-expressions-true
- static-content-optimization-false-attr
- static-content-optimization-false
- html-special-chars-attr
- html-special-chars-text-node
- import-meta
- import
- less-than-unsupported-text-node
- new-operator
- regexp-literal
- super
- this
- throw
- unquoted-attribute-complex-expression
- unquoted-attribute-computed-expression
- update-outside-arrow
- attribute
- text-content
- yield
- valid
- array-expr
- arrowfn-scoped-vars
- assignment-inside-arrow
- binary-expr-arithmetic
- binary-expr-bit-shift
- binary-expr-bitwise
- binary-expr-logical
- binary-expr-relational
- boolean-literal
- call-expr
- computed-property
- identifier
- iterator
- member-expr
- null-literal
- numeric-literal-binary
- numeric-literal-float
- numeric-literal-hex
- numeric-literal-int
- numeric-literal-octal
- object-expr
- optional-call-expr
- string-literal
- template-literal-tagged
- template-literal
- ternary
- text-node-adjacency
- typeof-operator
- unary-expr-bitwise
- unary-expr-logical
- update-inside-arrow
- void-operator
- parser
- expression-complex
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
162 files changed
+2212
-4077
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| |||
Lines changed: 16 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
979 | 979 | | |
980 | 980 | | |
981 | 981 | | |
| 982 | + | |
| 983 | + | |
| 984 | + | |
| 985 | + | |
| 986 | + | |
| 987 | + | |
| 988 | + | |
| 989 | + | |
| 990 | + | |
| 991 | + | |
| 992 | + | |
| 993 | + | |
| 994 | + | |
| 995 | + | |
| 996 | + | |
| 997 | + | |
982 | 998 | | |
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
9 | | - | |
| 8 | + | |
| 9 | + | |
10 | 10 | | |
11 | 11 | | |
Lines changed: 38 additions & 50 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
112 | 112 | | |
113 | 113 | | |
114 | 114 | | |
115 | | - | |
116 | | - | |
117 | | - | |
118 | | - | |
119 | | - | |
120 | | - | |
121 | | - | |
122 | | - | |
123 | | - | |
124 | | - | |
125 | | - | |
126 | | - | |
127 | | - | |
128 | | - | |
129 | | - | |
130 | | - | |
| 115 | + | |
| 116 | + | |
131 | 117 | | |
132 | 118 | | |
133 | | - | |
134 | | - | |
135 | | - | |
136 | | - | |
137 | | - | |
138 | | - | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
139 | 125 | | |
140 | 126 | | |
141 | 127 | | |
142 | | - | |
143 | | - | |
144 | | - | |
145 | | - | |
146 | | - | |
147 | | - | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
148 | 150 | | |
149 | 151 | | |
150 | 152 | | |
151 | 153 | | |
152 | 154 | | |
153 | 155 | | |
154 | 156 | | |
155 | | - | |
156 | | - | |
157 | | - | |
158 | | - | |
159 | | - | |
160 | | - | |
161 | | - | |
162 | | - | |
163 | | - | |
164 | | - | |
165 | | - | |
166 | | - | |
167 | | - | |
168 | | - | |
169 | | - | |
170 | | - | |
| 157 | + | |
| 158 | + | |
171 | 159 | | |
172 | 160 | | |
173 | | - | |
174 | | - | |
| 161 | + | |
| 162 | + | |
175 | 163 | | |
176 | 164 | | |
177 | | - | |
| 165 | + | |
178 | 166 | | |
179 | 167 | | |
180 | 168 | | |
181 | 169 | | |
182 | | - | |
183 | | - | |
| 170 | + | |
| 171 | + | |
184 | 172 | | |
185 | 173 | | |
186 | | - | |
| 174 | + | |
187 | 175 | | |
188 | 176 | | |
189 | 177 | | |
| |||
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
13 | 15 | | |
14 | 16 | | |
15 | 17 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
10 | | - | |
11 | | - | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
10 | | - | |
11 | | - | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
0 commit comments