@shopgate/pwa-common 7.23.5-beta.2 → 7.23.5-beta.4
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/package.json +3 -7
- package/patches/swiper+11.2.1.patch +0 -26
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@shopgate/pwa-common",
|
|
3
|
-
"version": "7.23.5-beta.
|
|
3
|
+
"version": "7.23.5-beta.4",
|
|
4
4
|
"description": "Common library for the Shopgate Connect PWA.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": "Shopgate <support@shopgate.com>",
|
|
@@ -14,13 +14,10 @@
|
|
|
14
14
|
"shopgate",
|
|
15
15
|
"connect"
|
|
16
16
|
],
|
|
17
|
-
"scripts": {
|
|
18
|
-
"postinstall": "patch-package"
|
|
19
|
-
},
|
|
20
17
|
"dependencies": {
|
|
21
18
|
"@redux-devtools/extension": "^3.3.0",
|
|
22
19
|
"@sentry/browser": "6.0.1",
|
|
23
|
-
"@shopgate/pwa-benchmark": "7.23.5-beta.
|
|
20
|
+
"@shopgate/pwa-benchmark": "7.23.5-beta.4",
|
|
24
21
|
"@virtuous/conductor": "~2.5.0",
|
|
25
22
|
"@virtuous/react-conductor": "~2.5.0",
|
|
26
23
|
"@virtuous/redux-persister": "1.1.0-beta.7",
|
|
@@ -46,10 +43,9 @@
|
|
|
46
43
|
"url-search-params": "^0.10.0"
|
|
47
44
|
},
|
|
48
45
|
"devDependencies": {
|
|
49
|
-
"@shopgate/pwa-core": "7.23.5-beta.
|
|
46
|
+
"@shopgate/pwa-core": "7.23.5-beta.4",
|
|
50
47
|
"@types/react-portal": "^3.0.9",
|
|
51
48
|
"lodash": "^4.17.4",
|
|
52
|
-
"patch-package": "^6.1.2",
|
|
53
49
|
"prop-types": "~15.8.1",
|
|
54
50
|
"react": "~16.14.0",
|
|
55
51
|
"react-dom": "~16.14.0"
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
diff --git a/node_modules/swiper/shared/utils.mjs b/node_modules/swiper/shared/utils.mjs
|
|
2
|
-
index 87bf93e..4cb726a 100644
|
|
3
|
-
--- a/node_modules/swiper/shared/utils.mjs
|
|
4
|
-
+++ b/node_modules/swiper/shared/utils.mjs
|
|
5
|
-
@@ -185,7 +185,7 @@ function elementChildren(element, selector) {
|
|
6
|
-
selector = '';
|
|
7
|
-
}
|
|
8
|
-
const window = getWindow();
|
|
9
|
-
- const children = [...element.children];
|
|
10
|
-
+ const children = Array.from(element.children);
|
|
11
|
-
if (window.HTMLSlotElement && element instanceof HTMLSlotElement) {
|
|
12
|
-
children.push(...element.assignedElements());
|
|
13
|
-
}
|
|
14
|
-
@@ -202,7 +202,11 @@ function elementIsChildOfSlot(el, slot) {
|
|
15
|
-
if (el === elementToCheck) {
|
|
16
|
-
return true;
|
|
17
|
-
}
|
|
18
|
-
- elementsQueue.push(...elementToCheck.children, ...(elementToCheck.shadowRoot?.children || []), ...(elementToCheck.assignedElements?.() || []));
|
|
19
|
-
+ elementsQueue.push(
|
|
20
|
-
+ ...elementToCheck.children,
|
|
21
|
-
+ ...(elementToCheck.shadowRoot && elementToCheck.shadowRoot.children ? elementToCheck.shadowRoot.children : []),
|
|
22
|
-
+ ...(elementToCheck.assignedElements ? elementToCheck.assignedElements() : [])
|
|
23
|
-
+ );
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
function elementIsChildOf(el, parent) {
|