2021-04-29 08:03:13 +00:00
|
|
|
diff --git a/node_modules/svelte/internal/index.js b/node_modules/svelte/internal/index.js
|
2021-09-25 10:55:30 +00:00
|
|
|
index 1cce90d..6220522 100644
|
2021-04-29 08:03:13 +00:00
|
|
|
--- a/node_modules/svelte/internal/index.js
|
|
|
|
+++ b/node_modules/svelte/internal/index.js
|
2021-09-25 10:55:30 +00:00
|
|
|
@@ -374,7 +374,7 @@ function insert_hydration(target, node, anchor) {
|
|
|
|
}
|
2021-04-29 08:03:13 +00:00
|
|
|
}
|
|
|
|
function detach(node) {
|
|
|
|
- node.parentNode.removeChild(node);
|
|
|
|
+ if (node.parentNode) node.parentNode.removeChild(node);
|
|
|
|
}
|
|
|
|
function destroy_each(iterations, detaching) {
|
|
|
|
for (let i = 0; i < iterations.length; i += 1) {
|
2021-06-10 06:42:22 +00:00
|
|
|
diff --git a/node_modules/svelte/internal/index.mjs b/node_modules/svelte/internal/index.mjs
|
2021-09-25 10:55:30 +00:00
|
|
|
index 6650e85..b746187 100644
|
2021-06-10 06:42:22 +00:00
|
|
|
--- a/node_modules/svelte/internal/index.mjs
|
|
|
|
+++ b/node_modules/svelte/internal/index.mjs
|
2021-09-25 10:55:30 +00:00
|
|
|
@@ -370,7 +370,7 @@ function insert_hydration(target, node, anchor) {
|
|
|
|
}
|
2021-06-10 06:42:22 +00:00
|
|
|
}
|
|
|
|
function detach(node) {
|
|
|
|
- node.parentNode.removeChild(node);
|
|
|
|
+ if (node.parentNode) node.parentNode.removeChild(node);
|
|
|
|
}
|
|
|
|
function destroy_each(iterations, detaching) {
|
|
|
|
for (let i = 0; i < iterations.length; i += 1) {
|