Skip to content

Commit cddfa6a

Browse files
committed
load instance with src attribute
1 parent cc3b59e commit cddfa6a

File tree

271 files changed

+1901
-928
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

271 files changed

+1901
-928
lines changed

.idea/workspace.xml

+311-30
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

assets/@vaadin/vaadin-combo-box/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"repository": "vaadin/vaadin-combo-box",
1111
"homepage": "https://vaadin.com/components",
1212
"name": "@vaadin/vaadin-combo-box",
13-
"version": "5.4.6",
13+
"version": "5.4.7",
1414
"main": "vaadin-combo-box.js",
1515
"author": "Vaadin Ltd",
1616
"license": "Apache-2.0",

assets/@vaadin/vaadin-combo-box/src/vaadin-combo-box-data-provider-mixin.js

+22-2
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,17 @@ export const ComboBoxDataProviderMixin = superClass => class DataProviderMixin e
9090
this.clearCache();
9191
this.$.overlay.addEventListener('index-requested', e => {
9292
const index = e.detail.index;
93+
const currentScrollerPos = e.detail.currentScrollerPos;
94+
const allowedIndexRange = Math.floor(this.pageSize * 1.5);
95+
96+
// Ignores the indexes, which are being re-sent during scrolling reset,
97+
// if the corresponding page is around the current scroller position.
98+
// Otherwise, there might be a last pages duplicates, which cause the
99+
// loading indicator hanging and blank items
100+
if (this._shouldSkipIndex(index, allowedIndexRange, currentScrollerPos)) {
101+
return;
102+
}
103+
93104
if (index !== undefined) {
94105
const page = this._getPageForIndex(index);
95106
if (this._shouldLoadPage(page)) {
@@ -127,6 +138,11 @@ export const ComboBoxDataProviderMixin = superClass => class DataProviderMixin e
127138
}
128139
}
129140

141+
/** @private */
142+
_shouldSkipIndex(index, allowedIndexRange, currentScrollerPos) {
143+
return currentScrollerPos !== 0 && index >= currentScrollerPos - allowedIndexRange && index <= currentScrollerPos + allowedIndexRange;
144+
}
145+
130146
/** @private */
131147
_shouldLoadPage(page) {
132148
if (!this.filteredItems || this._forceNextRequest) {
@@ -183,8 +199,12 @@ export const ComboBoxDataProviderMixin = superClass => class DataProviderMixin e
183199
}
184200
}
185201
};
186-
this._pendingRequests[page] = callback;
187-
this.dataProvider(params, callback);
202+
203+
if (!this._pendingRequests[page]) {
204+
// Don't request page if it's already being requested
205+
this._pendingRequests[page] = callback;
206+
this.dataProvider(params, callback);
207+
}
188208
}
189209
}
190210

assets/@vaadin/vaadin-combo-box/src/vaadin-combo-box-dropdown-wrapper.js

