@microsoft/fast-element 1.6.1 → 1.6.2
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/CHANGELOG.json +16 -1
- package/CHANGELOG.md +10 -2
- package/dist/esm/templating/binding.js +0 -1
- package/dist/esm/templating/template.js +2 -1
- package/dist/fast-element.js +4 -2
- package/package.json +1 -1
package/CHANGELOG.json
CHANGED
|
@@ -2,7 +2,22 @@
|
|
|
2
2
|
"name": "@microsoft/fast-element",
|
|
3
3
|
"entries": [
|
|
4
4
|
{
|
|
5
|
-
"date": "
|
|
5
|
+
"date": "Sun, 31 Oct 2021 07:14:05 GMT",
|
|
6
|
+
"tag": "@microsoft/fast-element_v1.6.2",
|
|
7
|
+
"version": "1.6.2",
|
|
8
|
+
"comments": {
|
|
9
|
+
"patch": [
|
|
10
|
+
{
|
|
11
|
+
"comment": "update fast eslint package version",
|
|
12
|
+
"author": "chhol@microsoft.com",
|
|
13
|
+
"commit": "a150068ee196e73fe7a4f7b538a38752e0e506ba",
|
|
14
|
+
"package": "@microsoft/fast-element"
|
|
15
|
+
}
|
|
16
|
+
]
|
|
17
|
+
}
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"date": "Wed, 13 Oct 2021 22:45:16 GMT",
|
|
6
21
|
"tag": "@microsoft/fast-element_v1.6.1",
|
|
7
22
|
"version": "1.6.1",
|
|
8
23
|
"comments": {
|
package/CHANGELOG.md
CHANGED
|
@@ -1,12 +1,20 @@
|
|
|
1
1
|
# Change Log - @microsoft/fast-element
|
|
2
2
|
|
|
3
|
-
This log was last generated on
|
|
3
|
+
This log was last generated on Sun, 31 Oct 2021 07:14:05 GMT and should not be manually modified.
|
|
4
4
|
|
|
5
5
|
<!-- Start content -->
|
|
6
6
|
|
|
7
|
+
## 1.6.2
|
|
8
|
+
|
|
9
|
+
Sun, 31 Oct 2021 07:14:05 GMT
|
|
10
|
+
|
|
11
|
+
### Patches
|
|
12
|
+
|
|
13
|
+
- update fast eslint package version (chhol@microsoft.com)
|
|
14
|
+
|
|
7
15
|
## 1.6.1
|
|
8
16
|
|
|
9
|
-
Wed, 13 Oct 2021 22:
|
|
17
|
+
Wed, 13 Oct 2021 22:45:16 GMT
|
|
10
18
|
|
|
11
19
|
### Patches
|
|
12
20
|
|
|
@@ -167,7 +167,6 @@ export class HTMLBindingDirective extends TargetedHTMLDirective {
|
|
|
167
167
|
this.updateTarget = updatePropertyTarget;
|
|
168
168
|
if (this.cleanedTargetName === "innerHTML") {
|
|
169
169
|
const binding = this.binding;
|
|
170
|
-
/* eslint-disable-next-line */
|
|
171
170
|
this.binding = (s, c) => DOM.createHTML(binding(s, c));
|
|
172
171
|
}
|
|
173
172
|
break;
|
|
@@ -8,6 +8,7 @@ import { HTMLBindingDirective } from "./binding";
|
|
|
8
8
|
* A template capable of creating HTMLView instances or rendering directly to DOM.
|
|
9
9
|
* @public
|
|
10
10
|
*/
|
|
11
|
+
/* eslint-disable-next-line @typescript-eslint/no-unused-vars */
|
|
11
12
|
export class ViewTemplate {
|
|
12
13
|
/**
|
|
13
14
|
* Creates an instance of ViewTemplate.
|
|
@@ -103,7 +104,7 @@ export class ViewTemplate {
|
|
|
103
104
|
}
|
|
104
105
|
// Much thanks to LitHTML for working this out!
|
|
105
106
|
const lastAttributeNameRegex =
|
|
106
|
-
|
|
107
|
+
/* eslint-disable-next-line no-control-regex */
|
|
107
108
|
/([ \x09\x0a\x0c\x0d])([^\0-\x1F\x7F-\x9F "'>=/]+)([ \x09\x0a\x0c\x0d]*=[ \x09\x0a\x0c\x0d]*(?:[^ \x09\x0a\x0c\x0d"'`<>=]*|"[^"]*|'[^']*))$/;
|
|
108
109
|
/**
|
|
109
110
|
* Transforms a template literal string into a renderable ViewTemplate.
|
package/dist/fast-element.js
CHANGED
|
@@ -1182,7 +1182,6 @@ class HTMLBindingDirective extends TargetedHTMLDirective {
|
|
|
1182
1182
|
|
|
1183
1183
|
if (this.cleanedTargetName === "innerHTML") {
|
|
1184
1184
|
const binding = this.binding;
|
|
1185
|
-
/* eslint-disable-next-line */
|
|
1186
1185
|
|
|
1187
1186
|
this.binding = (s, c) => DOM.createHTML(binding(s, c));
|
|
1188
1187
|
}
|
|
@@ -1702,6 +1701,8 @@ class HTMLView {
|
|
|
1702
1701
|
* @public
|
|
1703
1702
|
*/
|
|
1704
1703
|
|
|
1704
|
+
/* eslint-disable-next-line @typescript-eslint/no-unused-vars */
|
|
1705
|
+
|
|
1705
1706
|
class ViewTemplate {
|
|
1706
1707
|
/**
|
|
1707
1708
|
* Creates an instance of ViewTemplate.
|
|
@@ -1809,7 +1810,8 @@ class ViewTemplate {
|
|
|
1809
1810
|
|
|
1810
1811
|
} // Much thanks to LitHTML for working this out!
|
|
1811
1812
|
|
|
1812
|
-
const lastAttributeNameRegex =
|
|
1813
|
+
const lastAttributeNameRegex =
|
|
1814
|
+
/* eslint-disable-next-line no-control-regex */
|
|
1813
1815
|
/([ \x09\x0a\x0c\x0d])([^\0-\x1F\x7F-\x9F "'>=/]+)([ \x09\x0a\x0c\x0d]*=[ \x09\x0a\x0c\x0d]*(?:[^ \x09\x0a\x0c\x0d"'`<>=]*|"[^"]*|'[^']*))$/;
|
|
1814
1816
|
/**
|
|
1815
1817
|
* Transforms a template literal string into a renderable ViewTemplate.
|
package/package.json
CHANGED