Skip to content

Commit a6c0547

Browse files
committed
fix(iOS): from randomly losing the component template via bumping dep lit-html to v0.14.0
1 parent 6aded29 commit a6c0547

File tree

3 files changed

+11
-11
lines changed

3 files changed

+11
-11
lines changed

src/client/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
},
3838
"flat": true,
3939
"dependencies": {
40-
"lit-html": "^0.13.0",
40+
"lit-html": "^0.14.0",
4141
"skatejs": "^5.2.4"
4242
}
4343
}

src/client/scripts/view-directives.js

+6-6
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,32 @@
11
/*********************************************
2-
* VIEW DIRECTIVES (from lit-html >= v0.11.1)
2+
* VIEW DIRECTIVES (from lit-html >= v0.14.0)
33
*********************************************/
44
import { directive } from '../../../lit-html/lit-html.js';
55
import { asyncAppend } from '../../../lit-html/directives/async-append.js';
66
import { asyncReplace } from '../../../lit-html/directives/async-replace.js';
7-
import { classMap } from '../../../lit-html/directives/classMap.js';
7+
import { cache } from '../../../lit-html/directives/cache.js';
8+
import { classMap } from '../../../lit-html/directives/class-map.js';
89
import { guard } from '../../../lit-html/directives/guard.js';
910
import { ifDefined } from '../../../lit-html/directives/if-defined.js';
1011
import { repeat } from '../../../lit-html/directives/repeat.js';
11-
import { styleMap } from '../../../lit-html/directives/styleMap.js';
12+
import { styleMap } from '../../../lit-html/directives/style-map.js';
1213
import { unsafeHTML } from '../../../lit-html/directives/unsafe-html.js';
1314
import { until } from '../../../lit-html/directives/until.js';
14-
import { when } from '../../../lit-html/directives/when.js';
1515

1616
/* View Directives
1717
******************/
1818
const ViewDirectives = {
1919
asyncAppend,
2020
asyncReplace,
21+
cache,
2122
classMap,
2223
directive,
2324
guard,
2425
ifDefined,
2526
repeat,
2627
styleMap,
2728
unsafeHTML,
28-
until,
29-
when
29+
until
3030
}
3131

3232
/* Export it!

src/client/yarn.lock

+4-4
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
# yarn lockfile v1
33

44

5-
lit-html@^0.13.0:
6-
version "0.13.0"
7-
resolved "https://registry.yarnpkg.com/lit-html/-/lit-html-0.13.0.tgz#d05e7fe8ade572432120339c451c614669788adf"
8-
integrity sha512-p3R2ji/ucNVG5skguy8WufmSYIdMiTTb9ObUVYM2bOuvIXzDnUiePXGwP5BDbKssW1K6fw1Oj/M07FzdPLsTXw==
5+
lit-html@^0.14.0:
6+
version "0.14.0"
7+
resolved "https://registry.yarnpkg.com/lit-html/-/lit-html-0.14.0.tgz#d6830e8f55fb923b0f5824decf7da082a1d22997"
8+
integrity sha512-+xqUPzzJGEDqb0F5DOnMXvL0jxpkKebAMlXycKZxFtzlmD+qePEmYrEUPF9XVXcc5eYBzYXTCOUcjSCod4YvgQ==
99

1010
skatejs@^5.2.4:
1111
version "5.2.4"

0 commit comments

Comments
 (0)