File tree
347 files changed
+4392
-500
lines changed- packages/@lwc
- compiler/src/transformers
- template-compiler
- src
- __tests__
- fixtures
- attributes
- attribute-allow
- attribute-crossorigin
- attribute-href-with-id-expression
- attribute-href-with-id
- attribute-href
- attribute-part
- attribute-props-transform
- attribute-underscore
- attribute-uppercase
- boolean-attributes-valid
- boolean-attribute
- required
- boolean
- class-dynamic-deoptimized-with-object-binding
- class-dynamic-deoptimized-without-object-binding
- class-dynamic-with-object-binding
- class-dynamic-without-object-binding
- class
- dataset-complex
- dataset
- duplicate-props
- error-empty-value
- escaped
- html-input
- html-tag-invalid
- html-tag
- id
- mixed-props-attrs
- scoped-id
- expression
- not-scoped
- scoped
- not-scoped
- scoped
- spellcheck
- expression
- static
- false-value
- truthy-value
- style
- tabindex-computed
- underscore
- unknown-html-tag-known-attribute
- unquoted-value-unary
- valid-hyphen-attribute
- valid-hyphen-underscore
- valid-non-alphanumeric
- base
- class
- comment
- html-entities
- style-expression
- style-important
- style-static
- svg-with-iteration
- svg
- template
- text
- comments
- basic
- directive-for-each
- directive-if
- preserve-html-comments-option
- slots
- directive-dynamic
- only-child
- sibbling
- directive-external
- custom-element
- data-passing
- directive-for-each
- children
- dynamic-component
- foreach-with-if
- inline-index
- inline-item
- inline-outside-scope-reference
- inline-refence-item
- inline-sibling
- inline
- static-content-optimization
- template-multiple-children
- template-outside-scope-reference
- template-sibling
- template
- directive-if
- dynamic-component
- inline-both-custom-element
- inline-both-standard-element
- inline-multiple
- inline-sibling-static
- strict-true
- template-both
- template-expression
- template-if-else
- template-multiple
- template-sibiling
- template
- directive-inner-html
- usage-if-for-each
- valid
- directive-iterator
- inline-iterator
- iterator
- directive-key
- component
- element
- for-each
- iterator-key-identifier
- iterator-key-member-expression
- iterator-nested-each
- iterator-value-as-key
- nested-iterator-if
- outside-iterator
- directive-lwc-if-else
- directive-for-each
- html-elements
- template
- dynamic-components
- if-elseif-else-nested
- if-elseif-else
- if-elseif-multiple
- if-elseif
- if-else
- if
- inline
- dynamic
- if-elseif-else-nested
- if-elseif-else
- if-elseif-multiple
- if-elseif
- if-else
- if
- if-elseif-else
- components
- html-elements
- template
- if-elseif
- components
- html-elements
- template
- if-else
- components
- html-elements
- template
- if-only
- components
- html-elements
- template
- interop/foreach-if
- mixed-elements
- nested
- preserve-comments/preserve-comments-disabled
- slots
- duplicate-slots-warning
- not-in-same-condition-tree
- same-branch-condition-tree
- simple
- named-slots/simple
- valid-duplicate-slot-names
- complex
- simple
- static-content-optimization
- with-siblings
- directive-ref
- dynamic-components
- dynamic-ref
- static-container
- valid
- directive-render-mode
- shadow-template
- template
- directive-spread
- dynamic-components
- no-renderer-hook
- valid
- dynamic-components/valid
- attributes
- basic
- children
- nested
- properties
- siblings
- events
- component
- non-static
- static
- tag
- type-valid
- expression-complex/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
- expression
- attribute-deep
- attribute-multiple
- attribute
- computed
- empty-paranthesis
- escaped
- parenthesis
- quoted-empty-paranthesis
- simple
- tag
- trailing-spaces
- html-tags/unkown-element
- lwc-dom
- comments
- manual
- lwc-tags/invalid
- metadata/used-attrs
- parsing-errors
- double-close-div
- double-close-template-older-api-version
- duplicate-default-slot
- duplicate-named-slot
- invalid-template-attribute/enableStrictTemplateSyntax-flag-disabled
- invalid-attribute-with-children
- invalid-attribute
- mixed-valid-invalid-attributes
- nested-invalid-attributes
- named-slot-in-iterator
- slot-in-iterator
- stranded-open-svg-ellipse
- regression
- attribute-with-equal
- class-name-slash
- dashed-html-tag
- deprecated-void-elements
- keygen
- param
- excaped-json
- handler-memoization
- invalid-closing-style-tag
- invalid-html-recovery
- nested-if-loops
- slot-name-with-dash
- static-id-in-iteration
- table-with-tr
- renderer-hooks
- config
- disallowed-on-custom-element
- external-component
- multiple-tagname
- tag-with-namespace
- tagname-no-attributes
- tagname-with-attributes
- directive-inner-html
- usage-if-for-each
- valid
- svg
- href-with-expression-value
- href-with-literal-value
- xlink-with-expression-value
- xlink-with-literal-value
- scoped-slots
- child-default-slot-api-version-59
- child-default-slot-content
- child-default-slot
- child-mixed-slot
- child-named-slot
- child-with-foreach
- if-block/valid
- mixed-slot-types
- same-slot-types
- name-is-expression
- nested-scoped-slot
- parent-default-slot
- parent-mixed-slot-content
- parent-named-slot
- parent-with-for
- slot-content-with-directives/valid
- dynamic-components
- child
- parent
- if-block
- if-true
- slots-sharing-bindings
- text-non-direct-child
- with-parent-bindings
- secure/secure-template
- slots
- component-definition
- definition-sibiling-slot
- definition-sibling-static
- definition
- dynamic-components
- content
- definition
- light-dom
- content
- definition
- usage
- dynamic-name
- mixed-1
- mixed
- no-slot
- usage-if-for-each
- usage-if
- usage-named
- usage
- static-content
- attr-escaping
- class-attr-escaping
- comment-escaping
- deep-data-attrs-only
- deep-data-combined
- deep-data-ref-only
- deep-data-style-only
- deep-data
- key-in-slot
- key-invalid-in-slot
- key-multiple
- key-non-top-level
- key
- no-escaping-tags
- no-th-or-td
- preserve-comments-off-with-parts
- preserve-comments-off
- preserve-comments-on-with-parts
- preserve-comments-on
- shallow-data
- svg-within-div
- svg-within-g
- svg
- template-string-escape
- text-escaping
- text
- child
- comments
- no-preserve-comments
- basic
- nested
- siblings
- preserve-comments
- basic
- nested
- siblings
- concatenated
- elseif
- else
- grandchild
- if
- root
- siblings
- svg
- filter
- foreign-object
- linear-gradient
- scoped-id-dynamic
- scoped-id-static
- simple-svg
- stranded-open-path
- valid-image
- valid-svg
- xlink-with-expression-value
- xlink-with-literal-value
- codegen
- formatters
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
347 files changed
+4392
-500
lines changedLines changed: 5 additions & 114 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
4 | 4 |
| |
5 | 5 |
| |
6 | 6 |
| |
7 |
| - | |
8 |
| - | |
9 | 7 |
| |
10 | 8 |
| |
11 | 9 |
| |
| |||
52 | 50 |
| |
53 | 51 |
| |
54 | 52 |
| |
55 |
| - | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
56 | 56 |
| |
57 | 57 |
| |
58 | 58 |
| |
| |||
76 | 76 |
| |
77 | 77 |
| |
78 | 78 |
| |
79 |
| - | |
80 |
| - | |
81 |
| - | |
82 | 79 |
| |
83 | 80 |
| |
84 | 81 |
| |
85 |
| - | |
| 82 | + | |
86 | 83 |
| |
87 | 84 |
| |
88 |
| - | |
89 |
| - | |
90 |
| - | |
91 |
| - | |
92 |
| - | |
93 |
| - | |
94 |
| - | |
95 |
| - | |
96 |
| - | |
| 85 | + | |
97 | 86 |
| |
98 | 87 |
| |
99 |
| - | |
100 |
| - | |
101 |
| - | |
102 |
| - | |
103 |
| - | |
104 |
| - | |
105 |
| - | |
106 |
| - | |
107 |
| - | |
108 |
| - | |
109 |
| - | |
110 |
| - | |
111 |
| - | |
112 |
| - | |
113 |
| - | |
114 |
| - | |
115 |
| - | |
116 |
| - | |
117 |
| - | |
118 |
| - | |
119 |
| - | |
120 |
| - | |
121 |
| - | |
122 |
| - | |
123 |
| - | |
124 |
| - | |
125 |
| - | |
126 |
| - | |
127 |
| - | |
128 |
| - | |
129 |
| - | |
130 |
| - | |
131 |
| - | |
132 |
| - | |
133 |
| - | |
134 |
| - | |
135 |
| - | |
136 |
| - | |
137 |
| - | |
138 |
| - | |
139 |
| - | |
140 |
| - | |
141 |
| - | |
142 |
| - | |
143 |
| - | |
144 |
| - | |
145 |
| - | |
146 |
| - | |
147 |
| - | |
148 |
| - | |
149 |
| - | |
150 |
| - | |
151 |
| - | |
152 |
| - | |
153 |
| - | |
154 |
| - | |
155 |
| - | |
156 |
| - | |
157 |
| - | |
158 |
| - | |
159 |
| - | |
160 |
| - | |
161 |
| - | |
162 |
| - | |
163 |
| - | |
164 |
| - | |
165 |
| - | |
166 |
| - | |
167 |
| - | |
168 |
| - | |
169 |
| - | |
170 |
| - | |
171 |
| - | |
172 |
| - | |
173 |
| - | |
174 |
| - | |
175 |
| - | |
176 |
| - | |
177 |
| - | |
178 |
| - | |
179 |
| - | |
180 |
| - | |
181 |
| - | |
182 |
| - | |
183 |
| - | |
184 |
| - | |
185 |
| - | |
186 |
| - | |
187 |
| - | |
188 |
| - | |
189 |
| - | |
190 |
| - | |
191 |
| - | |
192 |
| - | |
193 |
| - | |
194 |
| - | |
195 |
| - | |
196 |
| - |
Lines changed: 5 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
13 | 13 |
| |
14 | 14 |
| |
15 | 15 |
| |
| 16 | + | |
16 | 17 |
| |
17 | 18 |
| |
18 | 19 |
| |
19 | 20 |
| |
20 | 21 |
| |
21 | 22 |
| |
22 | 23 |
| |
| 24 | + | |
23 | 25 |
| |
24 | 26 |
| |
25 | 27 |
| |
| |||
44 | 46 |
| |
45 | 47 |
| |
46 | 48 |
| |
| 49 | + | |
47 | 50 |
| |
48 | 51 |
| |
49 | 52 |
| |
50 | 53 |
| |
| 54 | + | |
| 55 | + | |
51 | 56 |
| |
52 | 57 |
| |
53 | 58 |
| |
|
Lines changed: 4 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
20 | 20 |
| |
21 | 21 |
| |
22 | 22 |
| |
| 23 | + | |
23 | 24 |
| |
24 |
| - | |
| 25 | + | |
25 | 26 |
| |
26 |
| - | |
| 27 | + | |
27 | 28 |
| |
28 | 29 |
| |
29 |
| - | |
| 30 | + | |
30 | 31 |
| |
31 | 32 |
| |
32 | 33 |
| |
|
Lines changed: 12 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 |
| - | |
| 1 | + | |
| 2 | + | |
| 3 | + | |
2 | 4 |
| |
3 | 5 |
| |
4 | 6 |
| |
| |||
7 | 9 |
| |
8 | 10 |
| |
9 | 11 |
| |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + |
packages/@lwc/template-compiler/src/__tests__/fixtures/attributes/attribute-crossorigin/expected.js
Lines changed: 12 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 |
| - | |
| 1 | + | |
| 2 | + | |
| 3 | + | |
2 | 4 |
| |
3 | 5 |
| |
4 | 6 |
| |
| |||
13 | 15 |
| |
14 | 16 |
| |
15 | 17 |
| |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + |
Lines changed: 13 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 |
| - | |
| 1 | + | |
| 2 | + | |
| 3 | + | |
2 | 4 |
| |
3 | 5 |
| |
4 | 6 |
| |
| |||
53 | 55 |
| |
54 | 56 |
| |
55 | 57 |
| |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + |
Lines changed: 12 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 |
| - | |
| 1 | + | |
| 2 | + | |
| 3 | + | |
2 | 4 |
| |
3 | 5 |
| |
4 | 6 |
| |
| |||
49 | 51 |
| |
50 | 52 |
| |
51 | 53 |
| |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + |
Lines changed: 12 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 |
| - | |
| 1 | + | |
| 2 | + | |
| 3 | + | |
2 | 4 |
| |
3 | 5 |
| |
4 | 6 |
| |
| |||
33 | 35 |
| |
34 | 36 |
| |
35 | 37 |
| |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + |
Lines changed: 12 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 |
| - | |
| 1 | + | |
| 2 | + | |
| 3 | + | |
2 | 4 |
| |
3 | 5 |
| |
4 | 6 |
| |
| |||
7 | 9 |
| |
8 | 10 |
| |
9 | 11 |
| |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + |
Lines changed: 13 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
1 | 3 |
| |
2 |
| - | |
| 4 | + | |
3 | 5 |
| |
4 | 6 |
| |
5 | 7 |
| |
| |||
81 | 83 |
| |
82 | 84 |
| |
83 | 85 |
| |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + |
0 commit comments