+14-14
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ class ComboBoxDropdownWrapperElement extends class extends PolymerElement {} {
4949
<div id="scroller" on-click="_stopPropagation">
5050
<iron-list id="selector" role="listbox" items="[[_getItems(opened, _items)]]" scroll-target="[[_scroller]]">
5151
<template>
52-
<vaadin-combo-box-item on-click="_onItemClick" index="[[__requestItemByIndex(item, index)]]" item="[[item]]" label="[[getItemLabel(item, _itemLabelPath)]]" selected="[[_isItemSelected(item, _selectedItem, _itemIdPath)]]" renderer="[[renderer]]" role\$="[[_getAriaRole(index)]]" aria-selected\$="[[_getAriaSelected(_focusedIndex,index)]]" focused="[[_isItemFocused(_focusedIndex,index)]]" tabindex="-1" theme\$="[[theme]]">
52+
<vaadin-combo-box-item on-click="_onItemClick" index="[[__requestItemByIndex(item, index, _resetScrolling)]]" item="[[item]]" label="[[getItemLabel(item, _itemLabelPath)]]" selected="[[_isItemSelected(item, _selectedItem, _itemIdPath)]]" renderer="[[renderer]]" role\$="[[_getAriaRole(index)]]" aria-selected\$="[[_getAriaSelected(_focusedIndex,index)]]" focused="[[_isItemFocused(_focusedIndex,index)]]" tabindex="-1" theme\$="[[theme]]">
5353
</vaadin-combo-box-item>
5454
</template>
5555
</iron-list>
@@ -103,21 +103,21 @@ class ComboBoxDropdownWrapperElement extends class extends PolymerElement {} {
103103
theme: String,
104104

105105
/**
106-
* Used to recognize scroller reset after new items have been set
107-
* to iron-list and to ignore unwanted pages load. If 'true', then
108-
* skip loading of the pages until it becomes 'false'.
106+
* Used to recognize if the filter changed, so to skip the
107+
* scrolling restore. If true, then scroll to 0 position. Restore
108+
* the previous position otherwise.
109109
*/
110-
resetScrolling: {
110+
filterChanged: {
111111
type: Boolean,
112112
value: false
113113
},
114114

115115
/**
116-
* Used to recognize if the filter changed, so to skip the
117-
* scrolling restore. If true, then scroll to 0 position. Restore
118-
* the previous position otherwise.
116+
* Used to recognize scroller reset after new items have been set
117+
* to iron-list and to ignore unwanted pages load. If 'true', then
118+
* skip loading of the pages until it becomes 'false'.
119119
*/
120-
filterChanged: {
120+
_resetScrolling: {
121121
type: Boolean,
122122
value: false
123123
},
@@ -187,7 +187,7 @@ class ComboBoxDropdownWrapperElement extends class extends PolymerElement {} {
187187
const currentScrollerPosition = this._selector.firstVisibleIndex;
188188
if (currentScrollerPosition !== 0) {
189189
this._oldScrollerPosition = currentScrollerPosition;
190-
this.resetScrolling = true;
190+
this._resetScrolling = true;
191191
}
192192
}
193193
// Let the position to be restored in the future calls unless it's not
@@ -202,7 +202,7 @@ class ComboBoxDropdownWrapperElement extends class extends PolymerElement {} {
202202
if (this._isNotEmpty(items) && this._selector && this._oldScrollerPosition !== 0) {
203203
// new items size might be less than old scrolling position
204204
this._scrollIntoView(Math.min(items.length - 1, this._oldScrollerPosition));
205-
this.resetScrolling = false;
205+
this._resetScrolling = false;
206206
// reset position to 0 again in order to properly handle the filter
207207
// cases (scroll to 0 after typing the filter)
208208
this._oldScrollerPosition = 0;
@@ -354,9 +354,9 @@ class ComboBoxDropdownWrapperElement extends class extends PolymerElement {} {
354354
*
355355
* @return {number}
356356
*/
357-
__requestItemByIndex(item, index) {
358-
if (item instanceof ComboBoxPlaceholder && index !== undefined && !this.resetScrolling) {
359-
this.dispatchEvent(new CustomEvent('index-requested', { detail: { index } }));
357+
__requestItemByIndex(item, index, resetScrolling) {
358+
if (item instanceof ComboBoxPlaceholder && index !== undefined && !resetScrolling) {
359+
this.dispatchEvent(new CustomEvent('index-requested', { detail: { index: index, currentScrollerPos: this._oldScrollerPosition } }));
360360
}
361361

362362
return index;

assets/@vaadin/vaadin-combo-box/src/vaadin-combo-box-mixin.js

+7-7
Original file line numberDiff line numberDiff line change
@@ -887,11 +887,13 @@ export const ComboBoxMixin = subclass => class VaadinComboBoxMixinElement extend
887887

888888
/** @private */
889889
_itemsOrPathsChanged(e, itemValuePath, itemLabelPath) {
890-
if (e.value === undefined) {
891-
return;
892-
}
893890
if (e.path === 'items' || e.path === 'items.splices') {
894-
this.filteredItems = this.items ? this.items.slice(0) : this.items;
891+
if (this.items) {
892+
this.filteredItems = this.items.slice(0);
893+
} else if (this.__previousItems) {
894+
// Only clear filteredItems if the component had items previously but got cleared
895+
this.filteredItems = null;
896+
}
895897

896898
const valueIndex = this._indexOfValue(this.value, this.items);
897899
this._focusedIndex = valueIndex;
@@ -901,13 +903,11 @@ export const ComboBoxMixin = subclass => class VaadinComboBoxMixinElement extend
901903
this.selectedItem = item;
902904
}
903905
}
906+
this.__previousItems = e.value;
904907
}
905908

906909
/** @private */
907910
_filteredItemsChanged(e, itemValuePath, itemLabelPath) {
908-
if (e.value === undefined) {
909-
return;
910-
}
911911
if (e.path === 'filteredItems' || e.path === 'filteredItems.splices') {
912912
this._setOverlayItems(this.filteredItems);
913913

assets/@vaadin/vaadin-combo-box/src/vaadin-combo-box.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ class ComboBoxElement extends ElementMixin(ControlStateMixin(ThemableMixin(Combo
225225
}
226226

227227
static get version() {
228-
return '5.4.6';
228+
return '5.4.7';
229229
}
230230

231231
static get properties() {

assets/@vaadin/vaadin-text-field/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"repository": "vaadin/vaadin-text-field",
1111
"homepage": "https://vaadin.com/components",
1212
"name": "@vaadin/vaadin-text-field",
13-
"version": "2.8.1",
13+
"version": "2.8.2",
1414
"main": "vaadin-text-field.js",
1515
"author": "Vaadin Ltd",
1616
"license": "Apache-2.0",

assets/@vaadin/vaadin-text-field/src/vaadin-email-field.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ class EmailFieldElement extends TextFieldElement {
6464
}
6565

6666
static get version() {
67-
return '2.8.1';
67+
return '2.8.2';
6868
}
6969

7070
static get template() {
@@ -93,7 +93,7 @@ class EmailFieldElement extends TextFieldElement {
9393
/** @protected */
9494
_createConstraintsObserver() {
9595
// NOTE: pattern needs to be set before constraints observer is initialized
96-
this.pattern = this.pattern || '^[a-zA-Z0-9.!#$%&’*+/=?^_`{|}~-]+@[a-zA-Z0-9-]+(?:\.[a-zA-Z0-9-]+)*$';
96+
this.pattern = this.pattern || '^([a-zA-Z0-9_\\.\\-+])+@[a-zA-Z0-9-.]+\\.[a-zA-Z0-9-]{2,}$';
9797

9898
super._createConstraintsObserver();
9999
}

assets/@vaadin/vaadin-text-field/src/vaadin-number-field.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ class NumberFieldElement extends TextFieldElement {
106106
}
107107

108108
static get version() {
109-
return '2.8.1';
109+
return '2.8.2';
110110
}
111111

112112
static get properties() {

assets/@vaadin/vaadin-text-field/src/vaadin-password-field.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ class PasswordFieldElement extends TextFieldElement {
7777
}
7878

7979
static get version() {
80-
return '2.8.1';
80+
return '2.8.2';
8181
}
8282

8383
static get properties() {

assets/@vaadin/vaadin-text-field/src/vaadin-text-area.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ class TextAreaElement extends ElementMixin(TextFieldMixin(ControlStateMixin(Them
141141
}
142142

143143
static get version() {
144-
return '2.8.1';
144+
return '2.8.2';
145145
}
146146

147147
static get observers() {

assets/@vaadin/vaadin-text-field/src/vaadin-text-field.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ class TextFieldElement extends ElementMixin(TextFieldMixin(ControlStateMixin(The
113113
}
114114

115115
static get version() {
116-
return '2.8.1';
116+
return '2.8.2';
117117
}
118118

119119
static get properties() {

assets/@vaadin/vaadin-themable-mixin/package.json

+3-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"repository": "vaadin/vaadin-themable-mixin",
1010
"homepage": "https://vaadin.com/elements",
1111
"name": "@vaadin/vaadin-themable-mixin",
12-
"version": "1.6.1",
12+
"version": "1.6.2",
1313
"main": "vaadin-themable-mixin.js",
1414
"author": "Vaadin Ltd",
1515
"license": "Apache-2.0",
@@ -22,6 +22,8 @@
2222
"register-styles.js"
2323
],
2424
"resolutions": {
25+
"es-abstract": "1.17.6",
26+
"@types/doctrine": "0.0.3",
2527
"inherits": "2.0.3",
2628
"samsam": "1.1.3",
2729
"supports-color": "3.1.2",

assets/prismjs/CHANGELOG.md

+94
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,99 @@
11
# Prism Changelog
22

3+
## 1.23.0 (2020-12-31)
4+
5+
### New components
6+
7+
* __Apex__ ([#2622](https://github.com/PrismJS/prism/issues/2622)) [`f0e2b70e`](https://github.com/PrismJS/prism/commit/f0e2b70e)
8+
* __DataWeave__ ([#2659](https://github.com/PrismJS/prism/issues/2659)) [`0803525b`](https://github.com/PrismJS/prism/commit/0803525b)
9+
* __PromQL__ ([#2628](https://github.com/PrismJS/prism/issues/2628)) [`8831c706`](https://github.com/PrismJS/prism/commit/8831c706)
10+
11+
### Updated components
12+
13+
* Fixed multiple vulnerable regexes ([#2584](https://github.com/PrismJS/prism/issues/2584)) [`c2f6a644`](https://github.com/PrismJS/prism/commit/c2f6a644)
14+
* __Apache Configuration__
15+
* Update directive-flag to match `=` ([#2612](https://github.com/PrismJS/prism/issues/2612)) [`00bf00e3`](https://github.com/PrismJS/prism/commit/00bf00e3)
16+
* __C-like__
17+
* Made all comments greedy ([#2680](https://github.com/PrismJS/prism/issues/2680)) [`0a3932fe`](https://github.com/PrismJS/prism/commit/0a3932fe)
18+
* __C__
19+
* Better class name and macro name detection ([#2585](https://github.com/PrismJS/prism/issues/2585)) [`129faf5c`](https://github.com/PrismJS/prism/commit/129faf5c)
20+
* __Content-Security-Policy__
21+
* Added missing directives and keywords ([#2664](https://github.com/PrismJS/prism/issues/2664)) [`f1541342`](https://github.com/PrismJS/prism/commit/f1541342)
22+
* Do not highlight directive names with adjacent hyphens ([#2662](https://github.com/PrismJS/prism/issues/2662)) [`a7ccc16d`](https://github.com/PrismJS/prism/commit/a7ccc16d)
23+
* __CSS__
24+
* Better HTML `style` attribute tokenization ([#2569](https://github.com/PrismJS/prism/issues/2569)) [`b04cbafe`](https://github.com/PrismJS/prism/commit/b04cbafe)
25+
* __Java__
26+
* Improved package and class name detection ([#2599](https://github.com/PrismJS/prism/issues/2599)) [`0889bc7c`](https://github.com/PrismJS/prism/commit/0889bc7c)
27+
* Added Java 15 keywords ([#2567](https://github.com/PrismJS/prism/issues/2567)) [`73f81c89`](https://github.com/PrismJS/prism/commit/73f81c89)
28+
* __Java stack trace__
29+
* Added support stack frame element class loaders and modules ([#2658](https://github.com/PrismJS/prism/issues/2658)) [`0bb4f096`](https://github.com/PrismJS/prism/commit/0bb4f096)
30+
* __Julia__
31+
* Removed constants that are not exported by default ([#2601](https://github.com/PrismJS/prism/issues/2601)) [`093c8175`](https://github.com/PrismJS/prism/commit/093c8175)
32+
* __Kotlin__
33+
* Added support for backticks in function names ([#2489](https://github.com/PrismJS/prism/issues/2489)) [`a5107d5c`](https://github.com/PrismJS/prism/commit/a5107d5c)
34+
* __Latte__
35+
* Fixed exponential backtracking ([#2682](https://github.com/PrismJS/prism/issues/2682)) [`89f1e182`](https://github.com/PrismJS/prism/commit/89f1e182)
36+
* __Markdown__
37+
* Improved URL tokenization ([#2678](https://github.com/PrismJS/prism/issues/2678)) [`2af3e2c2`](https://github.com/PrismJS/prism/commit/2af3e2c2)
38+
* Added support for YAML front matter ([#2634](https://github.com/PrismJS/prism/issues/2634)) [`5cf9cfbc`](https://github.com/PrismJS/prism/commit/5cf9cfbc)
39+
* __PHP__
40+
* Added support for PHP 7.4 + other major improvements ([#2566](https://github.com/PrismJS/prism/issues/2566)) [`38808e64`](https://github.com/PrismJS/prism/commit/38808e64)
41+
* Added support for PHP 8.0 features ([#2591](https://github.com/PrismJS/prism/issues/2591)) [`df922d90`](https://github.com/PrismJS/prism/commit/df922d90)
42+
* Removed C-like dependency ([#2619](https://github.com/PrismJS/prism/issues/2619)) [`89ebb0b7`](https://github.com/PrismJS/prism/commit/89ebb0b7)
43+
* Fixed exponential backtracking ([#2684](https://github.com/PrismJS/prism/issues/2684)) [`37b9c9a1`](https://github.com/PrismJS/prism/commit/37b9c9a1)
44+
* __Sass (Scss)__
45+
* Added support for Sass modules ([#2643](https://github.com/PrismJS/prism/issues/2643)) [`deb238a6`](https://github.com/PrismJS/prism/commit/deb238a6)
46+
* __Scheme__
47+
* Fixed number pattern ([#2648](https://github.com/PrismJS/prism/issues/2648)) [`e01ecd00`](https://github.com/PrismJS/prism/commit/e01ecd00)
48+
* Fixed function and function-like false positives ([#2611](https://github.com/PrismJS/prism/issues/2611)) [`7951ca24`](https://github.com/PrismJS/prism/commit/7951ca24)
49+
* __Shell session__
50+
* Fixed false positives because of links in command output ([#2649](https://github.com/PrismJS/prism/issues/2649)) [`8e76a978`](https://github.com/PrismJS/prism/commit/8e76a978)
51+
* __TSX__
52+
* Temporary fix for the collisions of JSX tags and TS generics ([#2596](https://github.com/PrismJS/prism/issues/2596)) [`25bdb494`](https://github.com/PrismJS/prism/commit/25bdb494)
53+
54+
### Updated plugins
55+
56+
* Made Autoloader and Diff Highlight compatible ([#2580](https://github.com/PrismJS/prism/issues/2580)) [`7a74497a`](https://github.com/PrismJS/prism/commit/7a74497a)
57+
* __Copy to Clipboard Button__
58+
* Set `type="button"` attribute for copy to clipboard plugin ([#2593](https://github.com/PrismJS/prism/issues/2593)) [`f59a85f1`](https://github.com/PrismJS/prism/commit/f59a85f1)
59+
* __File Highlight__
60+
* Fixed IE compatibility problem ([#2656](https://github.com/PrismJS/prism/issues/2656)) [`3f4ae00d`](https://github.com/PrismJS/prism/commit/3f4ae00d)
61+
* __Line Highlight__
62+
* Fixed top offset in combination with Line numbers ([#2237](https://github.com/PrismJS/prism/issues/2237)) [`b40f8f4b`](https://github.com/PrismJS/prism/commit/b40f8f4b)
63+
* Fixed print background color ([#2668](https://github.com/PrismJS/prism/issues/2668)) [`cdb24abe`](https://github.com/PrismJS/prism/commit/cdb24abe)
64+
* __Line Numbers__
65+
* Fixed null reference ([#2605](https://github.com/PrismJS/prism/issues/2605)) [`7cdfe556`](https://github.com/PrismJS/prism/commit/7cdfe556)
66+
* __Treeview__
67+
* Fixed icons on dark themes ([#2631](https://github.com/PrismJS/prism/issues/2631)) [`7266e32f`](https://github.com/PrismJS/prism/commit/7266e32f)
68+
* __Unescaped Markup__
69+
* Refactoring ([#2445](https://github.com/PrismJS/prism/issues/2445)) [`fc602822`](https://github.com/PrismJS/prism/commit/fc602822)
70+
71+
### Other
72+
73+
* Readme: Added alternative link for Chinese translation [`071232b4`](https://github.com/PrismJS/prism/commit/071232b4)
74+
* Readme: Removed broken icon for Chinese translation ([#2670](https://github.com/PrismJS/prism/issues/2670)) [`2ea202b9`](https://github.com/PrismJS/prism/commit/2ea202b9)
75+
* Readme: Grammar adjustments ([#2629](https://github.com/PrismJS/prism/issues/2629)) [`f217ab75`](https://github.com/PrismJS/prism/commit/f217ab75)
76+
* __Core__
77+
* Moved pattern matching + lookbehind logic into function ([#2633](https://github.com/PrismJS/prism/issues/2633)) [`24574406`](https://github.com/PrismJS/prism/commit/24574406)
78+
* Fixed bug with greedy matching ([#2632](https://github.com/PrismJS/prism/issues/2632)) [`8fa8dd24`](https://github.com/PrismJS/prism/commit/8fa8dd24)
79+
* __Infrastructure__
80+
* Migrate from TravisCI -> GitHub Actions ([#2606](https://github.com/PrismJS/prism/issues/2606)) [`69132045`](https://github.com/PrismJS/prism/commit/69132045)
81+
* Added Dangerfile and provide bundle size info ([#2608](https://github.com/PrismJS/prism/issues/2608)) [`9df20c5e`](https://github.com/PrismJS/prism/commit/9df20c5e)
82+
* New `start` script to start local server ([#2491](https://github.com/PrismJS/prism/issues/2491)) [`0604793c`](https://github.com/PrismJS/prism/commit/0604793c)
83+
* Added test for exponential backtracking ([#2590](https://github.com/PrismJS/prism/issues/2590)) [`05afbb10`](https://github.com/PrismJS/prism/commit/05afbb10)
84+
* Added test for polynomial backtracking ([#2597](https://github.com/PrismJS/prism/issues/2597)) [`e644178b`](https://github.com/PrismJS/prism/commit/e644178b)
85+
* Tests: Better pretty print ([#2600](https://github.com/PrismJS/prism/issues/2600)) [`8bfcc819`](https://github.com/PrismJS/prism/commit/8bfcc819)
86+
* Tests: Fixed sorted language list test ([#2623](https://github.com/PrismJS/prism/issues/2623)) [`2d3a1267`](https://github.com/PrismJS/prism/commit/2d3a1267)
87+
* Tests: Stricter pattern for nice-token-names test ([#2588](https://github.com/PrismJS/prism/issues/2588)) [`0df60be1`](https://github.com/PrismJS/prism/commit/0df60be1)
88+
* Tests: Added strict checks for `Prism.languages.extend` ([#2572](https://github.com/PrismJS/prism/issues/2572)) [`8828500e`](https://github.com/PrismJS/prism/commit/8828500e)
89+
* __Website__
90+
* Test page: Added "Share" option ([#2575](https://github.com/PrismJS/prism/issues/2575)) [`b5f4f10e`](https://github.com/PrismJS/prism/commit/b5f4f10e)
91+
* Test page: Don't trigger ad-blockers with class ([#2677](https://github.com/PrismJS/prism/issues/2677)) [`df0738e9`](https://github.com/PrismJS/prism/commit/df0738e9)
92+
* Thousands -> millions [`9f82de50`](https://github.com/PrismJS/prism/commit/9f82de50)
93+
* Unescaped Markup: More doc regarding comments ([#2652](https://github.com/PrismJS/prism/issues/2652)) [`add3736a`](https://github.com/PrismJS/prism/commit/add3736a)
94+
* Website: Added and updated documentation ([#2654](https://github.com/PrismJS/prism/issues/2654)) [`8e660495`](https://github.com/PrismJS/prism/commit/8e660495)
95+
* Website: Updated and improved guide on "Extending Prism" page ([#2586](https://github.com/PrismJS/prism/issues/2586)) [`8e1f38ff`](https://github.com/PrismJS/prism/commit/8e1f38ff)
96+
397
## 1.22.0 (2020-10-10)
498

599
### New components

0 commit comments

Comments
 (0)