wix-rich-content-common
Advanced tools
Comparing version 10.82.1 to 10.82.2
@@ -64,3 +64,3 @@ 'use strict'; | ||
const { nodes } = content; | ||
const plugins = extract.extract(nodes).filter( | ||
const plugins = extract.extract(nodes != null ? nodes : []).filter( | ||
(node) => ![ | ||
@@ -89,3 +89,3 @@ ricosSchema.Node_Type.PARAGRAPH, | ||
}).filter((node) => !!node.type).get(); | ||
const decorations = extract.extract(nodes).filter((node) => { | ||
const decorations = extract.extract(nodes != null ? nodes : []).filter((node) => { | ||
var _a, _b; | ||
@@ -112,3 +112,3 @@ return !!((_b = (_a = node.textData) == null ? void 0 : _a.decorations) == null ? void 0 : _b.some( | ||
}).filter((node) => !!node.type).get(); | ||
const emoji = extract.extract(nodes).map(({ textData }) => (textData == null ? void 0 : textData.text) || "").get().reduce((acc, text) => { | ||
const emoji = extract.extract(nodes != null ? nodes : []).map(({ textData }) => (textData == null ? void 0 : textData.text) || "").get().reduce((acc, text) => { | ||
return acc + (text.match(emojiRegex) || []).length; | ||
@@ -115,0 +115,0 @@ }, 0); |
@@ -62,3 +62,3 @@ import { countBy, camelCase } from 'lodash'; | ||
const { nodes } = content; | ||
const plugins = extract(nodes).filter( | ||
const plugins = extract(nodes != null ? nodes : []).filter( | ||
(node) => ![ | ||
@@ -87,3 +87,3 @@ Node_Type.PARAGRAPH, | ||
}).filter((node) => !!node.type).get(); | ||
const decorations = extract(nodes).filter((node) => { | ||
const decorations = extract(nodes != null ? nodes : []).filter((node) => { | ||
var _a, _b; | ||
@@ -110,3 +110,3 @@ return !!((_b = (_a = node.textData) == null ? void 0 : _a.decorations) == null ? void 0 : _b.some( | ||
}).filter((node) => !!node.type).get(); | ||
const emoji = extract(nodes).map(({ textData }) => (textData == null ? void 0 : textData.text) || "").get().reduce((acc, text) => { | ||
const emoji = extract(nodes != null ? nodes : []).map(({ textData }) => (textData == null ? void 0 : textData.text) || "").get().reduce((acc, text) => { | ||
return acc + (text.match(emojiRegex) || []).length; | ||
@@ -113,0 +113,0 @@ }, 0); |
@@ -242,3 +242,3 @@ { | ||
"Poll_PollSettings_Tab_Settings_Section_Results_Permission_Voters": "Oylayanlar", | ||
"EmojiPlugin_EmojiGroups_Activity": "Etkinlik", | ||
"EmojiPlugin_EmojiGroups_Activity": "Hareketler", | ||
"ShortcutsSheet_Formatting_Heading5": "Heading 5", | ||
@@ -335,3 +335,3 @@ "CollapsibleList_CollapsibleListSettings_Tab_Settings_FAQ_Enabled_Tooltip": "SSS yapılandırılmış veri işaretlemesi, arama motorlarının listenizi bir SSS bölümü olarak tanımlamasını sağlar ve sitenizin görünürlüğünü artırabilir.", | ||
"GalleryPlugin_InsertButton": "Galeri", | ||
"Table_plugin_search_tags": "tablo kılavuz satır sütun veri", | ||
"Table_plugin_search_tags": "tablo ızgara satır sütun veri", | ||
"TablePlugin_InsertButton": "Tablo", | ||
@@ -487,3 +487,3 @@ "TablePlugin_Toolbar_ContextMenu_DistributeCols_Button": "Sütunları dağıt", | ||
"FormattingToolbar_TextStyle_Heading": "Başlık {{number}}{{shortcut}}", | ||
"GalleryPlugin_Layout_Grid": "Kılavuz", | ||
"GalleryPlugin_Layout_Grid": "Izgara", | ||
"ColorPickerButtonLabel_Update": "Kaydet", | ||
@@ -739,3 +739,3 @@ "Embed_Vertical_Bookings_EmptyState_NoResults_Title": "Hiç hizmet bulunamadı", | ||
"ShortcutsSheet_Table_SelectTable": "Select table", | ||
"Poll_PollSettings_Tab_Layout_Section_Answers_Layout_Grid": "Kılavuz", | ||
"Poll_PollSettings_Tab_Layout_Section_Answers_Layout_Grid": "Izgara", | ||
"MapSettings_Location_Suggestion_Input_No_Results_Found": "Hiç sonuç bulunamadı", | ||
@@ -742,0 +742,0 @@ "Poll_PollSettings_Tab_Design_Section_Background_Pattern_Pick": "Bir görüntü seçin", |
{ | ||
"name": "wix-rich-content-common", | ||
"version": "10.82.1", | ||
"version": "10.82.2", | ||
"description": "Common components and utilities for Ricos..", | ||
@@ -44,6 +44,6 @@ "author": { | ||
"react-portal-tooltip": "^2.4.7", | ||
"ricos-content": "10.82.1", | ||
"ricos-context": "10.82.1", | ||
"ricos-schema": "10.82.1", | ||
"ricos-types": "10.82.1" | ||
"ricos-content": "10.82.2", | ||
"ricos-context": "10.82.2", | ||
"ricos-schema": "10.82.2", | ||
"ricos-types": "10.82.2" | ||
}, | ||
@@ -96,3 +96,3 @@ "peerDependencies": { | ||
}, | ||
"falconPackageHash": "da16915f42fb17bdf216f7cfd11772069f484d5d8cd46466ca335eec" | ||
"falconPackageHash": "a171a7f374de76c9d45c9d44cee273dbf3b985f25a1593846b78078f" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
3038819
107
+ Added@types/lodash@4.17.16(transitive)
+ Addedricos-content@10.82.2(transitive)
+ Addedricos-context@10.82.2(transitive)
+ Addedricos-schema@10.82.2(transitive)
+ Addedricos-types@10.82.2(transitive)
- Removed@types/lodash@4.17.15(transitive)
- Removedfs-extra@10.1.0(transitive)
- Removedgraceful-fs@4.2.11(transitive)
- Removedjsonfile@6.1.0(transitive)
- Removedricos-content@10.82.1(transitive)
- Removedricos-context@10.82.1(transitive)
- Removedricos-schema@10.82.1(transitive)
- Removedricos-types@10.82.1(transitive)
- Removeduniversalify@2.0.1(transitive)
Updatedricos-content@10.82.2
Updatedricos-context@10.82.2
Updatedricos-schema@10.82.2
Updatedricos-types@10.82.2